1. Coq development example: proof of correctness of a simple algorithm
The proof of correctness of a simple functional program allows us to present some essential aspects of the Coq software: mathematical statements and formal specification of programs, tools for interactive proof, etc. The proposed example consists of the definition of a sorting function on lists, accompanied by a formal proof of its correctness. The proposed example consists of the definition of a sorting function on lists, accompanied by a formal proof of its correctness.
-
Typographical conventions
We adopt the following conventions so that the reader can easily recognize which text a user should submit to Coq and what the system's responses are.
The text submitted to Coq is written in light blue inserts.
Coq's answers are presented in...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Coq development example: proof of correctness of a simple algorithm
Bibliography
- (1) - - The CompCert compiler. http://compcert.inria.fr .
- (2) - - OCaml page. http://www.ocaml.org/...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference