DocumentCode
3093030
Title
Extending Type Theory with Forcing
Author
Jaber, Guilhem ; Tabareau, Nicolas ; Sozeau, Matthieu
Author_Institution
INRIA, Ecole des Mines de Nantes, Nantes, France
fYear
2012
fDate
25-28 June 2012
Firstpage
395
Lastpage
404
Abstract
This paper presents an intuitionistic forcing translation for the Calculus of Constructions (CoC), a translation that corresponds to an internalization of the presheaf construction in CoC. Depending on the chosen set of forcing conditions, the resulting type theory can be extended with extra logical principles. The translation is proven correct---in the sense that it preserves type checking---and has been implemented in Coq. As a case study, we show how the forcing translation on integers (which corresponds to the internalization of the topos of trees) allows us to define general inductive types in Coq, without the strict positivity condition. Using such general inductive types, we can construct a shallow embedding of the pure lambda-calculus in Coq, without defining an axiom on the existence of an universal domain. We also build another forcing layer where we prove the negation of the continuum hypothesis.
Keywords
lambda calculus; type theory; Coq; calculus of constructions; continuum hypothesis; forcing conditions; general inductive types; intuitionistic forcing translation; logical principles; presheaf construction; pure lambda-calculus; type checking; type theory; Approximation methods; Calculus; Cognition; Context; Force; Reactive power; Semantics; Coq; Forcing; Presheaves; Type Theory;
fLanguage
English
Publisher
ieee
Conference_Titel
Logic in Computer Science (LICS), 2012 27th Annual IEEE Symposium on
Conference_Location
Dubrovnik
ISSN
1043-6871
Print_ISBN
978-1-4673-2263-8
Type
conf
DOI
10.1109/LICS.2012.49
Filename
6280458
Link To Document