op874_saturated_twenty_four_color_witness
The displayed external and hidden colors give compatible six-color local states on the 24-vertex saturated-cut example, obey exact matching ownership and the four-window condition on its four factor cycles.
Statement
theorem op874_saturated_twenty_four_color_witness : let L : Fin 36 → Fin 24 := ![0,0,0,1,1,2,2,3,3,4,5,5,5,6,7,7,8,8,10,10,10,11,12,13,14,16,16,16,17,17,18,18,19,20,21,22] let R : Fin 36 → Fin 24 := ![1,4,9,2,22,3,13,4,11,6,6,9,15,7,8,14,9,12,11,15,19,12,13,14,15,17,20,23,18,21,19,23,20,21,22,23] let inc : Fin 24 → Fin 3 → Fin 36 := ![![0,1,2],![0,3,4],![3,5,6],![5,7,8],![1,7,9],![10,11,12],![9,10,13],![13,14,15],![14,16,17],![2,11,16],![18,19,20],![8,18,21],![17,21,22],![6,22,23],![15,23,24],![12,19,24],![25,26,27],![25,28,29],![28,30,31],![20,30,32],![26,32,33],![29,33,34],![4,34,35],![27,31,35]] let h : Fin 24 → Fin 3 → Fin 6 := ![![3,1,2],![2,5,0],![0,4,5],![5,4,1],![2,1,4],![3,5,0],![1,3,4],![3,4,0],![4,1,5],![1,2,5],![3,0,2],![4,3,1],![1,3,5],![0,3,2],![4,0,2],![5,2,0],![5,1,2],![1,5,4],![4,0,3],![0,4,2],![2,4,1],![1,4,3],![3,4,0],![2,0,3]] let color : Fin 36 → Fin 6 := ![4,5,0,3,1,2,1,3,0,0,2,4,1,5,2,1,3,0,5,4,1,2,4,5,3,3,0,4,2,0,5,1,3,5,2,5] let bit : Fin 24 → Bool := ![false,true,true,false,false,true,false,true,false,false,true,false,false,true,true,true,false,false,true,true,false,false,true,true] let M : Finset (Fin 36) := {9,2,29,17,26,8,12,15,31,20,6,4} let selected : Fin 36 → Prop := fun e => (∃ i : Fin 3, inc (L e) i = e ∧ h (L e) i = if bit (L e) then 0 else 1) ∨ (∃ i : Fin 3, inc (R e) i = e ∧ h (R e) i = if bit (R e) then 0 else 1) let w5 : (Fin 5 → Fin 36) → Prop := fun f => ∀ i : Fin 5, (∀ j : Fin 4, ¬ selected (f (i + Fin.ofNat 5 j.val))) → ∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 5 j.val)) = ⟨k.val + 2, by omega⟩ let w6 : (Fin 6 → Fin 36) → Prop := fun f => ∀ i : Fin 6, (∀ j : Fin 4, ¬ selected (f (i + Fin.ofNat 6 j.val))) → ∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 6 j.val)) = ⟨k.val + 2, by omega⟩ let w8 : (Fin 8 → Fin 36) → Prop := fun f => ∀ i : Fin 8, (∀ j : Fin 4, ¬ selected (f (i + Fin.ofNat 8 j.val))) → ∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 8 j.val)) = ⟨k.val + 2, by omega⟩ (∀ v : Fin 24, ∀ i j : Fin 3, i ≠ j → inc v i ≠ inc v j) ∧ (∀ v : Fin 24, ∀ i : Fin 3, L (inc v i) = v ∨ R (inc v i) = v) ∧ (∀ v : Fin 24, ∀ i j : Fin 3, i ≠ j → color (inc v i) ≠ color (inc v j) ∧ h v i ≠ h v j) ∧ (∀ v : Fin 24, ∀ i j : Fin 3, h v i ≠ color (inc v j)) ∧ (∀ e : Fin 36, ∀ i j : Fin 3, inc (L e) i ≠ e → inc (R e) j ≠ e → h (L e) i ≠ h (R e) j) ∧ (∀ e : Fin 36, e ∈ M → color e = if bit (L e) then 1 else 0) ∧ (∀ e : Fin 36, e ∉ M → 2 ≤ (color e).val) ∧ (∀ e : Fin 36, e ∈ M → ∀ i j : Fin 3, inc (L e) i = e → inc (R e) j = e → ¬ (h (L e) i = (if bit (L e) then 0 else 1) ∧ h (R e) j = (if bit (R e) then 0 else 1))) ∧ w5 ![0,3,5,7,1] ∧ w5 ![10,13,14,16,11] ∧ w6 ![18,21,22,23,24,19] ∧ w8 ![25,28,30,32,33,34,35,27]
- Source
- Finite coloring witness for the OP-874 campaign, https://arxiv.org/abs/2610.41950.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The theorem verifies that an explicit 6-coloring and hidden-color assignment on a 24-vertex cubic graph satisfies twelve structural conditions: proper incidence relations, compatible local 6-color states, matching color ownership, and window conditions on four factor cycles. After expanding the local definitions and decomposing the conjunction into twelve subgoals, all conditions are verified by finite exhaustive computation.
The color index k + 2 is well-defined in Fin 6 for the 5-cycle window condition automation
Since k is an element of Fin 4, its numerical value satisfies k < 4, which implies k + 2 < 6 by linear arithmetic on natural numbers.
∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 5 j.val)) = ⟨k.val + 2, by omega⟩
The color index k + 2 is well-defined in Fin 6 for the 6-cycle window condition automation
Again, k < 4 implies k + 2 < 6 by linear arithmetic.
∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 6 j.val)) = ⟨k.val + 2, by omega⟩
The color index k + 2 is well-defined in Fin 6 for the 8-cycle window condition automation
Again, k < 4 implies k + 2 < 6 by linear arithmetic.
∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 8 j.val)) = ⟨k.val + 2, by omega⟩
Unfold the local definitions in the theorem goal
The proof begins by simplifying the goal to expand the definitions of the graph endpoints, incident edges, colorings, matching, and cycle window predicates.
dsimp onlySplit the conjunction into twelve separate subgoals
Decompose the twelve-fold conjunction into independent verification subgoals for edge incidence, endpoints consistency, color distinctness and disjointness, cross-edge hidden color compatibility, matching colors and ownership, and the four factor cycle window conditions.
refine ⟨?_,?_,?_,?_,?_,?_,?_,?_,?_,?_,?_,?_⟩Verify each of the twelve subgoals by exhaustive finite computation automation
Each of the twelve subgoals is a decidable predicate over finite types (vertices in Fin 24, edges in Fin 36, incident ports in Fin 3, and finite cycles). The decision procedure evaluates all finite cases exhaustively to close every subgoal.
all_goals decide
- Lines 14, 17, and 20 contain inline arithmetic proofs within the theorem statement establishing that each target color index k + 2 is strictly less than 6. The main proof begins at line 32.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem op874_saturated_twenty_four_color_witness : let L : Fin 36 → Fin 24 := ![0,0,0,1,1,2,2,3,3,4,5,5,5,6,7,7,8,8,10,10,10,11,12,13,14,16,16,16,17,17,18,18,19,20,21,22] let R : Fin 36 → Fin 24 := ![1,4,9,2,22,3,13,4,11,6,6,9,15,7,8,14,9,12,11,15,19,12,13,14,15,17,20,23,18,21,19,23,20,21,22,23] let inc : Fin 24 → Fin 3 → Fin 36 := ![![0,1,2],![0,3,4],![3,5,6],![5,7,8],![1,7,9],![10,11,12],![9,10,13],![13,14,15],![14,16,17],![2,11,16],![18,19,20],![8,18,21],![17,21,22],![6,22,23],![15,23,24],![12,19,24],![25,26,27],![25,28,29],![28,30,31],![20,30,32],![26,32,33],![29,33,34],![4,34,35],![27,31,35]] let h : Fin 24 → Fin 3 → Fin 6 := ![![3,1,2],![2,5,0],![0,4,5],![5,4,1],![2,1,4],![3,5,0],![1,3,4],![3,4,0],![4,1,5],![1,2,5],![3,0,2],![4,3,1],![1,3,5],![0,3,2],![4,0,2],![5,2,0],![5,1,2],![1,5,4],![4,0,3],![0,4,2],![2,4,1],![1,4,3],![3,4,0],![2,0,3]] let color : Fin 36 → Fin 6 := ![4,5,0,3,1,2,1,3,0,0,2,4,1,5,2,1,3,0,5,4,1,2,4,5,3,3,0,4,2,0,5,1,3,5,2,5] let bit : Fin 24 → Bool := ![false,true,true,false,false,true,false,true,false,false,true,false,false,true,true,true,false,false,true,true,false,false,true,true] let M : Finset (Fin 36) := {9,2,29,17,26,8,12,15,31,20,6,4} let selected : Fin 36 → Prop := fun e => (∃ i : Fin 3, inc (L e) i = e ∧ h (L e) i = if bit (L e) then 0 else 1) ∨ (∃ i : Fin 3, inc (R e) i = e ∧ h (R e) i = if bit (R e) then 0 else 1) let w5 : (Fin 5 → Fin 36) → Prop := fun f => ∀ i : Fin 5, (∀ j : Fin 4, ¬ selected (f (i + Fin.ofNat 5 j.val))) → ∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 5 j.val)) = ⟨k.val + 2, by omega⟩ let w6 : (Fin 6 → Fin 36) → Prop := fun f => ∀ i : Fin 6, (∀ j : Fin 4, ¬ selected (f (i + Fin.ofNat 6 j.val))) → ∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 6 j.val)) = ⟨k.val + 2, by omega⟩ let w8 : (Fin 8 → Fin 36) → Prop := fun f => ∀ i : Fin 8, (∀ j : Fin 4, ¬ selected (f (i + Fin.ofNat 8 j.val))) → ∀ k : Fin 4, ∃ j : Fin 6, color (f (i - 1 + Fin.ofNat 8 j.val)) = ⟨k.val + 2, by omega⟩ (∀ v : Fin 24, ∀ i j : Fin 3, i ≠ j → inc v i ≠ inc v j) ∧ (∀ v : Fin 24, ∀ i : Fin 3, L (inc v i) = v ∨ R (inc v i) = v) ∧ (∀ v : Fin 24, ∀ i j : Fin 3, i ≠ j → color (inc v i) ≠ color (inc v j) ∧ h v i ≠ h v j) ∧ (∀ v : Fin 24, ∀ i j : Fin 3, h v i ≠ color (inc v j)) ∧ (∀ e : Fin 36, ∀ i j : Fin 3, inc (L e) i ≠ e → inc (R e) j ≠ e → h (L e) i ≠ h (R e) j) ∧ (∀ e : Fin 36, e ∈ M → color e = if bit (L e) then 1 else 0) ∧ (∀ e : Fin 36, e ∉ M → 2 ≤ (color e).val) ∧ (∀ e : Fin 36, e ∈ M → ∀ i j : Fin 3, inc (L e) i = e → inc (R e) j = e → ¬ (h (L e) i = (if bit (L e) then 0 else 1) ∧ h (R e) j = (if bit (R e) then 0 else 1))) ∧ w5 ![0,3,5,7,1] ∧ w5 ![10,13,14,16,11] ∧ w6 ![18,21,22,23,24,19] ∧ w8 ![25,28,30,32,33,34,35,27] := by dsimp only refine ⟨?_,?_,?_,?_,?_,?_,?_,?_,?_,?_,?_,?_⟩ all_goals decide