Skip to Main content Skip to Navigation
New interface
Conference papers

Hydras & Co.: Formalized mathematics in Coq for inspiration and entertainment

Abstract : Hydras & Co. is a collaborative library of discrete mathematics for the Coq proof assistant, developed as part of the Coq-community organization on GitHub. The Coq code is accompanied by an electronic book, generated with the help of the Alectryon literate proving tool. We present the evolution of the mathematical contents of the library since former presentations at JFLA meetings. Then, we describe how the structure of the project is determined by two requirements which must be continuously satisfied. First, the Coq code needs to be compatible with its ever-evolving dependencies (the Coq proof assistant and several Coq packages both from inside and outside Coq-community) and reverse dependencies (Coq-community projects that depend on it). Second, the book needs to be consistent with the Coq code, which undergoes frequent changes to improve structure and include new material. We believe Hydras & Co. demonstrates that books on formalized mathematics are not limited to providing exposition of theories and reasoning techniquesthey can also provide inspiration and entertainment that transcends educational goals.
Document type :
Conference papers
Complete list of metadata
Contributor : Pierre Castéran Connect in order to contact the contributor
Submitted on : Tuesday, November 23, 2021 - 5:17:53 PM
Last modification on : Friday, November 18, 2022 - 9:23:42 AM


paper (1).pdf
Files produced by the author(s)


  • HAL Id : hal-03404668, version 2



Pierre Castéran, Jérémy Damour, Karl Palmskog, Clément Pit-Claudel, Théo Zimmermann. Hydras & Co.: Formalized mathematics in Coq for inspiration and entertainment. Journées Francophones des Langages Applicatifs: JFLA 2022, Feb 2022, St-Médard d'Excideuil, France. ⟨hal-03404668v2⟩



Record views


Files downloads