Skip to Main content Skip to Navigation

A Coq Library for Program Calculation

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.
Document type :
Conference papers
Complete list of metadatas

https://hal.inria.fr/inria-00452515
Contributor : Frédéric Loulergue <>
Submitted on : Tuesday, February 2, 2010 - 3:38:05 PM
Last modification on : Thursday, January 17, 2019 - 3:06:04 PM

Identifiers

  • HAL Id : inria-00452515, version 1

Collections

Citation

Hideki Hashimoto, Zhenjiang Hu, Julien Tesson, Frédéric Loulergue, Masato Takeichi. A Coq Library for Program Calculation. JSSST Conference on Software Science and Technology, 2009, Shimane University, Shimane, Japan. ⟨inria-00452515⟩

Share

Metrics

Record views

125