Theorem. For all sufficiently large integers
Lean comparison
Declaration excerpts; hypotheses and local notation are as in the linked source. Proof bodies are omitted.
theorem eventual_diagonal_bound :
∃ K : ℕ, ∀ k : ℕ, K ≤ k →
(RamseyBasics.ramseyNumber k k : ℝ) ≤ (3.49135655 : ℝ) ^ kThis refines the method of Zhao, Booth-Clibborn and Schwahn.1 We reuse their weighted potential, maximality machinery, finite-host closure and source/profile framework (paper sections 3–5), as well as inherited profile and control data. Their construction builds on Lu and Wang's retained-set descent,2 whose finite source bound we use.
The refinement below retains the complementary-neighbourhood moment constraint, derives its scalar feasibility and envelope laws, and supplies a retuned source/root construction. The proof is an improvement within this framework.
Proof. Put
Lean comparison
Declaration excerpts; hypotheses and local notation are as in the linked source. Proof bodies are omitted.
def rawExponent : ℚ := 625145177 / 500000000def exponent : ℚ := 250058071 / 200000000def base : ℚ := 69827131 / 20000000We construct constants
1. Potential and admissible bounds.
For disjoint nonempty vertex sets
Lean comparison
Inherited definitions, with s = β * r. The displayed exponent 1 / β is the algebraic simplification of the nested positive powers in these definitions.
noncomputable def momentNorm (G : SimpleGraph V) (X Y : Finset V) (c s : ℝ) : ℝ :=
((∑ y ∈ Y, (max (colDensity G X y - c) 0) ^ s) / (Y.card : ℝ)) ^ (1 / s)noncomputable def potential (G : SimpleGraph V) (X Y : Finset V) (c w r s : ℝ) : ℝ :=
(X.card : ℝ) ^ w * (Y.card : ℝ) * (momentNorm G X Y c s) ^ rMaximize over restrictions of either set. Source bounds have the form
2. Consequences of maximality.
For positive column excesses, normalize
Lean comparison
The first declaration gives the strict blue bound, which implies the displayed non-strict inequality. The second gives the complementary bound. Local graph variables and notation are defined in the linked files.
lemma blue_lt {μ w β : ℝ} (hY : Y.Nonempty) (hpos : ∀ y ∈ Y, c < colDensity G X y) (hμ0 : 0 < μ)
(i : V) (hq0 : 0 < graphFrac B X i)
(hblue : SharpBlueFailure G B X Y c μ w β s i) :
∑ y ∈ Y, nuW G X Y c s y * (max (1 + ZR G B X c i y) 0) ^ s < certU μ w β (graphFrac B X i)theorem complementary_row_moment
{V : Type*} [Fintype V] [DecidableEq V]
(G B : SimpleGraph V) (X Y : Finset V) (c w r β : ℝ)
(hX : X.Nonempty) (hY : Y.Nonempty) (hr : 0 < r) (hβ : 0 < β)
(hpos : ∀ y ∈ Y, c < colDensity G X y)
(hmax : RowColMaximal G X Y c w r (β * r))
(i : V) (hq : 0 < graphFrac B X i ∧ graphFrac B X i < 1) :
∑ y ∈ Y, nuW G X Y c (β * r) y *
(max (1 - graphFrac B X i / (1 - graphFrac B X i) * ZR G B X c i y) 0) ^
(β * r) ≤ (1 - graphFrac B X i) ^ (-β * w)Maximality controls exceptional rows; ordering rows by retained fraction bounds accumulated drift.
3. Reduction to two cells. Conditional Jensen reduces both moments to two conditional means. A density cap excludes a degenerate cell mass; boundedness and compactness give limiting exponential constraints. After the density transfer of Section 4, these take the form
Lean comparison
The displayed constraints are exactly Complement.Feasible with the stated budgets and threshold. Section 3 proves their limiting derivation; Section 4 proves density transfer.
def Feasible (p β t U V A₀ A C : ℝ) : Prop :=
A₀ ≤ A ∧
p * Real.exp (β * A) + (1 - p) * Real.exp (β * C) ≤ U ∧
p * Real.exp (-β * t * A) + (1 - p) * Real.exp (-β * t * C) ≤ Vwhere
4. Scalar optimization.
For each feasible retained fraction
Lean comparison
The displayed majorization is one field of this definition; it also requires regularity, a nonempty feasible set, and a negative integral.
def ComplementEnvelope (p μ w β x : ℝ) : Prop :=
(complementDegrees p μ w β x).Nonempty ∧
∃ E : ℝ → ℝ, ContinuousOn E (Set.Ioc 0 1) ∧ MonotoneOn E (Set.Ioc 0 1) ∧
IntervalIntegrable E MeasureTheory.volume 0 1 ∧
(∀ u ∈ Set.Ioc 0 1, ∀ q ∈ complementDegrees p μ w β x,
q * certM p μ w β x q + w * q * (1 + Real.log u) ≤ E u) ∧
(∫ u in (0 : ℝ)..1, E u) < 05. The local red–blue alternative.
The chosen envelope satisfies
6. Iteration and source admissibility. Iterate these moves along retained-set routes. Prove the source bounds and supporting profiles simultaneously by induction on host order: recursive invocations concern smaller hosts. Terminal controls, support inequalities and interval covers close the construction.
7. The concrete construction.
The specified rational parameters, envelope, source family and route
covers satisfy those hypotheses. Four child profiles and a twelve-call
root construction yield the dense profile at exponent
8. The Ramsey bound.
One colour has density at least
Lean comparison
These statements implement the displayed chain: the dense-profile theorem supplies the Ramsey bound, and the ceiling lemma absorbs the prefactor.
eventual_exponent_of_dense_profile
theorem eventual_exponent_of_dense_profile
{z γ : ℝ} (hz : 0 ≤ z) (hgap : z < γ)
(hprofile : DenseProfile z) :
∀ᶠ k : ℕ in Filter.atTop,
(RamseyBasics.ramseyNumber k k : ℝ) ≤ Real.exp (γ * k)theorem eventually_ceiling_exp_le {C z γ : ℝ}
(hC : 1 ≤ C) (hz : 0 ≤ z) (hgap : z < γ) :
∀ᶠ k : ℕ in Filter.atTop,
(⌈C * Real.exp (z * (k : ℝ))⌉₊ : ℝ) ≤ Real.exp (γ * k)for sufficiently large
Lean comparison
With exponent and base defined above, the complete Taylor-bound proof is:
theorem exponent_gap : Real.exp (exponent : ℝ) < (base : ℝ) := by
have h := Real.exp_bound' (x := (exponent : ℝ) / 2)
(by norm_num [exponent]) (by norm_num [exponent]) (n := 14) (by norm_num)
norm_num [exponent, Finset.sum_range_succ, Nat.factorial] at h
have hdouble : Real.exp (exponent : ℝ) = Real.exp ((exponent : ℝ) / 2) ^ 2 := by
rw [pow_two, ← Real.exp_add]
congr 1
ring
rw [hdouble]
norm_num [exponent, base]
nlinarith [Real.exp_pos (250058071 / 400000000 : ℝ)]Thus
The independent challenge states the
bound directly for finite graphs. Comparator checks its proved solution with
permitted axioms propext, Classical.choice and Quot.sound.
For setup, build commands and CI, see verification.
See sources and attribution for the foundational formalizations and inherited libraries, and the section READMEs for specific uses.