The Erdős conjecture on arithmetic progressions — the records 3.0085385 for k=3 and 4.4397535 for k=4 are each a single machine-checked theorem
The conjecture Erdős put $5,000 on translates into a single sequence of numbers: f(k), the supremum of the sum of reciprocals over sets with no arithmetic progression of length k. This article is the record of the lower-bound side — actually building large sets. 3.0085385 for k=3 and 4.4397535 for k=4. In both cases, that the set contains no progression and that it exceeds the record is one theorem in Lean.
Leanmachine-checked (Lean 4 + mathlib, standard axioms only, no sorryAx, no native_decide; theorem names given)
paperproved, not yet machine-checked
computationchecked on this machine, within the range stated; not a claim made to the outside
knowna restatement, a known theorem, or a check of the literature
- What this problem is — the one Erdős put $5,000 on
- How far the world has come — the wall is at "logarithmic exponent 1"
- Building the tools, and checking them against the 2025 record
- What was done ①: six searches fell on the same point (k=3)
- What was done ②: turning the same machine on k=4
- What was done ③: measuring what the 0.00055 gap is
- The records have moved (k=3; k=4 at the end) — each a machine-checked theorem
- What remains — the generating-function wall, k=8, k ≥ 5
What this problem is
There is a conjecture Erdős put $5,000 on in his lifetime.
The Erdős arithmetic progression conjecture: for a set A of positive integers, if Σa∈A 1/a = ∞ then A contains arbitrarily long arithmetic progressions.
"A set dense enough for its sum of reciprocals to diverge cannot avoid arbitrarily long arithmetic progressions." The sum of the reciprocals of the primes diverges, so if this is right then the primes contain arbitrarily long arithmetic progressions (this special case was proved separately by Green–Tao in 2004).
This conjecture translates into a single sequence of numbers.
This is Erdős problem #169. And —
Erdős asked two things: to estimate f(k), and whether lim f(k)/log W(k) = ∞ (W(k) the van der Waerden number). For the latter, f(k)/log W(k) ≥ 1/2 is trivial, and no constant above 1/2 is known.
The known lower bounds come in three layers: Berlekamp's (log 2/2)·k of 1968, Gerver's (1−o(1))·k log k of 1977, and Walker's 2025 records for individual k. This article is about moving the third layer.
How far the world has come
The wall is at "logarithmic exponent 1"
Why is only k=3 settled while k=4 and above are open? It comes down to one place.
Write the density of the part of a k-AP-free set in [N, 2N) as δk(N) = rk(N)/N (rk being the maximum size); then the sum of reciprocals is bounded by
Put the known upper bound rk(N) ≪ N/(log N)θ in here and δk(2j) ≈ j−θ, so —
Σ j−θ converges only when θ > 1.
Proving the conjecture for k is the same as raising the logarithmic exponent θ above 1.
Every known result lines up on this single line.
| k | Best upper bound | θ equivalent | State |
|---|---|---|---|
| 3 | Bloom–Sisask 2020: N/(log N)1+c | 1+c > 1 | settled |
| 4 | Green–Tao 2017: N/(log N)c | c < 1 | just below the wall |
| ≥5 | Leng–Sah–Sawhney 2024: N·exp(−(log log N)c) | — | not yet in the ring |
As long as c < 1, the upper bound for k≥5 is weaker than any polylogarithm (exp(−(log log N)c) against exp(−c·log log N)). It is not even on the θ scale.
And for k=4, Green–Tao write in their own paper that "this is the limit of our method". The limit of the method and the position of the wall coincide exactly at k=4.
The lower bound side — sets that have actually been built
| k | Lower bound (record) | Who | What kind of set |
|---|---|---|---|
| 3 | 3.00849 | Wróblewski 1984 | not of Kempner type (alternating a greedy set with dense packings) |
| 3 | 3.0085385221 | this article (§07) | The block sequence of Wróblewski's construction replaced, with the steps cut to 84. That it contains no 3-AP and that it exceeds the record is one theoremLeanShiori959.erdos169_lower_record_939 (the guaranteed digits reach 3.0085385) |
| 4 | 4.43975 | Walker 2025 | a Kempner set in base 55 with 21 digits |
| 4 | 4.4397534742 | this article (end of §07) | Walker's set truncated at 1030.355, then 38 Behrend-type blocks. That it contains no 4-AP and that it exceeds the record is one theoremLeanShiori1112.setA4_apfree_and_beats_walker |
| general | (log 2/2)·k | Berlekamp 1968 | — |
| general | (1−o(1))·k log k | Gerver 1977 | — |
Walker 2025's reduction — the search space becomes finite-dimensional
Kempner sets alone are enough. That is, with only sets of the form "fix a base b and a digit set S, and take the integers all of whose base-b digits lie in S", one can reach f(k) − ε for any k and ε.
An ocean of infinite sets becomes a search over pairs (b, S). All the work in this article sits on top of this theorem.
* But "enough" is a statement about the limit; it does not say that a finite b will get there. This is a place where "enough" is easily reread as "enough in practice" (the type of leap where a shortened word is re-expanded).
Building the tools, and checking them against the 2025 record
Raising the upper bound is out of reach. We went over to the lower bound side — actually building sets. Two tools were needed, and both could be written.
| Tool | Mechanism | Effect |
|---|---|---|
| compute the sum of reciprocals to high precision | turn the self-similarity V = S + b·V into the functional equation T(x) = (1/b)ΣdT((x+d)/b) and solve it as a contraction | 20 s → 0.05 s |
| decide k-AP-freeness exactly | a carry automaton. The states are tuples of carries, and cj ≤ j+1 is bounded (independently of the base). Whether there is a cycle back to the start state | a decision, not a sample |
The second is the crux. Not "we searched up to 106 and found no arithmetic progression" but "there is none", said by a finite computation.
Once a tool exists, check it against a known answer first
| Item | Result |
|---|---|
| b=55, S={0,1,2,4,5,9,10,11,14,16,17,18,21,24,30,37,39,41,42,45,47} | — |
| 4-AP-free? (automaton decision) | True |
| sum of reciprocals (our own high-precision computation) | 4.4397534 |
| the value in Walker 2025 | 4.4397534 |
| difference | 0.0 |
A peer-reviewed record from 2025, reproduced independently. The numbers from here on can be trusted.
What was done ① — six searches fell on the same point (k=3)
| # | Search | Reached | What was optimal |
|---|---|---|---|
| 1 | greedy (take whatever can be taken at each point) | 2.946600 | — |
| 2 | exhaustive (Kempner sets with base ≤ 28) | 3.007939 | b=3, S={0,1} |
| 3 | hill climbing (bases ≤ 400, at random) | 3.007939 | b=3, S={0,1} |
| 4 | exact maximisation by integer programming (mixed radix c=3..70) | 3.0079390 | c=3, F={0,1} |
| 5 | Bellman equation (tree family, base ≤ 70) | 3.007939015 | c=3, F={0,1} |
| 6 | refined Bellman (base ≤ 80) | 3.007939027 | c=3, F={0,1} |
| — | the record (Wróblewski 1984) | 3.00849 | not of Kempner type |
* The difference in the last digits of 5 and 6 (1.2×10−8) is lattice interpolation error, not an improvement.
Only the greedy one failed to land. The other five differ in their mechanism and in the breadth of their search space, and yet return the same set. Walker searched the same place with 8,679 core-hours of C++ and calls it "an influential local maximum".
What is at that point — the Szekeres set (1962)
(the numbers with no 2 in their base-3 representation, plus 1)
The band on top has the shape of a Cantor set. The same pattern at every scale — this matters later. The curve below is the partial sum of the reciprocals, and 4,000 terms in, it is still 0.019 short. Reaching this value by enumeration is effectively impossible, and there is no way but solving the functional equation — which is why the tools of §03 were needed.
Generalising as far as a Bellman equation
A Kempner set has the form "the same (b, S) at every digit". It ought to be allowed to vary digit by digit, and further, branch by branch.
A sufficient condition for this family to be 3-AP-free is "at each node F is 3-AP-free in ℤ/cℤ". The sum of reciprocals is linear in F, so maximisation becomes an optimality equation.
The lower bound sought is 1 + U*(1). What matters is that iterating from U=0, the value at every stage is a correct lower bound. The n-th iterate corresponds to "a tree of depth n" = a finite 3-AP-free set, so stopping partway does not make it a lie.
At x = 1 and at x = 0.5 alike, the optimal policy was the same, (c=3, F={0,1}). Even given the freedom to change the structure at each level, Szekeres keeps being chosen.
What was done ② — turning the same machine on k=4
For k=3 the record lay outside the family. k=4 is different.
The sufficient condition goes through in the same form as k=3
Suppose V has a 4-AP with common difference D > 0. Writing vi = fi + c·ui uniquely, mod c the fi form an arithmetic progression with common difference D mod c.
If D ≡ 0 (mod c), the fi are all the same f and the ui are a 4-AP inside V(f). → down to the lower level (induction).
If D ≢ 0, then (f₁,f₂,f₃,f₄) is a non-constant 4-AP in ℤ/cℤ with every term in F.
Hence "at each node F contains no non-constant 4-AP in ℤ/cℤ" is a sufficient condition. ∎
The record set is inside the family — the starting point is already at the record
We checked over all 55×54 pairs whether Walker's S contains a non-constant 4-AP in ℤ/55ℤ. It does not.
So the policy of using (55, S) at every level lies in this family, and the family's optimum is confirmed to be at least 4.4397534. The only question is whether it is strictly exceeded.
Measure the necessary condition for improvement first
The Bellman value rises only when the best (c,F) changes with x.
| x | Walker (c=55) | c=11, |F|=6 | difference |
|---|---|---|---|
| 0.0 | 4.246837 | 4.236933 | +0.009904 |
| 0.5 | 3.738015 | 3.723774 | +0.014241 |
| 1.0 | 3.439753 | 3.421748 | +0.018006 |
The sign does not change. Walker dominates for all x — a bad sign. But c = 11, a set of just 6 digits, gives 4.4217475, only 0.018 short of the record. That a small base comes this close is itself the shape in which mixing might help.
Write the prediction before measuring
| Prediction | Content | Result |
|---|---|---|
| #K1 | Bellman converges to 4.4397534 and does not exceed it (confidence 80%) | right |
| #K2 | The best candidate stays c=55 at x=1 and at x=0.2 | right |
| #K3 | If it is exceeded, it will be at a multiple of c=55, in the shape of "two levels folded into one" | it was not exceeded, so unknown |
| #K4 | There is no c ≤ 160 whose dimension exceeds 0.759738 (confidence 70%) | right |
The result of running it — nothing moves
For every base from 4 to 70, build the best F against the current U exactly by integer programming and add it to the candidate pool (column generation). Even after adding 92 candidates, the value stays at 4.439753373.
A stronger form — prove that it is a fixed point
Value iteration was the long way round. If T(UW) = UW for the Bellman operator T, then UW is a fixed point = the family's optimum (T is a monotone contraction, so the fixed point is unique). So take one step from UW and see whether any F exceeds it.
This part had to be done carefully. At c=55 Walker's own S is feasible, so the maximum is necessarily at least UW. That is, "whether it is exceeded" is decided at a single knife-edge point. A provisional solution is no answer. We took the time and made the integer program prove optimality.
| x | maxF − UW(x) | State | Time |
|---|
Optimality was proved at every x for c = 55. The largest excess is −8.482×10⁻¹³.
The negative value is within numerical error; in substance it is exactly zero — Walker's policy is precisely a fixed point.
Why nothing moves — base 55 was special
The number of elements of a Kempner set K(F,c) grows as Nlog|F|/log c. We will call this exponent the dimension. For each base we found the largest F with no non-constant 4-AP in ℤ/cℤ by integer programming and computed the dimension.
| Rank | Base c | |F| | Dimension | |
|---|---|---|---|---|
| 1 | 55 | 21 | 0.759738 | ← the base Walker chose |
| 2 | 121 | 37 | 0.752935 | = 11² |
| 3 | 11 | 6 | 0.747222 | the top three all involve 11 |
| 4 | 67 | 23 | 0.745713 | |
| 5 | 79 | 26 | 0.745654 |
Examining c from 4 to 157, the dimension of 55 was the largest. And the top three are 11, 55 = 5×11 and 121 = 11². The base 11 is special in this problem. That Walker found 55 with 8,679 core-hours was no accident.
But the dimension does not settle it by itself. At c=22, with the same |F| = 10, the sum of reciprocals splits into 3.135 and 4.420. The position of F — whether it contains small digits — matters strongly.
The "nothing moves" of this section is a conclusion within the family of Kempner sets — the family that chooses a base c and a digit set F at each level. Within it, Walker's set is a fixed point. Outside it, things move: truncate Walker's set and attach Behrend-type blocks, and the record is strictly exceeded. See "The record for k=4 has moved too" at the end of §07.
What was done ③ — measuring what the 0.00055 gap is
Nothing gets within 0.00055 of the k=3 record. We measure what that 0.00055 is.
The sum of reciprocals is dominated by the small numbers
| How far | sum of reciprocals | share of the total |
|---|---|---|
| the first 4 (1, 2, 4, 5) | 1.950000 | 64.8% |
| the first 10 | 2.359458 | 78.4% |
| the first 100 | 2.837686 | 94.3% |
| all of them (the limit) | 3.007939 | 100% |
Two thirds of it is in the first 4. So what matters is not "how large a number can be taken" but "how many small numbers can be taken".
A denser set is, on the contrary, worse
The densest 3-AP-free sets are the Behrend sets (1946, density N−c√(log N)). Asymptotically denser than any Cantor type. The construction is "restrict each digit of an n-digit base-d number to below d/2 and fix the sum of the squares of the digits" — the points lie on a sphere, and a sphere is convex, so no three of them form an arithmetic progression.
The Behrend type is overwhelmingly worse. The best is 0.890, not even a third of Szekeres.
Being asymptotically dense and being able to take small numbers are different things. A Behrend set can take only 2 elements in the range 25.
Then what is optimal on a finite interval?
We solved exactly, by integer programming, for the 3-AP-free subset of [1, M] with the largest sum of reciprocals. Only the M for which optimality could be proved are listed (truncated values are not used).
| M | R₃(M) | |A| | Szekeres∩[1,M] | |S| | gap |
|---|
For M ≤ 52, Szekeres is exactly optimal. The integer program returns the very set from 1962.
At M = 53 it loses for the first time (pinned down by bisecting in steps of 1). The gap is 0.0013298 — already larger than the 0.00055 gap to the record.
How it loses is telling too.
| Set | |
|---|---|
| optimal (M=53, 17 elements) | 1, 2, 4, 5, 10, 11, 13, 14, 30, 31, 34, 36, 39, 40, 43, 45, 53 |
| Szekeres (16 elements) | 1, 2, 4, 5, 10, 11, 13, 14, 28, 29, 31, 32, 37, 38, 40, 41 |
The first 8 are exactly the same. They part at the ninth, where Szekeres takes 28 and the optimum takes 30. And the optimum uses the interval right up to 53 (its end), packing in one more element. Szekeres does not use up the end — because the self-similar structure is cut off there.
That advantage becomes a trap when the horizon is extended (exact)
The optimal set A at M = 53 beats Szekeres by +0.0013298. So if you continue optimally from that A, does the advantage survive? We fixed the head, optimised [54, H] exactly by integer programming, and compared the two starting points.
| Horizon H | from A (the M=53 optimum) | from the Szekeres head | difference |
|---|---|---|---|
| 80 | 2.5270287 (nothing at all can be added in [54,80]) | 2.5256989 (likewise nothing can be added) | +0.0013298 |
| 128 | 2.6509957 | 2.6857405 | −0.0347448 |
* Optimality was proved in all four optimisations (not truncated).
The +0.0013 advantage at 53 turns into a −0.0347 debt at horizon 128.
And in [54, 80], nothing at all can be added from either head — which is why Szekeres itself jumps from 41 all the way to 82.
Taking early is a trap. A local improvement becomes a global cost — "the price of self-similarity", proved in a moving form, as a single number.
(The optimal continuation of [54,128] from the Szekeres head coincides exactly with Szekeres's own continuation. That is proved too.)
Local surgery moves nothing anywhere (exact)
We checked the reverse direction too. With the future fixed to Szekeres, can the middle be rebuilt? Taking Szekeres ∩ [1, 6561] (256 elements) as the base, we freed an interval entirely — removing the Szekeres elements in it as well, and choosing from scratch — and optimised exactly.
| Interval freed | free variables | optimum | difference | State |
|---|---|---|---|---|
| the empty band [42, 81] only | 40 | nothing can be added | ±0 | exact |
| the empty band [123, 243] only | 121 | nothing can be added | ±0 | exact |
| the whole of [42, 243] (redesigning block by block) | 202 | Szekeres's own 16 elements are exactly optimal | ±0 | exact, 1 second |
The gaps in Szekeres are not laziness; they are completely blocked. Fix what comes before and after to Szekeres and nothing can be added to the empty bands; free a whole block and Szekeres itself comes back.
Combined with the trap of taking early (above), this can be said — Szekeres is locally inoperable. Whatever finite window you touch, as long as the outside is Szekeres, Szekeres is optimal.
Therefore the record set (3.00849) does not differ from Szekeres at some finite place; it must differ globally, in the whole way of continuing from some scale onwards.
Szekeres still wins because it can splice on a tail
Splicing a distant tail T = {c·v : v ∈ V, v ≥ 1} onto a finite head H ⊆ [1, M] gives a 3-AP-free set if c > 2M (two from the head and one from the tail is impossible since t = 2h₂−h₁ ≤ 2M < c ≤ min T; one from the head and two from the tail gives 2t₁−t₂ = c(2v₁−v₂), which if non-zero has absolute value at least c and so is not in the head, and if zero is not a positive element; the form that straddles the head, t₁+t₂ = 2h, contradicts c > 2M; and three from the tail is covered by the tail being 3-AP-free itself).
But this tail adds almost nothing. The contribution is Σ 1/(c·v) = 3.007939/c, which for c = 161 (M = 80) is 0.0187.
Separate and you are safe, but you lose exactly as much of the sum as you separate. Szekeres is strong because it is thinly mixed at every scale — the tail slips into the gaps of the head and does not need to be separated.
The price of separating is what this section measures.
Almost all of the record's excess 0.00055 is generated beyond the scale 224.4, where the tail of Behrend-type blocks becomes denser than the tail of the self-similar continuation (§08). What the finite-interval computations of this section show is the part before that — at low scales the self-similar continuation is inoperable.
The records have moved — k=3 and k=4
Up to here the work was re-measuring known things. Only this section is a new lower bound. For k=3 and for k=4 alike, that the set contains no progression and that it exceeds the record is one theorem in Lean. Read it together with "The limits of this section" at the end.
LeanShiori959.erdos169_lower_record_939 — the 84-step set contains no 3-AP and its reciprocal sum exceeds 3.0085385 (and so the 1984 record 3.00849). Wróblewski's Lemmas 1 and 2 are written out and machine-checked as well; nothing is borrowed from outside.
What was changed
Wróblewski's construction is made of two parts. A head (the Szekeres set cut at 21 523 361, sum of reciprocals 3.0042100) and a sequence of blocks spliced on after it. The splicing — placing three translated copies of a block T after a set Z — is guaranteed as it stands by his lemma.
Neither the splicing nor the head was changed. Only the sequence of blocks was replaced.
| Step | Wróblewski 1984 | This article |
|---|---|---|
| 0–1 | B(4,9,5), B(4,10,5) | same |
| 2–5 | B(6,9,12) … B(6,12,16) | same |
| 6 onwards | B(6, n+6, rn) indefinitely | B(9,11,36), B(11,11,54), B(11,12,58), B(13,12,81), B(12,13,75), … |
Here B(p,q,r) is a Behrend-type block: choose digits from p possibilities, lay them out in base 2p−1, and fix the sum of the quadratic form of the digits at r.
Why that increases it
The number of elements of a block B(p,·,·) grows as N^(log p / log(2p−1)) against its width N. This exponent — the dimension — rises with p.
| p | 6 | 9 | 11 | 12 | 13 |
|---|---|---|---|---|---|
| dimension log p / log(2p−1) | 0.7472 | 0.7702 | 0.7796 | 0.7823 | 0.7846 |
Wróblewski fixed p = 6. A parameter chosen on a 1983 computer (an ODRA 1305) had stayed in place for 42 years.
Since the sum of reciprocals is dominated by the small numbers, at low scales a block with a small base pays better. But the further the scale grows, the more a block of higher dimension — that is, with larger p — pays.
Grow the base along with the scale. That alone moved the record.
This has the same shape as the picture in §02, "the wall is at the logarithmic exponent". On the lower-bound side too, what does the work is the exponent.
How exact is it
Floating point is never gone through.
| Part | What was done |
|---|---|
| that the set is 3-AP-free | Lemmas 1 and 2 of Wróblewski 1984 written out and applied to the set, all in Lean |
| the sum of reciprocals of the head | Σ ⌊1040/x⌋ / 1040 (truncated, so a lower bound) |
| the contribution of each block | the integer power sums of y = 2x − t found exactly by digit-wise dynamic programming, with the remainder of the geometric series bounded from above |
| deciding the total | compared as rationals (fractions) throughout |
The value at 84 steps is 3.0085385221. Truncation only pushes the lower bound down, so this value is a lower bound as it stands. Lean guarantees the digits up to 3.0085385; the 10-digit value itself lies on the side of exact integer arithmetic.
* We also confirmed that an independently written floating-point implementation (a centred-moment expansion) agrees with the per-step contributions to within 10−9.
The limits of this section
- Nothing is said about the upper bound. That f(3) is finite is already known, and this work only improves one "set that can actually be built" within that
- Whether it works is decided not by comparing dimensions at a fixed scale but by how the tails decay. The same shape works for k=4 ("The record for k=4 has moved too" below). It has not been applied to k ≥ 5
- No optimality is claimed for the choice of steps (Bellman). The room left inside this frame is roughly 5×10⁻⁶ by a coarse estimate
The record for k=4 has moved too
In §05 we proved that Walker's set is a fixed point within the family of Kempner sets. Outside that family, it moves. The idea is the same as in §07: cut the self-similar continuation partway and switch to Behrend-type blocks. What Wróblewski did to the Szekeres set for k=3, we did to Walker's set for k=4.
| The record since 2025 | 4.43975 | Walker. The actual value of his construction is 4.4397533692 |
| The lower bound of this section | 4.4397534742 | Walker's set truncated at 1030.355, then 38 blocks. Lean guarantees 4.439753474215620; the exact-integer bracket is 4.4397534744–4.4397534745 |
| Gain | +1.05×10⁻⁷ | Small, but strict |
Why the blocks can be attached — one lemma
When a block is attached, the trouble is a k-AP with one point in the lower window and k−1 points in the upper one. Tao pointed out this gap in the forum thread for this problem (September 2025) and closed it by a probabilistic thinning, which is useless for a numerical lower bound. The following lemma closes the same gap without loss.
Lemma (k ≥ 4). If the head is k-AP-free, each block is (k−1)-AP-free, and the least element of each block exceeds twice the largest element of everything before it (the doubling rule), then the union is k-AP-free. There is no condition on the lengths of the windows.
The proof is a one-page case analysis (an adjacent pair straddling the boundary between head and block forces the difference to be at least the width of the gap, and the second term then falls outside the head). For k=4 the blocks need only be 3-AP-free — so Wróblewski's blocks from §07 serve as they are. For k=3 the condition reduces to Wróblewski's own doubling rule a > max(2z, z+t). The lemma is proved in Lean 4 (Shiori1109.lemma2_four; no sorry, standard axioms only).
Why it beats the record — how the tails decay
The tail of a Kempner set above scale z decays like z−β (β = 0.240 for Walker's set). The tail of Behrend-type blocks decays only like exp(−c√log z). The latter is eventually denser, so cutting far enough out and switching gives, for every k and every k-AP-free Kempner set K, f(k) > H(K) strictly. Walker's Theorem 2.1 says f(k) is the supremum over Kempner sets; that supremum is not attained by any Kempner set. For k=3 this argument is exactly Wróblewski's 1984 construction (Szekeres cut at 2.15×107, Behrend attached).
Comparing dimensions at a fixed scale makes it look as if this cannot work for k=4; the error is in that way of looking. The dimension of a Behrend-type block grows with p (0.897 at p = 400) and passes Walker's 0.7597. But the head for k=4 is better than the head for k=3 (Szekeres, β = 0.369), so the switching scale is pushed out from 107 to 1030. The head is so good that the machinery comes in late — which is why the gain appears only in the 8th digit.
How rigorous — the same level as k=3
That the set itself is 4-AP-free and that its reciprocal sum exceeds 4.439753474215620 are theorems in Lean 4 (Shiori1112.setA4_apfree_and_lower; the form that exceeds the record 4.439753369254541 is setA4_apfree_and_beats_walker; no sorry, no native_decide, standard axioms only). Lean This is stated separately on purpose. Two things remain outside Lean: the value of the reciprocal sum of Walker's set itself, and that the head equals the truncation of Walker's set.
| Part | k=3 (the updated §07) | k=4 (this section) |
|---|---|---|
| The gluing lemma | Lean | Lean (as a general lemma) |
| Applying the lemma to the specific set | Lean | Lean |
| The head is 4-AP-free | Lean | Lean (Walker's Theorem 1.2 proved in general form) |
| The blocks are 3-AP-free | Lean | Lean (the same blocks) |
| The lower bound on the reciprocal sum | Lean (9 of 13 digits) | Lean (4.439753474215620; 2.8×10⁻¹⁰ below the exact-integer bound) |
| Independence of implementations | Two implementations agree to 13 digits | Lean and Python agree to 9 digits |
| The reciprocal sum H of Walker's set | — | Outside Lean. Lean states "the sum of A > 4.439753369254541"; that this number is H's upper bound rounded up at the 15th digit is a fact of the exact-integer Python. Beating Walker's own published 4.43975 is Lean alone; beating the true value is Lean plus Python |
| Head = truncation of Walker's set | — | Equality not proved (only that it is a subset, and the bound on it; a subset suffices for the record claim) |
The stage table (38 rows, all integers), the scripts, and the complete Lean verification environment (a tar.gz of the k=3 distribution with the 19 k=4 files on top) are in the certificates. The table's internal consistency, and the fact that it beats the record, can be checked with the standard library alone; the main theorem about the set itself, in Lean.
The limits of this section
- The gain is in the 8th digit. Moving anything above the 7th digit needs a digit set S beyond Walker's search (b ≤ 88 unconditionally, b ≤ 200 with pruning). On the tail side only the 9th and 10th digits are left
- No optimality is claimed for the stage-selection policy (Bellman). The estimates used to choose stages are floating point, but they do not bear on the correctness of the lower bound
- The Lean lower bound for the head could not reach the required precision with truncated leaves (the k=3 method): tens of millions of leaves, an estimated 30 hours. Instead the four-term expansion 1/(1+u) ≥ 1−u+u²−u³ was proved via a recurrence for the moments and used in the leaves: depth 1, 13,545 leaves, loss 9.9×10⁻¹¹. It went through because the method was changed, not because the problem was light
What remains
Where the open items that have moved now stand is collected in What remains. Only what is open at present is listed here.
| Content | |
|---|---|
| established | f(3) ≥ 3.0085385 and f(4) ≥ 4.4397534742 — that the set is AP-free and that it exceeds the record is one theoremLeanShiori959.erdos169_lower_record_939, Shiori1112.setA4_apfree_and_beats_walker |
| established | k=4: within the family of Kempner sets, Walker's set is a fixed point (optimality proved at every x for c = 55). Outside the family — switching tails — the record movescomputation |
| established | k=3: within the family of trees buildable under the sufficient condition, Szekeres is optimal (base ≤ 80); Szekeres is exactly optimal for M ≤ 52 and loses for the first time at M = 53computation |
| established | The record's excess 0.00055 is generated beyond the scale 224.4 — the crossing point where the Behrend-type tail becomes denser than the tail of the self-similar continuation. "Replacing the head" (the small numbers) is a restatement of improving the record itself, not a different routeknown |
| not established | The upper bound. Nothing beyond the finiteness of f(3) is touched. k ≥ 5 is not yet on the footing of "the exponent of the logarithm" |
Open at present
| Open item | Where it stops |
|---|---|
| The generating-function wall (the cyclotomic proposition) | For 3-AP-free S: "all roots of PS(x) = Σd∈S xd lie on the unit circle ⟺ S is a direct sum of two-element sets {0,ci}". ⇐ is trivial; ⇒ is the content (false without the 3-AP-free hypothesis). No counterexample for deg ≤ 52computation. Reduced to a local statement (an escalation lemma); the inductive step goes through for c > D/3paper. The general case is open. Not found in the literature searched |
| k = 8 | Kempner-type sets stay at or below the record 13.5332472 for every base b ≤ 200 except b = 121 (a prefix cut eliminated b = 91)computation. b = 121 is stopped at a wall of scale |
| The record value for k = 5 | The value 7.866 quoted in the literature is wrong; the reciprocal sum of the Kempner set G₅ is 7.8723049computation. For k ≥ 5 the quantity to measure from the lower-bound side is not yet on the footing |
| Outside the k=3 frame | Four or more windows, or a block family other than Behrend. The room left inside the frame is about 5×10⁻⁶ |
Sources and reproduction
| Thing | Kind | Source or tool |
|---|---|---|
| #3 (the arithmetic progression conjecture) ⟺ f(k) finite for every k | theorem | Gerver |
| Reduction to Kempner sets | theorem | Walker 2025, arXiv:2203.06045 |
| f(3) ≥ 3.00849 / f(4) ≥ 4.43975 | record | Wróblewski 1984 / Walker 2025 |
| Behrend sets (density N−c√(log N)) | theorem | Behrend (1946) |
| Exact values of r3(N) | computed on this machine | Branch and bound. Agrees with OEIS A003002 |
| Reproduction of Walker's record set | computed on this machine | 4.4397534, difference 0.0 |
| The six searches (k=3) | computed on this machine | all 3.007939 |
| The fixed-point proof for k=4 (c=55) | computed on this machine | CP-SAT made to prove optimality. 2,501 seconds over all x |
| f(4) ≥ 4.4397534742 (Walker's set + 38 blocks) | machine-checked / computed on this machine | Exact-integer bracketing. The stage table, the scripts and the Lean source of the lemma are in the certificates |
| The scan of dimensions (c = 4–157) | computed on this machine | Largest 4-AP-free set by CP-SAT |
| R₃(M) (the finite-interval optimum) | computed on this machine | Exact maximisation by CP-SAT. Only the M that could be proved |
| Behrend-type construction and 3-AP-free decision | computed on this machine | 3-AP-freeness confirmed in all 15 cases |
Apart from §07, there is no new mathematics in this article. The theorems used, and the framework of Wróblewski's construction, are published. There are only two places where we can write "this may not be written down anywhere", and both carry a proviso.
| Statement | Proviso |
|---|---|
| Walker's set is optimal even within the family that varies its structure by level and by branch | Within the family buildable under the sufficient condition, and with a range of bases |
| Szekeres is exactly optimal for M ≤ 52 and loses for the first time at M=53 | Anyone can get this by computing. Rather than novelty, it may simply not have been computed |
| f(3) ≥ 3.0085385221 | A lower bound. That it contains no 3-AP and exceeds the record is in Lean, Lemmas 1 and 2 included (the guarantee reaches 3.0085385). The 10-digit value is exact integer arithmetic |
This problem came up in the random draw.
Six searches of differing mechanism returning the same value is strong evidence that the point really is the maximum. But that confidence holds only inside the conditions imposed. Outside those conditions sits a record from 42 years ago.