A disjunctive normal form (DNF) is a formula of the form:
where each is a set of literals. We sometimes call a term. Examples:
Adequacy of DNFs
Theorem
For every Boolean function there is a DNF computing it
Proof
Let . For write:
Now define
May 27, 20261 min read
A disjunctive normal form (DNF) is a formula of the form:
i=1⋁n⋀Tiwhere each Ti is a set of literals. We sometimes call ⋀Ti a term. Examples:
x⊕y=(x∧¬y)∨(¬x∧y)δ(x,y,z)=(¬x∧y)∨(x∧z)For every Boolean function f:{0,1}n→{0,1} there is a DNF Bf computing it
Let T:={b∈{0,1}n:f(b)=1}. For b∈{0,1} write:
b⋆x:=⎩⎨⎧xb=1¬xb=0Now define
Bf:=b∈T⋁i=1⋀nbi⋆xi