Implementing and reasoning about hash-consed data structures in Coq

Abstract : We report on four different approaches to implementing hash-consing in Coq programs. The use cases include execution inside Coq, or execution of the extracted OCaml code. We explore the different trade-offs between faithful use of pristine extracted code, and code that is fine-tuned to make use of OCaml programming constructs not available in Coq. We discuss the possible consequences in terms of performances and guarantees. We use the running example of binary decision diagrams and then demonstrate the generality of our solutions by applying them to other examples of hash-consed data structures.
Keywords : Coq BDD Hash-consing
Liste complète des métadonnées
Contributeur : Thomas Braibant <>
Soumis le : vendredi 7 mars 2014 - 16:42:23
Dernière modification le : vendredi 6 juillet 2018 - 10:08:02
Document(s) archivé(s) le : samedi 7 juin 2014 - 11:42:09


Fichiers produits par l'(les) auteur(s)


  • HAL Id : hal-00881085, version 2
  • ARXIV : 1311.2959


Thomas Braibant, Jacques-Henri Jourdan, David Monniaux. Implementing and reasoning about hash-consed data structures in Coq. 2014. 〈hal-00881085v2〉



Consultations de la notice


Téléchargements de fichiers