op309_small_path_parity_obstruction
In the displayed thirteen-edge path model, every matching bitmask with the eight specified potential-domination conditions and every seven-bit phase assignment fail at least one of the eight corresponding parity-domination conditions.
Statement
theorem op309_small_path_parity_obstruction (m : Fin 8192) (p : Fin 128)
(hm : op309_small_path_matching m.val = true)
(hp : op309_small_path_potential m.val = true)
(hd : op309_small_path_dominates m.val p.val = true) : False- Source
- Finite path-tiling kernel for the two-port obstruction in the OP-309 Boolean coloring route, experiments 33353 and 33354.
- Verified
- 19 Nov 2026
- Axioms
propext
The proof, explained
The proof establishes an obstruction by finite exhaustiveness. First, an exhaustive check reduces all 8,192 possible matchings on a 13-edge path with the potential conditions to just seven candidate bitmasks. Second, for each of these seven candidates, an exhaustive check over all 128 phase assignments shows that none can be parity-dominated. Finally, a case split on the seven candidates shows that assuming domination leads to false = true in every case.
Classification of valid matchings automation
By finite exhaustive check, the only 13-bit matchings satisfying the potential conditions are 1170, 2340, 2341, 4680, 4681, 4682, and 5266.
decideNo phase assignment is dominated for each of the seven candidate matchings automation
For each of the seven candidate matchings, exhaustive evaluation over all 128 phase assignments verifies that domination never holds.
decide theorem op309_small_path_no_dominance_2340 : ∀ p : Fin 128, op309_small_path_dominates 2340 p.val = false := by decide theorem op309_small_path_no_dominance_2341 : ∀ p : Fin 128, op309_small_path_dominates 2341 p.val = false := by decide theorem op309_small_path_no_dominance_4680 : ∀ p : Fin 128, op309_small_path_dominates 4680 p.val = false := by decide theorem op309_small_path_no_dominance_4681 : ∀ p : Fin 128, op309_small_path_dominates 4681 p.val = false := by decide theorem op309_small_path_no_dominance_4682 : ∀ p : Fin 128, op309_small_path_dominates 4682 p.val = false := by decide theorem op309_small_path_no_dominance_5266 : ∀ p : Fin 128, op309_small_path_dominates 5266 p.val = false := by decide
Restricting the matching to the seven candidates
Apply the classification lemma to restrict m to the seven candidates.
uses
op309_small_path_matching_classificationhave hc := op309_small_path_matching_classification m hm hpCase analysis on the seven candidates
Split the disjunction into seven cases.
rcases hc with h | h | h | h | h | h | h
Case m = 1170
Rewriting with the non-dominance lemma yields false = true, a contradiction.
uses
op309_small_path_no_dominance_1170· rw [h, op309_small_path_no_dominance_1170 p] at hd contradiction
Case m = 2340
Rewriting with the non-dominance lemma yields false = true, a contradiction.
uses
op309_small_path_no_dominance_2340· rw [h, op309_small_path_no_dominance_2340 p] at hd contradiction
Case m = 2341
Rewriting with the non-dominance lemma yields false = true, a contradiction.
uses
op309_small_path_no_dominance_2341· rw [h, op309_small_path_no_dominance_2341 p] at hd contradiction
Case m = 4680
Rewriting with the non-dominance lemma yields false = true, a contradiction.
uses
op309_small_path_no_dominance_4680· rw [h, op309_small_path_no_dominance_4680 p] at hd contradiction
Case m = 4681
Rewriting with the non-dominance lemma yields false = true, a contradiction.
uses
op309_small_path_no_dominance_4681· rw [h, op309_small_path_no_dominance_4681 p] at hd contradiction
Case m = 4682
Rewriting with the non-dominance lemma yields false = true, a contradiction.
uses
op309_small_path_no_dominance_4682· rw [h, op309_small_path_no_dominance_4682 p] at hd contradiction
Case m = 5266
Rewriting with the non-dominance lemma yields false = true, a contradiction.
uses
op309_small_path_no_dominance_5266· rw [h, op309_small_path_no_dominance_5266 p] at hd contradiction
op309_small_path_matching_classification- Classification of matchings satisfying the potential condition
op309_small_path_no_dominance_1170- No phase assignment is dominated by 1170
op309_small_path_no_dominance_2340- No phase assignment is dominated by 2340
op309_small_path_no_dominance_2341- No phase assignment is dominated by 2341
op309_small_path_no_dominance_4680- No phase assignment is dominated by 4680
op309_small_path_no_dominance_4681- No phase assignment is dominated by 4681
op309_small_path_no_dominance_4682- No phase assignment is dominated by 4682
op309_small_path_no_dominance_5266- No phase assignment is dominated by 5266
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.
set_option maxRecDepth 100000set_option maxHeartbeats 0def op309_small_path_matching (m : ℕ) : Bool := (!(m.testBit 0 && m.testBit 1) && !(m.testBit 1 && m.testBit 2) && !(m.testBit 2 && m.testBit 3) && !(m.testBit 3 && m.testBit 4) && !(m.testBit 4 && m.testBit 5) && !(m.testBit 5 && m.testBit 6) && !(m.testBit 6 && m.testBit 7) && !(m.testBit 7 && m.testBit 8) && !(m.testBit 8 && m.testBit 9) && !(m.testBit 9 && m.testBit 10) && !(m.testBit 10 && m.testBit 11) && !(m.testBit 11 && m.testBit 12))def op309_small_path_potential (m : ℕ) : Bool := (((m.testBit 7 != m.testBit 9) || (m.testBit 9 != m.testBit 11)) && ((m.testBit 6 != m.testBit 8) || (m.testBit 8 != m.testBit 10)) && ((m.testBit 4 != m.testBit 6) || (m.testBit 6 != m.testBit 8)) && ((m.testBit 3 != m.testBit 5) || (m.testBit 5 != m.testBit 7)) && ((m.testBit 8 != m.testBit 10) || (m.testBit 10 != m.testBit 12)) && ((m.testBit 5 != m.testBit 7) || (m.testBit 7 != m.testBit 9)) && ((m.testBit 1 != m.testBit 3) || (m.testBit 3 != m.testBit 5)) && ((m.testBit 2 != m.testBit 4) || (m.testBit 4 != m.testBit 6)))def op309_small_path_dominates (m p : ℕ) : Bool := ((((m.testBit 7 != m.testBit 9) && (p.testBit 5 != p.testBit 1)) || ((m.testBit 9 != m.testBit 11) && (p.testBit 4 != p.testBit 3))) && (((m.testBit 6 != m.testBit 8) && (p.testBit 2 != p.testBit 5)) || ((m.testBit 8 != m.testBit 10) && (p.testBit 1 != p.testBit 4))) && (((m.testBit 4 != m.testBit 6) && (p.testBit 3 != p.testBit 1)) || ((m.testBit 6 != m.testBit 8) && (p.testBit 2 != p.testBit 5))) && (((m.testBit 3 != m.testBit 5) && (p.testBit 5 != p.testBit 3)) || ((m.testBit 5 != m.testBit 7) && (p.testBit 1 != p.testBit 2))) && (((m.testBit 8 != m.testBit 10) && (p.testBit 1 != p.testBit 4)) || ((m.testBit 10 != m.testBit 12) && (p.testBit 3 != p.testBit 0))) && (((m.testBit 5 != m.testBit 7) && (p.testBit 1 != p.testBit 2)) || ((m.testBit 7 != m.testBit 9) && (p.testBit 5 != p.testBit 1))) && (((m.testBit 1 != m.testBit 3) && (p.testBit 4 != p.testBit 2)) || ((m.testBit 3 != m.testBit 5) && (p.testBit 5 != p.testBit 3))) && (((m.testBit 2 != m.testBit 4) && (p.testBit 2 != p.testBit 5)) || ((m.testBit 4 != m.testBit 6) && (p.testBit 3 != p.testBit 1))))theorem op309_small_path_matching_classification : ∀ m : Fin 8192, op309_small_path_matching m.val = true → op309_small_path_potential m.val = true → m.val = 1170 ∨ m.val = 2340 ∨ m.val = 2341 ∨ m.val = 4680 ∨ m.val = 4681 ∨ m.val = 4682 ∨ m.val = 5266 := by decidetheorem op309_small_path_no_dominance_1170 : ∀ p : Fin 128, op309_small_path_dominates 1170 p.val = false := by decidetheorem op309_small_path_no_dominance_2340 : ∀ p : Fin 128, op309_small_path_dominates 2340 p.val = false := by decidetheorem op309_small_path_no_dominance_2341 : ∀ p : Fin 128, op309_small_path_dominates 2341 p.val = false := by decidetheorem op309_small_path_no_dominance_4680 : ∀ p : Fin 128, op309_small_path_dominates 4680 p.val = false := by decidetheorem op309_small_path_no_dominance_4681 : ∀ p : Fin 128, op309_small_path_dominates 4681 p.val = false := by decidetheorem op309_small_path_no_dominance_4682 : ∀ p : Fin 128, op309_small_path_dominates 4682 p.val = false := by decidetheorem op309_small_path_no_dominance_5266 : ∀ p : Fin 128, op309_small_path_dominates 5266 p.val = false := by decidetheorem op309_small_path_parity_obstruction (m : Fin 8192) (p : Fin 128) (hm : op309_small_path_matching m.val = true) (hp : op309_small_path_potential m.val = true) (hd : op309_small_path_dominates m.val p.val = true) : False := by have hc := op309_small_path_matching_classification m hm hp rcases hc with h | h | h | h | h | h | h · rw [h, op309_small_path_no_dominance_1170 p] at hd contradiction · rw [h, op309_small_path_no_dominance_2340 p] at hd contradiction · rw [h, op309_small_path_no_dominance_2341 p] at hd contradiction · rw [h, op309_small_path_no_dominance_4680 p] at hd contradiction · rw [h, op309_small_path_no_dominance_4681 p] at hd contradiction · rw [h, op309_small_path_no_dominance_4682 p] at hd contradiction · rw [h, op309_small_path_no_dominance_5266 p] at hd contradiction