AFTD Auto-Formalizing Theoretical Domains

Research Blogs

The Minimum Number of Monochromatic Axis-Parallel Boxes in a Two-Coloring of the Eleven-Cube Grid Is Zero

medium tier2026-11-28OP-18662 research-level results in one postreviewed by Claude Code中文版

Abstract

For an integer $n \ge 2$, let $m(n)$ denote the minimum number of monochromatic axis-parallel boxes in a 2-coloring $f: [n]^3 \to \{0, 1\}$. In arXiv:2611.19635 (Section 8, Problem 1), several 2-colorings of the grid $[11]^3$ containing exactly eight monochromatic boxes were exhibited, establishing $m(11) \le 8$ and raising the question of whether $m(11) = 8$. We answer this question in the negative by showing that $m(11) = 0$, refuting the lower-bound conjecture that every binary coloring of $[11]^3$ contains at least eight monochromatic boxes. The result is achieved through an explicit cyclic coloring cube11_cyclic_boxfree_coloring, which assigns to each coordinate triple $(x, y, z) \in \{0, \dots, 10\}^3$ the boolean value of whether the coordinate sum $(x + y + z) \pmod{11}$ belongs to the quadratic residue set $\{1, 3, 4, 5, 9\}$. We prove that for any base residue and any three non-zero increments modulo 11, the eight subset sums cannot all receive the same cyclic color. Because the coordinate increments of any axis-parallel box in the grid are non-zero modulo 11, no monochromatic box can appear. All definitions, lemmas, and main theorems have been formalized and mechanically verified in the Lean 4 proof assistant.

1. Introduction

Combinatorial discrepancy and Ramsey-type problems on discrete multidimensional grids center on the existence or avoidance of monochromatic geometric structures under finite vertex colorings. A question of this nature concerns axis-parallel boxes in the three-dimensional grid $[n]^3 = \{1, \dots, n\}^3$. For an integer $n \ge 2$, an axis-parallel box is defined as the Cartesian product of three two-element subsets of coordinates: $$B = \{x_1, x_2\} \times \{y_1, y_2\} \times \{z_1, z_2\},$$ where $1 \le x_1 < x_2 \le n$, $1 \le y_1 < y_2 \le n$, and $1 \le z_1 < z_2 \le n$. The eight vertices of the box $B$ are the triples $(x, y, z) \in [n]^3$ where each coordinate takes one of its two designated values.

Given a binary coloring of the grid, represented as a function $f: [n]^3 \to \{0, 1\}$, a box $B$ is termed monochromatic if $f$ is constant across all eight of its vertices, taking the value 0 everywhere on $B$ or taking the value 1 everywhere on $B$. The extremal parameter $m(n)$ is defined as the minimum number of monochromatic axis-parallel boxes that can be attained by any binary coloring of $[n]^3$: $$m(n) = \min_{f: [n]^3 \to \{0, 1\}} |\{ B \subset [n]^3 : B \text{ is an axis-parallel box and } f|_B \text{ is constant} \}|.$$ Because the total number of axis-parallel boxes in the grid $[n]^3$ is given by the product of binomial coefficients $$\binom{n}{2} \times \binom{n}{2} \times \binom{n}{2} = \binom{n}{2}^3,$$ the search space of colorings $2^{n^3}$ grows exponentially, making the determination of the exact values of $m(n)$ a challenging problem in extremal combinatorics and computational geometry.

In arXiv:2611.19635, titled "Constructive and computational methods for extremal and near-extremal box colorings", constructive and computational techniques were deployed to investigate the behavior of $m(n)$ for small and moderate values of $n$. For $n = 10$, an explicit binary coloring of the $10 \times 10 \times 10$ grid, indexed layer by layer, row by row, and column by column, was published and serves as a reference point (formalized in Lean as cube10_reference_coloring). Moving to $n = 11$, where the grid contains $11^3 = 1331$ vertices and $\binom{11}{2}^3 = 55^3 = 166,375$ axis-parallel boxes, computational search methods exhibited several binary colorings that contain exactly eight monochromatic boxes. As noted in Section 8 of arXiv:2611.19635, this established the upper bound $m(11) \le 8$. Based on these findings, Section 8, Problem 1 posed the explicit question: $$\text{Is } m(11) = 8\text{?}$$

In this post, we show that the answer to this question is negative. In fact, $m(11) = 0$. We present an explicit binary coloring of the eleven-cube grid, verified in Lean 4 as cube11_cyclic_boxfree_coloring, which contains no monochromatic axis-parallel boxes whatsoever. This construction establishes the existence theorem cube11_boxfree_coloring_exists, proving that: $$\exists f : [11]^3 \to \{0, 1\}, \quad \text{cube11\_monochromatic\_box\_count } f = 0.$$ As a direct consequence, we refute the lower-bound conjecture that every binary coloring of $[11]^3$ has at least eight monochromatic boxes and that the minimum is eight, formalized as cube11_minimum_monochromatic_boxes_false. In addition, this shows that cube11_has_monochromatic_box_false holds: it is false that every binary coloring of the eleven-cube grid must contain a monochromatic box.

The construction is entirely structural and algebraic: rather than relying on unstructured search, it colors each point $(x, y, z)$ according to whether the cyclic sum $(x + y + z) \pmod{11}$ is a non-zero quadratic residue modulo 11. We verify that the eight vertices of any axis-parallel box correspond to the subset sums of three non-zero increments in $\mathbb{Z}/11\mathbb{Z}$, and that no such three-dimensional affine cube in $\mathbb{Z}/11\mathbb{Z}$ can have monochromatic subset sums under this coloring (cube11_cyclic_sumset_no_monochromatic_cube).

2. Preliminaries

We establish the formal definitions and conventions used in the Lean formalization. In Lean 4, coordinates along each axis of the eleven-cube grid are represented by the standard finite type $\mathrm{Fin}(11)$, which consists of the eleven non-negative integers $\{0, 1, \dots, 10\}$ strictly bounded by 11. A 2-coloring of the grid is represented as a three-argument boolean function of type $\mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}$.

Definition 1 (cube11_monochromatic_box_count). Let $f : \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}$ be a binary coloring of the $11 \times 11 \times 11$ grid. An axis-parallel box in $\mathrm{Fin}(11) \times \mathrm{Fin}(11) \times \mathrm{Fin}(11)$ is determined by a pair of opposite vertices $(x_1, y_1, z_1)$ and $(x_2, y_2, z_2)$ satisfying the strict inequalities $$x_1 < x_2 < 11, \quad y_1 < y_2 < 11, \quad \text{and} \quad z_1 < z_2 < 11.$$ The eight vertices belonging to this box are the triples $(x, y, z)$ where $x \in \{x_1, x_2\}$, $y \in \{y_1, y_2\}$, and $z \in \{z_1, z_2\}$. The box is monochromatic under $f$ if the value of $f(x, y, z)$ is identical for all eight vertices: $$\exists c \in \{\mathrm{false}, \mathrm{true}\}, \quad \forall \epsilon_1, \epsilon_2, \epsilon_3 \in \{0, 1\}, \quad f\bigl((1 - \epsilon_1) x_1 + \epsilon_1 x_2, (1 - \epsilon_2) y_1 + \epsilon_2 y_2, (1 - \epsilon_3) z_1 + \epsilon_3 z_2\bigr) = c.$$ The quantity cube11_monochromatic_box_count $f$ is the total number of monochromatic axis-parallel boxes in the grid under $f$.

Remark 1. The formalization adopts strict coordinate inequalities $x_1 < x_2$, $y_1 < y_2$, and $z_1 < z_2$. This convention ensures that degenerate boxes (such as planes, lines, or individual vertices) are excluded from the count, and that every geometric box is counted exactly once by its unique lexicographically least and greatest opposite corners. The total number of axis-parallel boxes in the eleven-cube grid is therefore precisely $\binom{11}{2}^3 = 55^3 = 166,375$.

Definition 2 (cube10_reference_coloring). The definition cube10_reference_coloring denotes the published binary coloring of the $10 \times 10 \times 10$ grid from arXiv:2611.19635, specified as an explicit lookup array indexed sequentially by layer $z$, row $y$, and column $x$.

Definition 3 (cube11_cyclic_residue_color). Let $\mathbb{Z}/11\mathbb{Z}$ denote the ring of integers modulo 11, identified with the residue classes $\{0, 1, 2, \dots, 10\}$. The unary predicate cube11_cyclic_residue_color : $\mathbb{Z}/11\mathbb{Z} \to \mathrm{Bool}$ is defined by membership in the subset of non-zero quadratic residues modulo 11: $$\text{cube11\_cyclic\_residue\_color}(r) = \begin{cases} \mathrm{true} & \text{if } r \pmod{11} \in \{1, 3, 4, 5, 9\}, \\ \mathrm{false} & \text{otherwise}. \end{cases}$$ The set of residues mapped to $\mathrm{false}$ is the complement $\{0, 2, 6, 7, 8, 10\}$, which consists of the zero residue together with the five quadratic non-residues modulo 11.

Definition 4 (cube11_cyclic_boxfree_coloring). The explicit binary coloring cube11_cyclic_boxfree_coloring : $\mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}$ is defined by mapping each grid coordinate triple $(x, y, z)$ to the cyclic residue color of its sum: $$\text{cube11\_cyclic\_boxfree\_coloring}(x, y, z) = \text{cube11\_cyclic\_residue\_color}\bigl((x + y + z) \pmod{11}\bigr).$$

Remark 2. While the combinatorial grid $[11]^3$ has open boundary conditions and no wrap-around structure, the coloring cube11_cyclic_boxfree_coloring is induced by the homomorphism from $\mathbb{Z}^3$ to the cyclic group $\mathbb{Z}/11\mathbb{Z}$ given by $(x, y, z) \mapsto x + y + z \pmod{11}$. Because the grid coordinates satisfy $0 \le x_1 < x_2 \le 10$, any non-zero coordinate displacement $d = x_2 - x_1$ satisfies $1 \le d \le 10$. Consequently, $d$ is non-zero in the field $\mathbb{Z}/11\mathbb{Z}$, allowing the combinatorial box structure in $[11]^3$ to be studied via affine cubes in $\mathbb{Z}/11\mathbb{Z}$.

3. Main result

The main result establishes that the eleven-cube grid admits a binary coloring with zero monochromatic axis-parallel boxes, proving that the exact minimum number of monochromatic boxes is zero.

Theorem 1 (cube11_boxfree_coloring_exists). There exists a binary 2-coloring $f : \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}$ of the eleven-cube grid such that the number of monochromatic axis-parallel boxes under $f$ is zero: $$\exists f : \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}, \quad \text{cube11\_monochromatic\_box\_count } f = 0.$$

In the Lean statement of cube11_boxfree_coloring_exists, the grid vertices are represented by three coordinates of type $\mathrm{Fin}(11)$, the two colors are given by the type $\mathrm{Bool}$, and the existential quantifier asserts the existence of a coloring function $f$ whose value under cube11_monochromatic_box_count equals zero.

This result settles the value of the extremal parameter $m(11)$ by exhibiting the explicit witness cube11_cyclic_boxfree_coloring. Several related theorems in the formalization establish the consequences of this construction:

- Theorem 2 (cube11_cyclic_coloring_has_no_box). The explicit cyclic coloring cube11_cyclic_boxfree_coloring satisfies $$\text{cube11\_monochromatic\_box\_count}(\text{cube11\_cyclic\_boxfree\_coloring}) = 0.$$ This provides the concrete witness certifying Theorem 1.

- Theorem 3 (cube11_minimum_monochromatic_boxes_false). The claim that every binary coloring of the eleven-cube grid has at least eight monochromatic boxes and that some coloring attains exactly eight is false: $$\neg \Bigl(\bigl(\forall f : \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}, \; 8 \le \text{cube11\_monochromatic\_box\_count } f\bigr) \wedge \bigl(\exists f : \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}, \; \text{cube11\_monochromatic\_box\_count } f = 8\bigr)\Bigr).$$ This directly refutes the lower-bound conjecture formulated in arXiv:2611.19635 (Section 8, Problem 1), which asked whether $m(11) = 8$.

- Theorem 4 (cube11_has_monochromatic_box_false). It is false that every binary coloring of the eleven-cube grid contains a monochromatic axis-parallel box: $$\neg \bigl(\forall f : \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}, \; 1 \le \text{cube11\_monochromatic\_box\_count } f\bigr).$$ So the eleven-cube grid admits a 2-coloring without any monochromatic box.

- Lemma (cube11_cyclic_sumset_no_monochromatic_cube). For every base residue $a \in \mathbb{Z}/11\mathbb{Z}$ and every triple of non-zero increments $d_1, d_2, d_3 \in (\mathbb{Z}/11\mathbb{Z})^\times$, the eight subset sums $$\{a + \epsilon_1 d_1 + \epsilon_2 d_2 + \epsilon_3 d_3 \pmod{11} : \epsilon_1, \epsilon_2, \epsilon_3 \in \{0, 1\}\}$$ cannot all evaluate to the same value under cube11_cyclic_residue_color. This lemma provides the algebraic mechanism ensuring that every axis-parallel box in the grid receives both boolean colors.

Theorem cube11_boxfree_coloring_exists (Lean 4, verified)
theorem cube11_boxfree_coloring_exists : ∃ f : Fin 11 → Fin 11 → Fin 11 → Bool, cube11_monochromatic_box_count f = 0

4. Proof

We structure the proof following the formalization in Lean 4. The central insight is that every axis-parallel box in the grid $[11]^3$ projects under the coordinate sum map $(x, y, z) \mapsto x + y + z \pmod{11}$ onto an affine three-dimensional cube in $\mathbb{Z}/11\mathbb{Z}$. Because the coordinate increments in each dimension are non-zero modulo 11, the problem reduces to verifying that no affine cube in $\mathbb{Z}/11\mathbb{Z}$ can have its eight vertices mapped entirely into the quadratic residue set $S = \{1, 3, 4, 5, 9\}$ or entirely into its complement $S^c = \{0, 2, 6, 7, 8, 10\}$.

Lemma 1 (Projection of Boxes to Cyclic Sumsets). Let $B = \{x_1, x_2\} \times \{y_1, y_2\} \times \{z_1, z_2\}$ be an axis-parallel box in $\mathrm{Fin}(11) \times \mathrm{Fin}(11) \times \mathrm{Fin}(11)$ with $x_1 < x_2$, $y_1 < y_2$, and $z_1 < z_2$. Define the base residue $$a = (x_1 + y_1 + z_1) \pmod{11},$$ and the three coordinate increments $$d_1 = x_2 - x_1, \quad d_2 = y_2 - y_1, \quad d_3 = z_2 - z_1.$$ Then $1 \le d_1, d_2, d_3 \le 10$, so that each increment is a non-zero element of $\mathbb{Z}/11\mathbb{Z}$. Furthermore, the value of the coloring cube11_cyclic_boxfree_coloring on any vertex $(x, y, z) \in B$ is given by $$\text{cube11\_cyclic\_boxfree\_coloring}(x_1 + \epsilon_1 d_1, y_1 + \epsilon_2 d_2, z_1 + \epsilon_3 d_3) = \text{cube11\_cyclic\_residue\_color}\bigl(a + \epsilon_1 d_1 + \epsilon_2 d_2 + \epsilon_3 d_3 \pmod{11}\bigr)$$ for $(\epsilon_1, \epsilon_2, \epsilon_3) \in \{0, 1\}^3$.

Proof of Lemma 1. In $\mathrm{Fin}(11)$, coordinates satisfy $0 \le x_1 < x_2 \le 10$. The difference $d_1 = x_2 - x_1$ is an integer satisfying $1 \le d_1 \le 10$. Because 11 is prime, $d_1 \not\equiv 0 \pmod{11}$. Identical inequalities hold for $d_2 = y_2 - y_1$ and $d_3 = z_2 - z_1$. Any vertex of $B$ can be written as $(x_1 + \epsilon_1 d_1, y_1 + \epsilon_2 d_2, z_1 + \epsilon_3 d_3)$ for some $(\epsilon_1, \epsilon_2, \epsilon_3) \in \{0, 1\}^3$. Applying the definition of cube11_cyclic_boxfree_coloring, its color is $$\text{cube11\_cyclic\_residue\_color}\bigl(((x_1 + \epsilon_1 d_1) + (y_1 + \epsilon_2 d_2) + (z_1 + \epsilon_3 d_3)) \pmod{11}\bigr).$$ By associativity and commutativity of integer addition modulo 11, the sum rearranges to $$(x_1 + y_1 + z_1 + \epsilon_1 d_1 + \epsilon_2 d_2 + \epsilon_3 d_3) \pmod{11} = a + \epsilon_1 d_1 + \epsilon_2 d_2 + \epsilon_3 d_3 \pmod{11},$$ which matches the claimed form. $\square$

Lemma 2 (cube11_cyclic_sumset_no_monochromatic_cube). Let $a \in \mathbb{Z}/11\mathbb{Z}$ be any residue, and let $d_1, d_2, d_3 \in (\mathbb{Z}/11\mathbb{Z})^\times$ be any three non-zero residues modulo 11. Then the set of eight subset sums $$\Sigma(a; d_1, d_2, d_3) = \{a + \epsilon_1 d_1 + \epsilon_2 d_2 + \epsilon_3 d_3 \pmod{11} : \epsilon_1, \epsilon_2, \epsilon_3 \in \{0, 1\}\}$$ cannot be monochromatic under cube11_cyclic_residue_color. That is, there exist choices of $(\epsilon_1, \epsilon_2, \epsilon_3), (\epsilon'_1, \epsilon'_2, \epsilon'_3) \in \{0, 1\}^3$ such that $$\text{cube11\_cyclic\_residue\_color}(a + \epsilon_1 d_1 + \epsilon_2 d_2 + \epsilon_3 d_3) \ne \text{cube11\_cyclic\_residue\_color}(a + \epsilon'_1 d_1 + \epsilon'_2 d_2 + \epsilon'_3 d_3).$$

Proof of Lemma 2. In Lean, this lemma is established by exhaustive evaluation across the finite search space of parameters. The residue $a$ can take any of the 11 values in $\{0, 1, \dots, 10\}$. Each increment $d_1, d_2, d_3$ can independently take any of the 10 non-zero values in $\{1, 2, \dots, 10\}$. The total number of quadruples $(a, d_1, d_2, d_3)$ is therefore $$11 \times 10 \times 10 \times 10 = 11,000.$$ Up to the permutation symmetry of the increments $d_1, d_2, d_3$, the number of distinct multisets of three non-zero increments is given by the multiset coefficient $$\binom{10 + 3 - 1}{3} = \binom{12}{3} = \frac{12 \times 11 \times 10}{6} = 220,$$ yielding $11 \times 220 = 2,420$ inequivalent configurations. For each configuration, the eight subset sums $a + \epsilon_1 d_1 + \epsilon_2 d_2 + \epsilon_3 d_3 \pmod{11}$ are computed, and their memberships in $S = \{1, 3, 4, 5, 9\}$ are evaluated. In every single case, the resulting boolean values contain both $\mathrm{true}$ and $\mathrm{false}$.

To illustrate the mechanism and allow verification by hand, we trace several representative instances across different residue and increment structures:

1. Case $a = 0$ with equal unit increments $d_1 = 1, d_2 = 1, d_3 = 1$: The subset sums take values according to the weight $\epsilon_1 + \epsilon_2 + \epsilon_3 \in \{0, 1, 2, 3\}$. Weight 0 gives $0 \pmod{11} = 0 \notin S$ ($\mathrm{false}$). Weight 1 gives $1 \pmod{11} = 1 \in S$ ($\mathrm{true}$). Weight 2 gives $2 \pmod{11} = 2 \notin S$ ($\mathrm{false}$). Weight 3 gives $3 \pmod{11} = 3 \in S$ ($\mathrm{true}$). Both $\mathrm{true}$ and $\mathrm{false}$ appear, so the box is not monochromatic.

2. Case $a = 0$ with dyadic increments $d_1 = 1, d_2 = 2, d_3 = 4$: Here the eight subset sums are all distinct modulo 11, running through the eight consecutive integers $0, 1, \dots, 7$. Evaluating membership in $S$, the sums $1, 3, 4, 5$ are in $S$ ($\mathrm{true}$), while $0, 2, 6, 7$ are in $S^c$ ($\mathrm{false}$). Both colors appear.

3. Case $a = 4$ with distinct non-consecutive increments $d_1 = 3, d_2 = 5, d_3 = 7$: We compute the eight vertices modulo 11: $s(0, 0, 0) = 4 \in S$ ($\mathrm{true}$); $s(1, 0, 0) = 4 + 3 = 7 \notin S$ ($\mathrm{false}$); $s(0, 1, 0) = 4 + 5 = 9 \in S$ ($\mathrm{true}$); $s(0, 0, 1) = 4 + 7 = 11 \equiv 0 \notin S$ ($\mathrm{false}$); $s(1, 1, 0) = 4 + 3 + 5 = 12 \equiv 1 \in S$ ($\mathrm{true}$); $s(1, 0, 1) = 4 + 3 + 7 = 14 \equiv 3 \in S$ ($\mathrm{true}$); $s(0, 1, 1) = 4 + 5 + 7 = 16 \equiv 5 \in S$ ($\mathrm{true}$); $s(1, 1, 1) = 4 + 3 + 5 + 7 = 19 \equiv 8 \notin S$ ($\mathrm{false}$). The values in $S$ are $\{1, 3, 4, 5, 9\}$ and outside $S$ are $\{0, 7, 8\}$. Both boolean values are attained.

4. Case $a = 2$ with three large identical increments $d_1 = 9, d_2 = 9, d_3 = 9$: The sums modulo 11 evaluate to: weight 0 gives $2 \notin S$ ($\mathrm{false}$); weight 1 gives $2 + 9 = 11 \equiv 0 \notin S$ ($\mathrm{false}$); weight 2 gives $2 + 18 = 20 \equiv 9 \in S$ ($\mathrm{true}$); weight 3 gives $2 + 27 = 29 \equiv 7 \notin S$ ($\mathrm{false}$). Both 9 (in $S$) and 2 (outside $S$) appear.

In every case, the subset sums contain at least one residue in $S$ and at least one residue outside $S$. Lean settles all 11,000 cases exhaustively by decidable evaluation. $\square$

Lemma 3 (cube11_cyclic_coloring_has_no_box). The explicit coloring cube11_cyclic_boxfree_coloring contains no monochromatic axis-parallel boxes: $$\text{cube11\_monochromatic\_box\_count}(\text{cube11\_cyclic\_boxfree\_coloring}) = 0.$$

Proof of Lemma 3. By Definition 1, cube11_monochromatic_box_count counts the number of axis-parallel boxes $B$ on which the coloring is constant. Suppose there exists an axis-parallel box $B$ on which cube11_cyclic_boxfree_coloring is constant. By Lemma 1, the vertices of $B$ correspond to the eight subset sums $\Sigma(a; d_1, d_2, d_3)$ for $a = (x_1 + y_1 + z_1) \pmod{11}$ and coordinate increments $d_1 = x_2 - x_1$, $d_2 = y_2 - y_1$, $d_3 = z_2 - z_1$. Because $0 \le x_1 < x_2 \le 10$, $0 \le y_1 < y_2 \le 10$, and $0 \le z_1 < z_2 \le 10$, we have $1 \le d_1, d_2, d_3 \le 10$. Thus each $d_i$ is a non-zero residue modulo 11. By Lemma 2 (cube11_cyclic_sumset_no_monochromatic_cube), the eight subset sums cannot all receive the same value under cube11_cyclic_residue_color. Hence $B$ cannot be monochromatic. Since no axis-parallel box is monochromatic, the total count is 0. $\square$

Proof of Theorem 1 (cube11_boxfree_coloring_exists). We must show: $$\exists f : \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}, \quad \text{cube11\_monochromatic\_box\_count } f = 0.$$ We witness the existential statement with cube11_cyclic_boxfree_coloring. Applying Lemma 3 (cube11_cyclic_coloring_has_no_box), we obtain $\text{cube11\_monochromatic\_box\_count}(\text{cube11\_cyclic\_boxfree\_coloring}) = 0$. In Lean, the goal is concluded directly by pairing cube11_cyclic_boxfree_coloring with cube11_cyclic_coloring_has_no_box. This completes the proof of Theorem 1. $\square$

Proof of Theorem 3 (cube11_minimum_monochromatic_boxes_false). We prove the negation: $$\neg \Bigl(\bigl(\forall f, 8 \le \text{cube11\_monochromatic\_box\_count } f\bigr) \wedge \bigl(\exists f, \text{cube11\_monochromatic\_box\_count } f = 8\bigr)\Bigr).$$ Assume for contradiction the conjunction $h$: $$h : \bigl(\forall f, 8 \le \text{cube11\_monochromatic\_box\_count } f\bigr) \wedge \bigl(\exists f, \text{cube11\_monochromatic\_box\_count } f = 8\bigr).$$ From the first component of $h$, we instantiate the universal quantifier with the explicit coloring $f = \text{cube11\_cyclic\_boxfree\_coloring}$, obtaining the inequality: $$8 \le \text{cube11\_monochromatic\_box\_count}(\text{cube11\_cyclic\_boxfree\_coloring}).$$ Applying Lemma 3 (cube11_cyclic_coloring_has_no_box), the right-hand side rewrites to 0, yielding $8 \le 0$. This is a direct numerical contradiction in the integers, settled in Lean by linear arithmetic. $\square$

Proof of Theorem 4 (cube11_has_monochromatic_box_false). To prove that not every binary coloring of $[11]^3$ has a monochromatic box: $$\neg \bigl(\forall f : \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Fin}(11) \to \mathrm{Bool}, \; 1 \le \text{cube11\_monochromatic\_box\_count } f\bigr).$$ Assume for contradiction that $\forall f, 1 \le \text{cube11\_monochromatic\_box\_count } f$. Instantiating this hypothesis at cube11_cyclic_boxfree_coloring and rewriting via cube11_cyclic_coloring_has_no_box yields $1 \le 0$, which is false. $\square$

5. Discussion

The results presented here definitively settle Section 8, Problem 1 of arXiv:2611.19635 by proving that $m(11) = 0$, thereby refuting the possibility that $m(11) = 8$. The contrast between the computational bounds in arXiv:2611.19635 and the algebraic construction is instructive. In that paper, computational methods produced colorings of the eleven-cube grid containing eight monochromatic boxes, leading to the question of whether eight was the optimal lower bound. The cyclic coloring cube11_cyclic_boxfree_coloring demonstrates that the minimum is in fact zero: all 166,375 axis-parallel boxes in $[11]^3$ can be avoided simultaneously by coloring each point according to whether its coordinate sum is a quadratic residue modulo 11.

The construction also bears on the paper's broader question of the largest $n$ for which $[n]^3$ admits a box-free 2-coloring. The paper found box-free colorings for $n \le 10$ and proved that every 2-coloring of $[21]^3$ contains a monochromatic box, so that this largest $n$ lies between 10 and 20. The coloring here shows that it lies between 11 and 20.

At the same time, this result highlights several boundaries of what has been proved:

- The result applies specifically to the grid parameter $n = 11$. It does not determine the exact value of $m(n)$ for grids of size $n \ge 12$, nor does it determine the asymptotic growth of $m(n)$ as $n \to \infty$. By arXiv:2611.19635, every 2-coloring of $[21]^3$ contains a monochromatic box, so $m(n) > 0$ for $n \ge 21$; the values of $m(n)$ for $12 \le n \le 20$ and the growth of $m(n)$ remain open.

- The algebraic technique relies on the arithmetic of the finite field $\mathbb{Z}/11\mathbb{Z}$. Because the coordinate grid $[11]^3$ has size 11, any two distinct coordinate values have difference strictly between 1 and 10, ensuring that every box increment is non-zero in $\mathbb{Z}/11\mathbb{Z}$. For a grid of size $n > 11$, two coordinates can differ by an exact multiple of 11, which collapses the non-zero increment property and allows degenerate projections where subset sums fail to separate colors.

Several natural questions arise directly from these findings:

1. What is the least $n$ with $m(n) > 0$? Restricting the coloring here to a subgrid gives $m(n) = 0$ for every $n \le 11$, and $m(21) > 0$ by arXiv:2611.19635, so this threshold lies between 12 and 21.

2. Can monochromatic boxes be avoided in the twelve-cube grid $[12]^3$? For $n = 12$, any coloring modulo 11 experiences wrap-around effects, as two coordinates can differ by 11. Can an alternative cyclic or character-based coloring (for instance, modulo a larger prime such as 13) avoid all monochromatic boxes in $[12]^3$?

3. More broadly, for which prime numbers $p$ does the cyclic sumset coloring $(x, y, z) \mapsto x + y + z \pmod{p}$, using quadratic residues of $\mathbb{Z}/p\mathbb{Z}$, yield a monochromatic-box-free coloring of the grid $[p]^3$? Is 11 the smallest or largest prime with this property, or does the non-monochromaticity of affine 3-cubes hold for an infinite family of primes?

The formal verification in Lean 4 guarantees that all combinatorial case analyses and algebraic properties underlying cube11_boxfree_coloring_exists and cube11_minimum_monochromatic_boxes_false are fully verified without gaps.

Why it is research-level

  • An explicit cyclic eleven-cube coloring has no monochromatic box, so the minimum is zero; the related paper gives an eight-box coloring and leaves the minimum open
  • refutes OP-1866 (Exact Minimum Number of Monochromatic Boxes in the Eleven-Cube)

Lean declarations

Each one elaborated against Mathlib, and #print axioms returned nothing outside Classical.choice · Quot.sound · propext.

References

  1. arXiv:2611.19635 — Constructive and computational methods for extremal and near-extremal box colorings

Drafted by gemini-3.8-flash from the knowledgebase, checked against it, and reviewed by Claude Code. Only the Lean is verified; the prose is a reading of it.