Skip to Main content Skip to Navigation
Conference papers

Elaborating inductive definitions

Pierre-Evariste Dagand 1 Conor Mcbride 1
1 Mathematically Structured Programming Group
Mathematically Structured Programming Group
Abstract : We present an elaboration of inductive de nitions down to a universe of datatypes. The universe of datatypes is an internal presentation of strictly positive types within type theory. By elaborating an inductive de nition { a syntactic artefact { to its code { its semantics { we obtain an internalised account of inductives inside the type theory itself: we claim that reasoning about inductive de nitions could be carried in the type theory, not in the meta-theory as it is usually the case. Besides, we give a formal speci cation of that elaboration process. It is therefore amenable to formal reasoning too. We prove the soundness of our translation and hint at its completeness with respect to Coq's Inductive de nitions. The practical bene ts of this approach are numerous. For the type theorist, this is a small step toward bootstrapping, i.e. implementing the inductive fragment in the type theory itself. For the programmer, this means better support for generic programming: we shall present a lightweight deriving mechanism, entirely de nable by the programmer and therefore not requiring any extension to the type theory.
Document type :
Conference papers
Complete list of metadata

Cited literature [12 references]  Display  Hide  Download

https://hal.inria.fr/hal-00778975
Contributor : Ist Inria Saclay <>
Submitted on : Monday, January 21, 2013 - 3:48:36 PM
Last modification on : Wednesday, November 25, 2020 - 4:42:03 PM
Long-term archiving on: : Saturday, April 1, 2017 - 7:52:16 AM

File

jfla2013-03.pdf
Explicit agreement for this submission

Identifiers

  • HAL Id : hal-00778975, version 1

Collections

Citation

Pierre-Evariste Dagand, Conor Mcbride. Elaborating inductive definitions. JFLA - Journées francophones des langages applicatifs, Damien Pous and Christine Tasson, Feb 2013, Aussois, France. ⟨hal-00778975⟩

Share

Metrics

Record views

132

Files downloads

165