Generating certified code from formal proofs: a case study in homological algebra - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Formal Aspects of Computing Année : 2009

Generating certified code from formal proofs: a case study in homological algebra

Résumé

We apply current theorem proving technology to certified code in the domain of abstract algebra. More concretely, based on a formal proof of the (a central result in homological algebra) in the prover Isabelle/HOL, we apply various code generation techniques, which lead to certified implementations of the associated algorithm in ML. In the formal proof, algebraic structures occurring in the Basic Perturbation Lemma are represented in a way, which is not directly amenable to code generation with the available tools. Interestingly, this representation is required in the proof, while for the algorithm simpler data structures are sufficient. Our approach is to establish a link between the non-executable setting of the proof and the executable representation in the algorithm, which is to be generated. This correspondence is established within the logical framework of Isabelle/HOL—that is, it is formally proved correct. The generated code is applied to and illustrated with a number of examples.
Fichier principal
Vignette du fichier
PEER_stage2_10.1007%2Fs00165-009-0120-0.pdf (405.63 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00534928 , version 1 (11-11-2010)

Identifiants

Citer

Jesús Aransay, Clemens Ballarin, Julio Rubio. Generating certified code from formal proofs: a case study in homological algebra. Formal Aspects of Computing, 2009, 22 (2), pp.193-213. ⟨10.1007/s00165-009-0120-0⟩. ⟨hal-00534928⟩

Collections

PEER
40 Consultations
170 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More