Elaborating inductive definitions - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Elaborating inductive definitions

Conor Mcbride
  • Fonction : Auteur
  • PersonId : 935681

Résumé

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.
Fichier principal
Vignette du fichier
jfla2013-03.pdf (390.91 Ko) Télécharger le fichier
Origine : Accord explicite pour ce dépôt
Loading...

Dates et versions

hal-00778975 , version 1 (21-01-2013)

Identifiants

  • HAL Id : hal-00778975 , version 1

Citer

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⟩

Collections

JFLA2013
76 Consultations
148 Téléchargements

Partager

Gmail Facebook X LinkedIn More