op874_open_four_square_global_pair_local_obstruction
For the displayed four-square block with its eighth matching edge opened into two ports with arbitrary bits, no assignment of external and hidden colors satisfies the local six-color constraints, exact matching ownership on the seven retained internal matching edges, and one global high pair on unselected factor edges. No ownership or cross-interface condition is imposed at the remote port ends.
Statement
theorem op874_open_four_square_global_pair_local_obstruction (x y : Bool) : let L : Fin 25 → Fin 18 := ![0,0,0,1,1,2,3,4,4,4,5,5,6,7,8,8,9,10,10,11,12,12,12,13,14] let R : Fin 25 → Fin 18 := ![1,2,3,2,14,3,15,5,6,7,6,9,7,8,9,11,10,11,16,13,13,15,17,14,15] let ends : Fin 25 → Sym2 (Fin 18) := fun e => s(L e,R e) let M : Finset (Fin 25) := {1,4,6,8,11,13,18,19,22} let bit : Fin 18 → Bool := ![true,false,true,false,true,false,true,false,false,false,x,false,y,false,false,false,x,y] ¬ ∃ (c : Fin 25 → Fin 6) (h : Fin 18 → Fin 25 → Fin 6), (∀ v : Fin 18, v.val < 16 → ∀ e f, v ∈ ends e → v ∈ ends f → e ≠ f → c e ≠ c f) ∧ (∀ v : Fin 18, v.val < 16 → ∀ e f, v ∈ ends e → v ∈ ends f → e ≠ f → h v e ≠ h v f) ∧ (∀ v : Fin 18, v.val < 16 → ∀ e f, v ∈ ends e → v ∈ ends f → h v e ≠ c f) ∧ (∀ e, (L e).val < 16 → (R e).val < 16 → ∀ f g, L e ∈ ends f → R e ∈ ends g → f ≠ e → g ≠ e → h (L e) f ≠ h (R e) g) ∧ (∀ e ∈ M, c e = if bit (L e) then 1 else 0) ∧ (∀ e ∉ M, 2 ≤ (c e).val) ∧ (∀ e ∈ M, e ≠ 18 → e ≠ 22 → ¬ (h (L e) e = (if bit (L e) then 0 else 1) ∧ h (R e) e = (if bit (R e) then 0 else 1))) ∧ (∀ e ∉ M, h (L e) e ≠ (if bit (L e) then 0 else 1) → h (R e) e ≠ (if bit (R e) then 0 else 1) → c e = 2 ∨ c e = 3)
- Source
- OP-874; opened four-square block, experiments 41907 and 41910. Experiment 41917 checks all four independent choices of the opened port bits.
- Verified
- 27 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 5
- op874_four_squares_ownership_count_obstructionThe matching-owner counts and required adjacent factor-edge covers in the four-square obstruction are inconsistent.
- op874_open_four_square_retained_matching_ownersFor the displayed opened four-square block with arbitrary bits at its two opened matching ports, any local six-color assignment satisfying…
- op874_open_four_square_middle_matching_owner_boundsFor the displayed opened four-square block with arbitrary opened-port bits, the stated local six-color compatibility conditions force at…
- op874_open_four_square_outer_matching_owner_boundsBoth outer squares in the opened block have at most two matching owners when unselected factor edges use one global high pair.
- cycle_matching_low_colorThe low external matching color associated with a bit.
- Used by 1
- op874_open_square_block_family_unbounded_cut_repairFor every even k at least two there is a simple connected bridgeless cubic graph on 16k vertices, a perfect matching and a mixed globally…
The proof, explained
The theorem is proved by contradiction: assuming a valid coloring exists, each vertex is assigned a binary ownership indicator indicating whether it claims its incident matching edge. Using structural lemmas established for this gadget, the retained internal matching edges force seven endpoint-ownership sums to equal 1, while the outer and middle square cycles impose four upper bounds on ownership sums. Re-indexing these ownership values across the 16 vertices leads directly to a contradiction via a combinatorial counting obstruction on four squares.
Assume for contradiction that a valid coloring assignment exists satisfying all local constraints, factor bounds, matching ownership, and global pair requirements.
We introduce the graph structure and edge set, then assume for contradiction the existence of an external edge coloring $c$ and hidden coloring $h$ satisfying the local 6-color constraints, exact matching assignments on $M$, lower bounds on factor edges, exact internal matching ownership, and the global pair condition.
set_option maxHeartbeats 4000000 in classical intro L R ends M bit rintro ⟨c,h,hcext,hhidden,havoid,hstrong,hmatch,hfactor,hexact,hglobal⟩
For each vertex $v$, the target low color is $0$ if $\text{bit}(v)$ is true and $1$ if false, and we define the matching ownership indicator $m(v) \in \{0, 1\}$.
We identify the incident matching edge of each vertex via $T(v, 2)$, define $\text{low}(v) = \text{cycle\_matching\_low\_color}(\neg\text{bit}(v))$, and define $m(v)$ as $1$ if $h(v, T(v, 2)) = \text{low}(v)$ and $0$ otherwise. A case analysis on $\text{bit}(v)$ establishes that $\text{low}(v)$ is $0$ when $\text{bit}(v) = \text{true}$ and $1$ when $\text{bit}(v) = \text{false}$.
uses
cycle_matching_low_colorlet T : Fin 18 → Fin 3 → Fin 25 := ![![0,2,1],![0,3,4],![3,5,1],![2,5,6],![7,9,8],![7,10,11],![10,12,8],![9,12,13],![14,15,13],![14,16,11],![16,17,18],![15,17,19],![20,21,22],![20,23,19],![23,24,4],![21,24,6],![18,18,18],![22,22,22]] let low : Fin 18 → Fin 6 := fun v => cycle_matching_low_color (!(bit v)) let m : Fin 18 → ℕ := fun v => if h v (T v 2) = low v then 1 else 0 have low_eq (v : Fin 18) : low v = if bit v then 0 else 1 := by cases hb : bit v <;> simp [low,cycle_matching_low_color,hb]
Each retained internal matching edge has endpoint ownership sum equal to 1, and the middle vertex ownership sums are each at most 1.
Applying `op874_open_four_square_retained_matching_owners` proves that for every retained internal matching edge $e \in M \setminus \{18, 22\}$, exactly one endpoint owns the edge ($m(L(e)) + m(R(e)) = 1$). Applying `op874_open_four_square_middle_matching_owner_bounds` establishes the middle bounds $m(13) + m(14) + m(15) \le 1$ and $m(8) + m(9) + m(11) \le 1$.
uses
op874_open_four_square_retained_matching_owners,op874_open_four_square_middle_matching_owner_boundshave own : ∀ e ∈ M, e ≠ 18 → e ≠ 22 → m (L e) + m (R e) = 1 := op874_open_four_square_retained_matching_owners x y c h hcext hhidden havoid hstrong hmatch hfactor hexact have middle : m 13 + m 14 + m 15 ≤ 1 ∧ m 8 + m 9 + m 11 ≤ 1 := op874_open_four_square_middle_matching_owner_bounds x y c h hcext hhidden havoid hstrong hmatch hfactor hexact
For any factor edge $e \notin M$, if neither endpoint owns $e$, then the external color $c(e)$ must be in $\{2, 3\}$.
We rephrase the global pair hypothesis `hglobal` in terms of the simplified low-color function $\text{low}$, substituting the conditional expression for $\text{low}(L(e))$ and $\text{low}(R(e))$.
have global' : ∀ e ∉ M, h (L e) e ≠ low (L e) → h (R e) e ≠ low (R e) → c e = 2 ∨ c e = 3 := by intro e he ha hb apply hglobal e he · simpa only [← low_eq (L e)] using ha · simpa only [← low_eq (R e)] using hb
The chord matching edges have exact ownership sums equal to 1, implying the outer square ownership bounds $m(0) + m(1) + m(2) + m(3) \le 2$ and $m(4) + m(5) + m(6) + m(7) \le 2$.
Evaluating the ownership property on chord edges $e = 1$ and $e = 8$ yields $m(0) + m(2) = 1$ and $m(4) + m(6) = 1$. Passing these chord equalities and the rephrased global pair condition to `op874_open_four_square_outer_matching_owner_bounds` proves that each outer square has at most two matching owners.
uses
op874_open_four_square_outer_matching_owner_boundshave chord : m 0 + m 2 = 1 ∧ m 4 + m 6 = 1 := by constructor · exact own 1 (by decide) (by decide) (by decide) · exact own 8 (by decide) (by decide) (by decide) have outer : m 0 + m 1 + m 2 + m 3 ≤ 2 ∧ m 4 + m 5 + m 6 + m 7 ≤ 2 := op874_open_four_square_outer_matching_owner_bounds x y c h hcext hhidden havoid hstrong hmatch hfactor global' chord
The seven retained internal matching edges yield seven explicit ownership equations.
Specializing the exact ownership property `own` to each retained internal edge $e \in \{1, 4, 6, 8, 11, 13, 19\}$ gives $m(0) + m(2) = 1$, $m(1) + m(14) = 1$, $m(3) + m(15) = 1$, $m(4) + m(6) = 1$, $m(5) + m(9) = 1$, $m(7) + m(8) = 1$, and $m(11) + m(13) = 1$.
have e1 : m 0 + m 2 = 1 := own 1 (by decide) (by decide) (by decide) have e4 : m 1 + m 14 = 1 := own 4 (by decide) (by decide) (by decide) have e6 : m 3 + m 15 = 1 := own 6 (by decide) (by decide) (by decide) have e8 : m 4 + m 6 = 1 := own 8 (by decide) (by decide) (by decide) have e11 : m 5 + m 9 = 1 := own 11 (by decide) (by decide) (by decide) have e13 : m 7 + m 8 = 1 := own 13 (by decide) (by decide) (by decide) have e19 : m 11 + m 13 = 1 := own 19 (by decide) (by decide) (by decide)
The combined system of seven equalities and four inequality bounds on the 16 gadget vertices is unsatisfiable, reaching a contradiction. automation
We re-index the 16 vertices of the four squares by $z(i) = m(V(i))$ via the permutation $V$. The obstruction lemma `op874_four_squares_ownership_count_obstruction` shows that no integer assignment $z$ can simultaneously satisfy the seven matching ownership equalities and the four outer/middle square bounds. Each of the 11 subgoals matches our established properties of $m$ and is discharged by linear arithmetic (`omega`).
uses
op874_four_squares_ownership_count_obstructionlet V : Fin 16 → Fin 18 := ![1,0,3,2,12,15,14,13,8,9,10,11,4,5,6,7] let z : Fin 16 → ℕ := fun i => m (V i) apply op874_four_squares_ownership_count_obstruction z · change m 0 + m 2 = 1; omega · change m 9 + m 5 = 1; omega · change m 3 + m 15 = 1; omega · change m 1 + m 14 = 1; omega · change m 4 + m 6 = 1; omega · change m 8 + m 7 = 1; omega · change m 13 + m 11 = 1; omega · change m 1 + m 0 + m 3 + m 2 ≤ 2; omega · change m 4 + m 5 + m 6 + m 7 ≤ 2; omega · change m 15 + m 14 + m 13 ≤ 1; omega · change m 8 + m 9 + m 11 ≤ 1; omega
cycle_matching_low_color- Maps a boolean flag to color 1 if true and color 0 if false.
op874_open_four_square_retained_matching_owners- Under the local 6-coloring and factor constraints, each of the seven retained internal matching edges is owned by exactly one of its endpoints.
op874_open_four_square_middle_matching_owner_bounds- Under the local 6-coloring and factor constraints, the ownership indicator sums on the middle vertex sets {13, 14, 15} and {8, 9, 11} are each at most 1.
op874_open_four_square_outer_matching_owner_bounds- Given the chord ownership equalities and global factor constraints, the ownership indicator sum around each outer 4-cycle is at most 2.
op874_four_squares_ownership_count_obstruction- No assignment of natural numbers to 16 vertices can simultaneously satisfy the seven matching edge equality constraints and the four outer/middle inequality bounds of the four-square gadget.
- The final step applies linear integer arithmetic (`omega`) across 11 subgoals to match the re-indexed vertex ownership sums with the hypotheses of `op874_four_squares_ownership_count_obstruction`.
- Verifying edge indices and set membership for the retained matching edges in `own` is performed by reflexive computation (`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
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_open_four_square_global_pair_local_obstruction (x y : Bool) : let L : Fin 25 → Fin 18 := ![0,0,0,1,1,2,3,4,4,4,5,5,6,7,8,8,9,10,10,11,12,12,12,13,14] let R : Fin 25 → Fin 18 := ![1,2,3,2,14,3,15,5,6,7,6,9,7,8,9,11,10,11,16,13,13,15,17,14,15] let ends : Fin 25 → Sym2 (Fin 18) := fun e => s(L e,R e) let M : Finset (Fin 25) := {1,4,6,8,11,13,18,19,22} let bit : Fin 18 → Bool := ![true,false,true,false,true,false,true,false,false,false,x,false,y,false,false,false,x,y] ¬ ∃ (c : Fin 25 → Fin 6) (h : Fin 18 → Fin 25 → Fin 6), (∀ v : Fin 18, v.val < 16 → ∀ e f, v ∈ ends e → v ∈ ends f → e ≠ f → c e ≠ c f) ∧ (∀ v : Fin 18, v.val < 16 → ∀ e f, v ∈ ends e → v ∈ ends f → e ≠ f → h v e ≠ h v f) ∧ (∀ v : Fin 18, v.val < 16 → ∀ e f, v ∈ ends e → v ∈ ends f → h v e ≠ c f) ∧ (∀ e, (L e).val < 16 → (R e).val < 16 → ∀ f g, L e ∈ ends f → R e ∈ ends g → f ≠ e → g ≠ e → h (L e) f ≠ h (R e) g) ∧ (∀ e ∈ M, c e = if bit (L e) then 1 else 0) ∧ (∀ e ∉ M, 2 ≤ (c e).val) ∧ (∀ e ∈ M, e ≠ 18 → e ≠ 22 → ¬ (h (L e) e = (if bit (L e) then 0 else 1) ∧ h (R e) e = (if bit (R e) then 0 else 1))) ∧ (∀ e ∉ M, h (L e) e ≠ (if bit (L e) then 0 else 1) → h (R e) e ≠ (if bit (R e) then 0 else 1) → c e = 2 ∨ c e = 3) := by set_option maxHeartbeats 4000000 in classical intro L R ends M bit rintro ⟨c,h,hcext,hhidden,havoid,hstrong,hmatch,hfactor,hexact,hglobal⟩ let T : Fin 18 → Fin 3 → Fin 25 := ![![0,2,1],![0,3,4],![3,5,1],![2,5,6],![7,9,8],![7,10,11],![10,12,8],![9,12,13],![14,15,13],![14,16,11],![16,17,18],![15,17,19],![20,21,22],![20,23,19],![23,24,4],![21,24,6],![18,18,18],![22,22,22]] let low : Fin 18 → Fin 6 := fun v => cycle_matching_low_color (!(bit v)) let m : Fin 18 → ℕ := fun v => if h v (T v 2) = low v then 1 else 0 have low_eq (v : Fin 18) : low v = if bit v then 0 else 1 := by cases hb : bit v <;> simp [low,cycle_matching_low_color,hb] have own : ∀ e ∈ M, e ≠ 18 → e ≠ 22 → m (L e) + m (R e) = 1 := op874_open_four_square_retained_matching_owners x y c h hcext hhidden havoid hstrong hmatch hfactor hexact have middle : m 13 + m 14 + m 15 ≤ 1 ∧ m 8 + m 9 + m 11 ≤ 1 := op874_open_four_square_middle_matching_owner_bounds x y c h hcext hhidden havoid hstrong hmatch hfactor hexact have global' : ∀ e ∉ M, h (L e) e ≠ low (L e) → h (R e) e ≠ low (R e) → c e = 2 ∨ c e = 3 := by intro e he ha hb apply hglobal e he · simpa only [← low_eq (L e)] using ha · simpa only [← low_eq (R e)] using hb have chord : m 0 + m 2 = 1 ∧ m 4 + m 6 = 1 := by constructor · exact own 1 (by decide) (by decide) (by decide) · exact own 8 (by decide) (by decide) (by decide) have outer : m 0 + m 1 + m 2 + m 3 ≤ 2 ∧ m 4 + m 5 + m 6 + m 7 ≤ 2 := op874_open_four_square_outer_matching_owner_bounds x y c h hcext hhidden havoid hstrong hmatch hfactor global' chord have e1 : m 0 + m 2 = 1 := own 1 (by decide) (by decide) (by decide) have e4 : m 1 + m 14 = 1 := own 4 (by decide) (by decide) (by decide) have e6 : m 3 + m 15 = 1 := own 6 (by decide) (by decide) (by decide) have e8 : m 4 + m 6 = 1 := own 8 (by decide) (by decide) (by decide) have e11 : m 5 + m 9 = 1 := own 11 (by decide) (by decide) (by decide) have e13 : m 7 + m 8 = 1 := own 13 (by decide) (by decide) (by decide) have e19 : m 11 + m 13 = 1 := own 19 (by decide) (by decide) (by decide) let V : Fin 16 → Fin 18 := ![1,0,3,2,12,15,14,13,8,9,10,11,4,5,6,7] let z : Fin 16 → ℕ := fun i => m (V i) apply op874_four_squares_ownership_count_obstruction z · change m 0 + m 2 = 1; omega · change m 9 + m 5 = 1; omega · change m 3 + m 15 = 1; omega · change m 1 + m 14 = 1; omega · change m 4 + m 6 = 1; omega · change m 8 + m 7 = 1; omega · change m 13 + m 11 = 1; omega · change m 1 + m 0 + m 3 + m 2 ≤ 2; omega · change m 4 + m 5 + m 6 + m 7 ≤ 2; omega · change m 15 + m 14 + m 13 ≤ 1; omega · change m 8 + m 9 + m 11 ≤ 1; omega