law or_and_distrib_left

bend-mathlib@0.8.1.0 · bool.bend:257

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

257# Or distributes over and: a or (b and c) is (a or b) and (a or c).
258law or_and_distrib_left:
259  for a: Bool
260  for -b: Bool
261  for -c: Bool
262  {Bool.or(a, Bool.and(b, c)) == Bool.and(Bool.or(a, b), Bool.or(a, c)) : Bool}

Uses (3)

Used by (1)