op874_diamond_forces_disjoint_matching_palettes
On a four-cycle whose vertex 0 shares its low color with vertices 1 and 3, compatible local states force all four factor-edge colors to differ. Thus the high palettes at opposite vertices 1 and 3 are disjoint, including when those vertices are joined by a matching edge.
Statement
theorem op874_diamond_forces_disjoint_matching_palettes
(b : Fin 4 → Bool) (edge : Fin 4 → Fin 4) (h : Fin 4 → Fin 3 → Fin 6)
(hproper : ∀ j, edge (j-1) ≠ edge j)
(hinj : ∀ j, Function.Injective (h j))
(havoid : ∀ j p, h j p ≠ cycle_matching_low_color (b j) ∧
h j p ≠ cycle_factor_high_color (edge (j-1)) ∧
h j p ≠ cycle_factor_high_color (edge j))
(hstrong : ∀ i, h i 0 ≠ h (i+1) 1 ∧ h i 0 ≠ h (i+1) 2 ∧
h i 2 ≠ h (i+1) 1 ∧ h i 2 ≠ h (i+1) 2)
(hbit01 : b 0 = b 1) (hbit03 : b 0 = b 3) :
Disjoint ({edge 0,edge 1} : Finset (Fin 4)) {edge 2,edge 3}- Source
- Forced mixture of matching-palette intersection types for OP-874; https://arxiv.org/abs/2610.41950.
- Verified
- 27 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- same_bit_factor_edge_forces_outer_colors_distinctAcross a same-bit factor edge, the two other incident factor edges must have different high colors in any strong local coloring.
- cycle_matching_low_colorThe low external matching color associated with a bit.
- cycle_factor_high_colorEmbed the four factor-edge colors into the upper four of six colors.
The proof, explained
To show that the factor-edge sets {edge 0, edge 1} and {edge 2, edge 3} are disjoint, it suffices to prove four pairwise distinctness conditions between their elements. Two conditions hold because adjacent edges along the cycle must differ by the proper coloring hypothesis. The remaining two hold because vertices 0 and 1 share their matching bit, as do vertices 3 and 0, which by a previous lemma forces the cycle edges flanking each transition to differ. Unfolding finset disjointness and assembling these four inequalities concludes the proof.
The outer cycle edges around vertex 0 have distinct colors: edge 3 ≠ edge 1.
Because vertices 0 and 1 share the same matching low color (b 0 = b 1), the lemma same_bit_factor_edge_forces_outer_colors_distinct applied at index 0 implies that the preceding edge 3 and the succeeding edge 1 cannot have the same color.
uses
same_bit_factor_edge_forces_outer_colors_distincthave h31 : edge 3 ≠ edge 1 := same_bit_factor_edge_forces_outer_colors_distinct 4 b edge h 0 hproper hinj havoid (hstrong 0) hbit01The outer cycle edges around vertex 3 have distinct colors: edge 2 ≠ edge 0.
Because vertex 3 and vertex 0 share the same matching low color (b 3 = b 0, using the symmetry of b 0 = b 3), applying same_bit_factor_edge_forces_outer_colors_distinct at index 3 implies that edge 2 and edge 0 cannot have the same color.
uses
same_bit_factor_edge_forces_outer_colors_distincthave h20 : edge 2 ≠ edge 0 := same_bit_factor_edge_forces_outer_colors_distinct 4 b edge h 3 hproper hinj havoid (hstrong 3) hbit03.symmAdjacent cycle edges have distinct colors: edge 3 ≠ edge 0 and edge 1 ≠ edge 2.
The assumption that the cycle edge coloring is proper (hproper) guarantees that edge (j - 1) ≠ edge j for all j. Evaluating this at j = 0 gives edge 3 ≠ edge 0, and at j = 2 gives edge 1 ≠ edge 2.
have h30 : edge 3 ≠ edge 0 := hproper 0 have h12 : edge 1 ≠ edge 2 := hproper 2
Disjointness of {edge 0, edge 1} and {edge 2, edge 3} reduces to four pairwise inequalities: edge 0 ≠ edge 2, edge 0 ≠ edge 3, edge 1 ≠ edge 2, and edge 1 ≠ edge 3.
Simplifying the disjointness of finite sets using rules for insert, singletons, and the negation of disjunctions expands the goal Disjoint {edge 0, edge 1} {edge 2, edge 3} into the conjunction of these four non-identities.
uses
Finset.disjoint_insert_left,Finset.disjoint_singleton_left,Finset.mem_insert,Finset.mem_singleton,not_orsimp only [Finset.disjoint_insert_left, Finset.disjoint_singleton_left, Finset.mem_insert, Finset.mem_singleton, not_or]The sets {edge 0, edge 1} and {edge 2, edge 3} are disjoint.
The four required inequalities are directly provided by the symmetry of edge 2 ≠ edge 0, the symmetry of edge 3 ≠ edge 0, edge 1 ≠ edge 2, and the symmetry of edge 3 ≠ edge 1.
refine ⟨⟨h20.symm, h30.symm⟩, ⟨h12, h31.symm⟩⟩
Finset.disjoint_insert_left- A finset insert a s is disjoint from t if and only if a ∉ t and s is disjoint from t.
Finset.disjoint_singleton_left- A singleton finset {a} is disjoint from s if and only if a ∉ s.
Finset.mem_insert- An element a belongs to insert b s if and only if a = b or a ∈ s.
Finset.mem_singleton- An element b belongs to the singleton {a} if and only if b = a.
not_or- A negation of a disjunction ¬(p ∨ q) is equivalent to ¬p ∧ ¬q.
same_bit_factor_edge_forces_outer_colors_distinct- Under proper edge-coloring, injective local palettes, avoidance of incident edge colors and matching bits, and strong adjacency compatibility on an n-cycle, if adjacent vertices i and i + 1 share the same matching low color bit (b i = b (i + 1)), then the outer cycle edges edge (i - 1) and edge (i + 1) must have distinct colors.
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_diamond_forces_disjoint_matching_palettes (b : Fin 4 → Bool) (edge : Fin 4 → Fin 4) (h : Fin 4 → Fin 3 → Fin 6) (hproper : ∀ j, edge (j-1) ≠ edge j) (hinj : ∀ j, Function.Injective (h j)) (havoid : ∀ j p, h j p ≠ cycle_matching_low_color (b j) ∧ h j p ≠ cycle_factor_high_color (edge (j-1)) ∧ h j p ≠ cycle_factor_high_color (edge j)) (hstrong : ∀ i, h i 0 ≠ h (i+1) 1 ∧ h i 0 ≠ h (i+1) 2 ∧ h i 2 ≠ h (i+1) 1 ∧ h i 2 ≠ h (i+1) 2) (hbit01 : b 0 = b 1) (hbit03 : b 0 = b 3) : Disjoint ({edge 0,edge 1} : Finset (Fin 4)) {edge 2,edge 3} := by have h31 : edge 3 ≠ edge 1 := same_bit_factor_edge_forces_outer_colors_distinct 4 b edge h 0 hproper hinj havoid (hstrong 0) hbit01 have h20 : edge 2 ≠ edge 0 := same_bit_factor_edge_forces_outer_colors_distinct 4 b edge h 3 hproper hinj havoid (hstrong 3) hbit03.symm have h30 : edge 3 ≠ edge 0 := hproper 0 have h12 : edge 1 ≠ edge 2 := hproper 2 simp only [Finset.disjoint_insert_left, Finset.disjoint_singleton_left, Finset.mem_insert, Finset.mem_singleton, not_or] refine ⟨⟨h20.symm, h30.symm⟩, ⟨h12, h31.symm⟩⟩