Formalizing mathematics in LEAN

This final year project is a journey into the realm of mathematics formalization, exploring the depths and boundaries of what it means to translate mathematical concepts into the precise programming language of LEAN4. LEAN4, a state-of-the-art theorem proving language, together with its official mat...

Full description

Saved in:
Bibliographic Details
Main Author: Liu, Yufei
Other Authors: Gary Royden Watson Greaves
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2024
Subjects:
Online Access:https://hdl.handle.net/10356/175451
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-175451
record_format dspace
spelling sg-ntu-dr.10356-1754512024-04-29T15:39:30Z Formalizing mathematics in LEAN Liu, Yufei Gary Royden Watson Greaves School of Physical and Mathematical Sciences gary@ntu.edu.sg Mathematical Sciences Mathematics formalization LEAN4 This final year project is a journey into the realm of mathematics formalization, exploring the depths and boundaries of what it means to translate mathematical concepts into the precise programming language of LEAN4. LEAN4, a state-of-the-art theorem proving language, together with its official mathematical library mathlib, offers the capability to rigorously define and prove mathematical theorems. The focus of this project is to gain a deeper understanding of mathematical formalization and to demonstrate its application in advancing mathematical discourse. Formalizing matrix determinant lemma (MDL) was identified as a research gap during this exploration, as it had not yet been formalized in mathlib, providing a case study for applying the learned formalization techniques. This report outlines the methodology adopted, and the formalization process, highlighting the gradual learning curve with LEAN4, active engagement with the LEAN community, and the contributions made to the mathlib. A notable achievement of this project is the integration of the matrix determinant lemma into the official mathlib, enhancing the library’s functionality and demonstrating the practicality of LEAN4 in handling complex mathematical proofs. Furthermore, the development of HTML documentation provides an interactive platform to present this project, enhancing the engagement and comprehension of mathematics formalization. Bachelor's degree 2024-04-24T04:53:55Z 2024-04-24T04:53:55Z 2024 Final Year Project (FYP) Liu, Y. (2024). Formalizing mathematics in LEAN. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/175451 https://hdl.handle.net/10356/175451 en SPMS23002 application/pdf Nanyang Technological University
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Mathematical Sciences
Mathematics formalization
LEAN4
spellingShingle Mathematical Sciences
Mathematics formalization
LEAN4
Liu, Yufei
Formalizing mathematics in LEAN
description This final year project is a journey into the realm of mathematics formalization, exploring the depths and boundaries of what it means to translate mathematical concepts into the precise programming language of LEAN4. LEAN4, a state-of-the-art theorem proving language, together with its official mathematical library mathlib, offers the capability to rigorously define and prove mathematical theorems. The focus of this project is to gain a deeper understanding of mathematical formalization and to demonstrate its application in advancing mathematical discourse. Formalizing matrix determinant lemma (MDL) was identified as a research gap during this exploration, as it had not yet been formalized in mathlib, providing a case study for applying the learned formalization techniques. This report outlines the methodology adopted, and the formalization process, highlighting the gradual learning curve with LEAN4, active engagement with the LEAN community, and the contributions made to the mathlib. A notable achievement of this project is the integration of the matrix determinant lemma into the official mathlib, enhancing the library’s functionality and demonstrating the practicality of LEAN4 in handling complex mathematical proofs. Furthermore, the development of HTML documentation provides an interactive platform to present this project, enhancing the engagement and comprehension of mathematics formalization.
author2 Gary Royden Watson Greaves
author_facet Gary Royden Watson Greaves
Liu, Yufei
format Final Year Project
author Liu, Yufei
author_sort Liu, Yufei
title Formalizing mathematics in LEAN
title_short Formalizing mathematics in LEAN
title_full Formalizing mathematics in LEAN
title_fullStr Formalizing mathematics in LEAN
title_full_unstemmed Formalizing mathematics in LEAN
title_sort formalizing mathematics in lean
publisher Nanyang Technological University
publishDate 2024
url https://hdl.handle.net/10356/175451
_version_ 1806059839868108800