Research Article

Lean- Mathematical Formal Proof Tools and AI Automated Proofs

Yiyang Zou*
Reading Academy of Nanjing University of Information Science and Technology, Nanjing, China

* Corresponding author: [email protected]

Abstract

With the development of computer technology, various disciplines are committed to promoting the combination of disciplines and computer AI technology, mathematics is no exception, as one of the most important basic disciplines in the world, mathematicians are also actively trying the integration of mathematics and AI technology, one of the very popular directions is to promote the automatic proof of mathematics, with the help of AI to promote the further development of mathematics discipline, and inject new blood into mathematics discipline. But there exist some difficulties in the mathematical proving because of the differences between the Mathematical Logic and Computer Logic. To overcome the difficulties, Mathematician and computer scientist created many tools, like lean and Lean Copilot. Lean has a powerful type system and efficient proof capabilities. Lean Copilot, on the other hand, offers intelligent code suggestions and supports a variety of tasks, among many other advantages. In this paper, we will introduce the tool of mathematical formalization, LEAN, as well as the development process and future direction of mathematical automated proofs.

Keywords: Lean; Formalization; Automated proofs; Mathematically proven; AI of mathematics
Published: March 13, 2025
DOI: 10.54254/2753-8818/2025.21398
Volume: TNS Vol.92
pp. 31-35
Download PDF

References

  1. Blass, A.​ (2016).​ Symbioses between mathematical logic and computer science.​ Annals of Pure and Applied Logic, 167(10), 868-​878.​ https:​/​/​doi.​org/​10.​1016/​j.​apal.​2014.​04.​018
  2. Lean Documentation Overview.​ Lean.​ https:​/​/​lean-​lang.​org/​lean4/​doc/​
  3. Harvard School of Engineering and Applied Sciences.​ (2010).​ Lecture 19:​ Type inference; Curry-​Howard isomorphism.​ Computer Science 152.​ https:​/​/​groups.​seas.​harvard.​edu/​courses/​cs152/​2010sp/​lectures/​lec19.​pdf
  4. Wei, J.​, Schuurmans, D.​, Bosma, M.​, Weng, L.​, et al.​ (2022).​ Chain-​of-​thought prompting elicits reasoning in large language models.​ arXiv.​ https:​/​/​doi.​org/​10.​48550/​arXiv.​2201.​11903
  5. GeeksforGeeks.​ What is currying function in JavaScript? https:​/​/​www.​geeksforgeeks.​org/​what-​is-​currying-​function-​in-​javascript/​
  6. Song, P.​ Lean Copilot:​ LLMs as copilots for theorem proving in Lean.​ GitHub.​ https:​/​/​github.​com/​lean-​dojo/​LeanCopilot/​blob/​main/​README.​md
  7. Ruan, R.​Y.​ (2024).​ Open-​source highlight:​ Lean Copilot – Leading the innovation in theorem proving.​ CSDN.​ https:​/​/​blog.​csdn.​net/​gitblog_​01057/​article/​details/​141013426 (In Chinese)
  8. Song, P.​Y, Yang, K.​Y, &​ Anandkumar, A.​ (2024).​ Towards large language models as copilots for theorem proving in Lean.​ arXiv.​ https:​/​/​arxiv.​org/​pdf/​2404.​12534
  9. Tencent News.​ (2024, October 8).​ Tao Zhexuan’s latest interview:​ The comparison of OpenAI o1 to "a mediocre but not completely incompetent graduate student" was misunderstood.​ Tencent News.​ https:​/​/​news.​qq.​com/​rain/​a/​20241008A04U8C00 (In Chinese)