The Algebra of Propositions
[47/83%]Determine whether the given sequence is a formula:
;
;
;
.
In how many ways can parentheses be inserted into the following sequence so as to obtain a formula:
;
?
Write out all subformulas of the formula:
;
.
Prove that every formula that is not a propositional variable can be represented in one of the following forms: , , , for some formulas and .
Prove that the result of replacing a given occurrence of the formula in the formula , in place of a subformula , is again a formula.
Prove that the result of the substitution of the formula for the propositional variable in the formula is again a formula.
Construct the truth tables for the following formulas:
;
;
;
;
;
.
Prove the satisfiability of the formulas:
;
;
.
For which values of the variables are the following formulas false:
;
;
;
;
?
Prove that if the formula is identically true, then the formula is identically true. (Here is a propositional variable, and is a formula.)
Prove that if the formulas and are identically true, then the formula is identically true.
Prove that:
if the formulas and are identically true, then the formula is identically true;
if the formulas , , are identically true, then the formula is identically true;
if the formulas , are identically true, then the formula is identically true.
Prove that if and only if is identically true.
Prove that:
;
;
( and ) .
Prove that and imply:
;
;
;
.
Prove that if , then for any formulas and variable .
Prove that if and is the result of replacing some occurrence of the subformula in the formula by the formula , then .
Prove that:
;
;
.
Prove that for every formula there exists an equivalent formula with tight negations, i.e., a formula in which the symbol does not occur and negations apply only to propositional variables.
Prove that for every formula there exists an equivalent:
conjunctive normal form;
disjunctive normal form.
Reduce to disjunctive and conjunctive normal form:
;
;
.
Prove that if is an identically true CNF, then for every disjunct of the formula there is a variable such that and both occur in this disjunct.
Prove that if is an identically false DNF, then for every conjunct of the formula there is a variable such that and both occur in this conjunct.
Let be a formula with tight negations (see Problem II.1.22), and let be obtained from by replacing by , by , and the variables by . Prove that .
Let and be formulas with tight negations (see Problem II.1.22), and let , be the formulas dual to and respectively ( is obtained from by replacing by , by ). Prove that implies (the duality law).
Given a set of values of the variables, construct a conjunct that is true only for this set of values of the variables. (Call such a formula the conjunct corresponding to the given set of values of the variables.)
Prove that every formula is equivalent to the disjunction of the conjuncts corresponding to those sets of values of the variables for which the given formula is true (see Problem II.1.29).
Prove that for every satisfiable formula there exists an equivalent p.d.n.f.
Prove that for an identically false formula there is no equivalent p.d.n.f.
Given a set of values of the variables, construct a disjunct that is false only for this set of values of the variables. (Call such a formula the disjunct corresponding to the given set of values of the variables.)
Prove that every formula is equivalent to the conjunction of the disjuncts corresponding to those sets of values of the variables for which the given formula is false (see Problem II.1.32).
Prove that for every falsifiable formula there exists an equivalent p.c.n.f.
Prove that for an identically true formula there is no equivalent p.c.n.f.
Reduce to perfect disjunctive normal form, i.e., find a p.d.n.f. equivalent to the given formula:
;
;
.
Reduce to perfect conjunctive normal form, i.e., find a p.c.n.f. equivalent to the given formula:
;
;
.
Construct a formula such that the given formula is identically true:
;
.
Construct a formula in three variables that is true if and only if exactly two of the variables are false.
Construct a formula in three variables that takes the same value as the majority (minority) of the variables.
Construct a formula in the variables such that:
and ;
and ;
and .
Prove that a formula in variables is identically true (identically false) if and only if its p.d.n.f. (p.c.n.f.) contains pairwise non-equivalent conjuncts (disjuncts).
Let the formula be written in p.c.n.f. We construct a formula as follows:
-
we write out the conjunction of the disjuncts not occurring in ;
-
we change to , to , to , to . Prove that the formula is a p.d.n.f. of the formula .
From the p.c.n.f. of a formula , construct:
the p.d.n.f. , where is dual to (see Problem II.1.28);
the p.c.n.f. of the formula ;
the p.d.n.f. of the formula .
From the p.d.n.f. of a formula and the p.d.n.f. of a formula , construct:
the p.c.n.f. and p.d.n.f. of the formula ;
the p.c.n.f. and p.d.n.f. of the formula ;
the p.c.n.f. and p.d.n.f. of the formula .
Prove that a formula in the variables is equivalent to some formula containing only , , and not containing , if and only if its p.c.n.f. lacks the disjunct .
Let the formula contain no connectives other than . Prove that is identically true if and only if every variable occurs in an even number of times.
Let the formula contain no connectives other than and . Prove that is identically true if and only if every variable and the negation sign occur in an even number of times.