pith. machine review for the scientific record. sign in
def definition def or abbrev

parityOf

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  18def parityOf {n} (a : Assignment n) (S : List (Var n)) : Bool :=

proof body

Definition body.

  19  S.foldl (fun acc v => Bool.xor acc (a v)) false
  20
  21/-- A single XOR constraint is satisfied by `a` iff the parity matches. -/

used by (9)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (12)

Lean names referenced from this declaration's body.