Paired endpoint neighbourhoods: has points, is closed under without fixed points, and its differences avoid two colours
ProvedClassicalSchur.endpointNbhd_of_frontierThis describes the endpoint neighbourhoods at the frontier with colours: each one is a symmetric set of points whose differences avoid two colours.
Let with and , and suppose that holds, that is, every colouring with at most colours of the pairs of a finite set of at least naturals has a monochromatic triangle (). Let be a Schur colouring of with colours, write , let be the central neighbourhood, and for a colour let
be the endpoint neighbourhood of colour . If , then:
- ;
- for every : and ;
- for all with : and .
In short,
So is the union of pairs , the reflection preserves all differences inside , and the difference colouring on uses at most of the colours. For six colours under (, , ), each of the five sets , , consists of pairs , and its differences use only the four colours other than and .
Formalization Note. The colouring is a function on all of , and SchurColoring (2 * m + 1) c constrains only its values on ; the case is included, so for . In TriangleRamsey k (u + 1) the colours are natural numbers from any Finset of at most elements, and the pair colouring is a function that is constrained only on the pairs of the vertex set; for the statement is . For the hypotheses force and , and has no Schur colouring with two colours, so the statement is vacuous there; the case is not vacuous. is the Finset endpointNbhd c m i . The subtraction is truncated, but every satisfies (it lies in and differs from ), so is the ordinary difference. Distances are Nat.dist. The point can lie in , and then does too. The statement is vacuous for , since is false. Example (, , ): for the Schur colouring of with classes , , , the two endpoint neighbourhoods are and ; both are closed under , and their differences and have the colours of and .
import Definitions.Def_ClassicalSchurColoring import Definitions.Def_ClassicalSchurRamsey import Mathlib open ClassicalSchur open Finset
theorem ClassicalSchur.endpointNbhd_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) {i : Fin (k + 2)} (hi : i ≠ c (m + 1)) :
(endpointNbhd c m i).card = u ∧
(∀ x ∈ endpointNbhd c m i, 2 * m - x ∈ endpointNbhd c m i ∧ 2 * m - x ≠ x) ∧
∀ x ∈ endpointNbhd c m i, ∀ y ∈ endpointNbhd c m i, x ≠ y →
c (Nat.dist x y) ≠ i ∧ c (Nat.dist x y) ≠ c (m + 1) := by sorry