law xor_assoc

bend-mathlib@0.8.1.0 · bool.bend:314

import bend-mathlib@0.8.1.0/bool.bend as Bool
import Base

314# Exclusive or is associative.
315law xor_assoc:
316  for a: Bool
317  for b: Bool
318  for c: Bool
319  {Bool.xor(Bool.xor(a, b), c) == Bool.xor(a, Bool.xor(b, c)) : Bool}

Uses (2)

Used by (1)