计算机科学 > 计算机科学中的逻辑
[提交于 2021年1月17日]
标题:A bi-directional extensible interface between Lean and Mathematica
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Robert Y. Lewis[v1] 2021年1月17日 星期日 11:33:25 UTC