Skip to content

A formalised proof of Fermat's Last Theorem for exponent 3 in the Lean proof assistant.

License

Notifications You must be signed in to change notification settings

LorenzoLuccioli/FLT3

 
 

Repository files navigation

Fermat's Last Theorem for Exponent 3

License: Apache 2.0 CI Documentation: Website Blueprint: Website Blueprint: Paper

This repository contains a formalised proof of Fermat's Last Theorem for the exponent 3 using the Lean proof assistant. It provides both the proof files and a blueprint for a web-based documentation, along with an accompanying paper.

Build Lean Files

To build the Lean files of this project, you need to have a working version of Lean. For comprehensive guidance on installing Lean, see the installation instructions under the section titled "Regular install".

To build the project, run lake exe cache get and then lake build.

Build Blueprint

To build the web version of the blueprint, you need a working LaTeX installation. Furthermore, you need some packages:

sudo apt install graphviz libgraphviz-dev
pip3 install invoke pandoc
cd .. # go to folder where you are happy clone git repos
git clone [email protected]:plastex/plastex
pip3 install ./plastex
git clone [email protected]:PatrickMassot/leanblueprint
pip3 install ./leanblueprint
cd FLT3

To actually build the blueprint, run

lake exe cache get
lake build
inv all

References

  1. Hindry. Arithmetics.
  2. Avigad and Massot. Mathematics in Lean.
  3. Avigad et al. Theorem Proving in Lean 4.
  4. Macbeth. The Mechanics of Proof.
  5. Velleman. How To Prove It With Lean.
  6. Christiansen. Functional Programming in Lean.
  7. De Moura and Ullrich. The Lean 4 Theorem Prover and Programming Language.
  8. Limperg and From. Aesop: White-Box Best-First Proof Search for Lean.
  9. Buzzard. Lean in 2024.
  10. Lowry-Duda. FLT3 at Lean for the Curious Mathematician 2024.

About

A formalised proof of Fermat's Last Theorem for exponent 3 in the Lean proof assistant.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lean 50.7%
  • TeX 46.7%
  • Python 1.3%
  • CSS 0.5%
  • Shell 0.5%
  • Dockerfile 0.1%
  • Other 0.2%