AFTD Auto-Formalizing Theoretical Domains

cube10_reference_no_boxfree_layer

theoremverified

No binary 10 by 10 layer can be appended to the displayed 10-cube coloring without creating a monochromatic box.

Statement

theorem cube10_reference_no_boxfree_layer :
    ∀ g : Fin 10 → Fin 10 → Bool,
      ∃ z y₀ y₁ x₀ x₁ : Fin 10,
        y₀ < y₁ ∧ x₀ < x₁ ∧
        cube10_reference_coloring z y₀ x₀ = cube10_reference_coloring z y₀ x₁ ∧
        cube10_reference_coloring z y₀ x₀ = cube10_reference_coloring z y₁ x₀ ∧
        cube10_reference_coloring z y₀ x₀ = cube10_reference_coloring z y₁ x₁ ∧
        cube10_reference_coloring z y₀ x₀ = g y₀ x₀ ∧
        cube10_reference_coloring z y₀ x₀ = g y₀ x₁ ∧
        cube10_reference_coloring z y₀ x₀ = g y₁ x₀ ∧
        cube10_reference_coloring z y₀ x₀ = g y₁ x₁
Source
Fixed-witness extension experiment 44037, independently checked by two solvers in 44038; related to OP-1866.
Verified
29 Nov 2026
Axioms
Quot.soundpropext
Built on 9

The proof, explained

To prove that no binary 10 by 10 layer can be appended to the reference 10-cube coloring without forming a monochromatic box, the argument performs a case analysis on the boolean values that the layer g assigns to three probe coordinates: (0, 4), (0, 7), and (5, 5). This partitions the space of candidate layers into eight cases. Each case is then dispatched by an auxiliary lemma that verifies the existence of a monochromatic box for that specific assignment.

  1. It suffices to show the existence of a monochromatic box in each of the eight cases determined by the boolean values of g(0, 4), g(0, 7), and g(5, 5).

    We introduce an arbitrary candidate binary layer g and split into eight cases based on the combinations of truth values that g assigns to the three probe coordinates (0, 4), (0, 7), and (5, 5).

    lines 12–13

      intro g
      cases h1 : g 0 4 <;> cases h2 : g 0 7 <;> cases h3 : g 5 5
  2. In every case, there exists a monochromatic box between some layer z of the reference coloring and the appended layer g.

    Each of the eight subcases is closed by applying the corresponding pre-established lemma (cube10_reference_no_boxfree_layer_cube_fff through cube10_reference_no_boxfree_layer_cube_ttt), which directly produces the required monochromatic box for that specific combination of values at the three probe coordinates.

    lines 14–21

    uses cube10_reference_no_boxfree_layer_cube_fff, cube10_reference_no_boxfree_layer_cube_fft, cube10_reference_no_boxfree_layer_cube_ftf, cube10_reference_no_boxfree_layer_cube_ftt, cube10_reference_no_boxfree_layer_cube_tff, cube10_reference_no_boxfree_layer_cube_tft, cube10_reference_no_boxfree_layer_cube_ttf, cube10_reference_no_boxfree_layer_cube_ttt

      · exact cube10_reference_no_boxfree_layer_cube_fff g h1 h2 h3
      · exact cube10_reference_no_boxfree_layer_cube_fft g h1 h2 h3
      · exact cube10_reference_no_boxfree_layer_cube_ftf g h1 h2 h3
      · exact cube10_reference_no_boxfree_layer_cube_ftt g h1 h2 h3
      · exact cube10_reference_no_boxfree_layer_cube_tff g h1 h2 h3
      · exact cube10_reference_no_boxfree_layer_cube_tft g h1 h2 h3
      · exact cube10_reference_no_boxfree_layer_cube_ttf g h1 h2 h3
      · exact cube10_reference_no_boxfree_layer_cube_ttt g h1 h2 h3
cube10_reference_no_boxfree_layer_cube_fff
If a layer g satisfies g(0, 4) = false, g(0, 7) = false, and g(5, 5) = false, then there exist a layer z and coordinates y₀ < y₁, x₀ < x₁ such that all four corresponding corners in layer z of the reference coloring and in layer g have the same color.
cube10_reference_no_boxfree_layer_cube_fft
If a layer g satisfies g(0, 4) = false, g(0, 7) = false, and g(5, 5) = true, then there exist a layer z and coordinates y₀ < y₁, x₀ < x₁ such that all four corresponding corners in layer z of the reference coloring and in layer g have the same color.
cube10_reference_no_boxfree_layer_cube_ftf
If a layer g satisfies g(0, 4) = false, g(0, 7) = true, and g(5, 5) = false, then there exist a layer z and coordinates y₀ < y₁, x₀ < x₁ such that all four corresponding corners in layer z of the reference coloring and in layer g have the same color.
cube10_reference_no_boxfree_layer_cube_ftt
If a layer g satisfies g(0, 4) = false, g(0, 7) = true, and g(5, 5) = true, then there exist a layer z and coordinates y₀ < y₁, x₀ < x₁ such that all four corresponding corners in layer z of the reference coloring and in layer g have the same color.
cube10_reference_no_boxfree_layer_cube_tff
If a layer g satisfies g(0, 4) = true, g(0, 7) = false, and g(5, 5) = false, then there exist a layer z and coordinates y₀ < y₁, x₀ < x₁ such that all four corresponding corners in layer z of the reference coloring and in layer g have the same color.
cube10_reference_no_boxfree_layer_cube_tft
If a layer g satisfies g(0, 4) = true, g(0, 7) = false, and g(5, 5) = true, then there exist a layer z and coordinates y₀ < y₁, x₀ < x₁ such that all four corresponding corners in layer z of the reference coloring and in layer g have the same color.
cube10_reference_no_boxfree_layer_cube_ttf
If a layer g satisfies g(0, 4) = true, g(0, 7) = true, and g(5, 5) = false, then there exist a layer z and coordinates y₀ < y₁, x₀ < x₁ such that all four corresponding corners in layer z of the reference coloring and in layer g have the same color.
cube10_reference_no_boxfree_layer_cube_ttt
If a layer g satisfies g(0, 4) = true, g(0, 7) = true, and g(5, 5) = true, then there exist a layer z and coordinates y₀ < y₁, x₀ < x₁ such that all four corresponding corners in layer z of the reference coloring and in layer g have the same color.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem cube10_reference_no_boxfree_layer :    ∀ g : Fin 10 → Fin 10 → Bool,      ∃ z y₀ y₁ x₀ x₁ : Fin 10,        y₀ < y₁ ∧ x₀ < x₁ ∧        cube10_reference_coloring z y₀ x₀ = cube10_reference_coloring z y₀ x₁ ∧        cube10_reference_coloring z y₀ x₀ = cube10_reference_coloring z y₁ x₀ ∧        cube10_reference_coloring z y₀ x₀ = cube10_reference_coloring z y₁ x₁ ∧        cube10_reference_coloring z y₀ x₀ = g y₀ x₀ ∧        cube10_reference_coloring z y₀ x₀ = g y₀ x₁ ∧        cube10_reference_coloring z y₀ x₀ = g y₁ x₀ ∧        cube10_reference_coloring z y₀ x₀ = g y₁ x₁ := by  intro g  cases h1 : g 0 4 <;> cases h2 : g 0 7 <;> cases h3 : g 5 5  · exact cube10_reference_no_boxfree_layer_cube_fff g h1 h2 h3  · exact cube10_reference_no_boxfree_layer_cube_fft g h1 h2 h3  · exact cube10_reference_no_boxfree_layer_cube_ftf g h1 h2 h3  · exact cube10_reference_no_boxfree_layer_cube_ftt g h1 h2 h3  · exact cube10_reference_no_boxfree_layer_cube_tff g h1 h2 h3  · exact cube10_reference_no_boxfree_layer_cube_tft g h1 h2 h3  · exact cube10_reference_no_boxfree_layer_cube_ttf g h1 h2 h3  · exact cube10_reference_no_boxfree_layer_cube_ttt g h1 h2 h3
See it in the graphDiscuss this resultChallenge it