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.9.0.tar.gz
md5=e39496288258577c8c752666fd755b06

Description

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 (1)

  1. coq >= "8.9" & < "8.10~"

Dev Dependencies

None

Used by

None

Conflicts

None