Equivalence of Formulas
[16/94%]Prove that the formula implies the formula if and only if , if and only if
Verify all the basic equivalences given at the beginning of the section by directly constructing truth tables for the functions represented by their left- and right-hand sides.
Let us call a logical product a formula of the form . We will call its subformulas , factors. Similarly, let us call a logical sum a formula of the form . We will call its subformulas , , terms.
Show that the following rules for transforming logical products and sums can be derived from the basic identities:
if in a logical product at least one of the factors equals 0, then the whole product equals 0;
if in a logical sum at least one of the terms equals 1, then the whole sum equals 1;
if in a logical product and there is a factor equal to 1, then it can be struck out;
if in a logical sum and there is a term equal to 0, then it can be struck out.
Using the basic identities, prove the equivalence of the following pairs of formulas.
and ;
and ;
and .
Derive the absorption laws using the previous equivalences.
Prove the following equivalences:
;
;
;
;
;
;
.
;
.
Using the basic identities, prove that the following formulas are identically true:
Suppose that the interpretation differs from the interpretation only in that . By induction on the construction of the formula , prove that .
Prove that if , then .
Let the formulas and be obtained from the formula by replacing the variable with 0 and 1 respectively. Prove that the formula is equivalent to each of the following:
.
A Boolean function is called dual to a function if for every tuple of values of 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:
Construct the dual functions for the functions
,
→,
,
↑.
Construct the dual functions for the functions given by the following formulas:
;
;
.
Prove that among 20 formulas in the variables there will always be two that are equivalent.
Is it true that among 20 formulas in the variables there will always be three that are pairwise equivalent?
Suppose there are formulas in variables . We need to choose several pairwise equivalent formulas. What number of such formulas can be guaranteed to be found?
Let us call a formula (and the function it defines) implicative if it is obtained by some placement of parentheses in the string . Prove that
every implicative formula takes value 1 on at least one tuple;
every implicative formula takes value 0 on at least one tuple;
for every implicative formula with variables and every value of the variable , it is possible to extend to a tuple of values of all the variables on which the formula has value 1;
every implicative function has no dummy arguments;
no two distinct implicative formulas are equivalent.
Prove that a function can be obtained from some implicative function by substitution of variables:
if and only if is given by a formula of the form for some variable .