首页    期刊浏览 2024年11月09日 星期六
登录注册

文章基本信息

  • 标题:Defining Trace Semantics for CSP-Agda
  • 本地全文:下载
  • 作者:Bashar Igried ; Anton Setzer
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2018
  • 卷号:97
  • 页码:1-23
  • DOI:10.4230/LIPIcs.TYPES.2016.12
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:This article is based on the library CSP-Agda, which represents the process algebra CSP coinductively in the interactive theorem prover Agda. The intended application area of CSP-Agda is the proof of properties of safety critical systems (especially the railway domain). In CSP-Agda, CSP processes have been extended to monadic form, allowing the design of processes in a more modular way. In this article we extend the trace semantics of CSP to the monadic setting. We implement this semantics, together with the corresponding refinement and equality relation, formally in CSP-Agda. In order to demonstrate the proof capabilities of CSP-Agda, we prove in CSP-Agda selected algebraic laws of CSP based on the trace semantics. Because of the monadic settings, some adjustments need to be made to these laws. The examples covered in this article are the laws of refinement, commutativity of interleaving and parallel, and the monad laws for the monadic extension of CSP. All proofs and definitions have been type checked in Agda. Further proofs of algebraic laws will be available in the repository of CSP-Agda.
  • 关键词:Agda; CSP; Coalgebras; Coinductive Data Types; Dependent Type Theory; IO-Monad; Induction-Recursion; Interactive Program; Monad; Monadic Programming
国家哲学社会科学文献中心版权所有