Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Centred-interval Schur bound: if Rk(3)≤rR_k(3) \le rRk​(3)≤r, then [1,2(k+1)⌊(r−1)/2⌋+2][1, 2(k+1)\lfloor (r-1)/2 \rfloor + 2][1,2(k+1)⌊(r−1)/2⌋+2] has no cover by k+1k+1k+1 sumfree sets

Proved
ClassicalSchur.not_coveredBySumFree_Icc_of_triangleRamsey

by mysticflounder · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

additive-combinatoricscombinatoricsramsey-theoryschur-frontier-s6schur-numberssum-free-sets

This is the centred-interval bound: a bound on the Schur number with k+1k + 1k+1 colours from a bound on the triangle Ramsey number with kkk colours.

Let k,r∈Nk, r \in \mathbb{N}k,r∈N and suppose that TR(k,r)\mathrm{TR}(k, r)TR(k,r) holds (Lean TriangleRamsey k r): every colouring with at most kkk colours of the pairs x<yx < yx<y of a finite set of at least rrr naturals has a monochromatic triangle. For k≥1k \ge 1k≥1 this is the inequality Rk(3)≤rR_k(3) \le rRk​(3)≤r. A set S⊆NS \subseteq \mathbb{N}S⊆N is sumfree if x+y∉Sx + y \notin Sx+y∈/S for all x,y∈Sx, y \in Sx,y∈S, the case x=yx = yx=y included. Put s=⌊(r−1)/2⌋s = \lfloor (r - 1)/2 \rfloors=⌊(r−1)/2⌋. Then the interval [1,2((k+1)s+1)][1, 2((k+1)s + 1)][1,2((k+1)s+1)] is not covered by k+1k + 1k+1 sumfree sets:

[1, 2(k+1)⌊r−12⌋+2]⊈C0∪C1∪⋯∪Ckfor all sumfree sets C0,…,Ck⊆N.\Bigl[1,\ 2(k+1)\Bigl\lfloor \frac{r-1}{2} \Bigr\rfloor + 2\Bigr] \not\subseteq C_0 \cup C_1 \cup \dots \cup C_k \qquad \text{for all sumfree sets } C_0, \dots, C_k \subseteq \mathbb{N}.[1, 2(k+1)⌊2r−1​⌋+2]⊆C0​∪C1​∪⋯∪Ck​for all sumfree sets C0​,…,Ck​⊆N.

For the Schur number S(k+1)S(k+1)S(k+1), the largest NNN such that [1,N][1, N][1,N] is partitioned into k+1k + 1k+1 sumfree sets, this gives: if Rk(3)≤rR_k(3) \le rRk​(3)≤r, then

S(k+1)≤2(k+1)⌊r−12⌋+1.S(k+1) \le 2(k+1)\Bigl\lfloor \frac{r-1}{2} \Bigr\rfloor + 1 .S(k+1)≤2(k+1)⌊2r−1​⌋+1.

For example, R2(3)=6R_2(3) = 6R2​(3)=6 gives S(3)≤13S(3) \le 13S(3)≤13, which is the true value, and R5(3)≤302R_5(3) \le 302R5​(3)≤302 gives S(6)≤1801S(6) \le 1801S(6)≤1801. The bound improves on S(k+1)≤Rk+1(3)−2S(k+1) \le R_{k+1}(3) - 2S(k+1)≤Rk+1​(3)−2 combined with the recursive Ramsey bound only for even rrr. In the mission it fixes the frontier: with r=2t+2r = 2t + 2r=2t+2 and m=(k+1)tm = (k+1)tm=(k+1)t, it excludes [1,2m+2][1, 2m + 2][1,2m+2], so [1,2m+1][1, 2m + 1][1,2m+1] is the largest interval that this bound does not exclude for k+1k + 1k+1 colours. The other theorems describe a Schur colouring of that interval.

Formalization Note. The cover CoveredBySumFree X (k + 1) asks for k+1k + 1k+1 sumfree subsets of N\mathbb{N}N, indexed by Fin (k + 1), whose union contains XXX; they need not be disjoint and need not lie in XXX. A partition into sumfree sets is a special case, so the bound on S(k+1)S(k+1)S(k+1) follows. In TriangleRamsey k r the colours are natural numbers from any Finset of at most kkk elements, and the pair colouring is a function N→N→N\mathbb{N} \to \mathbb{N} \to \mathbb{N}N→N→N that is constrained only on the pairs x<yx < yx<y of the vertex set; for k≥1k \ge 1k≥1 the statement is Rk(3)≤rR_k(3) \le rRk​(3)≤r. In (r−1)/2(r - 1)/2(r−1)/2 the subtraction is truncated and the division rounds down; for r≤1r \le 1r≤1 the hypothesis is false, so the truncation never matters. The case k=0k = 0k=0 is included: TR(0,r)\mathrm{TR}(0, r)TR(0,r) holds for r≥2r \ge 2r≥2, and the conclusion says that [1,2s+2][1, 2s + 2][1,2s+2] is not one sumfree set, which holds since 1+1=21 + 1 = 21+1=2.

Preamble
import Definitions.Def_ClassicalSchurBasic
import Definitions.Def_ClassicalSchurRamsey
import Mathlib

open ClassicalSchur

Formal statement
theorem ClassicalSchur.not_coveredBySumFree_Icc_of_triangleRamsey {k r : ℕ} (hR : TriangleRamsey k r) :
    ¬ CoveredBySumFree (Set.Icc 1 (2 * ((k + 1) * ((r - 1) / 2) + 1))) (k + 1) := by sorry
Source
A. McKenna, "S(6) ≤ 1801 if R₄(3) ≤ 61: a centred Schur bound and the structure at the frontier", Zenodo (2026), https://doi.org/10.5281/zenodo.23156099, Theorem 3.1 (if R_k(3) ≤ r, then [1, 2h] with h = (k + 1)⌊(r − 1)/2⌋ + 1 is not covered by k + 1 sumfree sets, so S(k + 1) ≤ 2(k + 1)⌊(r − 1)/2⌋ + 1), also stated as Theorem 1.1. Lean source: https://github.com/mysticflounder/schur-centred-bound/blob/v1.0.1/ClassicalSchur/SchurBound.lean#L71-L189 (release v1.0.1, doi:10.5281/zenodo.23156444).
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mysticflounder · Oct 4, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me