Skip to main content

Theory Morphisms in Church’s Type Theory with Quotation and Evaluation

  • Conference paper
  • First Online:
Intelligent Computer Mathematics (CICM 2017)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 10383))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Theory morphisms are also known as immersions, realizations, theory interpretations, translations, and views.

  2. 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. 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. 4.

    We write \(V^\mathcal{M}_{\varphi }(\mathbf D _\delta )\) instead of \(V^\mathcal{M}(\varphi ,\mathbf D _\delta )\).

  5. 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. 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

  1. Andrews, P.B.: An Introduction to Mathematical Logic and Type Theory: To Truth through Proof, 2nd edn. Kluwer, Dordrecht (2002)

    Book  MATH  Google Scholar 

  2. 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

    Chapter  Google Scholar 

  3. 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

    Chapter  Google Scholar 

  4. 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

    Chapter  Google Scholar 

  5. 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)

    Google Scholar 

  6. 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

    Chapter  Google Scholar 

  7. Farmer, W.M.: Incorporating quotation and evaluation into Church’s type theory. Computing Research Repository (CoRR), abs/1612.02785 (2016). 72 pages

    Google Scholar 

  8. 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

    Chapter  Google Scholar 

  9. 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

    Google Scholar 

  10. Gordon, M.J.C., Melham, T.F.: Introduction to HOL: A Theorem Proving Environment for Higher Order Logic. Cambridge University Press, Cambridge (1993)

    MATH  Google Scholar 

  11. 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

    Chapter  Google Scholar 

  12. Kohlhase, M.: Mathematical knowledge management: transcending the one-brain-barrier with theory graphs. Eur. Math. Soc. (EMS) Newsl. 22–27 (2014)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to William M. Farmer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics