<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://invarians.org/index.php?action=history&amp;feed=atom&amp;title=Lean_theorem_prover%2FApplications%2FThe_Fermat%27s_Last_Theorem_project</id>
	<title>Lean theorem prover/Applications/The Fermat&#039;s Last Theorem project - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://invarians.org/index.php?action=history&amp;feed=atom&amp;title=Lean_theorem_prover%2FApplications%2FThe_Fermat%27s_Last_Theorem_project"/>
	<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Lean_theorem_prover/Applications/The_Fermat%27s_Last_Theorem_project&amp;action=history"/>
	<updated>2026-10-21T08:20:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://invarians.org/index.php?title=Lean_theorem_prover/Applications/The_Fermat%27s_Last_Theorem_project&amp;diff=6809&amp;oldid=prev</id>
		<title>PMA Publisher: Published from the Principia Machina source</title>
		<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Lean_theorem_prover/Applications/The_Fermat%27s_Last_Theorem_project&amp;diff=6809&amp;oldid=prev"/>
		<updated>2026-10-15T19:35:38Z</updated>

		<summary type="html">&lt;p&gt;Published from the Principia Machina source&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:35, 15 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:The Fermat&amp;#039;s Last Theorem project}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:The Fermat&amp;#039;s Last Theorem project}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Lean theorem prover map}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;Fermat&amp;#039;s Last Theorem project&amp;#039;&amp;#039;&amp;#039; is a multi-author, open-source effort, led by Kevin Buzzard at Imperial College London, to formalise in Lean a proof of Fermat&amp;#039;s Last Theorem.&amp;lt;ref name=&amp;quot;readme&amp;quot;&amp;gt;Kevin Buzzard et al., &amp;quot;Fermat&amp;#039;s Last Theorem&amp;quot; (project page and README), Imperial College London, read 14 October 2026. https://imperialcollegelondon.github.io/FLT/ and https://github.com/ImperialCollegeLondon/FLT&amp;lt;/ref&amp;gt; This page describes its aims, its method and its state as of October 2026, including the separate, machine-written formalisation of the theorem announced in September 2026.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;Fermat&amp;#039;s Last Theorem project&amp;#039;&amp;#039;&amp;#039; is a multi-author, open-source effort, led by Kevin Buzzard at Imperial College London, to formalise in Lean a proof of Fermat&amp;#039;s Last Theorem.&amp;lt;ref name=&amp;quot;readme&amp;quot;&amp;gt;Kevin Buzzard et al., &amp;quot;Fermat&amp;#039;s Last Theorem&amp;quot; (project page and README), Imperial College London, read 14 October 2026. https://imperialcollegelondon.github.io/FLT/ and https://github.com/ImperialCollegeLondon/FLT&amp;lt;/ref&amp;gt; This page describes its aims, its method and its state as of October 2026, including the separate, machine-written formalisation of the theorem announced in September 2026.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>PMA Publisher</name></author>
	</entry>
	<entry>
		<id>https://invarians.org/index.php?title=Lean_theorem_prover/Applications/The_Fermat%27s_Last_Theorem_project&amp;diff=6602&amp;oldid=prev</id>
		<title>PMA Publisher: Published from the Principia Machina source</title>
		<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Lean_theorem_prover/Applications/The_Fermat%27s_Last_Theorem_project&amp;diff=6602&amp;oldid=prev"/>
		<updated>2026-10-14T18:01:17Z</updated>

		<summary type="html">&lt;p&gt;Published from the Principia Machina source&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:The Fermat&amp;#039;s Last Theorem project}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Fermat&amp;#039;s Last Theorem project&amp;#039;&amp;#039;&amp;#039; is a multi-author, open-source effort, led by Kevin Buzzard at Imperial College London, to formalise in Lean a proof of Fermat&amp;#039;s Last Theorem.&amp;lt;ref name=&amp;quot;readme&amp;quot;&amp;gt;Kevin Buzzard et al., &amp;quot;Fermat&amp;#039;s Last Theorem&amp;quot; (project page and README), Imperial College London, read 14 October 2026. https://imperialcollegelondon.github.io/FLT/ and https://github.com/ImperialCollegeLondon/FLT&amp;lt;/ref&amp;gt; This page describes its aims, its method and its state as of October 2026, including the separate, machine-written formalisation of the theorem announced in September 2026.&lt;br /&gt;
&lt;br /&gt;
== The theorem and the proof ==&lt;br /&gt;
&lt;br /&gt;
Fermat&amp;#039;s Last Theorem says that if &amp;lt;math&amp;gt;x, y, z, n&amp;lt;/math&amp;gt; are positive integers and &amp;lt;math&amp;gt;n \ge 3&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;x^n + y^n&amp;lt;/math&amp;gt; never equals &amp;lt;math&amp;gt;z^n&amp;lt;/math&amp;gt;. Fermat raised it in 1637; Andrew Wiles, assisted by Richard Taylor, settled it more than 350 years later. Although the statement is about counting numbers, every known proof uses much deeper mathematics: elliptic curves, modular forms, finite flat group schemes and Galois representations, among other things. Written out in full from the axioms, any known proof would run to several thousand pages.&amp;lt;ref name=&amp;quot;general&amp;quot;&amp;gt;Kevin Buzzard, &amp;quot;A Lean formalisation of Fermat&amp;#039;s Last Theorem&amp;quot; (the project&amp;#039;s general information), written December 2023. https://github.com/ImperialCollegeLondon/FLT/blob/main/GENERAL.md&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Aims ==&lt;br /&gt;
&lt;br /&gt;
The project is funded by a fellowship from the Engineering and Physical Sciences Research Council, &amp;quot;Formalising Fermat&amp;quot; (EP/Y022904/1), worth £934,043, which runs from October 2024 to September 2029.&amp;lt;ref name=&amp;quot;ukri&amp;quot;&amp;gt;UK Research and Innovation, Gateway to Research, &amp;quot;Formalising Fermat&amp;quot;, grant EP/Y022904/1, principal investigator Kevin Buzzard, Imperial College London. https://gtr.ukri.org/projects?ref=EP%2FY022904%2F1&amp;lt;/ref&amp;gt; Buzzard announced it on the Lean community&amp;#039;s blog in April 2024.&amp;lt;ref name=&amp;quot;announce&amp;quot;&amp;gt;Kevin Buzzard, &amp;quot;The Fermat&amp;#039;s Last Theorem Project&amp;quot;, Lean community blog, 30 April 2024. https://leanprover-community.github.io/blog/posts/FLT-announcement/&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first goal is not the whole theorem. It is to reduce Fermat&amp;#039;s Last Theorem to claims that mathematicians knew by the end of the 1980s, which would then be assumed rather than proved.&amp;lt;ref name=&amp;quot;announce&amp;quot; /&amp;gt; The grant&amp;#039;s own summary puts the same aim another way: to formalise much of the mathematics of a modern proof, and so to reduce the task to formalising results from the 1980s.&amp;lt;ref name=&amp;quot;ukri&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Buzzard gave several reasons for the work. Many standard objects of modern number theory had not been defined in Lean or in any other theorem prover, so many recent results could not even be stated, let alone proved; the project would have to define them. Foundational material would go into Mathlib, Lean&amp;#039;s mathematical library. And when he wrote, in December 2023, Fermat&amp;#039;s Last Theorem was the one problem left unformalised on Freek Wiedijk&amp;#039;s list of 100 challenge theorems for computer formalisation.&amp;lt;ref name=&amp;quot;general&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Method ==&lt;br /&gt;
&lt;br /&gt;
The proof being formalised is not Wiles&amp;#039;s original. It is a modern variant of the Wiles and Taylor–Wiles argument that borrows heavily from the ideas of Khare and Wintenberger, and its route was planned almost entirely by Richard Taylor in discussions with Buzzard.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt; At its heart is still the idea, proved by Wiles in crucial cases, that a certain deformation ring &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; is isomorphic to a Hecke algebra &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;general&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The project is organised with a blueprint, the LaTeX map of the proof whose dependency graph shows which pieces are done, a method described on [[Lean theorem prover/Applications/The polynomial Freiman-Ruzsa conjecture|the polynomial Freiman–Ruzsa conjecture]]. It works from both ends at once: down from the main theorem, stating the large claims to be assumed, and up from the basics, adding general material to Mathlib, with the aim of meeting in the middle.&amp;lt;ref name=&amp;quot;general&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Formalisation checks the literature as well as the proof. In 2024 the work on divided powers, on which the theory of crystalline cohomology relies, met a problem in the literature: a lemma in a 1965 paper by Norbert Roby appeared to be false, and the gap blocked a definition the project needed. Antoine Chambert-Loir and María Inés de Frutos-Fernández were formalising the theory; Chambert-Loir worked on a repair, and by December 2024 Buzzard reported the issues sorted out and the project back on track. In the same period Andrew Yang proved in Lean an abstract result of commutative algebra on which the &amp;lt;math&amp;gt;R = T&amp;lt;/math&amp;gt; step depends.&amp;lt;ref name=&amp;quot;going&amp;quot;&amp;gt;Kevin Buzzard, &amp;quot;Fermat&amp;#039;s Last Theorem — how it&amp;#039;s going&amp;quot;, &amp;#039;&amp;#039;Xena&amp;#039;&amp;#039; (blog), 11 December 2024. https://xenaproject.wordpress.com/2024/12/11/fermats-last-theorem-how-its-going/&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In 2026 Buzzard gave a lecture course of eleven lectures on the proof&amp;#039;s route, and announced a workshop in London for July 2026, funded by the company Logos Research, to find out which parts of the proof AI tools could formalise. In May 2026 he judged that such tools could not yet reliably formalise definitions correctly, or state theorems in the idiom of Mathlib, without help.&amp;lt;ref name=&amp;quot;workshop&amp;quot;&amp;gt;Kevin Buzzard, &amp;quot;Formalizing Fermat workshop&amp;quot;, &amp;#039;&amp;#039;Xena&amp;#039;&amp;#039; (blog), 15 May 2026. https://xenaproject.wordpress.com/2026/05/15/formalizing-fermat-workshop/&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== A complete formal proof by other means ==&lt;br /&gt;
&lt;br /&gt;
On 4 September 2026 Anthropic announced a complete formal proof of Fermat&amp;#039;s Last Theorem in Lean, produced, by its account, in about 11 days by dozens of instances of its model Claude working largely on their own on Prove2Me, a collaborative formalisation platform from Columbia University. The proof follows the 1995 exposition of Wiles&amp;#039;s argument by Henri Darmon, Fred Diamond and Richard Taylor.&amp;lt;ref name=&amp;quot;beaten&amp;quot; /&amp;gt; It is about 13 million lines of Lean, proves some 30,300 theorems of which about 29,500 are used in the final proof, rests only on Lean&amp;#039;s three standard axioms, and adapts pieces of the Imperial project and of an earlier formalisation of the theorem for regular primes. A comparison tool confirmed that the statement proved matches Mathlib&amp;#039;s own statement of Fermat&amp;#039;s Last Theorem.&amp;lt;ref name=&amp;quot;anthropic&amp;quot;&amp;gt;Anthropic, &amp;quot;Formalizing Fermat&amp;#039;s Last Theorem&amp;quot;, 4 September 2026. https://www.anthropic.com/research/formalizing-fermats-last-theorem&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Buzzard compiled the code and ran the comparison himself, and reported that it checks out; he also described the proof as gigantic, over 13.4 million lines that take nearly twenty times as long to compile as Mathlib. He noted that the formalisation follows the early literature and adds nothing new mathematically, and that it closes Wiedijk&amp;#039;s list.&amp;lt;ref name=&amp;quot;beaten&amp;quot;&amp;gt;Kevin Buzzard, &amp;quot;FLT: Anthropic has beaten me to it&amp;quot;, &amp;#039;&amp;#039;Xena&amp;#039;&amp;#039; (blog), 4 September 2026. https://xenaproject.wordpress.com/2026/09/04/flt-anthropic-has-beaten-me-to-it/&amp;lt;/ref&amp;gt; Its route is the older one, not the modern proof the Imperial project follows.&amp;lt;ref name=&amp;quot;beaten&amp;quot; /&amp;gt; In answer to readers who asked whether the program could have exploited a flaw in Lean, he described asking an AI agent to list everything in the code that was neither a definition nor a proof, and inspecting the roughly 100 lines it found, which he concluded only defined a convenience tactic; he added that this was not a perfect approach.&amp;lt;ref name=&amp;quot;beaten&amp;quot; /&amp;gt; What the Lean kernel&amp;#039;s check does and does not establish is the subject of [[Lean theorem prover/Explainers/What has to be trusted|What has to be trusted]].&lt;br /&gt;
&lt;br /&gt;
== State as of October 2026 ==&lt;br /&gt;
&lt;br /&gt;
The machine-written proof goes further than the grant&amp;#039;s first goal, since it proves the whole theorem rather than reducing it to the 1980s. Buzzard wrote that it does not discharge the project&amp;#039;s other commitments: to add the fundamental objects of modern number theory to Mathlib, which is continuing, and to produce a document through which people can explore the modern proof.&amp;lt;ref name=&amp;quot;beaten&amp;quot; /&amp;gt; The project page still describes the work as ongoing, led by Buzzard and funded until September 2029.&amp;lt;ref name=&amp;quot;readme&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Next ==&lt;br /&gt;
&lt;br /&gt;
* [[Lean theorem prover/Applications/The equational theories project|The equational theories project]], a collaboration on a different scale.&lt;br /&gt;
* [[Lean theorem prover/Applications/Machine learning and theorem proving|Machine learning and theorem proving]], for machine-written proofs in general.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>PMA Publisher</name></author>
	</entry>
</feed>