Abstract
A biform theory is a combination of an axiomatic theory and an algorithmic theory that supports the integration of reasoning and computation. These are ideal for formalizing algorithms that manipulate mathematical expressions. A theory graph is a network of theories connected by meaning-preserving theory morphisms that map the formulas of one theory to the formulas of another theory. Theory graphs are in turn well suited for formalizing mathematical knowledge at the most convenient level of abstraction using the most convenient vocabulary. We are interested in the problem of whether a body of mathematical knowledge can be effectively formalized as a theory graph of biform theories. As a test case, we look at the graph of theories encoding natural number arithmetic. We used two different formalisms to do this, which we describe and compare. The first is realized in \({\textsc {ctt}}_\mathrm{uqe}\), a version of Church’s type theory with quotation and evaluation, and the second is realized in Agda, a dependently typed programming language.
This research was supported by NSERC.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Aydemir, B.E., et al.: Mechanized metatheory for the masses: the PoplMark challenge. In: Hurd, J., Melham, T. (eds.) TPHOLs 2005. LNCS, vol. 3603, pp. 50–65. Springer, Heidelberg (2005). doi:10.1007/11541868_4
Barwise, J., Seligman, J., Flow, I.: The Logic of Distributed Systems. Tracts in Computer Science, vol. 44. Cambridge University Press, Cambridge (1997)
Carette, J., Farmer, W.M.: Formalizing mathematical knowledge as a biform theory graph: a case study. arXiv:1704.02253 (2017)
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.: Biform theories in Chiron. In: Kauers, M., Kerber, M., Miner, R., Windsteiger, W. (eds.) Calculemus/MKM -2007. LNCS, vol. 4573, pp. 66–79. Springer, Heidelberg (2007). doi:10.1007/978-3-540-73086-6_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
Farmer, W.M.: Incorporating quotation and evaluation into church’s type theory. Computing Research Repository (CoRR) abs/1612.02785, p. 72 (2016)
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.: Theory morphisms in church’s type theory with quotation and evaluation. Computing Research Repository (CoRR) abs/1703.02117, p. 15 (2017)
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
Farmer, W.M., Guttman, J.D., Thayer, F.J.: IMPS: an interactive mathematical proof system. J. Autom. Reasoning 11, 213–248 (1993)
Jenks, R.D., Sutor, R.S.: Axiom: The Scientific Computation System. Springer, Heidelberg (1992)
Kohlhase, M.: Mathematical knowledge management: transcending the one-brain-barrier with theory graphs. Eur. Math. Soc. (EMS) Newslett. 92, 22–27 (2014)
Norell, U.: Towards a practical programming language based on dependent type theory. Ph.D. thesis, Chalmers University of Technology (2007)
Norell, U.: Dependently typed programming in Agda. In: Kennedy, A., Ahmed, A. (eds.) Proceedings of TLDI 2009, pp. 1–2. ACM (2009)
Rabe, F., Kohlhase, M.: A scalable model system. Inf. Comput. 230, 1–54 (2013)
Smoryński, C.: Logical Number Theory I: An Introduction. Springer, Heidelberg (1991)
Agda Team: Agda wiki. http://wiki.portal.chalmers.se/agda/pmwiki.php. Accessed 15 May 2017
The Univalent Foundations Theory Program: Homotopy Type Theory: Univalent Foundations of Mathematics. Institute for Advanced Study (2013). https://homotopytypetheory.org/book
van der Walt, P.: Reflection in Agda. Master’s thesis, Universiteit Utrecht, (2012). https://dspace.library.uu.nl/handle/1874/256628
Walt, P., Swierstra, W.: Engineering proof by reflection in Agda. In: Hinze, R. (ed.) IFL 2012. LNCS, vol. 8241, pp. 157–173. Springer, Heidelberg (2013). doi:10.1007/978-3-642-41582-1_10
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Carette, J., Farmer, W.M. (2017). Formalizing Mathematical Knowledge as a Biform Theory Graph: A Case Study. 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_2
Download citation
DOI: https://doi.org/10.1007/978-3-319-62075-6_2
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)