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 1013

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let h3(k)h_3(k) be the minimal nn such that there exists a triangle-free graph on nn vertices with chromatic number kk. Find an asymptotic for h3(k)h_3(k), and also prove lim⁡k→∞h3(k+1)h3(k)=1.\lim_{k\to \infty}\frac{h_3(k+1)}{h_3(k)}=1.

This is the first part.

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

Formal statement

theorem erdos_1013.parts.i :
    (fun k ↦ (h3 k : ℝ)) ~[atTop] erdos_1013.parts.i.answer
Show the full Challenge.lean (119 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1013

*References:*
- [erdosproblems.com/1013](https://www.erdosproblems.com/1013)
- [Er71] Erdős, P., *Some unsolved problems in graph theory and combinatorial analysis*.
  Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) (1971), 97-109.
- [GrYa68] Graver, J. E. and Yackel, J., *Some graph theoretic results associated with Ramsey's
  theorem*. J. Combinatorial Theory 4 (1968), 125-175.
- [DaIl22] Davies, E. and Illingworth, F., *The $\chi$-Ramsey problem for triangle-free graphs*.
  SIAM J. Discrete Math. 36 (2022), 1124-1134.
- [HHKP25] Hefty, Z., Horn, P., King, D. and Pfender, F., *Improving $R(3,k)$ in just two bites*.
  [arXiv:2510.19718](https://arxiv.org/abs/2510.19718) (2025).
-/

@[expose] public section

open Filter Asymptotics

namespace Erdos1013

/-- $h_3(k)$ is the least $n$ such that some triangle-free graph on $n$ vertices has chromatic
number $k$. Triangle-free graphs of every chromatic number exist (Mycielski), so the set is
nonempty and `sInf` is a true minimum. -/
noncomputable def h3 (k : ℕ) : ℕ :=
  sInf {n : ℕ | ∃ G : SimpleGraph (Fin n), G.CliqueFree 3 ∧ G.chromaticNumber = k}

/-- A triangle-free graph on $m$ vertices with chromatic number $k$ gives $h_3(k) \leq m$. -/
@[category API, AMS 5]
theorem h3_le {k m : ℕ} (G : SimpleGraph (Fin m)) (hG : G.CliqueFree 3)
    (hk : G.chromaticNumber = k) : h3 k ≤ m :=
  Nat.sInf_le ⟨G, hG, hk⟩

/-- The graph on one vertex is triangle-free with chromatic number $1$, so $h_3(1) \leq 1$. -/
@[category test, AMS 5]
theorem h3_one_le : h3 1 ≤ 1 :=
  h3_le (⊥ : SimpleGraph (Fin 1)) (SimpleGraph.cliqueFree_bot (by norm_num))
    (by exact_mod_cast SimpleGraph.chromaticNumber_bot (V := Fin 1))

def erdos_1013.parts.i.answer : ℕ → ℝ := sorry

/--
Let $h_3(k)$ be the minimal $n$ such that there exists a triangle-free graph on $n$ vertices with
chromatic number $k$. Find an asymptotic for $h_3(k)$, and also prove
$$\lim_{k\to \infty}\frac{h_3(k+1)}{h_3(k)}=1.$$

This is the first part.
-/
@[category research open, question value, AMS 5]
theorem erdos_1013.parts.i :
    (fun k ↦ (h3 k : ℝ)) ~[atTop] erdos_1013.parts.i.answer := by
  sorry

/--
Let $h_3(k)$ be the minimal $n$ such that there exists a triangle-free graph on $n$ vertices with
chromatic number $k$. Find an asymptotic for $h_3(k)$, and also prove
$$\lim_{k\to \infty}\frac{h_3(k+1)}{h_3(k)}=1.$$

This is the second part.
-/
@[category research open, AMS 5]
theorem erdos_1013.parts.ii :
    Tendsto (fun k : ℕ ↦ (h3 (k + 1) : ℝ) / h3 k) atTop (nhds 1) := by
  sorry

/--
Graver and Yackel [GrYa68] proved
$$h_3(k)\gg \frac{\log k}{\log\log k}k^2.$$
-/
@[category research solved, AMS 5]
theorem erdos_1013.variants.graver_yackel :
    ∃ c > (0 : ℝ), ∀ᶠ k : ℕ in atTop,
      c * (Real.log k / Real.log (Real.log k)) * k ^ 2 ≤ (h3 k : ℝ) := by
  sorry

/--
The upper bound $f(n) \leq (2+o(1))(n/\log n)^{1/2}$ of Davies and Illingworth [DaIl22] for the
function $f$ of [1104] gives
$$\left(\frac{1}{2}-o(1)\right)k^2\log k\leq h_3(k).$$
-/
@[category research solved, AMS 5]
theorem erdos_1013.variants.lower :
    ∀ ε > (0 : ℝ), ∀ᶠ k : ℕ in atTop,
      (1 / 2 - ε) * k ^ 2 * Real.log k ≤ (h3 k : ℝ) := by
  sorry

/--
The lower bound $f(n) \geq (1-o(1))(n/\log n)^{1/2}$ for the function $f$ of [1104], which follows
from the construction of Hefty, Horn, King, and Pfender [HHKP25], gives
$$h_3(k) \leq (2+o(1))k^2\log k.$$
The site states $(1+o(1))k^2\log k$, but the bounds recorded in [1104] give only $2+o(1)$.
-/
@[category research solved, AMS 5]
theorem erdos_1013.variants.upper :
    ∀ ε > (0 : ℝ), ∀ᶠ k : ℕ in atTop,
      (h3 k : ℝ) ≤ (2 + ε) * k ^ 2 * Real.log k := by
  sorry

end Erdos1013

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

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