op874_disjoint_matching_palettes_cut_obstruction
On the displayed eight-vertex matching and cut, no properly colored factor can have disjoint high palettes at every matching edge together with compatible local states.
Statement
theorem op874_disjoint_matching_palettes_cut_obstruction : 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] ¬ ∃ (w : Fin 8 → Fin 4) (h : Fin 8 → Fin 3 → Fin 6), (∀ v, w (v-1) ≠ w v) ∧ (∀ v, Function.Injective ![w (v-1),w v,w (mate v-1),w (mate v)]) ∧ (∀ v i j, i ≠ j → h v i ≠ h v j) ∧ (∀ v i, h v i ≠ (if bit v then 5 else 4)) ∧ (∀ v i, h v i ≠ Fin.castAdd 2 (w (v-1))) ∧ (∀ v i, h v i ≠ Fin.castAdd 2 (w v)) ∧ (∀ v i j, i ≠ 1 → j ≠ 0 → h v i ≠ h (v+1) j)
- Source
- Disjoint matching-palette obstruction for OP-874; https://arxiv.org/abs/2610.41950.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- op874_disjoint_matching_palettes_force_bad_same_bit_edgeFor the displayed factor interfaces, two disjoint matching palettes force equal external color triples on a same-bit factor edge,…
- Used by 1
- op874_matching_overlap_gadget_chainFor every positive number of blocks, there is a connected bridgeless simple cubic graph with an eight-cycle factor per block and a locally…
The proof, explained
The proof argues by contradiction: assuming a valid 4-coloring w and local state assignment h exist, it focuses on the monochromatic cut edge between vertices 1 and 2 where both cut bits are false. Evaluating the matching injectivity at vertices 2 and 6 provides two injective 4-tuples of cycle colors. Choosing states {h(1, 0), h(1, 2)} and {h(2, 1), h(2, 2)} produces two mutually disjoint pairs that each avoid color 4 and their respective incident edge colors, which directly contradicts the obstruction lemma op874_disjoint_matching_palettes_force_bad_same_bit_edge.
Assume for contradiction that a valid 4-coloring w and local state assignment h exist, and extract all hypotheses.
We introduce the matching `mate` and bitmask `bit`, suppose the existential claim holds, and decompose the assumed witness into the 4-coloring w, local state selector h, and the given hypotheses: proper coloring along the 8-cycle (hproper), injectivity across matching edges (hmatch), distinctness of local states (hpair), bit-dependent palette avoidance (hlow), incident vertex color avoidance (hprev and hnext), and edge transition compatibility (hcompat).
intro mate bit hex obtain ⟨w,h,hproper,hmatch,hpair,hlow,hprev,hnext,hcompat⟩ := hex
The 4-tuples (w₁, w₂, w₆, w₇) and (w₅, w₆, w₇, w₀) each have distinct colors, and w₀ ≠ w₁.
Evaluating the matching injectivity condition hmatch at vertex 2 (where mate(2) = 7) gives injectivity of (w₁, w₂, w₆, w₇). At vertex 6 (where mate(6) = 0 and mate(6) - 1 = -1 = 7 in Fin 8), hmatch yields injectivity of (w₅, w₆, w₇, w₀). Proper coloring along the cycle (hproper) at vertex 1 guarantees w₀ ≠ w₁.
have ha : Function.Injective ![w 1,w 2,w 6,w 7] := by simpa [mate] using hmatch 2 have hb : Function.Injective ![w 5,w 6,w 7,w 0] := by have hm : (-1 : Fin 8) = 7 := by decide simpa [mate, hm] using hmatch 6 have hp : w 0 ≠ w 1 := by simpa using hproper 1
The states h(1, 0) and h(1, 2) at vertex 1 each avoid color 4, w₀ + 2, and w₁ + 2.
At vertex 1, bit(1) is false, so the forbidden bit color is 4; thus hlow gives h(1, i) ≠ 4. Moreover, hprev and hnext require h(1, i) to avoid the shifted incident colors w₀ + 2 and w₁ + 2 respectively. Applying these restrictions to i = 0 and i = 2 establishes the claim for both h(1, 0) and h(1, 2).
have hx : h 1 0 ≠ 4 ∧ h 1 0 ≠ Fin.castAdd 2 (w 0) ∧ h 1 0 ≠ Fin.castAdd 2 (w 1) := by refine ⟨?_, ?_, ?_⟩ · simpa [bit] using hlow 1 0 · simpa using hprev 1 0 · exact hnext 1 0 have hy : h 1 2 ≠ 4 ∧ h 1 2 ≠ Fin.castAdd 2 (w 0) ∧ h 1 2 ≠ Fin.castAdd 2 (w 1) := by refine ⟨?_, ?_, ?_⟩ · simpa [bit] using hlow 1 2 · simpa using hprev 1 2 · exact hnext 1 2
The states h(2, 1) and h(2, 2) at vertex 2 each avoid color 4, w₂ + 2, and w₁ + 2.
At vertex 2, bit(2) is likewise false, so the forbidden bit color is 4. Combining hlow, hnext (which excludes w₂ + 2), and hprev (which excludes w₁ + 2) for indices i = 1 and i = 2 shows that both h(2, 1) and h(2, 2) avoid {4, w₂ + 2, w₁ + 2}.
have hu : h 2 1 ≠ 4 ∧ h 2 1 ≠ Fin.castAdd 2 (w 2) ∧ h 2 1 ≠ Fin.castAdd 2 (w 1) := by refine ⟨?_, ?_, ?_⟩ · simpa [bit] using hlow 2 1 · exact hnext 2 1 · simpa using hprev 2 1 have hv : h 2 2 ≠ 4 ∧ h 2 2 ≠ Fin.castAdd 2 (w 2) ∧ h 2 2 ≠ Fin.castAdd 2 (w 1) := by refine ⟨?_, ?_, ?_⟩ · simpa [bit] using hlow 2 2 · exact hnext 2 2 · simpa using hprev 2 2
The states h(1, 0) and h(1, 2) are distinct, h(2, 1) and h(2, 2) are distinct, and the sets {h(1, 0), h(1, 2)} and {h(2, 1), h(2, 2)} are disjoint.
Distinctness at vertex 1 and vertex 2 follows from hpair because 0 ≠ 2 and 1 ≠ 2. For cross-vertex disjointness along the cycle edge (1, 2), the transition compatibility hypothesis hcompat ensures h(1, i) ≠ h(2, j) whenever i ≠ 1 and j ≠ 0. Since both i ∈ {0, 2} and j ∈ {1, 2} satisfy these conditions, all four cross-inequalities hold.
have hxy : h 1 0 ≠ h 1 2 := hpair 1 0 2 (by decide) have huv : h 2 1 ≠ h 2 2 := hpair 2 1 2 (by decide) have hd : h 1 0 ≠ h 2 1 ∧ h 1 0 ≠ h 2 2 ∧ h 1 2 ≠ h 2 1 ∧ h 1 2 ≠ h 2 2 := by refine ⟨?_, ?_, ?_, ?_⟩ · simpa using hcompat 1 0 1 (by decide) (by decide) · simpa using hcompat 1 0 2 (by decide) (by decide) · simpa using hcompat 1 2 1 (by decide) (by decide) · simpa using hcompat 1 2 2 (by decide) (by decide)
A contradiction is derived, showing that no such coloring and state assignment can exist.
We apply the obstruction lemma op874_disjoint_matching_palettes_force_bad_same_bit_edge with coloring w, the two injective matching 4-tuples, w₀ ≠ w₁, and the four distinct states x = h(1, 0), y = h(1, 2), u = h(2, 1), v = h(2, 2). Since all avoidance and mutual disjointness premises are satisfied, the lemma produces False, completing the proof.
uses
op874_disjoint_matching_palettes_force_bad_same_bit_edgeexact op874_disjoint_matching_palettes_force_bad_same_bit_edge w ha hb hp (h 1 0) (h 1 2) (h 2 1) (h 2 2) hx hy hu hv hxy huv hd
op874_disjoint_matching_palettes_force_bad_same_bit_edge- Given a vertex coloring w on an 8-cycle where (w₁, w₂, w₆, w₇) and (w₅, w₆, w₇, w₀) are injective and w₀ ≠ w₁, there cannot exist two mutually disjoint pairs of colors {x, y} and {u, v} in {0, ..., 5} such that {x, y} avoids {4, w₀+2, w₁+2} and {u, v} avoids {4, w₂+2, w₁+2}.
- Modular arithmetic on Fin 8 (such as -1 = 7 and 1 + 1 = 2) and array lookups for mate and bit are verified computationally by decide and simpa.
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_disjoint_matching_palettes_cut_obstruction : 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] ¬ ∃ (w : Fin 8 → Fin 4) (h : Fin 8 → Fin 3 → Fin 6), (∀ v, w (v-1) ≠ w v) ∧ (∀ v, Function.Injective ![w (v-1),w v,w (mate v-1),w (mate v)]) ∧ (∀ v i j, i ≠ j → h v i ≠ h v j) ∧ (∀ v i, h v i ≠ (if bit v then 5 else 4)) ∧ (∀ v i, h v i ≠ Fin.castAdd 2 (w (v-1))) ∧ (∀ v i, h v i ≠ Fin.castAdd 2 (w v)) ∧ (∀ v i j, i ≠ 1 → j ≠ 0 → h v i ≠ h (v+1) j) := by intro mate bit hex obtain ⟨w,h,hproper,hmatch,hpair,hlow,hprev,hnext,hcompat⟩ := hex have ha : Function.Injective ![w 1,w 2,w 6,w 7] := by simpa [mate] using hmatch 2 have hb : Function.Injective ![w 5,w 6,w 7,w 0] := by have hm : (-1 : Fin 8) = 7 := by decide simpa [mate, hm] using hmatch 6 have hp : w 0 ≠ w 1 := by simpa using hproper 1 have hx : h 1 0 ≠ 4 ∧ h 1 0 ≠ Fin.castAdd 2 (w 0) ∧ h 1 0 ≠ Fin.castAdd 2 (w 1) := by refine ⟨?_, ?_, ?_⟩ · simpa [bit] using hlow 1 0 · simpa using hprev 1 0 · exact hnext 1 0 have hy : h 1 2 ≠ 4 ∧ h 1 2 ≠ Fin.castAdd 2 (w 0) ∧ h 1 2 ≠ Fin.castAdd 2 (w 1) := by refine ⟨?_, ?_, ?_⟩ · simpa [bit] using hlow 1 2 · simpa using hprev 1 2 · exact hnext 1 2 have hu : h 2 1 ≠ 4 ∧ h 2 1 ≠ Fin.castAdd 2 (w 2) ∧ h 2 1 ≠ Fin.castAdd 2 (w 1) := by refine ⟨?_, ?_, ?_⟩ · simpa [bit] using hlow 2 1 · exact hnext 2 1 · simpa using hprev 2 1 have hv : h 2 2 ≠ 4 ∧ h 2 2 ≠ Fin.castAdd 2 (w 2) ∧ h 2 2 ≠ Fin.castAdd 2 (w 1) := by refine ⟨?_, ?_, ?_⟩ · simpa [bit] using hlow 2 2 · exact hnext 2 2 · simpa using hprev 2 2 have hxy : h 1 0 ≠ h 1 2 := hpair 1 0 2 (by decide) have huv : h 2 1 ≠ h 2 2 := hpair 2 1 2 (by decide) have hd : h 1 0 ≠ h 2 1 ∧ h 1 0 ≠ h 2 2 ∧ h 1 2 ≠ h 2 1 ∧ h 1 2 ≠ h 2 2 := by refine ⟨?_, ?_, ?_, ?_⟩ · simpa using hcompat 1 0 1 (by decide) (by decide) · simpa using hcompat 1 0 2 (by decide) (by decide) · simpa using hcompat 1 2 1 (by decide) (by decide) · simpa using hcompat 1 2 2 (by decide) (by decide) exact op874_disjoint_matching_palettes_force_bad_same_bit_edge w ha hb hp (h 1 0) (h 1 2) (h 2 1) (h 2 2) hx hy hu hv hxy huv hd