FormalConjectures/ErdosProblems/627.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
10 declarations, 9 contain sorry, 0 declared as axioms
Erdős Problem 627
References:
- erdosproblems.com/627
- [AFM25] Araujo, I. and Filipe, R. and Miyazaki, R., A note on the maximum ratio between chromatic number and clique number. arXiv:2512.16062 (2025).
- [Er61d] Erdős, P., Graph theory and probability. II. Canadian J. Math. (1961), 346-352.
- [Er67c] Erdős, P., Some remarks on chromatic graphs. Colloq. Math. (1967), 253-256.
- [Er69b] Erdős, P., Problems and results in chromatic graph theory. Proof Techniques in Graph Theory (Proc. Second Ann Arbor Graph Theory Conf., Ann Arbor, Mich., 1968) (1969), 27-35.
- [Zy52] Zykov, A. A., On some properties of linear complexes. Amer. Math. Soc. Translation (1952), 33.
Imports (1)
- def
Erdos627.maxChromaticCliqueRatiomaxChromaticCliqueRatio nis $f(n)$, the maximum of $\chi(G)/\omega(G)$ over all graphs $G$ on $n$ vertices line 51 sourceSource documentation
maxChromaticCliqueRatio nis $f(n)$, the maximum of $\chi(G)/\omega(G)$ over all graphs $G$ on $n$ vertices.A graph on
Fin nis finite, so its chromatic number (an element ofℕ∞) is finite andENat.toNatreturns it. The maximum is taken over the finitely many graphs onFin n, so the supremum is attained. For $n = 0$ the only graph is empty, with $\chi = \omega = 0$, and the convention $0 / 0 = 0$ gives $f(0) = 0$; this does not affect any asymptotic statement below.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
iSup,SimpleGraph,Fin,HDiv.hDiv,ENat.toNat,SimpleGraph.chromaticNumber,SimpleGraph.cliqueNum6 instances, coercions and auxiliary constants left out.
noncomputable def maxChromaticCliqueRatio (n : ℕ) : ℝ := …
- theorem
Erdos627.erdos_627Let $\omega(G)$ denote the clique number of $G$ and $\chi(G)$ the chromatic number sorry line 65 sourceSource documentation
Let $\omega(G)$ denote the clique number of $G$ and $\chi(G)$ the chromatic number. If $f(n)$ is the maximum value of $\chi(G)/\omega(G)$, as $G$ ranges over all graphs on $n$ vertices, then does $$\lim_{n\to\infty}\frac{f(n)}{n/(\log_2n)^2}$$ exist?
Since $f(n) \asymp n/(\log_2 n)^2$ (see
Erdos627.erdos_627.variants.theta), the limit, if it exists, is a finite real number.depends on sorry what this means
Statement uses:
Iff,True,Exists,Real,Filter.Tendsto,Nat,HDiv.hDiv, Erdos627.maxChromaticCliqueRatio,HPow.hPow,Real.logb,OfNat.ofNat,Filter.atTop,nhdsProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous34 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627 : answer(sorry) ↔ ∃ L : ℝ, Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2)) atTop (𝓝 L) := by …Mentions: Erdos627.maxChromaticCliqueRatio
- theorem
Erdos627.erdos_627.variants.thetaErdős [Er67c] proved that $$f(n) \asymp \frac{n}{(\log_2 n)^2}.$$ sorry line 75 sourceSource documentation
Erdős [Er67c] proved that $$f(n) \asymp \frac{n}{(\log_2 n)^2}.$$
depends on sorry what this means
Statement uses:
Asymptotics.IsTheta,Nat,Real,Filter.atTop, Erdos627.maxChromaticCliqueRatio,HDiv.hDiv,HPow.hPow,Real.logb,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous30 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627.variants.theta : (fun n : ℕ ↦ maxChromaticCliqueRatio n) =Θ[atTop] (fun n : ℕ ↦ (n : ℝ) / Real.logb 2 n ^ 2) := by …Mentions: Erdos627.maxChromaticCliqueRatio
- theorem
Erdos627.erdos_627.variants.lowerErdős [Er67c] proved the lower bound $$f(n) \geq \left(\frac{1}{4} + o(1)\right) \frac{n}{(\log_2 n)^2}.$$ sorry line 85 sourceSource documentation
Erdős [Er67c] proved the lower bound $$f(n) \geq \left(\frac{1}{4} + o(1)\right) \frac{n}{(\log_2 n)^2}.$$
depends on sorry what this means
Statement uses:
Real,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,LE.le,HMul.hMul,HSub.hSub,HDiv.hDiv,HPow.hPow,Real.logb, Erdos627.maxChromaticCliqueRatio,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous48 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627.variants.lower : ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, (1 / 4 - ε) * ((n : ℝ) / Real.logb 2 n ^ 2) ≤ maxChromaticCliqueRatio n := by …Mentions: Erdos627.maxChromaticCliqueRatio
- theorem
Erdos627.erdos_627.variants.upperThe method of Erdős [Er67c] gives the upper bound sorry line 97 sourceSource documentation
The method of Erdős [Er67c] gives the upper bound $$f(n) \leq (4 + o(1)) \frac{n}{(\log_2 n)^2}.$$ Erdős states the constant as $1$, but Araujo, Filipe, and Miyazaki [AFM25] note that his method gives $4$.
depends on sorry what this means
Statement uses:
Real,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,LE.le, Erdos627.maxChromaticCliqueRatio,HMul.hMul,HAdd.hAdd,HDiv.hDiv,HPow.hPow,Real.logb,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous44 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627.variants.upper : ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, maxChromaticCliqueRatio n ≤ (4 + ε) * ((n : ℝ) / Real.logb 2 n ^ 2) := by …Mentions: Erdos627.maxChromaticCliqueRatio
- theorem
Erdos627.erdos_627.variants.limit_boundsConsequently, if the limit inErdos627.erdos_627exists, it lies in $[1/4, 4]$ [Er67c] (with the correction of the upper constant from $1$ to $4$ noted in [AFM25]) sorry line 107 sourceSource documentation
Consequently, if the limit in
Erdos627.erdos_627exists, it lies in $[1/4, 4]$ [Er67c] (with the correction of the upper constant from $1$ to $4$ noted in [AFM25]).depends on sorry what this means
Statement uses:
Real,Filter.Tendsto,Nat,HDiv.hDiv, Erdos627.maxChromaticCliqueRatio,HPow.hPow,Real.logb,OfNat.ofNat,Filter.atTop,nhds,And,LE.leProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627.variants.limit_bounds : ∀ L : ℝ, Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2)) atTop (𝓝 L) → 1 / 4 ≤ L ∧ L ≤ 4 := by …Mentions: Erdos627.maxChromaticCliqueRatio
- theorem
Erdos627.erdos_627.variants.afm_upperDocumented declaration: afm_upper sorry line 118 sourceSource documentation
Araujo, Filipe, and Miyazaki [AFM25, Theorem 1.3] improved the upper bound to $$f(n) \leq (3.71943 + o(1)) \frac{n}{(\log_2 n)^2},$$ using recent improvements in the asymptotics of Ramsey numbers. [AFM25] is an arXiv preprint.
depends on sorry what this means
Statement uses:
Real,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,LE.le, Erdos627.maxChromaticCliqueRatio,HMul.hMul,HAdd.hAdd,OfScientific.ofScientific,Bool.true,HDiv.hDiv,HPow.hPow,Real.logb,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous48 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627.variants.afm_upper : ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, maxChromaticCliqueRatio n ≤ (3.71943 + ε) * ((n : ℝ) / Real.logb 2 n ^ 2) := by …Mentions: Erdos627.maxChromaticCliqueRatio
- theorem
Erdos627.erdos_627.variants.conditionalDocumented declaration: conditional sorry line 132 sourceSource documentation
Araujo, Filipe, and Miyazaki [AFM25, Theorem 1.2]: suppose that $R(s,t) \leq R(k)$ for all $s, t, k \in \mathbb{N}$ with $st \leq k^2$ (their Conjecture 1.1), and that $\lim_{k \to \infty} \frac{\log_2 R(k)}{k}$ exists and equals $\ell$. Then $$f(n) = (\ell^2 + o(1)) \frac{n}{(\log_2 n)^2},$$ so the limit in
Erdos627.erdos_627exists and equals $\ell^2$. Here $R(s,t)$ is the two-colour Ramsey number and $R(k) = R(k,k)$ (see [77]). [AFM25] is an arXiv preprint.depends on sorry what this means
Statement uses:
Real,Nat,LE.le,HMul.hMul,HPow.hPow,OfNat.ofNat, SimpleGraph.classicalRamsey, SimpleGraph.diagonalRamsey,Filter.Tendsto,HDiv.hDiv,Real.logb,Filter.atTop,nhds, Erdos627.maxChromaticCliqueRatioProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous42 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627.variants.conditional (ℓ : ℝ) (hR : ∀ s t k : ℕ, s * t ≤ k ^ 2 → classicalRamsey s t ≤ diagonalRamsey k) (hlim : Tendsto (fun k : ℕ ↦ Real.logb 2 (diagonalRamsey k : ℝ) / (k : ℝ)) atTop (𝓝 ℓ)) : Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2)) atTop (𝓝 (ℓ ^ 2)) := by …Mentions: Erdos627.maxChromaticCliqueRatio
- theorem
Erdos627.erdos_627.variants.tutte_zykovTutte and Zykov [Zy52] independently proved that for every $k$ there is a graph with $\omega(G) = 2$ and $\chi(G) = k$ sorry line 146 sourceSource documentation
Tutte and Zykov [Zy52] independently proved that for every $k$ there is a graph with $\omega(G) = 2$ and $\chi(G) = k$.
We require $k \geq 2$: a graph with $\omega(G) = 2$ has an edge, so $\chi(G) \geq 2$.
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Exists,SimpleGraph,Fin,And,Eq,SimpleGraph.cliqueNum,ENat,SimpleGraph.chromaticNumberProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous8 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627.variants.tutte_zykov : ∀ k : ℕ, 2 ≤ k → ∃ (n : ℕ) (G : SimpleGraph (Fin n)), G.cliqueNum = 2 ∧ G.chromaticNumber = (k : ℕ∞) := by … - theorem
Erdos627.erdos_627.variants.erdos_1961Erdős [Er61d] proved that for every (large) $n$ there is a graph on $n$ vertices with $\omega(G) = 2$ and $$\chi(G) \gg \frac{n^{1/2}}{\log n},$$ whence $f(n) \gg n^{1/2}/\log n$ sorry line 158 sourceSource documentation
Erdős [Er61d] proved that for every (large) $n$ there is a graph on $n$ vertices with $\omega(G) = 2$ and $$\chi(G) \gg \frac{n^{1/2}}{\log n},$$ whence $f(n) \gg n^{1/2}/\log n$.
depends on sorry what this means
Statement uses:
Exists,Real,And,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,SimpleGraph,Fin,Eq,SimpleGraph.cliqueNum,LE.le,HDiv.hDiv,HMul.hMul,Real.sqrt,Real.log,ENat.toNat,SimpleGraph.chromaticNumber,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_627.variants.erdos_1961 : ∃ c > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n), G.cliqueNum = 2 ∧ c * Real.sqrt (n : ℝ) / Real.log (n : ℝ) ≤ (G.chromaticNumber.toNat : ℝ) := by …Mentions: c