从签名到UniMath中的单子
From signatures to monads in UniMath
摘要:
术语UniMath既指数学的正式系统,也指在该系统中正式化的计算机检查的数学库。UniMath系统是一个依赖于核心的类型论,由univalence公理扩充。该系统保持尽可能小,以便于验证它-特别是,一般的感应类型不是系统的一部分。在这项工作中,我们通过从其他类型构造器中构造一些数据集及其相关的归纳原则来部分弥补归纳类型的不足。这涉及到一个范畴理论的结果的形式化的初始代数的建设,以及一种机制,方便地使用所获得的datastries。我们还将这种构造与先前的变量绑定语言的替换形式化相联系。总之,我们构建了一个框架,使我们能够简洁地指定,通过一个简单的概念绑定签名,变量绑定的语言。从这样一个规范,我们获得的数据类型的术语的语言,配备了一个认证的一元替换操作和一个合适的递归计划。使用这个,我们形式化无类型的λ演算和Martin-Löf类型论的原始语法。
英文摘要:
The term UniMath refers both to a formal system for mathematics, as well as a computer-checked library of mathematics formalized in that system. The UniMath system is a core dependent type theory, augmented by the univalence axiom. The system is kept as small as possible in order to ease verification of it - in particular, general inductive types are not part of the system. In this work, we partially remedy the lack of inductive types by constructing some datatypes and their associated induction principles from other type constructors. This involves a formalization of a category-theoretic result on the construction of initial algebras, as well as a mechanism to conveniently use the datatypes obtained. We also connect this construction to a previous formalization of substitution for languages with variable binding. Altogether, we construct a framework that allows us to concisely specify, via a simple notion of binding signature, a language with variable binding. From such a specification we obtain the datatype of terms of that language, equipped with a certified monadic substitution operation and a suitable recursion scheme. Using this we formalize the untyped lambda calculus and the raw syntax of Martin-Löf type theory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。