The Implicit Calculus of Constructions as a Programming Language with Dependent Types

Bruno Barras 1, 2 Bruno Bernardo 1, 2
2 TYPICAL - Types, Logic and computing
LIX - Laboratoire d'informatique de l'École polytechnique [Palaiseau], Inria Saclay - Ile de France
Abstract : In this paper, we show how Miquel's Implicit Calculus of Constructions (ICC) can be used as a programming language featuring dependent types. Since this system has an undecidable type-checking, we introduce a more verbose variant, called ICC* which fixes this issue. Datatypes and program specifications are enriched with logical assertions (such as preconditions, postconditions, invariants) and programs are decorated with proofs of those assertions. The point of using ICC* rather than the Calculus of Constructions (the core formalism of the Coq proof assistant) is that all of the static information (types and proof objects) is transparent, in the sense that it does not affect the computational behavior. This is concretized by a built-in extraction procedure that removes this static information. We also illustrate the main features of ICC* on classical examples of dependently typed programs.
Document type :
Conference papers
Complete list of metadatas

Cited literature [13 references]  Display  Hide  Download

https://hal.inria.fr/inria-00429543
Contributor : Bruno Bernardo <>
Submitted on : Tuesday, November 3, 2009 - 1:06:33 PM
Last modification on : Wednesday, March 27, 2019 - 4:41:28 PM
Long-term archiving on : Thursday, June 17, 2010 - 7:11:39 PM

File

icc_barras_bernardo.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00429543, version 1

Collections

Citation

Bruno Barras, Bruno Bernardo. The Implicit Calculus of Constructions as a Programming Language with Dependent Types. FoSSaCS, Mar 2008, Budapest, Hungary. pp.365-379. ⟨inria-00429543⟩

Share

Metrics

Record views

269

Files downloads

292