Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Nested saturation: every point of VmV_mVm​ has uuu neighbours in VmV_mVm​ of each colour other than c(m+1)c(m+1)c(m+1)

Proved
ClassicalSchur.card_colorNbhd_centralNbhd_of_frontier

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

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

This is the nested saturation of the central neighbourhood: inside VmV_mVm​, every colour other than c(m+1)c(m+1)c(m+1) forms a regular graph of degree uuu.

Let k,u,t,m∈Nk, u, t, m \in \mathbb{N}k,u,t,m∈N with 2t=(k+1)u2t = (k+1)u2t=(k+1)u and m=(k+2)tm = (k+2)tm=(k+2)t, and suppose that TR(k,u+1)\mathrm{TR}(k, u + 1)TR(k,u+1) holds, that is, every colouring with at most kkk colours of the pairs of a finite set of at least u+1u + 1u+1 naturals has a monochromatic triangle (Rk(3)≤u+1R_k(3) \le u + 1Rk​(3)≤u+1). Let c:N→Fin(k+2)c : \mathbb{N} \to \mathrm{Fin}(k+2)c:N→Fin(k+2) be a Schur colouring of [1,2m+1][1, 2m + 1][1,2m+1] with k+2k + 2k+2 colours, and let Vm={ x∈[0,2m+1]:x≠m, c(∣m−x∣)=c(m+1) }V_m = \{\, x \in [0, 2m+1] : x \ne m,\ c(|m - x|) = c(m+1) \,\}Vm​={x∈[0,2m+1]:x=m, c(∣m−x∣)=c(m+1)} be the central neighbourhood. Let v∈Vmv \in V_mv∈Vm​, and let iii be a colour with i≠c(m+1)i \ne c(m+1)i=c(m+1). Then the colour-iii neighbourhood of vvv inside VmV_mVm​ has uuu points:

∣{ w∈Vm:w≠v, c(∣v−w∣)=i }∣=u.\bigl|\{\, w \in V_m : w \ne v,\ c(|v - w|) = i \,\}\bigr| = u .​{w∈Vm​:w=v, c(∣v−w∣)=i}​=u.

So, for the difference colouring restricted to VmV_mVm​, each of the k+1k + 1k+1 colours other than c(m+1)c(m+1)c(m+1) is uuu-regular. For six colours under R4(3)≤61R_4(3) \le 61R4​(3)≤61 (k=4k = 4k=4, u=60u = 60u=60, t=150t = 150t=150, m=900m = 900m=900), each of the 301301301 points of V900V_{900}V900​ has 606060 neighbours in V900V_{900}V900​ of each of the five colours other than c(901)c(901)c(901). At the endpoint v=2m+1v = 2m + 1v=2m+1 the theorem gives the size uuu of the endpoint neighbourhoods, and at v=m±dv = m \pm dv=m±d it supplies the equal colour degrees that force the reflection.

Formalization Note. The colouring is a function on all of N\mathbb{N}N, and SchurColoring (2 * m + 1) c constrains only its values on [1,2m+1][1, 2m+1][1,2m+1]; the case x=yx = yx=y is included, so c(2x)≠c(x)c(2x) \ne c(x)c(2x)=c(x) for 1≤x≤m1 \le x \le m1≤x≤m. In TriangleRamsey k (u + 1) 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)≤u+1R_k(3) \le u + 1Rk​(3)≤u+1. For k=0k = 0k=0 the hypotheses force u≥2u \ge 2u≥2 and m≥2m \ge 2m≥2, and [1,2m+1]⊇[1,5][1, 2m+1] \supseteq [1, 5][1,2m+1]⊇[1,5] has no Schur colouring with two colours, so the statement is vacuous there; the case k=1k = 1k=1 is not vacuous. The neighbourhood is colorNbhd c (centralNbhd c m) v i; it excludes vvv itself, and distances are Nat.dist. The ambient set of VmV_mVm​ is [0,2m+1][0, 2m+1][0,2m+1], so 000 may be a member. The colour iii ranges over Fin (k + 2). The statement is vacuous for u=0u = 0u=0, since TR(k,1)\mathrm{TR}(k, 1)TR(k,1) is false. Example (k=1k = 1k=1, u=2u = 2u=2, t=2t = 2t=2, m=6m = 6m=6): for the Schur colouring of [1,13][1, 13][1,13] with classes {1,4,7,10,13}\{1, 4, 7, 10, 13\}{1,4,7,10,13}, {2,3,11,12}\{2, 3, 11, 12\}{2,3,11,12}, {5,6,8,9}\{5, 6, 8, 9\}{5,6,8,9} and V6={2,5,7,10,13}V_6 = \{2, 5, 7, 10, 13\}V6​={2,5,7,10,13}, the point 131313 has the neighbours {2,10}\{2, 10\}{2,10} in the colour of {2,3,11,12}\{2, 3, 11, 12\}{2,3,11,12} and {5,7}\{5, 7\}{5,7} in the colour of {5,6,8,9}\{5, 6, 8, 9\}{5,6,8,9}.

Preamble
import Definitions.Def_ClassicalSchurColoring
import Definitions.Def_ClassicalSchurRamsey
import Mathlib

open ClassicalSchur
open Finset
Formal statement
theorem ClassicalSchur.card_colorNbhd_centralNbhd_of_frontier {k u t m : ℕ} (hR : TriangleRamsey k (u + 1))
    (h2t : 2 * t = (k + 1) * u) (hm : m = (k + 2) * t) {c : ℕ → Fin (k + 2)}
    (hc : SchurColoring (2 * m + 1) c) {v : ℕ} (hv : v ∈ centralNbhd c m) {i : Fin (k + 2)}
    (hi : i ≠ c (m + 1)) : (colorNbhd c (centralNbhd c m) v i).card = u := 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 4.4 (§4.2, nested saturation: each colour degree other than q inside V is u). Lean source: https://github.com/mysticflounder/schur-centred-bound/blob/v1.0.1/ClassicalSchur/Frontier.lean#L326-L366 (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