cube11_monochromatic_box_count
The number of monochromatic axis-parallel boxes of the 11 by 11 by 11 grid under the binary coloring f. Each box is counted once using its uniquely ordered pair of opposite corners, whose coordinates are strictly increasing in all three directions.
Statement
def cube11_monochromatic_box_count (f : Fin 11 → Fin 11 → Fin 11 → Bool) : ℕ- Defined in
- Alm and Miller, Constructive and computational methods for extremal and near-extremal box colorings, arXiv:2611.19635, Section 7.2, definition of m(11).
- Verified
- 28 Nov 2026
- Axioms
- none listed
- Used by 4
- cube11_has_monochromatic_box_falseIt is false that every binary eleven-cube coloring has a monochromatic axis-parallel box.
- cube11_minimum_monochromatic_boxes_falseThe claim that every binary eleven-cube coloring has at least eight monochromatic boxes and some has exactly eight is false.
- cube11_boxfree_coloring_existsThere exists a binary coloring of the eleven by eleven by eleven grid containing no monochromatic axis-parallel boxes.
- cube11_cyclic_coloring_has_no_boxThe explicit cyclic eleven-cube coloring contains no monochromatic axis-parallel box.
Read back from the Lean
For a given 2-coloring f : Fin 11 → Fin 11 → Fin 11 → Bool of the 11 × 11 × 11 grid, cube11_monochromatic_box_count f is defined as the number of pairs of points ((x₁, y₁, z₁), (x₂, y₂, z₂)) in (Fin 11 × Fin 11 × Fin 11) × (Fin 11 × Fin 11 × Fin 11) such that:
1. x₁ < x₂, y₁ < y₂, and z₁ < z₂, and
2. all 8 vertices of the axis-aligned box spanned by (x₁, y₁, z₁) and (x₂, y₂, z₂) have the same color under f, specifically:
- f x₁ y₁ z₁ = f x₁ y₁ z₂
- f x₁ y₁ z₁ = f x₁ y₂ z₁
- f x₁ y₁ z₁ = f x₁ y₂ z₂
- f x₁ y₁ z₁ = f x₂ y₁ z₁
- f x₁ y₁ z₁ = f x₂ y₁ z₂
- f x₁ y₁ z₁ = f x₂ y₂ z₁
- f x₁ y₁ z₁ = f x₂ y₂ z₂.
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
def cube11_monochromatic_box_count (f : Fin 11 → Fin 11 → Fin 11 → Bool) : ℕ := (Finset.univ.filter (fun p : (Fin 11 × Fin 11 × Fin 11) × (Fin 11 × Fin 11 × Fin 11) => let x₁ := p.1.1 let y₁ := p.1.2.1 let z₁ := p.1.2.2 let x₂ := p.2.1 let y₂ := p.2.2.1 let z₂ := p.2.2.2 x₁ < x₂ ∧ y₁ < y₂ ∧ z₁ < z₂ ∧ f x₁ y₁ z₁ = f x₁ y₁ z₂ ∧ f x₁ y₁ z₁ = f x₁ y₂ z₁ ∧ f x₁ y₁ z₁ = f x₁ y₂ z₂ ∧ f x₁ y₁ z₁ = f x₂ y₁ z₁ ∧ f x₁ y₁ z₁ = f x₂ y₁ z₂ ∧ f x₁ y₁ z₁ = f x₂ y₂ z₁ ∧ f x₁ y₁ z₁ = f x₂ y₂ z₂)).card