Balancing Lists: A Proof Pearl - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2014

Balancing Lists: A Proof Pearl

Résumé

Starting with an algorithm to turn lists into full trees which uses non-obvious invariants and partial functions, we progressively encode the invariants in the types of the data, removing most of the burden of a correctness proof. The invariants are encoded using non-uniform inductive types which parallel numerical representations in a style advertised by Okasaki, and a small amount of dependent types.
Fichier principal
Vignette du fichier
Balancing%20lists.pdf (394.99 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01097937 , version 1 (22-12-2014)

Licence

Paternité

Identifiants

Citer

Guyslain Naves, Arnaud Spiwack. Balancing Lists: A Proof Pearl. 5th International Conference, ITP 2014, Jul 2014, Vienna, Austria. pp.437 - 449, ⟨10.1007/978-3-319-08970-6_28⟩. ⟨hal-01097937⟩
194 Consultations
92 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More