From Sets to Bits in Coq

Abstract : Computer Science abounds in folktales about how — in the early days of computer programming — bit vectors were ingeniously used to encode and manipulate finite sets. Algorithms have thus been developed to minimize memory footprint and maximize efficiency by taking advantage of microarchitectural features. With the development of automated and interactive theorem provers, finite sets have also made their way into the libraries of formalized mathematics. Tailored to ease proving , these representations are designed for symbolic manipulation rather than computational efficiency. This paper aims to bridge this gap. In the Coq proof assistant, we implement a bitset library and prove its correct-ness with respect to a formalization of finite sets. Our library enables a seamless interaction of sets for computing — bitsets — and sets for proving — finite sets.
Document type :
Conference papers
Complete list of metadatas

Cited literature [19 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-01251943
Contributor : Arthur Blot <>
Submitted on : Thursday, January 7, 2016 - 6:04:35 AM
Last modification on : Thursday, March 21, 2019 - 1:09:19 PM
Long-term archiving on : Friday, April 8, 2016 - 1:08:57 PM

File

flops-blot-dagand-lawall.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01251943, version 1

Citation

Arthur Blot, Pierre-Évariste Dagand, Julia Lawall. From Sets to Bits in Coq. FLOPS 2016, Mar 2016, Kochi, Japan. ⟨hal-01251943⟩

Share

Metrics

Record views

476

Files downloads

328