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.8.0.tar.gz
md5=31d7a345fbab2173d5771d6e52b55cba

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.8" & < "8.9~"
  2. ocaml

Dev Dependencies

None

Used by

None

Conflicts

None