law and_or_distrib_left

bend-mathlib@0.8.1.0 · bool.bend:243

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

243# And distributes over or: a and (b or c) is (a and b) or (a and c).
244law and_or_distrib_left:
245  for a: Bool
246  for -b: Bool
247  for -c: Bool
248  {Bool.and(a, Bool.or(b, c)) == Bool.or(Bool.and(a, b), Bool.and(a, c)) : Bool}

Uses (3)

Used by (1)