Program Calculation in Coq - Archive ouverte HAL Access content directly
Conference Papers Year : 2010

Program Calculation in Coq


Program calculation, being a programming technique that derives programs from specification by means of formula manipulation, is a challenging activity. It requires human insights and creativity, and needs systems to help human to focus on clever parts of the derivation by automating tedious ones and verifying correctness of transformations. Different from many existing systems, we show in this paper that Coq, a popular theorem prover, provides a cheap way to implement a powerful system to support program calculation, which has not been recognized so far. We design and implement a set of tactics for the Coq proof assistant to help the user to derive programs by program calculation and to write proofs in calculational form. The use of these tactics is demonstrated through program calculations in Coq based on the theory of lists.
No file

Dates and versions

inria-00484308 , version 1 (18-05-2010)


  • HAL Id : inria-00484308 , version 1


Julien Tesson, Hideki Hashimoto, Zhenjiang Hu, Frédéric Loulergue, Masato Takeichi. Program Calculation in Coq. Thirteenth International Conference on Algebraic Methodology And Software Technology (AMAST2010), 2010, Québec, Canada. ⟨inria-00484308⟩
74 View
0 Download


Gmail Mastodon Facebook X LinkedIn More