arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.15375cs.PLcs.LOcs.SC
收藏

Frex:依赖类型化的代数化简

Frex: dependently-typed algebraic simplification

Guillaume Allais, Edwin Brady, Nathan Corbyn, Ohad Kammar, Jeremy Yallop

AI总结:

本文提出依赖类型化的代数化简库Frex,基于泛代数理论保证化简模块的终止性、可靠性和完备性,并在Idris 2和Agda中实现,支持模块化扩展、证明提取与认证及交互式开发。

摘要:

我们提出了一种新的代数化简库设计,该设计围绕泛代数中的概念构建:理论、模型、同态以及自由代数和代数自由扩张的泛性质。该库的依赖类型化接口保证了内置和用户定义的化简模块在终止性、可靠性和相对于一类明确指定的等式的完备性方面均得到保证。我们已在 Idris 2 和 Agda 依赖类型化编程语言中实现了该设计,并展示了它支持对新理论的模块化扩展、证明提取与认证、通过反射进行目标提取以及交互式开发。

英文摘要:

We present a new design for an algebraic simplification library structured around concepts from universal algebra: theories, models, homomorphisms, and universal properties of free algebras and free extensions of algebras. The library's dependently typed interface guarantees that both built-in and user-defined simplification modules are terminating, sound, and complete with respect to a well-specified class of equations. We have implemented the design in the Idris 2 and Agda dependently typed programming languages and shown that it supports modular extension to new theories, proof extraction and certification, goal extraction via reflection, and interactive development.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑