Gradualizing the Calculus of Inductive Constructions - Archive ouverte HAL Access content directly
Preprints, Working Papers, ... Year :

Gradualizing the Calculus of Inductive Constructions


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 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and 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)


  • HAL Id : hal-02896776 , version 2


Meven Bertrand, Kenji Maillard, Nicolas Tabareau, Éric Tanter. Gradualizing the Calculus of Inductive Constructions. 2020. ⟨hal-02896776v2⟩
758 View
306 Download


Gmail Facebook Twitter LinkedIn More