arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.07758cs.LOcs.MS
收藏

Lean和Mathematica之间的双向可扩展接口

A bi-directional extensible interface between Lean and Mathematica

Robert Y. Lewis, Minchao Wu

摘要:

我们实现了一个用户可扩展的特设精益证明助手和计算机代数系统Mathematica之间的连接。通过在另一个系统中反映每个系统的语法,并为扩展翻译提供灵活的接口,我们的连接允许在两个系统之间交换任意信息。我们展示了如何利用精益元编程框架来验证某些Mathematica计算,这样证明助手的严谨性就不会受到影响。我们还使用Mathematica作为一个不受信任的oracle来指导证明助手中的证明搜索,并在精益会话中与Mathematica笔记本进行交互。在另一个方向上,我们从Mathematica中导入并处理精益声明。证明助手库作为CAS可以显示和探索的数学知识数据库。

英文摘要:

We implement a user-extensible ad hoc connection between the Lean proof assistant and the computer algebra system Mathematica. By reflecting the syntax of each system in the other and providing a flexible interface for extending translation, our connection allows for the exchange of arbitrary information between the two systems. We show how to make use of the Lean metaprogramming framework to verify certain Mathematica computations, so that the rigor of the proof assistant is not compromised. We also use Mathematica as an untrusted oracle to guide proof search in the proof assistant and interact with a Mathematica notebook from within a Lean session. In the other direction, we import and process Lean declarations from within Mathematica. The proof assistant library serves as a database of mathematical knowledge that the CAS can display and explore.

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

↑