Skip to Main content Skip to Navigation
Reports

Program Calculation in Coq

Abstract : 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.
Complete list of metadatas

Cited literature [18 references]  Display  Hide  Download

https://hal.inria.fr/inria-00448751
Contributor : Frédéric Loulergue <>
Submitted on : Wednesday, January 20, 2010 - 12:01:02 AM
Last modification on : Thursday, February 7, 2019 - 1:49:31 PM
Long-term archiving on: : Friday, June 18, 2010 - 1:07:46 AM

File

RR-2009-07.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00448751, version 1

Collections

Citation

Julien Tesson, Hideki Hashimoto, Zhenjiang Hu, Frédéric Loulergue, Masato Takeichi. Program Calculation in Coq. [Research Report] RR-2009-07, 2009, pp.18. ⟨inria-00448751⟩

Share

Metrics

Record views

345

Files downloads

498