Title:Erdős Problem 721
Statement:Erdős Problem 721, upper bound: prove that for some constant .
The first to show that for some was Schoen [Sc21]. Source: erdosproblems.com/721. The exponent is fixed independently of , and the bound holds for all sufficiently large .
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Cite as: | NS.02998 [math.CO] · NS.02998v1 for this version |
| Declaration: | Erdos721.erdos_721.upper_bound |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 8e34caa91010b76198120c4116d548b85255f05491f5cbcdbe27aa1327dd9af1 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/721.lean |
Formal statement
theorem erdos_721.upper_bound : SubexponentialUpperBoundShow the full Challenge.lean (108 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 721
*References:*
- [erdosproblems.com/721](https://www.erdosproblems.com/721)
- [Gr22] Green, B., *New lower bounds for van der Waerden numbers*.
[arXiv:2102.01543](https://arxiv.org/abs/2102.01543).
- [Hu22] Hunter, Z., *Improved lower bounds for van der Waerden numbers*.
[arXiv:2111.01099](https://arxiv.org/abs/2111.01099).
- [Sc21] Schoen, T., *A subexponential upper bound for van der Waerden numbers W(3,k)*.
[arXiv:2006.02877](https://arxiv.org/abs/2006.02877).
-/
@[expose] public section
namespace Erdos721
/-- A nonconstant arithmetic progression of length `n` and color `b` in `[1,N]`.
Only positive lengths are used in the research targets. -/
def HasColorAP (f : ℕ → Bool) (b : Bool) (n N : ℕ) : Prop :=
∃ a d : ℕ, 1 ≤ a ∧ 0 < d ∧
∀ i : ℕ, i < n → a + i * d ≤ N ∧ f (a + i * d) = b
/-- Every coloring has either a red three-term or a blue `k`-term progression.
Here `false` denotes red and `true` denotes blue. -/
def Forces (N k : ℕ) : Prop :=
∀ f : ℕ → Bool, HasColorAP f false 3 N ∨ HasColorAP f true k N
/-- Enlarging the interval preserves a progression. -/
@[category API, AMS 5 11]
theorem hasColorAP_mono {f : ℕ → Bool} {b : Bool} {n N M : ℕ}
(hNM : N ≤ M) (h : HasColorAP f b n N) : HasColorAP f b n M :=
match h with
| ⟨a, d, ha, hd, hp⟩ =>
⟨a, d, ha, hd, fun i hi =>
⟨Nat.le_trans (hp i hi).1 hNM, (hp i hi).2⟩⟩
/-- Enlarging a forcing interval preserves its forcing property. -/
@[category API, AMS 5 11]
theorem forces_mono {N M k : ℕ} (hNM : N ≤ M) (h : Forces N k) : Forces M k :=
fun f => (h f).elim
(fun hr => Or.inl (hasColorAP_mono hNM hr))
(fun hb => Or.inr (hasColorAP_mono hNM hb))
/-- An eventual upper bound by `exp(k^c)`, for one fixed exponent `0 < c < 1`.
Existence of a forcing interval is included explicitly. -/
def SubexponentialUpperBound : Prop :=
∃ c : ℝ, 0 < c ∧ c < 1 ∧
∃ K : ℕ, 3 ≤ K ∧ ∀ k : ℕ, K ≤ k →
∃ N : ℕ, Forces N k ∧ (N : ℝ) < Real.exp ((k : ℝ) ^ c)
/-- Hunter's eventual lower bound, in a nonforcing-interval formulation.
The successor `N + 1` is intentional: failure at `N` means the least forcing
integer, when it exists, is at least `N + 1`. The cutoff excludes the
small-input singularities of `log(log k)`. -/
def HunterLowerBound : Prop :=
∃ c : ℝ, 0 < c ∧
∃ K : ℕ, 3 ≤ K ∧ ∀ k : ℕ, K ≤ k →
∃ N : ℕ, ¬ Forces N k ∧
Real.exp (c * (Real.log (k : ℝ)) ^ (2 : ℕ) /
Real.log (Real.log (k : ℝ))) ≤ ((N + 1 : ℕ) : ℝ)
/-- The conjunction of Hunter's lower bound and the subexponential upper bound. -/
def BoundsTarget : Prop := HunterLowerBound ∧ SubexponentialUpperBound
/-- Erdős Problem 721, upper bound: prove that $W(3,k) < \exp(k^c)$ for some
constant $c<1$.
The first to show that $W(3,k) < \exp(k^c)$ for some $c<1$ was Schoen [Sc21].
Source: [erdosproblems.com/721](https://www.erdosproblems.com/721).
The exponent is fixed independently of $k$, and the bound holds for all
sufficiently large $k$. -/
@[category research solved, AMS 5 11]
theorem erdos_721.upper_bound : SubexponentialUpperBound := by
sorry
/-- Erdős Problem 721, lower bound: Hunter [Hu22] improved this to
$W(3,k) \geq \exp\left(c\frac{(\log k)^2}{\log\log k}\right)$
for some constant $c>0$.
Source: [erdosproblems.com/721](https://www.erdosproblems.com/721).
This eventual bound uses a nonforcing interval of length $N$ and the
successor $N+1$ as a lower bound for the least forcing integer. -/
@[category research solved, AMS 5 11]
theorem erdos_721.lower_bound : HunterLowerBound := by
sorry
end Erdos721
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos721.erdos_721.upper_bound with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_upper_bound : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-721 nosorry submit erdos-721 nosorry/erdos-721/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-721-lower-bound — known result
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.