package coq-hoare-tut

  1. Overview
  2. No Docs
A Tutorial on Reflecting in Coq the generation of Hoare proof obligations

Install

Dune Dependency

Authors

Maintainers

Sources

v8.7.0.tar.gz
md5=8ba859070a0cf7578f6e50b70994aa9e

Description

http://www-verimag.imag.fr/~boulme/HOARE_LOGIC_TUTORIAL/

This work is both an introduction to Hoare logic and a demo illustrating Coq nice features. It formalizes the generation of PO (proof obligations) in a Hoare logic for a very basic imperative programming language. It proves the soundness and the completeness of the PO generation both in partial and total correctness. At last, it examplifies on a very simple example (a GCD computation) how the PO generation can simplify concrete proofs. Coq is indeed able to compute PO on concrete programs: we say here that the generation of proof obligations is reflected in Coq. Technically, the PO generation is here performed through Dijkstra's weakest-precondition calculus.

Dependencies (2)

  1. coq >= "8.7" & < "8.8~"
  2. ocaml

Dev Dependencies

None

Used by

None

Conflicts

None