AFTD Auto-Formalizing Theoretical Domains

op874_disjoint_palette_cut_coloring_witness

theoremverified

An explicit six-color local-state assignment on the eight-vertex obstruction is strong, has exact matching-port ownership, and satisfies the four-window property. This shows the disjoint-palette failure does not obstruct an unrestricted coloring of the same cut.

Statement

theorem op874_disjoint_palette_cut_coloring_witness :
    let mate : Fin 8 → Fin 8 := ![6,4,7,5,1,3,0,2]
    let bit : Fin 8 → Bool := ![true,false,false,true,false,true,true,false]
    let w : Fin 8 → Fin 4 := ![1,3,0,1,0,2,3,2]
    let h : Fin 8 → Fin 3 → Fin 6 := ![![4,3,0],![0,5,2],![2,5,1],![2,3,4],![2,3,5],![1,4,3],![1,0,4],![1,0,5]]
    let selected := fun i : Fin 8 =>
      h i 1 = (if bit i then 4 else 5) ∨
      h (i+1) 0 = (if bit (i+1) then 4 else 5)
    (∀ v, w (v-1) ≠ w v) ∧
    (∀ v i j, i ≠ j → h v i ≠ h v j) ∧
    (∀ v i, h v i ≠ (if bit v then 5 else 4) ∧
      h v i ≠ Fin.castAdd 2 (w (v-1)) ∧ h v i ≠ Fin.castAdd 2 (w v)) ∧
    (∀ v i j, i ≠ 1 → j ≠ 0 → h v i ≠ h (v+1) j) ∧
    (∀ v i j, i ≠ 2 → j ≠ 2 → h v i ≠ h (mate v) j) ∧
    (∀ v, ¬ (h v 2 = (if bit v then 4 else 5) ∧
      h (mate v) 2 = (if bit (mate v) then 4 else 5))) ∧
    (∀ i, (∀ j : Fin 4, ¬ selected (i + Fin.ofNat 8 j.val)) →
      ∀ c : Fin 4, ∃ j : Fin 6, w (i - 1 + Fin.ofNat 8 j.val) = c)
Source
Positive witness for the matching-palette counterexample to an OP-874 shortcut; https://arxiv.org/abs/2610.41950.
Verified
26 Nov 2026
Axioms
Quot.soundpropext

The proof, explained

The theorem proves that an explicit combinatorial assignment on the 8-vertex cubic graph satisfies the seven conditions of a strong cut-coloring witness. The candidate consists of a cycle 4-coloring $w$, an involution $\mathrm{mate}$, a boolean vector $\mathrm{bit}$, and a 6-color port assignment $h$ at each vertex. Because all variables range over finite sets, each of the seven conjuncts is a decidable proposition, and the proof supplies an anonymous 7-tuple constructor whose components are all verified automatically by `decide`.

  1. The candidate assignment $(w, h)$ satisfies all seven structural conditions required of an unrestricted cut-coloring witness. automation

    The goal is a 7-fold conjunction, and the proof constructs the witness by verifying each conjunct with the `decide` decision procedure: 1. Cycle coloring: For every vertex $v$, $w(v-1) \neq w(v)$, confirming $w = [1, 3, 0, 1, 0, 2, 3, 2]$ is a proper 4-coloring of the 8-cycle. 2. Port injectivity: At each vertex $v$, the port colors $h(v, 0), h(v, 1), h(v, 2)$ are pairwise distinct. 3. Color avoidance: For every vertex $v$ and port $i$, $h(v, i)$ differs from the complementary bit-color (5 if $\mathrm{bit}(v) = \mathrm{true}$ and 4 if $\mathrm{bit}(v) = \mathrm{false}$) and from the cycle colors $w(v-1)$ and $w(v)$ embedded in $\mathrm{Fin}\, 6$. 4. Cycle-edge port compatibility: Across each cycle edge from $v$ to $v+1$, any port other than the outgoing cycle port ($i \neq 1$) at $v$ has a different color from any port other than the incoming cycle port ($j \neq 0$) at $v+1$. 5. Matching-edge port compatibility: Across each chord $(v, \mathrm{mate}(v))$, non-matching ports ($i \neq 2$ and $j \neq 2$) have distinct colors. 6. Exact matching-port ownership: For every chord $(v, \mathrm{mate}(v))$, port 2 cannot simultaneously take the active bit-color at both endpoints. 7. Four-window property: For every starting index $i$, if no vertex in the 4-window $i, i+1, i+2, i+3$ is selected, then the surrounding 6-window of $w$ contains all four colors of $\mathrm{Fin}\, 4$. Every 4-window contains at least one selected vertex, so this condition holds vacuously. Because every domain and quantifier is over finite sets ($\mathrm{Fin}\, 8$, $\mathrm{Fin}\, 6$, $\mathrm{Fin}\, 4$, $\mathrm{Fin}\, 3$, and $\mathrm{Bool}$), Lean's kernel evaluates each proposition exhaustively to `true`.

    line 18

          ∀ c : Fin 4, ∃ j : Fin 6, w (i - 1 + Fin.ofNat 8 j.val) = c) := ⟨by decide, by decide, by decide, by decide, by decide, by decide, by decide⟩

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 op874_disjoint_palette_cut_coloring_witness :    let mate : Fin 8 → Fin 8 := ![6,4,7,5,1,3,0,2]    let bit : Fin 8 → Bool := ![true,false,false,true,false,true,true,false]    let w : Fin 8 → Fin 4 := ![1,3,0,1,0,2,3,2]    let h : Fin 8 → Fin 3 → Fin 6 := ![![4,3,0],![0,5,2],![2,5,1],![2,3,4],![2,3,5],![1,4,3],![1,0,4],![1,0,5]]    let selected := fun i : Fin 8 =>      h i 1 = (if bit i then 4 else 5) ∨      h (i+1) 0 = (if bit (i+1) then 4 else 5)    (∀ v, w (v-1) ≠ w v) ∧    (∀ v i j, i ≠ j → h v i ≠ h v j) ∧    (∀ v i, h v i ≠ (if bit v then 5 else 4) ∧      h v i ≠ Fin.castAdd 2 (w (v-1)) ∧ h v i ≠ Fin.castAdd 2 (w v)) ∧    (∀ v i j, i ≠ 1 → j ≠ 0 → h v i ≠ h (v+1) j) ∧    (∀ v i j, i ≠ 2 → j ≠ 2 → h v i ≠ h (mate v) j) ∧    (∀ v, ¬ (h v 2 = (if bit v then 4 else 5) ∧      h (mate v) 2 = (if bit (mate v) then 4 else 5))) ∧    (∀ i, (∀ j : Fin 4, ¬ selected (i + Fin.ofNat 8 j.val)) →      ∀ c : Fin 4, ∃ j : Fin 6, w (i - 1 + Fin.ofNat 8 j.val) = c) := ⟨by decide, by decide, by decide, by decide, by decide, by decide, by decide⟩
See it in the graphDiscuss this resultChallenge it