Green–Tao (2017):
OpenErdos142.green_tao_fourThere is a constant such that, for all sufficiently large ,
This is the polylogarithmic bound of Green and Tao for four-term progressions. It improved on Gowers's and on their own earlier bound , and remains the best known upper bound for ; the authors describe it as the limit of their method.
The four-term case is the first in which the Fourier-analytic machinery of Roth's theorem is insufficient and quadratic Fourier analysis is required: the relevant obstruction to uniformity is correlation with a quadratic phase rather than a linear one, so the argument runs through the inverse theorem for the Gowers -norm and an arithmetic regularity lemma. Note that this bound is still weaker than the mission's goal at , which asks for : the exponent produced here is small and not known to exceed .
Formalization Note. The implied constant of is absorbed by shrinking , so the displayed form with and an eventual inequality is equivalent to the paper's statement and fixes no arbitrary constant.
import Mathlib import Definitions.Def_Erdos142Basic
namespace Erdos142
theorem green_tao_four :
∃ c : ℝ, 0 < c ∧ ∀ᶠ N : ℕ in Filter.atTop,
(r 4 N : ℝ) ≤ (N : ℝ) / (Real.log N) ^ c := by sorry
end Erdos142Read-back
What the Lean code literally says, in plain math · claude-opus-5
Read-back: Erdos142.green_tao_four
The literal assertion
The declaration asserts the existence of a single real number such that two things hold simultaneously: first, ; and second, the inequality
holds eventually as ranges over the natural numbers with respect to the atTop filter — that is, there exists a threshold such that the displayed inequality holds for every natural number . Note the order of quantification: the constant is chosen first, once and for all, and only afterwards is the threshold allowed to be chosen (so may depend on , but may not depend on ). No upper bound whatsoever is imposed on ; the only constraint on it is positivity. The inequality is non-strict (, not ), it is stated as an inequality between real numbers — the natural number and the natural number are both cast into — and it is a one-sided upper bound on : nothing is claimed in the other direction.
What means here
is the real natural logarithm applied to the real cast of , and because the exponent is a real number, the power is real exponentiation (Real.rpow), not iterated multiplication. For a base this is as usual. Two total-function conventions are silently in force. (i) and , so for the base is ; since , real exponentiation gives , and division by zero in this setting returns , so for the right-hand side would be and the inequality would read . (ii) The base is never negative for any natural (it is at and positive for ), so the branch of real exponentiation used for negative bases never arises. Because the claim is only made eventually, the small values (and any other finite initial segment) may simply be excluded by the choice of ; the statement makes no assertion about them. For one has , so and the right-hand side is genuinely smaller than .
What means (expanded from the bundle)
The symbol is a custom definition in the accompanying bundle, not a standard library notion. It is defined as the supremum, taken inside , of the set of natural numbers
where is the integer interval from to inclusive (so is not in the ground set, and the interval is empty when ) and is the cardinality of . Two accompanying lemmas in the bundle establish that this set of cardinalities is non-empty (the empty set qualifies) and bounded above by , so the supremum is an honest maximum rather than the junk value that a supremum over returns for an unbounded or empty set. In particular the bundle proves for all , and proves that every progression-free satisfies . In the theorem, is fixed to .
What "AP-of-length- free" means (expanded from the bundle)
For a set and a length , the bundle declares free of arithmetic progressions of length to mean:
Here " is an arithmetic progression of length " means: there exist a first term and a common difference (both in the ambient additive commutative monoid, here ) such that the extended-natural cardinality of equals and is exactly the set . Both conditions are required: the set-equality and the cardinality equality.
Instantiating at (the natural number cast into ), the consequent is false, so the definition unfolds to: no subset of is an arithmetic progression of length exactly , i.e. there are no with and . The cardinality clause is what rules out degenerate progressions: taking gives the singleton , whose cardinality is , so constant "progressions" do not count; conversely any in yields four distinct terms. Since ranges over all subsets of (including itself), this is equivalent to saying that contains four elements in arithmetic progression with positive common difference. Note also that this notion is defined with the consequent "" precisely so that it becomes vacuous for lengths and ; at that escape clause is inert.
Definitions present in the bundle but not used by the statement
The bundle also defines an elementary predicate HasAP ( with and for all ) and its negation APFree. Neither of these appears anywhere in the statement of the theorem: is defined through the set-theoretic notion described above, not through APFree. The bundle further contains a lemma that the empty set is progression-free for every length.
Summary of quantifier structure
There are no other hypotheses, no typeclass side conditions on the theorem itself, and no free variables: the statement is closed.