Skip to Main content Skip to Navigation
New interface
Journal articles

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 : Hash-consing Coq BDD
Complete list of metadata

Cited literature [21 references]  Display  Hide  Download
Contributor : David Monniaux Connect in order to contact the contributor
Submitted on : Friday, September 25, 2015 - 11:50:42 AM
Last modification on : Thursday, February 3, 2022 - 11:17:13 AM
Long-term archiving on: : Tuesday, December 29, 2015 - 10:01:03 AM


Files produced by the author(s)




Thomas Braibant, Jacques-Henri Jourdan, David Monniaux. Implementing and reasoning about hash-consed data structures in Coq. Journal of Automated Reasoning, 2014, 53 (3), pp.271-304. ⟨10.1007/s10817-014-9306-0⟩. ⟨hal-00881085v4⟩



Record views


Files downloads