law and_or_distrib_left
import bend-mathlib@0.8.1.0/bool.bend as Boolimport 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}