grid_ramsey_number
def
The d-dimensional grid Ramsey number grid_ramsey_number d c is the infimum in ℕ of the set of natural numbers n such that grid_ramsey_prop d c n holds.
Statement
noncomputable def grid_ramsey_number (d c : ℕ) : ℕ
- Defined in
- arXiv:2611.17378, Section 4
- Verified
- 22 Nov 2026
- Axioms
- none listed
- Built on 1
- grid_ramsey_propThe grid Ramsey property
grid_ramsey_prop d c nholds if every coloringχ : (Fin d → Fin n) → Fin ccontains a monochromatic box.
- grid_ramsey_propThe grid Ramsey property
Read back from the Lean
The function grid_ramsey_number takes natural numbers d (dimension) and c (number of colors) and returns the least natural number n (using sInf, which defaults to 0 if no such n exists) such that every c-coloring of the d-dimensional grid of size n contains a monochromatic 2^d combinatorial box.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The `d`-dimensional grid Ramsey number `R_d(c)` is the least integer `n` such that every `c`-coloring of `[n]^d` contains a monochromatic box. -/ noncomputable def grid_ramsey_number (d c : ℕ) : ℕ := sInf {n : ℕ | grid_ramsey_prop d c n}