TAMC 2017: Theory and Applications of Models of Computation pp 12-23 | Cite as
On Choice Rules in Dependent Type Theory
Abstract
In a dependent type theory satisfying the propositions as types correspondence together with the proofs-as-programs paradigm, the validity of the unique choice rule or even more of the choice rule says that the extraction of a computable witness from an existential statement under hypothesis can be performed within the same theory.
Here we show that the unique choice rule, and hence the choice rule, are not valid both in Coquand’s Calculus of Constructions with indexed sum types, list types and binary disjoint sums and in its predicative version implemented in the intensional level of the Minimalist Foundation. This means that in these theories the extraction of computational witnesses from existential statements must be performed in a more expressive proofs-as-programs theory.
Notes
Acknowledgements
We acknowledge very fruitful discussions on this topic with Claudio Sacerdoti Coen, Ferruccio Guidi, Giuseppe Rosolini, Giovanni Sambin, Thomas Streicher. We also thank Tatsuji Kawai and Fabio Pasquali very much for their comments on this paper.
References
- 1.Aczel, P., Rathjen, M.: Notes on constructive set theory. Mittag-Leffler Technical Report No. 40 (2001)Google Scholar
- 2.Asperti, A., Ricciotti, W., Sacerdoti Coen, C., Tassi, E.: The Matita interactive theorem prover. In: Bjørner, N., Sofronie-Stokkermans, V. (eds.) CADE 2011. LNCS (LNAI), vol. 6803, pp. 64–69. Springer, Heidelberg (2011). doi: 10.1007/978-3-642-22438-6_7 CrossRefGoogle Scholar
- 3.Asperti, A., Ricciotti, W., Sacerdoti Coen, C.: Matita tutorial. J. Formalized Reasoning 7(2), 91–199 (2014)MathSciNetGoogle Scholar
- 4.Bertot, Y., Castéran, P.: Interactive Theorem Proving and Program Development. Texts in Theoretical Computer Science. Springer-Verlag, Heidelberg (2004)CrossRefMATHGoogle Scholar
- 5.Coq Development Team: The Coq Proof Assistant Reference Manual: Release 8.4pl6. INRIA, Orsay, France, April 2015Google Scholar
- 6.Coquand, T.: Metamathematical investigation of a calculus of constructions. In: Odifreddi, P. (ed.) Logic in Computer Science, pp. 91–122. Academic Press (1990)Google Scholar
- 7.Coquand, T., Paulin, C.: Inductively defined types. In: Martin-Löf, P., Mints, G. (eds.) COLOG 1988. LNCS, vol. 417, pp. 50–66. Springer, Heidelberg (1990). doi: 10.1007/3-540-52335-9_47 CrossRefGoogle Scholar
- 8.Hyland, J.M.E.: The effective topos. In: The L.E.J. Brouwer Centenary Symposium (Noordwijkerhout 1981). Studies in Logic and the Foundations of Mathematics, vol. 110, pp. 165–216. North-Holland, New York, Amsterdam (1982)Google Scholar
- 9.Ishihara, H., Maietti, M., Maschio, S., Streicher, T.: Consistency of the Minimalist Foundation with Church’s thesis and Axiom of Choice. SubmittedGoogle Scholar
- 10.Mac Lane, S., Moerdijk, I.: Sheaves in Geometry and Logic: A First Introduction to Topos Theory. Springer Verlag, New York (1992)CrossRefMATHGoogle Scholar
- 11.Maietti, M.E.: Modular correspondence between dependent type theories and categories including pretopoi and topoi. Math. Struct. Comput. Sci. 15(6), 1089–1149 (2005)MathSciNetCrossRefMATHGoogle Scholar
- 12.Maietti, M.E.: A minimalist two-level foundation for constructive mathematics. Ann. Pure Appl. Logic 160(3), 319–354 (2009)MathSciNetCrossRefMATHGoogle Scholar
- 13.Maietti, M.E., Rosolini, G.: Elementary quotient completion. Theory Appl. Categories 27(17), 445–463 (2013)MathSciNetMATHGoogle Scholar
- 14.Maietti, M.E., Rosolini, G.: Quotient completion for the foundation of constructive mathematics. Log. Univers. 7(3), 371–402 (2013)MathSciNetCrossRefMATHGoogle Scholar
- 15.Maietti, M.E., Rosolini, G.: Unifying exact completions. Appl. Categorical Struct. 23(1), 43–52 (2015)MathSciNetCrossRefMATHGoogle Scholar
- 16.Maietti, M.E., Sambin, G.: Toward a minimalist foundation for constructive mathematics. In: Crosilla, L., Schuster, P. (eds.) From Sets and Types to Topology and Analysis: Practicable Foundations for Constructive Mathematics. Oxford Logic Guides, vol. 48, pp. 91–114. Oxford University Press (2005)Google Scholar
- 17.Maietti, M.E., Maschio, S.: An extensional Kleene realizability semantics for the Minimalist Foundation. In: Herbelin, H., Letouzey, P., Sozeau, M. (eds.) 20th International Conference on Types for Proofs and Programs (TYPES 2014). Leibniz International Proceedings in Informatics (LIPIcs), vol. 39, pp. 162–186. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, Dagstuhl (2015). http://drops.dagstuhl.de/opus/volltexte/2015/5496
- 18.Maietti, M.E., Maschio, S.: A predicative variant of a realizability tripos for the Minimalist Foundation. IfCoLog J. Logics Appl. (2016). Special Issue Proof Truth ComputationGoogle Scholar
- 19.Maietti, M., Rosolini, G.: Relating quotient completions via categorical logic. In: Probst, D. (ed.) Concepts of Proof in Mathematics, Philosophy, and Computer Science, pp. 229–250. De Gruyter (2016)Google Scholar
- 20.Martin-Löf, P.: Intuitionistic Type Theory. Notes by G. Sambin of a series of lectures given in Padua, Bibliopolis, Naples (1984), June 1980Google Scholar
- 21.Nordström, B., Petersson, K., Smith, J.: Programming in Martin Löf’s Type Theory. Clarendon Press, Oxford (1990)MATHGoogle Scholar
- 22.van Oosten, J.: Realizability: An Introduction to its Categorical Side. Elsevier, Amsterdam (2008)MATHGoogle Scholar
- 23.Sambin, G., Valentini, S.: Building up a toolbox for Martin-Löf’s type theory: subset theory. In: Sambin, G., Smith, J. (eds.) Twenty-Five Years of Constructive Type Theory, Proceedings of a Congress held in Venice, October 1995, pp. 221–244. Oxford U. P. (1998)Google Scholar
- 24.Streicher, T.: Independence of the induction principle and the axiom of choice in the pure calculus of constructions. Theoret. Comput. Sci. 103(2), 395–408 (1992)MathSciNetCrossRefMATHGoogle Scholar
- 25.Troelstra, A.S., van Dalen, D.: Constructivism in Mathematics: An Introduction. Studies in Logic and the Foundations of Mathematics, vol. I. North-Holland (1988)Google Scholar
- 26.Troelstra, A.S., van Dalen, D.: Constructivism in Mathematics: An Introduction. Studies in Logic and the Foundations of Mathematics, vol. II. North-Holland (1988)Google Scholar