Fermat's Last Theorem in Lean 4

About these pages

These pages document the Lean sources in this repository (Lean v4.33.1, Mathlib v4.33.0). They were generated on 2026-09-03 by a script that reads the .lean files as text; no Lean was run to produce them. Consequences worth knowing:

Using the folder

Open html/index.html in a browser; no server is needed and nothing is fetched from the network. All links are relative. The links to .lean source files assume the folder sits at the root of the repository (next to Theorems/, P2M/, Definitions/); everything else works wherever the folder is. The interactive neighbourhood graphs use Graphviz compiled to WebAssembly (bundled); if a browser refuses to run it from a local file, the page says so and the lists carry the same information. Tested with a Chromium-based browser; the pages use only long-standing web features (classic scripts, SVG, no modules or network requests) so that Firefox and Safari behave the same from disk.

Third-party material

Graph layout: Graphviz via @hpcc-js/wasm (Apache-2.0). Mathematics typesetting: KaTeX (MIT; fonts SIL OFL 1.1). Licence texts are in assets/vendor/. The Lean files' own attribution is in ATTRIBUTION.md.