2017
DOI: 10.4204/eptcs.262.4
|View full text |Cite
|
Sign up to set email alerts
|

An Extensible Ad Hoc Interface between Lean and Mathematica

Abstract: 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.Comment: In Procee… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
8
0

Year Published

2017
2017
2022
2022

Publication Types

Select...
3
2
1

Relationship

1
5

Authors

Journals

citations
Cited by 8 publications
(8 citation statements)
references
References 18 publications
0
8
0
Order By: Relevance
“…More recently, this technique is used by Chyzak et al to formalize the proof of irrationality of ζ(3) [14], and by Harrison to verify proofs of hypergeometric sums found using the WZ method [22]. Similar approaches are implemented in Isabelle [8], PVS [3] and Lean [28]. Compared to this work, we present more complex proof automation for reconstructing proofs, as well as a user interface for allowing users to perform multi-step computations in a more familiar setting.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…More recently, this technique is used by Chyzak et al to formalize the proof of irrationality of ζ(3) [14], and by Harrison to verify proofs of hypergeometric sums found using the WZ method [22]. Similar approaches are implemented in Isabelle [8], PVS [3] and Lean [28]. Compared to this work, we present more complex proof automation for reconstructing proofs, as well as a user interface for allowing users to perform multi-step computations in a more familiar setting.…”
Section: Related Workmentioning
confidence: 99%
“…A common approach, proposed by Harrison and Théry [20,23], is to invoke a computer algebra system for computations that are difficult to perform, but whose results can be verified more easily. This greatly extends the capability of proof assistants for tasks such as factorization [23], linear arithmetic [28], etc. However, to use such a system, the user still needs expertise in the use of proof assistants, and the range of applicability is limited by the simple proof automation that is available for checking results.…”
Section: Introductionmentioning
confidence: 97%
“…The only manual input is the value to instantiate k. This value was computed using computer algebra software, and using a link to such software (e.g. [29]), even this step could potentially be automated.…”
Section: Polynomial Identitiesmentioning
confidence: 99%
“…Theorem provers built on top of computer algebra systems: These include Analytica, Theorema, RedLog, and logical extensions to the Axiom system [35,33,36,37,38] . [34,44,45,46,47,48,49,50]. The example given above, bridging Isabelle and Maple, is an example of an approach from this category.…”
Section: Iv1 a Taxonomy Of Approachesmentioning
confidence: 99%
“…Such systems may also prove to be useful tools for AI safety researchers in proving the functional correctness of other components of an AI architecture. Natural choices of systems to use would be interfaces for the Wolfram Language, the most widely used computer algebra system, with one of the HOL family of theorem provers or Coq, both of which have substantial repositories of formalized proofs [71,72,73,74], or a more modern ITP such as Lean [75,50].…”
Section: Cmentioning
confidence: 99%