A User-extensible Link between the Lean Proof Assistant and the Mathematica algebra system

A bi-directional extensible interface between Lean and Mathematica

We implement a user-extensible ad hoc connection between the lean proofassistant and the computer algebra system mathematica.By reflecting the syntaxof 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 proofsearch in the proof assistant and interact with a mathematica notebook fromwithin a lean session.