Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

Gradualizing the Calculus of Inductive Constructions

Abstract : 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.
Document type :
Preprints, Working Papers, ...
Complete list of metadata
Contributor : Kenji Maillard <>
Submitted on : Friday, November 20, 2020 - 6:49:12 PM
Last modification on : Friday, February 12, 2021 - 1:08:01 PM


Files produced by the author(s)


  • HAL Id : hal-02896776, version 2


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



Record views


Files downloads