首页    期刊浏览 2025年02月28日 星期五
登录注册

文章基本信息

  • 标题:Verification of Concurrent Programs Using the Coq Proof Assistant: A Case Study
  • 作者:Reynald Affeldt ; Naoki Kobayashi ; Akinori Yonezawa
  • 期刊名称:IPSJ Digital Courier
  • 电子版ISSN:1349-7456
  • 出版年度:2005
  • 卷号:1
  • 页码:117-127
  • DOI:10.2197/ipsjdc.1.117
  • 出版社:Information Processing Society of Japan
  • 摘要:We show how to model and verify a concurrent program using the Coq proof assistant. The program in question is an existing mail server written in Java. The approach we take is to use an original library that provides a language for modeling, a logic, and lemmas for verification of concurrent programs. First, we report on the modeling of the mail server. Using the language provided by the library, we build a model by (1) translating the original program and (2) building appropriate abstractions to model its environment. Second, we report on the verification of a property of the mail server. We compare this library-based approach with an alternative approach that directly appeals to the Coq language and logic for modeling and specification. We show that the library-based approach has many advantages. In particular, non-functional aspects (communications, non-determinism, multi-threading) are handled directly by the library and therefore do not require complicated modeling. Also, the model can be directly run using existing compilers or virtual machines, thus providing us with a certified implementation of the mail server.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有