has_monochromatic_box
def
A coloring χ : (Fin d → Fin n) → Fin c contains a monochromatic box if there exists a box B and a color col : Fin c such that every point x ∈ B has color χ x = col.
Statement
def has_monochromatic_box (d c n : ℕ) (χ : (Fin d → Fin n) → Fin c) : Prop
- Defined in
- arXiv:2611.17378, Section 4
- Verified
- 22 Nov 2026
- Axioms
- none listed
- Built on 1
- is_boxA finset of points in
Fin d → Fin nis a box if it is the Cartesian product of 2-element subsets ofFin nacross all coordinates…
- is_boxA finset of points in
- Used by 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
Given natural numbers d, c, and n, and a coloring function χ : (Fin d → Fin n) → Fin c, has_monochromatic_box d c n χ asserts that there exists a finite subset B of (Fin d → Fin n) such that:
1. B is a box in dimension d (is_box d B), and
2. There exists a color col : Fin c such that for every point x ∈ B, χ x = col.
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
/-- A coloring contains a monochromatic box if all points of some box have the same color. -/ def has_monochromatic_box (d c n : ℕ) (χ : (Fin d → Fin n) → Fin c) : Prop := ∃ B : Finset (Fin d → Fin n), is_box d B ∧ ∃ col : Fin c, ∀ x ∈ B, χ x = col