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 metadatas

Cited literature [49 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-02896776
Contributor : Kenji Maillard <>
Submitted on : Friday, July 10, 2020 - 5:59:08 PM
Last modification on : Friday, February 12, 2021 - 1:08:01 PM
Long-term archiving on: : Monday, November 30, 2020 - 8:51:43 PM

File

main.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-02896776, version 1

Citation

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

Share

Metrics

Record views

320

Files downloads

187