hashes.sh

Author

CT
ctjlewis

Published

Revealed

Title

R(k,k)≤3.49135655kR(k,k)\le 3.49135655^k for sufficiently large kk.

Body

Theorem. For all sufficiently large integers kk,

R(k,k)≤3.49135655k.R(k,k)\le 3.49135655^k.
Lean comparison

Declaration excerpts; hypotheses and local notation are as in the linked source. Proof bodies are omitted.

lean
theorem eventual_diagonal_bound :    ∃ K : ℕ, ∀ k : ℕ, K ≤ k →      (RamseyBasics.ramseyNumber k k : ℝ) ≤ (3.49135655 : ℝ) ^ k

This 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

z=625145177500000000,γ=z+10−9=250058071200000000,b=6982713120000000=3.49135655.\begin{aligned} z&=\frac{625145177}{500000000},\\ \gamma&=z+10^{-9}=\frac{250058071}{200000000},\\ b&=\frac{69827131}{20000000}=3.49135655. \end{aligned}
Lean comparison

Declaration excerpts; hypotheses and local notation are as in the linked source. Proof bodies are omitted.

lean
def rawExponent : ℚ := 625145177 / 500000000

lean
def exponent : ℚ := 250058071 / 200000000

lean
def base : ℚ := 69827131 / 20000000

We construct constants C≥1C\ge1 and k0k_0 such that every graph on N≥CezkN\ge Ce^{zk} vertices with red edge density at least 1/21/2 contains a monochromatic KkK_k, whenever k≥k0k\ge k_0.

1. Potential and admissible bounds. For disjoint nonempty vertex sets X,YX,Y, write gy=∣NR(y)∩X∣/∣X∣g_y=|N_R(y)\cap X|/|X| and a+=max⁡(a,0)a_+=\max(a,0). For β,r>0\beta,r>0, use

Φc(X,Y)=∣X∣w∣Y∣(1∣Y∣∑y∈Y(gy−c)+βr)1/β.\Phi_c(X,Y)=|X|^w|Y| \left(\frac1{|Y|}\sum_{y\in Y}(g_y-c)_+^{\beta r}\right)^{1/\beta}.
Lean comparison

Inherited definitions, with s = β * r. The displayed exponent 1 / β is the algebraic simplification of the nested positive powers in these definitions.

lean
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)

lean
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) ^ r

Maximize over restrictions of either set. Source bounds have the form R(k,ℓ)≤CseAsk+BsℓR(k,\ell)\le C_s e^{A_s k+B_s\ell}; dense profiles record clique-forcing bounds under a density hypothesis.

2. Consequences of maximality. For positive column excesses, normalize (gy−c)βr(g_y-c)^{\beta r} to a probability measure ν\nu. For a blue-neighbourhood restriction of fraction 0<q<10<q<1, let ZZ denote the relative change in excess red density. Blue-move failure and maximality of the complementary restriction give, respectively,

Eν[(1+Z)+βr]≤(μq)βw,Eν[(1−q1−qZ)+βr]≤(1−q)−βw.\begin{aligned} \mathbb{E}_{\nu}\left[(1+Z)_+^{\beta r}\right] &\le\left(\frac{\mu}{q}\right)^{\beta w},\\ \mathbb{E}_{\nu}\left[\left(1-\frac{q}{1-q}Z\right)_+^{\beta r}\right] &\le(1-q)^{-\beta w}. \end{aligned}
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.

lean
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)

lean
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

A0(q)≤A,peβA+(1−p)eβC≤U(q),pe−βtA+(1−p)e−βtC≤V(q),\begin{aligned} A_0(q)&\le A,\\ pe^{\beta A}+(1-p)e^{\beta C}&\le U(q),\\ pe^{-\beta tA}+(1-p)e^{-\beta tC}&\le V(q), \end{aligned}
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.

lean
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) ≤ V

where t=q/(1−q)t=q/(1-q), U(q)=(μ/q)βwU(q)=(\mu/q)^{\beta w} and V(q)=(1−q)−βwV(q)=(1-q)^{-\beta w}.

4. Scalar optimization. For each feasible retained fraction q∈Fpq\in F_p, let Mp(q)M_p(q) be the maximum of pA+(1−p)CpA+(1-p)C subject to these constraints. The optimizer either has A=C=log⁡U(q)/βA=C=\log U(q)/\beta, or has A=A0(q)A=A_0(q) with the positive exponential constraint saturated. Concavity and affine majorants give an explicitly integrable envelope

qMp(q)+wq(1+log⁡u)≤E(u)(q∈Fp, 0<u≤1).qM_p(q)+wq(1+\log u)\le E(u) \qquad(q\in F_p,\ 0<u\le1).
Lean comparison

The displayed majorization is one field of this definition; it also requires regularity, a nonempty feasible set, and a negative integral.

lean
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) < 0

5. The local red–blue alternative. The chosen envelope satisfies ∫01E(u) du<0\int_0^1E(u)\,du<0. If every useful red and blue move failed, the moment bounds and ordered drift inequality would force the opposite inequality in the limit. Uniform finite approximations preserve the strict gap for sufficiently large rr. Hence every relevant maximal configuration admits a useful move.

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 zz stated above. This section supplies the finite numerical witnesses and their assembly. Uniform profile samples are specified by affine equations; inherited envelope partitions are generated from tangent intersections and slope changeovers. Concavity derives their global support inequalities from adjacent slope brackets.

8. The Ramsey bound. One colour has density at least 1/21/2. Apply the dense profile to N=⌈(C+2)ezk⌉N=\lceil(C+2)e^{zk}\rceil and absorb the fixed prefactor:

R(k,k)≤⌈(C+2)ezk⌉≤eγkR(k,k)\le\lceil(C+2)e^{zk}\rceil\le e^{\gamma k}
Lean comparison

These statements implement the displayed chain: the dense-profile theorem supplies the Ramsey bound, and the ceiling lemma absorbs the prefactor.

lean
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)

lean
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 kk. With u=γ/2u=\gamma/2, exact rational arithmetic gives

eγ≤(∑j=013ujj!+15u1414⋅14!)2<b.e^\gamma\le \left(\sum_{j=0}^{13}\frac{u^j}{j!} +\frac{15u^{14}}{14\cdot14!}\right)^2<b.
Lean comparison

With exponent and base defined above, the complete Taylor-bound proof is:

exponent_gap

lean
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 R(k,k)≤bkR(k,k)\le b^k. □\square

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.

References

See sources and attribution for the foundational formalizations and inherited libraries, and the section READMEs for specific uses.

Footnotes

  1. Zhipu Zhao, William Booth-Clibborn and Casper Schwahn, A (3.49…)ᵏ bound for diagonal Ramsey numbers (2026). · . ↩
  2. Zhipeng Lu and Sichen Wang, Retained-Set Descent for Diagonal Ramsey Numbers (2026). · . ↩
Exact hash payload
Commitment
Payload
AUTHOR ctjlewis
PUBLISH 2026-10-17T22:17:38.440Z
REVEAL 2026-10-17T22:18:39.000Z
NONCE 37828ea20cbbc25d20a53ee09f8e94492e70c9b44afdb86105b4843e5da1b1e0
TITLE $R(k,k)\le 3.49135655^k$ for sufficiently large $k$.

**Theorem.** For all sufficiently large integers $k$,

$$
R(k,k)\le 3.49135655^k.
$$

<details>
<summary>Lean comparison</summary>

Declaration excerpts; hypotheses and local notation are as in the linked source. Proof bodies are omitted.

[`eventual_diagonal_bound`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S8_RamseyBound/L4_MainTheorem.lean#L32)

```lean
theorem eventual_diagonal_bound :
    ∃ K : ℕ, ∀ k : ℕ, K ≤ k →
      (RamseyBasics.ramseyNumber k k : ℝ) ≤ (3.49135655 : ℝ) ^ k
```

</details>

This 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

$$
\begin{aligned}
z&=\frac{625145177}{500000000},\\
\gamma&=z+10^{-9}=\frac{250058071}{200000000},\\
b&=\frac{69827131}{20000000}=3.49135655.
\end{aligned}
$$

<details>
<summary>Lean comparison</summary>

Declaration excerpts; hypotheses and local notation are as in the linked source. Proof bodies are omitted.

[`rawExponent`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S7_ParameterChoice/L1_Parameters.lean#L28)

```lean
def rawExponent : ℚ := 625145177 / 500000000
```

[`exponent`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S7_ParameterChoice/L1_Parameters.lean#L29)

```lean
def exponent : ℚ := 250058071 / 200000000
```

[`base`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S7_ParameterChoice/L1_Parameters.lean#L30)

```lean
def base : ℚ := 69827131 / 20000000
```

</details>

We construct constants $C\ge1$ and $k_0$ such that every graph on $N\ge Ce^{zk}$ vertices with red edge density at least $1/2$ contains a monochromatic $K_k$, whenever $k\ge k_0$.

**1. [Potential and admissible bounds](S1_Definitions/README.md).** For disjoint nonempty vertex sets $X,Y$, write $g_y=|N_R(y)\cap X|/|X|$ and $a_+=\max(a,0)$. For $\beta,r>0$, use

$$
\Phi_c(X,Y)=|X|^w|Y|
\left(\frac1{|Y|}\sum_{y\in Y}(g_y-c)_+^{\beta r}\right)^{1/\beta}.
$$

<details>
<summary>Lean comparison</summary>

Inherited definitions, with `s = β * r`. The displayed exponent `1 / β` is the algebraic simplification of the nested positive powers in these definitions.

[`momentNorm`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/Support/Published/Definitions/Def_DiagRamsey_WeightedHost.lean#L58)

```lean
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)
```

[`potential`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/Support/Published/Definitions/Def_DiagRamsey_WeightedHost.lean#L63)

```lean
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) ^ r
```

</details>

Maximize over restrictions of either set. Source bounds have the form $R(k,\ell)\le C_s e^{A_s k+B_s\ell}$; dense profiles record clique-forcing bounds under a density hypothesis.

**2. [Consequences of maximality](S2_MaximalConfigurations/README.md).** For positive column excesses, normalize $(g_y-c)^{\beta r}$ to a probability measure $\nu$. For a blue-neighbourhood restriction of fraction $0<q<1$, let $Z$ denote the relative change in excess red density. Blue-move failure and maximality of the complementary restriction give, respectively,

$$
\begin{aligned}
\mathbb{E}_{\nu}\left[(1+Z)_+^{\beta r}\right]
&\le\left(\frac{\mu}{q}\right)^{\beta w},\\
\mathbb{E}_{\nu}\left[\left(1-\frac{q}{1-q}Z\right)_+^{\beta r}\right]
&\le(1-q)^{-\beta w}.
\end{aligned}
$$

<details>
<summary>Lean comparison</summary>

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.

[`blue_lt`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/Support/Published/Lemmas/DiagRamsey_SE_GraphRows.lean#L110)

```lean
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)
```

[`complementary_row_moment`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S2_MaximalConfigurations/L2_ComplementaryMoment.lean#L47)

```lean
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)
```

</details>

Maximality controls exceptional rows; ordering rows by retained fraction bounds accumulated drift.

**3. [Reduction to two cells](S3_TwoCellReduction/README.md).** 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

$$
\begin{aligned}
A_0(q)&\le A,\\
pe^{\beta A}+(1-p)e^{\beta C}&\le U(q),\\
pe^{-\beta tA}+(1-p)e^{-\beta tC}&\le V(q),
\end{aligned}
$$

<details>
<summary>Lean comparison</summary>

The displayed constraints are exactly `Complement.Feasible` with the stated budgets and threshold. Section 3 proves their limiting derivation; Section 4 proves density transfer.

[`Feasible`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S1_Definitions/L3_MomentConstraints.lean#L16)

```lean
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) ≤ V
```

</details>

where $t=q/(1-q)$, $U(q)=(\mu/q)^{\beta w}$ and $V(q)=(1-q)^{-\beta w}$.

**4. [Scalar optimization](S4_ScalarOptimization/README.md).** For each feasible retained fraction $q\in F_p$, let $M_p(q)$ be the maximum of $pA+(1-p)C$ subject to these constraints. The optimizer either has $A=C=\log U(q)/\beta$, or has $A=A_0(q)$ with the positive exponential constraint saturated. Concavity and affine majorants give an explicitly integrable envelope

$$
qM_p(q)+wq(1+\log u)\le E(u)
\qquad(q\in F_p,\ 0<u\le1).
$$

<details>
<summary>Lean comparison</summary>

The displayed majorization is one field of this definition; it also requires regularity, a nonempty feasible set, and a negative integral.

[`ComplementEnvelope`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S4_ScalarOptimization/L1_FeasiblePairs.lean#L27)

```lean
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) < 0
```

</details>

**5. [The local red–blue alternative](S5_LocalAlternative/README.md).** The chosen envelope satisfies $\int_0^1E(u)\,du<0$. If every useful red and blue move failed, the moment bounds and ordered drift inequality would force the opposite inequality in the limit. Uniform finite approximations preserve the strict gap for sufficiently large $r$. Hence every relevant maximal configuration admits a useful move.

**6. [Iteration and source admissibility](S6_GlobalConstruction/README.md).** 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](S7_ParameterChoice/README.md).** 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 $z$ stated above. This section supplies the finite numerical witnesses and their assembly. Uniform profile samples are specified by affine equations; inherited envelope partitions are generated from tangent intersections and slope changeovers. Concavity derives their global support inequalities from adjacent slope brackets.

**8. [The Ramsey bound](S8_RamseyBound/README.md).** One colour has density at least $1/2$. Apply the dense profile to $N=\lceil(C+2)e^{zk}\rceil$ and absorb the fixed prefactor:

$$
R(k,k)\le\lceil(C+2)e^{zk}\rceil\le e^{\gamma k}
$$

<details>
<summary>Lean comparison</summary>

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`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S8_RamseyBound/L2_ComplementSymmetry.lean#L19)

```lean
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)
```

[`eventually_ceiling_exp_le`](https://github.com/EvolvingPrograms/DiagonalRamsey/blob/main/S8_RamseyBound/L1_AsymptoticAbsorption.lean#L15)

```lean
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)
```

</details>

for sufficiently large $k$. With $u=\gamma/2$, exact rational arithmetic gives

$$
e^\gamma\le
\left(\sum_{j=0}^{13}\frac{u^j}{j!}
+\frac{15u^{14}}{14\cdot14!}\right)^2<b.
$$

<details>
<summary>Lean comparison</summary>

With `exponent` and `base` defined above, the complete Taylor-bound proof is:

`exponent_gap`

```lean
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 : ℝ)]
```

</details>

Thus $R(k,k)\le b^k$. $\square$

The [independent challenge](Challenges/Comparison/Challenge.lean) 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](Scripts/README.md).

## References

[^1]: Zhipu Zhao, William Booth-Clibborn and Casper Schwahn, *A (3.49…)ᵏ bound for diagonal Ramsey numbers* (2026). [Paper](https://github.com/w2ll2am/diagonal-ramsey/blob/c2875f33a9d5c89f71c68f51b5767550570b5603/preprint/main.pdf) · [Lean code](https://github.com/w2ll2am/diagonal-ramsey/tree/c2875f33a9d5c89f71c68f51b5767550570b5603).

[^2]: Zhipeng Lu and Sichen Wang, *Retained-Set Descent for Diagonal Ramsey Numbers* (2026). [arXiv:2609.14525](https://arxiv.org/abs/2609.14525) · [Lean code](https://github.com/sichen-wang/diagonal-ramsey-numbers).

See [sources and attribution](NOTICE.md) for the foundational formalizations and inherited libraries, and the section READMEs for specific uses.
Nonce37828ea20cbbc25d20a53ee09f8e94492e70c9b44afdb86105b4843e5da1b1e0
SHA-256927d43a0fc26ed09fa9c9eb3fe54475dc1865c2d9668a9a64f3eae4e9e62394d

Timelock encryption

drand Quicknet · Round 33157385

Scheduled key release:

✓ Public decryption signature verified

Public decryption data
BLS signature
968582729f2eb0673944625b2ac4af3cbf371e129be3033624cae318ba25827ce50e9ede5d84629a0c6600df0be30ea6
Randomness
ad077e7da341f931a2c98407e905a125abd67ce36d35232fb50aaa8080cf71cf
Network
52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971
Trusted network public key
83cf0f2896adee7eb8b5f01fcad3912212c437e0073e911fb90022d3e760183c8c4b450b6a0a6c3ac6a5776a2d1064510d1fec758c921cc22b0e17e63aaf4bcb5ed66304de9cf809bd274ca73bab4af5a6e9c76a4bc09e76eae8991ef5ece45a
View drand beacon

drand signs the round number. Its scheduled time is not an exact first-publication timestamp.

Download encrypted message

Timestamps

Independent receipts for the SHA-256 hash above.

DigiCert

Existed by ·

Download proofVerification bundle

OpenTimestamps (OTS)

Anchored in Bitcoin · Block 971,914 ·

Download proofVerification bundle

DigiCert signs the receipt time. OTS anchors the hash in Bitcoin; block times are approximate. Bitcoin checks use Blockstream and mempool.space. Downloads allow independent verification.