<?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_polynomial_Freiman-Ruzsa_conjecture</id>
	<title>Lean theorem prover/Applications/The polynomial Freiman-Ruzsa conjecture - 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_polynomial_Freiman-Ruzsa_conjecture"/>
	<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Lean_theorem_prover/Applications/The_polynomial_Freiman-Ruzsa_conjecture&amp;action=history"/>
	<updated>2026-10-21T09:17:13Z</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_polynomial_Freiman-Ruzsa_conjecture&amp;diff=6808&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_polynomial_Freiman-Ruzsa_conjecture&amp;diff=6808&amp;oldid=prev"/>
		<updated>2026-10-15T19:35:36Z</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 polynomial Freiman-Ruzsa conjecture}}&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 polynomial Freiman-Ruzsa conjecture}}&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;polynomial Freiman–Ruzsa conjecture&amp;#039;&amp;#039;&amp;#039;, also called &amp;#039;&amp;#039;&amp;#039;Marton&amp;#039;s conjecture&amp;#039;&amp;#039;&amp;#039;, is a statement in additive combinatorics about sets that are nearly closed under addition. In November 2023 W. T. Gowers, Ben Green, Freddie Manners and Terence Tao proved it in characteristic 2, and in about three weeks a group of volunteers led by Tao checked the proof in Lean. This page describes the result, how the checking was organised, and what it found.&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;polynomial Freiman–Ruzsa conjecture&amp;#039;&amp;#039;&amp;#039;, also called &amp;#039;&amp;#039;&amp;#039;Marton&amp;#039;s conjecture&amp;#039;&amp;#039;&amp;#039;, is a statement in additive combinatorics about sets that are nearly closed under addition. In November 2023 W. T. Gowers, Ben Green, Freddie Manners and Terence Tao proved it in characteristic 2, and in about three weeks a group of volunteers led by Tao checked the proof in Lean. This page describes the result, how the checking was organised, and what it found.&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_polynomial_Freiman-Ruzsa_conjecture&amp;diff=6601&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_polynomial_Freiman-Ruzsa_conjecture&amp;diff=6601&amp;oldid=prev"/>
		<updated>2026-10-14T18:01:16Z</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 polynomial Freiman-Ruzsa conjecture}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;polynomial Freiman–Ruzsa conjecture&amp;#039;&amp;#039;&amp;#039;, also called &amp;#039;&amp;#039;&amp;#039;Marton&amp;#039;s conjecture&amp;#039;&amp;#039;&amp;#039;, is a statement in additive combinatorics about sets that are nearly closed under addition. In November 2023 W. T. Gowers, Ben Green, Freddie Manners and Terence Tao proved it in characteristic 2, and in about three weeks a group of volunteers led by Tao checked the proof in Lean. This page describes the result, how the checking was organised, and what it found.&lt;br /&gt;
&lt;br /&gt;
== The statement ==&lt;br /&gt;
&lt;br /&gt;
Take the strings of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; bits, added place by place with 1 + 1 = 0; mathematicians write this space &amp;lt;math&amp;gt;\mathbb{F}_2^n&amp;lt;/math&amp;gt;. For a set &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; of such strings, &amp;lt;math&amp;gt;A + A&amp;lt;/math&amp;gt; is the set of all sums of two of its elements. If &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is a subspace, adding gives nothing new and &amp;lt;math&amp;gt;A + A = A&amp;lt;/math&amp;gt;. The conjecture says the converse holds in a robust form: if &amp;lt;math&amp;gt;A + A&amp;lt;/math&amp;gt; is not much larger than &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is close to a subspace.&lt;br /&gt;
&lt;br /&gt;
In the form Tao gave on his blog: if &amp;lt;math&amp;gt;|A + A| \le K|A|&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; can be covered by at most &amp;lt;math&amp;gt;2K^{12}&amp;lt;/math&amp;gt; translates of a subspace &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|H| \le |A|&amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;taoblog&amp;quot;&amp;gt;Terence Tao, &amp;quot;On a conjecture of Marton&amp;quot;, &amp;#039;&amp;#039;What&amp;#039;s new&amp;#039;&amp;#039; (blog), 13 November 2023. https://terrytao.wordpress.com/2023/11/13/on-a-conjecture-of-marton/&amp;lt;/ref&amp;gt; What matters is that the number of translates is bounded by a power of &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt;; the best earlier bound, which Tao attributes to Konyagin, grew faster than any power.&amp;lt;ref name=&amp;quot;taoblog&amp;quot; /&amp;gt; The conjecture connects a simple test on sums with algebraic structure, and it has links to areas such as coding theory and cryptography; &amp;#039;&amp;#039;Quanta Magazine&amp;#039;&amp;#039; reported that Gil Kalai had called it &amp;quot;a holy grail&amp;quot; of the field.&amp;lt;ref name=&amp;quot;quanta&amp;quot;&amp;gt;Leila Sloman, &amp;quot;&amp;#039;A-Team&amp;#039; of Math Proves a Critical Link Between Addition and Sets&amp;quot;, &amp;#039;&amp;#039;Quanta Magazine&amp;#039;&amp;#039;, 6 December 2023. https://www.quantamagazine.org/a-team-of-math-proves-a-critical-link-between-addition-and-sets-20231206/&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The proof ==&lt;br /&gt;
&lt;br /&gt;
The paper &amp;quot;On a conjecture of Marton&amp;quot; was posted on 9 November 2023 and revised on 12 December 2023.&amp;lt;ref name=&amp;quot;arxiv&amp;quot;&amp;gt;W. T. Gowers, Ben Green, Freddie Manners and Terence Tao, &amp;quot;On a conjecture of Marton&amp;quot;, arXiv:2311.05762, 9 November 2023 (revised 12 December 2023). https://arxiv.org/abs/2311.05762&amp;lt;/ref&amp;gt; Its argument works with the entropy of random variables, in Shannon&amp;#039;s sense, rather than with Fourier analysis, and it proceeds by induction on a doubling constant defined through entropy.&amp;lt;ref name=&amp;quot;taoblog&amp;quot; /&amp;gt; It was published in the &amp;#039;&amp;#039;Annals of Mathematics&amp;#039;&amp;#039; in 2025.&amp;lt;ref name=&amp;quot;annals&amp;quot;&amp;gt;W. T. Gowers, Ben Green, Freddie Manners and Terence Tao, &amp;quot;On a conjecture of Marton&amp;quot;, &amp;#039;&amp;#039;Annals of Mathematics&amp;#039;&amp;#039; 201 (2025), no. 2, pp. 515–549. doi:10.4007/annals.2025.201.2.5&amp;lt;/ref&amp;gt; In April 2024 the same four authors extended the method to abelian groups of bounded torsion.&amp;lt;ref name=&amp;quot;torsion&amp;quot;&amp;gt;W. T. Gowers, Ben Green, Freddie Manners and Terence Tao, &amp;quot;Marton&amp;#039;s Conjecture in abelian groups with bounded torsion&amp;quot;, arXiv:2404.02244, 2 April 2024. https://arxiv.org/abs/2404.02244&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The formalisation ==&lt;br /&gt;
&lt;br /&gt;
In his blog post of 13 November 2023 Tao wrote that he planned to formalise the paper in Lean 4.&amp;lt;ref name=&amp;quot;taoblog&amp;quot; /&amp;gt; The project was started by Tao, Yaël Dillies and Bhavik Mehta, and less than a week after its launch a significant part of the paper was already formalised in full or in part.&amp;lt;ref name=&amp;quot;tour&amp;quot;&amp;gt;Terence Tao, &amp;quot;Formalizing the proof of PFR in Lean4 using Blueprint: a short tour&amp;quot;, &amp;#039;&amp;#039;What&amp;#039;s new&amp;#039;&amp;#039; (blog), 18 November 2023. https://terrytao.wordpress.com/2023/11/18/formalizing-the-proof-of-pfr-in-lean4-using-blueprint-a-short-tour/&amp;lt;/ref&amp;gt; About 25 volunteers took part.&amp;lt;ref name=&amp;quot;quanta&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The work was organised with &amp;#039;&amp;#039;&amp;#039;Blueprint&amp;#039;&amp;#039;&amp;#039;, a tool written by Patrick Massot. A blueprint is a human-readable LaTeX version of the proof in which each definition and lemma is linked to its Lean counterpart. From it the tool draws a dependency graph: lemmas appear as bubbles and definitions as rectangles, and the colours show progress. Green means fully formalised; blue means the statement is formalised and its proof is ready to be formalised. When a proof compiles, its author marks it done in the LaTeX by hand, since the tool does not check that mark itself.&amp;lt;ref name=&amp;quot;tour&amp;quot; /&amp;gt; Tasks were handed out on the Lean community&amp;#039;s chat forum: Tao posted threads of outstanding tasks, contributors claimed them first come, first served, and he kept the list up to date by hand.&amp;lt;ref name=&amp;quot;etp&amp;quot;&amp;gt;Matthew Bolan, Joachim Breitner, Jose Brox, et al. (34 authors, including Terence Tao), &amp;quot;The Equational Theories Project: Advancing Collaborative Mathematical Research at Scale&amp;quot;, arXiv:2512.07087, December 2025, section 4.5. https://arxiv.org/abs/2512.07087&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On 5 December 2023 Tao announced that the project had succeeded after three weeks: every node of the dependency graph was green, and Lean reported that the conjecture follows from the standard axioms.&amp;lt;ref name=&amp;quot;mastodon&amp;quot;&amp;gt;Terence Tao, post on Mathstodon, 5 December 2023. https://mathstodon.xyz/@tao/111526765350663641&amp;lt;/ref&amp;gt; The formalisation found a few minor typos in the paper.&amp;lt;ref name=&amp;quot;quanta&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The final statement, as it stands in the project&amp;#039;s Lean files, uses the Mathlib library and is shown here without its proof:&amp;lt;ref name=&amp;quot;pfrsite&amp;quot;&amp;gt;Terence Tao, Yaël Dillies et al., &amp;quot;The Polynomial Freiman-Ruzsa Conjecture&amp;quot; (project page, with blueprint and Lean source), read 14 October 2026. https://teorth.github.io/pfr/&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;lean lean-mathlib&amp;quot; style=&amp;quot;background: #f8f9fa; border: 1px solid #c8ccd1; padding: 0.6em; margin: 0.3em 0; font-size: 0.85em; line-height: 1.35; overflow-x: auto; white-space: pre;&amp;quot;&amp;gt;&lt;br /&gt;
theorem PFR_conjecture {G : Type*} [AddCommGroup G] [Module (ZMod 2) G]&lt;br /&gt;
    {A : Set G} {K : ℝ} (hA₀ : A.Nonempty) (Afin : A.Finite)&lt;br /&gt;
    (hA : (A + A).ncard ≤ K * A.ncard) :&lt;br /&gt;
    ∃ (H : Submodule (ZMod 2) G) (c : Set G), c.Finite ∧ (H : Set G).Finite ∧&lt;br /&gt;
      Nat.card c &amp;amp;lt; 2 * K ^ 12 ∧ (H : Set G).ncard ≤ A.ncard ∧ A ⊆ c + H := by&lt;br /&gt;
  -- the proof follows in the project&amp;#039;s files&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Read in words: &amp;lt;code&amp;gt;G&amp;lt;/code&amp;gt; is any space of the kind described above, a vector space over the two-element field; &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; is a finite, nonempty set in it whose sum set has at most &amp;lt;code&amp;gt;K&amp;lt;/code&amp;gt; times as many elements; then there are a subspace &amp;lt;code&amp;gt;H&amp;lt;/code&amp;gt;, no larger than &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt;, and a finite set &amp;lt;code&amp;gt;c&amp;lt;/code&amp;gt; of fewer than &amp;lt;math&amp;gt;2K^{12}&amp;lt;/math&amp;gt; shifts, such that &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; lies inside &amp;lt;code&amp;gt;c + H&amp;lt;/code&amp;gt;. Every hypothesis is written out. The hypothesis that &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; is nonempty is one example: it was added to the Lean statement before it appeared in the blueprint&amp;#039;s LaTeX.&amp;lt;ref name=&amp;quot;tour&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== After the main result ==&lt;br /&gt;
&lt;br /&gt;
When the main goal was reached, a second stage formalised several consequences of the theorem and an argument of Jyun-Jie Liao that lowers the exponent from 12 to 11; the project page records that stage as complete, and names among the theorems its Lean files prove both the extension to groups of bounded torsion and a further refinement of Liao&amp;#039;s that lowers the exponent to 9.&amp;lt;ref name=&amp;quot;pfrsite&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What it showed ==&lt;br /&gt;
&lt;br /&gt;
The blueprint divided a paper of some 35 journal pages&amp;lt;ref name=&amp;quot;annals&amp;quot; /&amp;gt; into small nodes, each of which a contributor could take on without mastering the whole argument, while Lean checked that the pieces fitted together. In that arrangement the organisers did not need to trust a contribution, only Lean&amp;#039;s verdict on it. The [[Lean theorem prover/Applications/The equational theories project|equational theories project]] cites this project as its precedent and automated the claiming of tasks that had been done by hand here.&amp;lt;ref name=&amp;quot;etp&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formalisation did not change the mathematics; the errors it found were minor typos.&amp;lt;ref name=&amp;quot;quanta&amp;quot; /&amp;gt; What it changed was the evidence: a reader who doubts the theorem can check the Lean proof instead of the paper.&lt;br /&gt;
&lt;br /&gt;
== Next ==&lt;br /&gt;
&lt;br /&gt;
* [[Lean theorem prover/Applications/The Fermat&amp;#039;s Last Theorem project|The Fermat&amp;#039;s Last Theorem project]], a far larger formalisation organised the same way.&lt;br /&gt;
* [[Lean theorem prover/Applications/Research mathematics|Research mathematics]], for other formalised results.&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>