The Agda Universal Algebra Library (UALib) is a library of types and programs (theorems and proofs) we developed to formalize the foundations of universal algebra in dependent type theory using the Agda programming language and proof assistant. The UALib includes a substantial collection of definitions, theorems, and proofs from general algebra and equational logic, including many examples that exhibit the power of inductive and dependent types for representing and reasoning about relations, algebraic structures, and equational theories. In this paper we describe several important aspects of the logical foundations on which the library is built. We also discuss (though sometimes only briefly) all of the types defined in the first 13 modules of the library, with special attention given to those details that seem most interesting or challenging from a type theory or mathematical foundations perspective.
翻译:Agda Universal 代数图书馆(Unilib)是我们利用Agda编程语言和校对助理,为将依赖型理论中通用代数的基础正式化而开发的一种类型和程序(理论和证明)图书馆。 人造图书馆包括大量的定义、理论和一般代数和方程的证明,包括许多例子,这些例子展示了感化和依赖型在表达和推理关系、代数结构和等式理论方面的力量。 在本文中,我们描述了图书馆所建筑的逻辑基础的若干重要方面。我们还讨论(有时只是简短地讨论)图书馆前13个模块中界定的所有类型,特别注意从一种理论或数学基础看似乎最有趣或最具挑战性的细节。