Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 138

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: formalized in Lean — Claimed proved in aiXiv:2610.00690 (2026-10-06), with a Lean formalization published by the authors. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. solves There are absolute constants c>0c>0 (one can take c=10−5c=10^{-5}) and K0K_0 such that Wr(k)>kck⌊log⁡2r⌋W_r(k)>k^{ck\lfloor\log_2 r\rfloor} for all k≥K0k\ge K_0 and r≥2r\ge2. Hence Wr(k)1/k→∞W_r(k)^{1/k}\to\infty for every fixed r≥2r\ge2, including r=2r=2. — aiXiv:2610.00690, 2026-10-06 · Lean · Lean formalization published by the authors; its scope: https://github.com/openai/math/blob/f5702854040e97fa7675c21ba37a9608f5f92dd3/lean/docs/160.md

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

Asserts that for any number of colors r and any progression length k, there always exists some number N large enough to guarantee a monochromatic arithmetic progression. In other words, the set monoAP_guarantee_set is non-empty. This is the fundamental existence result that allows for the definition of the van der Waerden numbers.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.01089 [math.NT] · NS.01089v1 for this version
Declaration:Erdos138.monoAP_guarantee_set_nonempty
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:730741782547ed6b0de550c19c1b9e7ca5ac6e568fe655f9adc5b8e14ba008b3
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/138.lean

Formal statement

theorem monoAP_guarantee_set_nonempty (r k) : (monoAP_guarantee_set r k).Nonempty
Show the full Challenge.lean (156 lines) — definitions included
module

public import FormalConjecturesUtil


/-!
# Erdős Problem 138

*References:*
- [erdosproblems.com/138](https://www.erdosproblems.com/138)
- [Be68] Berlekamp, E. R., A construction for partitions which avoid long arithmetic progressions. Canad. Math. Bull. (1968), 409-414.
- [Er80] Erdős, Paul, A survey of problems in combinatorial number theory. Ann. Discrete Math. (1980), 89-115.
- [Er81] Erdős, P., On the combinatorial problems which I would most like to see solved. Combinatorica (1981), 25-42.
- [Go01] Gowers, W. T., A new proof of Szemerédi's theorem. Geom. Funct. Anal. (2001), 465-588.
- [arxiv/2605.22763](https://arxiv.org/abs/2605.22763) *Advancing Mathematics Research with AI-Driven
  Formal Proof Search* by George Tsoukalas et al.
- [CFS26] Campos, M., Fox, J. and Schildkraut, C., A new lower bound for two-color van der Waerden
  numbers. [arXiv:2608.20824](https://arxiv.org/abs/2608.20824) (2026).
- [OAI26] OpenAI, *Quantitative Superexponential Bounds for van der Waerden Numbers*. OpenAI Math
  Release preprint (2026).
  https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Quantitative-Superexponential-Bounds-for-van-der-Waerden-Numbers-September-23-2026/paper.pdf
-/

@[expose] public section

open Nat Filter

namespace Erdos138

/--
The set of natural numbers that guarantee a monochromatic arithmetic progression.

A number `N` belongs to this set if, for a given number of colors `r` and an arithmetic
progression length `k`, any `r`-coloring of the integers `{1, ..., N}` must contain a
monochromatic arithmetic progression of length `k`.
-/
def monoAP_guarantee_set (r k : ℕ) : Set ℕ :=
  { N | ∀ coloring : Finset.Icc 1 N → Fin r, ContainsMonoAPofLength coloring k}

/--
Asserts that for any number of colors `r` and any progression length `k`, there
always exists some number `N` large enough to guarantee a monochromatic arithmetic progression.
In other words, the set `monoAP_guarantee_set` is non-empty. This is the fundamental existence
result that allows for the definition of the van der Waerden numbers.
-/
@[category research solved, AMS 11]
theorem monoAP_guarantee_set_nonempty (r k) : (monoAP_guarantee_set r k).Nonempty := by
  sorry

/--
The **van der Waerden number**, is the smallest integer `N` such that any `r`-coloring of
`{1, ..., N}` is guaranteed to contain a monochromatic arithmetic progression of
length `k`. It is defined as the infimum of the (non-empty) set of all such numbers `N`.
-/
noncomputable def monoAPNumber (r k : ℕ) : ℕ := sInf (monoAP_guarantee_set r k)

/--
An abbreviation for the van der Waerden number for 2 colors, commonly written as `W(k)`.
This represents the smallest integer `N` such that any 2-coloring of `{1, ..., N}`
must contain a monochromatic arithmetic progression of length `k`.
-/
noncomputable abbrev W : ℕ → ℕ := monoAPNumber 2

@[category test, AMS 11,
formal_proof using formal_conjectures at "https://github.com/XC0R/formal-conjectures/blob/55a6458d655c56201904e417d25d7289dc7c5306/FormalConjectures/ErdosProblems/138.lean#L79"]
theorem monoAPNumber_two_one : W 1 = 1 := by
  sorry

@[category test, AMS 11,
formal_proof using formal_conjectures at "https://github.com/XC0R/formal-conjectures/blob/55a6458d655c56201904e417d25d7289dc7c5306/FormalConjectures/ErdosProblems/138.lean#L142"]
theorem monoAPNumber_two_two : W 2 = 3 := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
In [Er80] Erdős asks whether
$$ \lim_{k \to \infty} (W(k))^{1/k} = \infty $$

Yes. This was proved by an internal OpenAI model in September 2026 [OAI26], which shows
$W(k) > k^{k/100000}$ for all large $k$; see the linked Lean proof.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Combinatorics/ProgressionColoring/Main.lean#L12"]
theorem erdos_138 : atTop.Tendsto (fun k => (W k : ℝ)^(1/(k : ℝ))) atTop := by
  sorry


/--
When $p$ is prime Berlekamp [Be68] has proved $W(p+1) ≥ p^{2^p}$.
-/
@[category research solved, AMS 11]
theorem erdos_138.variants.prime (p : ℕ) (hp : p.Prime) : p * (2 ^ p) ≤ W (p + 1) := by
  sorry

/--
Gowers [Go01] has proved $$W(k) \leq 2^{2^{2^{2^{2^{k+9}}}}}.$$
-/
@[category research solved, AMS 11]
theorem erdos_138.variants.upper (k : ℕ) : W k ≤ 2 ^ (2 ^ (2 ^ 2 ^ 2 ^ (k + 9))) := by
  sorry

/--
In [Er81] Erdős asks whether $\frac{W(k+1)}{W(k)} \to \infty$.
-/
@[category research open, question, AMS 11]
theorem erdos_138.variants.quotient :
    atTop.Tendsto (fun k => ((W (k + 1) : ℚ)/(W k))) atTop := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
In [Er81] Erdős asks whether $W(k+1) - W(k) \to \infty$.

The DeepMind prover agent has found a formal proof of this statement.
-/
@[category research solved, question, AMS 11, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/6ac8d0cbe1a85e71747c62c1391a84788015ebc1/FormalConjectures/ErdosProblems/138.lean#L844"]
theorem erdos_138.variants.difference :
    atTop.Tendsto (fun k => (W (k + 1) - W k)) atTop := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
In [Er80] Erdős asks whether $W(k)/2^k\to \infty$.

Campos, Fox and Schildkraut [CFS26] independently prove $W(k) \geq (1 - o(1)) k 2^{k-1}$, which
implies this; they report that their proof was generated with ChatGPT. (The related variant
`erdos_138.variants.difference`, $W(k+1) - W(k) \to \infty$, was solved separately in
[arxiv/2605.22763].)

Solved: a Lean 4 proof, derived from the Atlas proofs in
[facebookresearch/atlas-lean](https://github.com/facebookresearch/atlas-lean), is linked in
`formal_proof`.
-/
@[category research solved, question, AMS 11,
  formal_proof using lean4 at
    "https://github.com/niketp03/atlas-fc-verified/blob/15e4b3a7584e218cec531aeaf71cce72a8a9ecb1/AtlasFCSolutions/Erdos138.lean#L1033"]
theorem erdos_138.variants.dvd_two_pow :
    atTop.Tendsto (fun k => ((W k : ℚ)/ (2 ^ k))) atTop := by
  sorry

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos138.monoAP_guarantee_set_nonempty with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_monoAP_guarantee_set_nonempty : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-138
nosorry submit erdos-138 nosorry/erdos-138/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.