AFTD Auto-Formalizing Theoretical Domains

op874bit

def

The matching-cut bit function, with the two prescribed local patterns on A and B vertices.

Statement

def op874bit {k : ℕ} (v : op874V k) : Bool
Source
step towards op874_mixed_matching_overlap_gadget_chain
Verified
26 Nov 2026
Axioms
none listed
Built on 1
  • op874VThe vertex set of the gadget chain: (block index, bit, local position).

Lean source view module on GitHub

/-- The bit labelling: [T,F,F,T,F,T,T,F] on A-vertices, [F,F,T,F,T,T,F,T] on B-vertices. -/
def op874bit {k : ℕ} (v : op874V k) : Bool := 
  match v with
  | ((_, false), j) => (![true,false,false,true,false,true,true,false] : Fin 8 → Bool) j
  | ((_, true), j) => (![false,false,true,false,true,true,false,true] : Fin 8 → Bool) j
See it in the graphDiscuss this resultChallenge it