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 166

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Prove that R(4,k)≫k3(log⁡k)O(1).R(4,k) \gg \frac{k^3}{(\log k)^{O(1)}}.

This is true, and was proved by Mattheus and Verstraëte [MaVe23], who showed that R(4,k)≫k3(log⁡k)4R(4,k) \gg \frac{k^3}{(\log k)^4}. This problem is #5 in Ramsey Theory in the graphs problem collection.

The linked formal proof (Codex and GPT-5.6 Sol, via the construction of Bradač used for Problem 920) gives k ^ 3 / (log k) ^ c = O(R(4, k)) for a natural c > 0, with the Ramsey number defined through CliqueFree/IndepSetFree; this implies the statement below.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question, formal_proof
Cite as:NS.01178 [math.CO] · NS.01178v1 for this version
Declaration:Erdos166.erdos_166
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:ae6dd971dd38b1a547ada60639582c98da4f84bc207a1ff0449b6bc41e588c04
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/166.lean

Formal statement

theorem erdos_166 :
    ∃ (c C : ℝ), 0 < c ∧ 0 < C ∧
      ∀ᶠ (k : ℕ) in atTop,
        (SimpleGraph.classicalRamsey 4 k : ℝ) ≥
          C * (k : ℝ) ^ 3 / (Real.log k) ^ c
Show the full Challenge.lean (79 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 166

*References:*
- [erdosproblems.com/166](https://www.erdosproblems.com/166)
- [Sp77] Spencer, J., Asymptotic lower bounds for Ramsey functions. Discrete Math. (1977), 69-76.
- [AKS80] Ajtai, M., Komlós, J. and Szemerédi, E., A note on Ramsey numbers. J. Combin. Theory
  Ser. A (1980), 354-360.
- [MaVe23] Mattheus, S. and Verstraëte, J., The asymptotics of $r(4,t)$. Ann. of Math. (2024),
  941-965.
-/

@[expose] public section

open Filter

namespace Erdos166

set_option linter.style.formal_proof_palomar false in
/--
Prove that
$$R(4,k) \gg \frac{k^3}{(\log k)^{O(1)}}.$$

This is true, and was proved by Mattheus and Verstraëte [MaVe23], who showed that
$R(4,k) \gg \frac{k^3}{(\log k)^4}$.
This problem is #5 in Ramsey Theory in the graphs problem collection.

The linked formal proof (Codex and GPT-5.6 Sol, via the construction of Bradač used for
Problem 920) gives `k ^ 3 / (log k) ^ c = O(R(4, k))` for a natural `c > 0`, with the Ramsey
number defined through `CliqueFree`/`IndepSetFree`; this implies the statement below.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos166.lean#L83"]
theorem erdos_166 :
    ∃ (c C : ℝ), 0 < c ∧ 0 < C ∧
      ∀ᶠ (k : ℕ) in atTop,
        (SimpleGraph.classicalRamsey 4 k : ℝ) ≥
          C * (k : ℝ) ^ 3 / (Real.log k) ^ c := by
  sorry

/--
Mattheus and Verstraëte [MaVe23] proved the explicit lower bound
$$R(4,k) \gg \frac{k^3}{(\log k)^4}.$$
-/
@[category research solved, AMS 5]
theorem erdos_166.variants.mattheus_verstraete :
    ∃ C : ℝ, 0 < C ∧ ∀ᶠ (k : ℕ) in atTop,
      (SimpleGraph.classicalRamsey 4 k : ℝ) ≥ C * (k : ℝ) ^ 3 / (Real.log k) ^ 4 := by
  sorry

/-- The bound of Mattheus and Verstraëte answers `erdos_166`, with logarithmic exponent $4$. -/
@[category test, AMS 5]
theorem erdos_166.variants.mattheus_verstraete_implies :
    type_of% erdos_166.variants.mattheus_verstraete → type_of% erdos_166 := by
  rintro ⟨C, hC, h⟩
  refine ⟨4, C, by norm_num, hC, h.mono fun k hk ↦ ?_⟩
  simpa using hk

end Erdos166

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

nosorry fetch erdos-166
nosorry submit erdos-166 nosorry/erdos-166/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.