Alonzo is a practice-oriented classical higher-order version of predicate logic that extends first-order logic and that admits undefined expressions. Named in honor of Alonzo Church, Alonzo is based on Church's type theory, Church's formulation of simple type theory. The little theories method is a method for formalizing mathematical knowledge as a theory graph consisting of theories as nodes and theory morphisms as directed edges. The development of a mathematical topic is done in the "little theory" in the theory graph that has the most convenient level of abstraction and the most convenient vocabulary, and then the definitions and theorems produced in the development are transported, as needed, to other theories via the theory morphisms in the theory graph. The purpose of this paper is to illustrate how a body of mathematical knowledge can be formalized in Alonzo using the little theories method. This is done by formalizing monoid theory -- the body of mathematical knowledge about monoids -- in Alonzo. Instead of using the standard approach to formal mathematics in which mathematics is done with the help of a proof assistant and all details are formally proved and mechanically checked, we employ an alternative approach in which everything is done within a formal logic but proofs are not required to be fully formal. The standard approach focuses on certification, while this alternative approach focuses on communication and accessibility.
翻译:Alonzo是一种面向实践的经典高阶谓词逻辑,它扩展了一阶逻辑并允许未定义表达式。为纪念Alonzo Church而命名,Alonzo基于Church的类型论,即Church的简单类型论表述。小理论方法是一种将数学知识形式化为理论图的方法,其中理论作为节点,理论态射作为有向边。数学主题的展开在理论图中具有最便捷抽象层级和词汇的“小理论”内完成,随后通过理论图中的态射,将展开过程中产生的定义和定理按需传输到其他理论。本文旨在阐释如何利用小理论方法在Alonzo中形式化数学知识体系。具体通过将幺半群理论——关于幺半群的数学知识体系——在Alonzo中形式化来实现。与依赖证明辅助工具、所有细节均经过形式化证明和机械验证的标准形式数学方法不同,我们采用一种替代方法:所有工作均在形式逻辑框架内完成,但证明无需完全形式化。标准方法侧重于认证,而此替代方法侧重于交流与可访问性。