Abstract
\({\textsc {ctt}}_\mathrm{qe}\) is a version of Church’s type theory with global quotation and evaluation operators that is engineered to reason about the interplay of syntax and semantics and to formalize syntax-based mathematical algorithms. \({\textsc {ctt}}_\mathrm{uqe}\) is a variant of \({\textsc {ctt}}_\mathrm{qe}\) that admits undefined expressions, partial functions, and multiple base types of individuals. It is better suited than \({\textsc {ctt}}_\mathrm{qe}\) as a logic for building networks of theories connected by theory morphisms. This paper presents the syntax and semantics of \({\textsc {ctt}}_\mathrm{uqe}\), defines a notion of a theory morphism from one \({\textsc {ctt}}_\mathrm{uqe}\) theory to another, and gives two simple examples involving monoids that illustrate the use of theory morphisms in \({\textsc {ctt}}_\mathrm{uqe}\).
This research was supported by NSERC.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Theory morphisms are also known as immersions, realizations, theory interpretations, translations, and views.
- 2.
A logic without support for partial functions and undefinedness—such as \({\textsc {ctt}}_\mathrm{qe}\) or the logic of HOL [10]—can interpret \(\alpha \) by a type \(\beta '\) that is isomorphic to a subset of \(\beta \). However, this approach is more complicated and farther from standard mathematics practice than interpreting \(\alpha \) directly by a subset of \(\beta \).
- 3.
It would be more natural for the second argument of an evaluation to be a type, but that would lead to an infinite family of evaluation operators, one for every type, since type variables are not available in \({\textsc {ctt}}_\mathrm{uqe}\) (as well as in \({\textsc {ctt}}_\mathrm{qe}\) and \(\mathcal{Q}_0\)).
- 4.
We write \(V^\mathcal{M}_{\varphi }(\mathbf D _\delta )\) instead of \(V^\mathcal{M}(\varphi ,\mathbf D _\delta )\).
- 5.
Technically, \(e'_\iota \) is a constant chosen from \(\mathcal {C}{\setminus } \mathcal {C}_{M}\). There is no harm is assuming that such a constant already exists in \(\mathcal {C}\).
- 6.
The definition of \(*'_{\iota \rightarrow \iota \rightarrow \iota }\) can be simplified by noting that \(e_\iota *_{\iota \rightarrow \iota \rightarrow \iota } e_\iota \) equals \(e_\iota \).
References
Andrews, P.B.: An Introduction to Mathematical Logic and Type Theory: To Truth through Proof, 2nd edn. Kluwer, Dordrecht (2002)
Carette, J., Farmer, W.M.: High-level theories. In: Autexier, S., Campbell, J., Rubio, J., Sorge, V., Suzuki, M., Wiedijk, F. (eds.) CICM 2008. LNCS, vol. 5144, pp. 232–245. Springer, Heidelberg (2008). doi:10.1007/978-3-540-85110-3_19
Farmer, W.M.: Theory interpretation in simple type theory. In: Heering, J., Meinke, K., Möller, B., Nipkow, T. (eds.) HOA 1993. LNCS, vol. 816, pp. 96–123. Springer, Heidelberg (1994). doi:10.1007/3-540-58233-9_6
Farmer, W.M.: Formalizing undefinedness arising in calculus. In: Basin, D., Rusinowitch, M. (eds.) IJCAR 2004. LNCS, vol. 3097, pp. 475–489. Springer, Heidelberg (2004). doi:10.1007/978-3-540-25984-8_35
Farmer, W.M.: Andrews’ type system with undefinedness. In: Benzmüller, C., Brown, C., Siekmann, J., Statman, R. (eds.) Reasoning in Simple Type Theory: Festschrift in Honor of Peter B: Andrews on his 70th Birthday. Studies in Logic, pp. 223–242. College Publications, London (2008)
Farmer, W.M.: The formalization of syntax-based mathematical algorithms using quotation and evaluation. In: Carette, J., Aspinall, D., Lange, C., Sojka, P., Windsteiger, W. (eds.) CICM 2013. LNCS, vol. 7961, pp. 35–50. Springer, Heidelberg (2013). doi:10.1007/978-3-642-39320-4_3
Farmer, W.M.: Incorporating quotation and evaluation into Church’s type theory. Computing Research Repository (CoRR), abs/1612.02785 (2016). 72 pages
Farmer, W.M.: Incorporating quotation and evaluation into Church’s type theory: syntax and semantics. In: Kohlhase, M., Johansson, M., Miller, B., de Moura, L., Tompa, F. (eds.) CICM 2016. LNCS, vol. 9791, pp. 83–98. Springer, Cham (2016). doi:10.1007/978-3-319-42547-4_7
Farmer, W.M., Guttman, J.D., Javier Thayer, F.: Little theories. In: Kapur, D. (ed.) CADE 1992. LNCS, vol. 607, pp. 567–581. Springer, Heidelberg (1992). doi:10.1007/3-540-55602-8_192
Gordon, M.J.C., Melham, T.F.: Introduction to HOL: A Theorem Proving Environment for Higher Order Logic. Cambridge University Press, Cambridge (1993)
Harrison, J.: HOL light: an overview. In: Berghofer, S., Nipkow, T., Urban, C., Wenzel, M. (eds.) TPHOLs 2009. LNCS, vol. 5674, pp. 60–66. Springer, Heidelberg (2009). doi:10.1007/978-3-642-03359-9_4
Kohlhase, M.: Mathematical knowledge management: transcending the one-brain-barrier with theory graphs. Eur. Math. Soc. (EMS) Newsl. 22–27 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Farmer, W.M. (2017). Theory Morphisms in Church’s Type Theory with Quotation and Evaluation. In: Geuvers, H., England, M., Hasan, O., Rabe, F., Teschke, O. (eds) Intelligent Computer Mathematics. CICM 2017. Lecture Notes in Computer Science(), vol 10383. Springer, Cham. https://doi.org/10.1007/978-3-319-62075-6_11
Download citation
DOI: https://doi.org/10.1007/978-3-319-62075-6_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-62074-9
Online ISBN: 978-3-319-62075-6
eBook Packages: Computer ScienceComputer Science (R0)