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

Complete Bidirectional Typing for the Calculus of Inductive Constructions

Meven Lennon-Bertrand 1, 2
1 GALLINETTE - Gallinette : vers une nouvelle génération d'assistant à la preuve
Inria Rennes – Bretagne Atlantique , LS2N - Laboratoire des Sciences du Numérique de Nantes
Abstract : This article presents a bidirectional type system for the Calculus of Inductive Constructions (CIC). It introduces a new judgement intermediate between the usual inference and checking, dubbed constrained inference, to handle the presence of computation in types. The key property of the system is its completeness with respect to the usual undirected one, which has been formally proven in Coq as a part of the MetaCoq project. Although it plays an important role in an ongoing completeness proof for a realistic typing algorithm, the interest of bidirectionality is wider, as it gives insights and structure when trying to prove properties on CIC or design variations and extensions. In particular, we put forward constrained inference, an intermediate between the usual inference and checking judgements, to handle the presence of computation in types.
Complete list of metadata

https://hal.archives-ouvertes.fr/hal-03139924
Contributor : Meven Lennon-Bertrand <>
Submitted on : Monday, April 19, 2021 - 3:59:47 PM
Last modification on : Wednesday, April 21, 2021 - 3:08:03 AM

File

main.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-03139924, version 2

Citation

Meven Lennon-Bertrand. Complete Bidirectional Typing for the Calculus of Inductive Constructions. 2021. ⟨hal-03139924v2⟩

Share

Metrics

Record views

12

Files downloads

9