Equivalence of Formulas and Normal Forms
[20/95%]Prove that formula follows from formula if and only if , if and only if .
Verify all the equivalences 1)–9) given in Section 4.1 by directly constructing truth tables for the functions represented by their left- and right-hand sides.
The nine equivalences (with , , arbitrary formulas):
-
Associativity: ; ; .
-
Commutativity: ; ; .
-
Distributivity: ; ; .
-
De Morgan’s laws: ; .
-
Double negation: .
-
Idempotence: ; .
-
Laws for constants: ; ; ; ; ; .
-
.
-
.
Call a formula of the form a logical product. We call its subformulas , the factors. Likewise, call a formula of the form a logical sum. We call its subformulas , the summands.
Show that the following rules for transforming logical products and sums can be derived from the basic identities:
if at least one of the factors in a logical product equals 0, then the whole product equals 0;
if at least one of the summands in a logical sum equals 1, then the whole sum equals 1;
if in a logical product and there is a factor equal to 1, it can be crossed out;
if in a logical sum and there is a summand equal to 0, it can be crossed out.
Using the basic identities, prove the equivalence of the following pairs of formulas.
and ;
and ;
and .
Let the interpretation differ from the interpretation only in that . By induction on the construction of the formula , prove that .
Prove Proposition 19 on p. 81.
Proposition 19: If in two equivalent formulas and the propositional variable is replaced by a formula , then the resulting formulas are again equivalent: if , then .
A Boolean function is called dual to the function if for every assignment of values to the variables. For example, conjunction is dual to disjunction and vice versa.
Prove that the duality relation is symmetric.
Let be Boolean functions and
Establish the following duality principle: the dual function of a superposition of functions equals the superposition of the dual functions:
By induction on the construction of the formula , prove the inequality
Give an example where the inequality is strict.
Recall the notation: for a formula and , write if and if ; consequently , , , and for (formula (7)). For a Boolean function define
Theorem 21: Let be a Boolean function. 1) If is not identically zero, then is a perfect DNF representing . 2) If is not identically one, then is a perfect CNF representing . (Part 1 is proved in the text; part 2 is this problem.)
Prove the second part of Theorem 21 on p. 84: for every assignment of argument values we have .
Propose procedures for solving the following problems:
Given an arbitrary elementary conjunction, construct an equivalent perfect DNF over a given set of variables.
Given an arbitrary elementary disjunction, construct an equivalent perfect CNF over a given set of variables.
Prove that for all every Boolean function can be represented as
Such a representation is called the expansion of in . For it yields the perfect DNF from Theorem 21 on p. 84.
How should the procedure for reducing to a perfect DNF be changed so as to obtain a procedure for reducing to a perfect CNF?
Propose a method for simultaneously constructing equivalent DNF and CNF for an arbitrary formula of propositional logic, using induction on the construction of .
Find equivalent reduced DNFs and prove the equivalence of the following pairs of formulas:
;
;
,
,
;
.
Suppose a DNF contains no negations and the absorption laws cannot be applied to it. Prove that is a reduced DNF.
Prove the equivalences (8)–(11).
-
.
-
.
-
.
-
.
Prove equalities (12) and (13).
Using the basic equivalences and identities (8)–(11), find the equivalent reduced Zhegalkin polynomials and prove the equivalence of the following pairs of formulas:
;
,
;
;
.
Find the Zhegalkin polynomials (by the method of undetermined coefficients and using the matrix ) for the following functions . Assume that the argument tuples of the functions are ordered lexicographically and their values are given by a sequence of 8 zeros and ones:
;
;
;
.
Find the Boolean function of variables whose reduced Zhegalkin polynomial has the greatest length.