op874IsEdge
def
The edge relation of the chain, as ordered pairs: A 8-cycle, the two B 4-cycles, and the eight matching edge types.
Statement
def op874IsEdge {k : ℕ} [NeZero k] (u v : op874V k) : Prop
- Source
- step towards op874_mixed_matching_overlap_gadget_chain
- Verified
- 26 Nov 2026
- Axioms
- none listed
- Built on 6
- op874AThe bit-0 (A) vertex at position j of block i.
- op874BThe bit-1 (B) vertex at position j of block i.
- op874Q0The four positions [0,1,2,3] of the first paired-diamond 4-cycle.
- op874Q1The four positions [4,5,6,7] of the second paired-diamond 4-cycle.
- op874IsMEdgeThe eight matching edges of one block, listed as ordered pairs with the block index fixed; inter-block joins use i+1.
- op874VThe vertex set of the gadget chain: (block index, bit, local position).
- Used by 1
- op874EThe edge set of the chain, as the unordered-pair image of the edge relation.
Lean source view module on GitHub
/-- Ordered-pair description of the edge relation: the A 8-cycle, the two B 4-cycles, and the matching edges. -/ def op874IsEdge {k : ℕ} [NeZero k] (u v : op874V k) : Prop := (∃ (i : Fin k) (j : Fin 8), u = op874A i j ∧ v = op874A i (j+1)) ∨ (∃ (i : Fin k) (j : Fin 4), u = op874B i (op874Q0 j) ∧ v = op874B i (op874Q0 (j+1))) ∨ (∃ (i : Fin k) (j : Fin 4), u = op874B i (op874Q1 j) ∧ v = op874B i (op874Q1 (j+1))) ∨ op874IsMEdge u v