Gradualizing the Calculus of Inductive Constructions - Archive ouverte HAL
Pré-Publication, Document De Travail Année : 2021

Gradualizing the Calculus of Inductive Constructions

Résumé

Acknowledging the ordeal of a fully formal development in a proof assistant such as Coq, we investigate gradual variations on the Calculus of Inductive Construction (CIC) for swifter prototyping with imprecise types and terms. We observe, with a no-go theorem, a crucial tradeoff between graduality and the key properties of canonicity, decidability and closure of universes under dependent product that CIC enjoys. Beyond this Fire Triangle of Graduality, we explore the gradualization of CIC with three different compromises, each relaxing one edge of the Fire Triangle. We develop a parametrized presentation of Gradual CIC that encompasses all three variations, and jointly develop their metatheory. We first present a bidirectional elaboration of Gradual CIC to a dependently-typed cast calculus, which elucidates the interrelation between typing, conversion, and graduality. We then establish the metatheory of this cast calculus through both a syntactic model into CIC, which provides weak canonicity, confluence, and when applicable, normalization, and a monotone model that purports the study of the graduality of two of the three variants. This work informs and paves the way towards the development of malleable proof assistants and dependently-typed programming languages.
Fichier principal
Vignette du fichier
main.pdf (1.1 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-02896776 , version 1 (10-07-2020)
hal-02896776 , version 2 (20-11-2020)
hal-02896776 , version 3 (27-09-2021)
hal-02896776 , version 4 (09-11-2021)
hal-02896776 , version 5 (17-11-2021)

Identifiants

  • HAL Id : hal-02896776 , version 3

Citer

Meven Bertrand, Kenji Maillard, Nicolas Tabareau, Éric Tanter. Gradualizing the Calculus of Inductive Constructions. 2021. ⟨hal-02896776v3⟩
898 Consultations
435 Téléchargements

Partager

More