Chapter II.1

The Algebra of Propositions

[47/83%]
Show
LaTeX
Problem II.1.1

Determine whether the given sequence is a formula:

?
(a)

(P0&P1)P2¬P3(P_{0} \& P_{1}) P_{2} \neg P_{3};

(b)

(P0&P1)⊃P2(P_{0} \& P_{1}) \supset P_{2};

(c)

((P3⊃P0)&¬P0)((P_{3} \supset P_{0}) \& \neg P_{0});

(d)

(((¬P0)⊃P1)⊃¬(P2∨P3))(((\neg P_{0}) \supset P_{1}) \supset \neg (P_{2} \vee P_{3})).

Problem II.1.2

In how many ways can parentheses be inserted into the following sequence so as to obtain a formula:

?
(a)

P0⊃¬P1∨P2&P0P_{0} \supset \neg P_{1} \vee P_{2} \& P_{0};

(b)

P1⊃P2⊃P3⊃¬P1⊃¬P2P_{1} \supset P_{2} \supset P_{3} \supset \neg P_{1} \supset \neg P_{2}?

Problem II.1.3

Write out all subformulas of the formula:

?
(a)

(((P0⊃P1)&(P2⊃P3))⊃(¬P1∨P3))(((P_{0} \supset P_{1}) \& (P_{2} \supset P_{3})) \supset (\neg P_{1} \vee P_{3}));

(b)

((P0⊃P1)⊃((P0⊃¬P1)⊃¬P1))((P_{0} \supset P_{1}) \supset ((P_{0} \supset \neg P_{1}) \supset \neg P_{1})).

Problem II.1.4

Prove that every formula CC that is not a propositional variable can be represented in one of the following forms: ¬A\neg A, (A&B)(A \& B), (A∨B)(A \vee B), (A⊃B)(A \supset B) for some formulas AA and BB.

?
Problem II.1.5

Prove that the result of replacing a given occurrence of the formula CC in the formula AA, in place of a subformula BB, is again a formula.

?
Problem II.1.6

Prove that the result of the substitution A(P\B)A(P \backslash B) of the formula BB for the propositional variable PP in the formula AA is again a formula.

?
Problem II.1.7

Construct the truth tables for the following formulas:

?
(a)

((P⊃Q)∨(P⊃(Q&P)))((P \supset Q) \vee (P \supset (Q \& P)));

(b)

(¬(P⊃¬(Q&P))⊃(P∨R))(\neg (P \supset \neg (Q \& P)) \supset (P \vee R));

(c)

((P&(Q⊃P))⊃¬P)((P \& (Q \supset P)) \supset \neg P);

(d)

(((P&¬Q)⊃Q)⊃(P⊃Q))(((P \& \neg Q) \supset Q) \supset (P \supset Q));

(e)

((P⊃(Q⊃R))⊃((P⊃Q)⊃(P⊃R)))((P \supset (Q \supset R)) \supset ((P \supset Q) \supset (P \supset R)));

(f)

((P&(Q∨¬P))&((¬Q⊃P)∨Q))((P \& (Q \vee \neg P)) \& ((\neg Q \supset P) \vee Q)).

Problem II.1.8

Prove the satisfiability of the formulas:

?
(a)

¬(P⊃¬P)\neg (P \supset \neg P);

(b)

((P⊃Q)⊃(Q⊃P))((P \supset Q) \supset (Q \supset P));

(c)

((Q⊃(P&R))&¬((P∨R)⊃Q))((Q \supset (P \& R)) \& \neg ((P \vee R) \supset Q)).

Problem II.1.9
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
(n)
(o)
(p)
(q)
(r)
(s)
(t)
(u)
Problem II.1.10

For which values of the variables X,Y,Z,U,V,WX, Y, Z, U, V, W are the following formulas false:

?
(a)

(((X⊃(Y&Z))⊃(¬Y⊃¬X))⊃¬Y)(((X \supset (Y \& Z)) \supset (\neg Y \supset \neg X)) \supset \neg Y);

(b)

((X&Y)∨(X&Z)∨(Y&Z)∨(U&V)∨(U&W)∨(V&W)∨(¬X&¬U))((X \& Y) \vee (X \& Z) \vee (Y \& Z) \vee (U \& V) \vee (U \& W) \vee (V \& W) \vee (\neg X \& \neg U));

(c)

(((X∨Y)∨Z)⊃((X∨Y)&(X∨Z)))(((X \vee Y) \vee Z) \supset ((X \vee Y) \& (X \vee Z)));

(d)

(((X∨Y)&((Y∨Z)&(Z∨X)))⊃((X&Y)&Z))(((X \vee Y) \& ((Y \vee Z) \& (Z \vee X))) \supset ((X \& Y) \& Z));

(e)

((X∨Y)⊃((¬X&Y)∨(X&¬Y)))((X \vee Y) \supset ((\neg X \& Y) \vee (X \& \neg Y)))?

Problem II.1.11

Prove that if the formula AA is identically true, then the formula A(P\B)A(P \backslash B) is identically true. (Here PP is a propositional variable, and BB is a formula.)

?
Problem II.1.12

Prove that if the formulas AA and (A⊃B)(A \supset B) are identically true, then the formula BB is identically true.

?
Problem II.1.13

Prove that:

?
(a)

if the formulas (A∨B)(A \vee B) and (¬A∨C)(\neg A \vee C) are identically true, then the formula (B∨C)(B \vee C) is identically true;

(b)

if the formulas (A∨B)(A \vee B), (A⊃C)(A \supset C), (B⊃D)(B \supset D) are identically true, then the formula (C∨D)(C \vee D) is identically true;

(c)

if the formulas (¬A∨B)(\neg A \vee B), (¬C∨¬B)(\neg C \vee \neg B) are identically true, then the formula (A⊃¬B)(A \supset \neg B) is identically true.

Problem II.1.14

Prove that A∼BA \sim B if and only if A≡BA \equiv B is identically true.

?
Problem II.1.15

Prove that:

?
(a)

A∼AA \sim A;

(b)

A∼B⇒B∼AA \sim B \Rightarrow B \sim A;

(c)

(A∼BA \sim B and B∼CB \sim C) ⇒A∼C\Rightarrow A \sim C.

Problem II.1.16

Prove that A1∼A2A_{1} \sim A_{2} and B1∼B2B_{1} \sim B_{2} imply:

?
(a)

¬A1∼¬A2\neg A_{1} \sim \neg A_{2};

(b)

(A1&B1)∼(A2&B2)(A_{1} \& B_{1}) \sim (A_{2} \& B_{2});

(c)

(A1∨B1)∼(A2∨B2)(A_{1} \vee B_{1}) \sim (A_{2} \vee B_{2});

(d)

(A1⊃B1)∼(A2⊃B2)(A_{1} \supset B_{1}) \sim (A_{2} \supset B_{2}).

Problem II.1.17

Prove that if A∼BA \sim B, then A(P\C)∼B(P\C)A(P \backslash C) \sim B(P \backslash C) for any formulas A,B,CA, B, C and variable PP.

?
Problem II.1.18

Prove that if B∼B1B \sim B_{1} and A1A_{1} is the result of replacing some occurrence of the subformula BB in the formula AA by the formula B1B_{1}, then A∼A1A \sim A_{1}.

?
Problem II.1.19
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
Problem II.1.20
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
(n)
(o)
(p)
Problem II.1.21

Prove that:

?
(a)

(A≡A)∼(B≡B)(A \equiv A) \sim (B \equiv B);

(b)

(A≡(B≡C))∼((A≡B)≡C)(A \equiv (B \equiv C)) \sim ((A \equiv B) \equiv C);

(c)

(A≡B)∼(B≡A)(A \equiv B) \sim (B \equiv A).

Problem II.1.22

Prove that for every formula there exists an equivalent formula with tight negations, i.e., a formula in which the symbol ⊃\supset does not occur and negations apply only to propositional variables.

?
Problem II.1.23

Prove that for every formula there exists an equivalent:

?
(a)

conjunctive normal form;

(b)

disjunctive normal form.

Problem II.1.24

Reduce to disjunctive and conjunctive normal form:

?
(a)

(((P⊃Q)⊃(R⊃¬P))⊃(¬Q⊃¬R))(((P \supset Q) \supset (R \supset \neg P)) \supset (\neg Q \supset \neg R));

(b)

(((((P⊃Q)⊃¬P)⊃¬Q)⊃¬R)⊃R)(((((P \supset Q) \supset \neg P) \supset \neg Q) \supset \neg R) \supset R);

(c)

((P⊃(Q⊃R))⊃((P⊃¬R)⊃(P⊃¬Q)))((P \supset (Q \supset R)) \supset ((P \supset \neg R) \supset (P \supset \neg Q))).

Problem II.1.25

Prove that if AA is an identically true CNF, then for every disjunct of the formula AA there is a variable PP such that PP and ¬P\neg P both occur in this disjunct.

?
Problem II.1.26

Prove that if AA is an identically false DNF, then for every conjunct of the formula AA there is a variable PP such that PP and ¬P\neg P both occur in this conjunct.

?
Problem II.1.27

Let AA be a formula with tight negations (see Problem II.1.22), and let A1A_{1} be obtained from AA by replacing by ∨\vee, ∨\vee by , and the variables AiA_{i} by ¬Ai\neg A_{i}. Prove that A1∼¬AA_{1} \sim \neg A.

?
Problem II.1.28

Let AA and BB be formulas with tight negations (see Problem II.1.22), and let A∗A^{*}, B∗B^{*} be the formulas dual to AA and BB respectively (A∗A^{*} is obtained from AA by replacing by ∨\vee, ∨\vee by ). Prove that A∼BA \sim B implies A∗∼B∗A^{*} \sim B^{*} (the duality law).

?
Problem II.1.29

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.)

?
Problem II.1.30

Prove that every formula AA 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).

?
Problem II.1.31
?
(a)

Prove that for every satisfiable formula there exists an equivalent p.d.n.f.

(b)

Prove that for an identically false formula there is no equivalent p.d.n.f.

Problem II.1.32

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.)

?
Problem II.1.33

Prove that every formula AA 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).

?
Problem II.1.34
?
(a)

Prove that for every falsifiable formula there exists an equivalent p.c.n.f.

(b)

Prove that for an identically true formula there is no equivalent p.c.n.f.

Problem II.1.35

Reduce to perfect disjunctive normal form, i.e., find a p.d.n.f. equivalent to the given formula:

?
(a)

((¬P⊃¬Q)⊃((Q&R)⊃(P&R)))((\neg P \supset \neg Q) \supset ((Q \& R) \supset (P \& R)));

(b)

(((P⊃Q)⊃¬P)⊃(P⊃(Q&P)))(((P \supset Q) \supset \neg P) \supset (P \supset (Q \& P)));

(c)

(¬((P&Q)⊃¬P)&¬((P&Q)⊃¬Q))(\neg ((P \& Q) \supset \neg P) \& \neg ((P \& Q) \supset \neg Q)).

Problem II.1.36

Reduce to perfect conjunctive normal form, i.e., find a p.c.n.f. equivalent to the given formula:

?
(a)

((R⊃P)⊃(¬(Q∨R)⊃P))((R \supset P) \supset (\neg (Q \vee R) \supset P));

(b)

(¬((P&Q)⊃P)∨(P&(Q∨R)))(\neg ((P \& Q) \supset P) \vee (P \& (Q \vee R)));

(c)

(¬(P&(Q∨R))⊃((P&Q)∨R))(\neg (P \& (Q \vee R)) \supset ((P \& Q) \vee R)).

Problem II.1.37

Construct a formula AA such that the given formula is identically true:

?
(a)

(((A&Q)⊃¬P)⊃((P⊃¬Q)⊃A))(((A \& Q) \supset \neg P) \supset ((P \supset \neg Q) \supset A));

(b)

(((R⊃(¬Q&P))⊃A)⊃(A&(P⊃Q)&R))(((R \supset (\neg Q \& P)) \supset A) \supset (A \& (P \supset Q) \& R)).

Problem II.1.38

Construct a formula in three variables that is true if and only if exactly two of the variables are false.

?
Problem II.1.39

Construct a formula in three variables that takes the same value as the majority (minority) of the variables.

?
Problem II.1.40

Construct a formula AA in the variables P,Q,RP, Q, R such that:

?
(a)

(P&A)∼(P&Q)(P \& A) \sim (P \& Q) and (P∨A)∼(P∨R)(P \vee A) \sim (P \vee R);

(b)

(R⊃A)∼(R⊃(P&Q))(R \supset A) \sim (R \supset (P \& Q)) and (A⊃R)∼(¬(P∨Q)⊃R)(A \supset R) \sim (\neg (P \vee Q) \supset R);

(c)

(P⊃A)∼(Q⊃(¬P∨R))(P \supset A) \sim (Q \supset (\neg P \vee R)) and ((R⊃Q)⊃P)∼(¬P⊃¬A)((R \supset Q) \supset P) \sim (\neg P \supset \neg A).

Problem II.1.41

Prove that a formula in nn variables is identically true (identically false) if and only if its p.d.n.f. (p.c.n.f.) contains 2n2^{n} pairwise non-equivalent conjuncts (disjuncts).

?
Problem II.1.42

Let the formula AA be written in p.c.n.f. We construct a formula BB as follows:

  1. we write out the conjunction of the disjuncts not occurring in AA;

  2. we change to ∨\vee, ∨\vee to , PiP_{i} to ¬Pi\neg P_{i}, ¬Pi\neg P_{i} to PiP_{i}. Prove that the formula BB is a p.d.n.f. of the formula AA.

?
Problem II.1.43

From the p.c.n.f. of a formula AA, construct:

?
(a)

the p.d.n.f. A∗A^{*}, where A∗A^{*} is dual to AA (see Problem II.1.28);

(b)

the p.c.n.f. of the formula ¬A\neg A;

(c)

the p.d.n.f. of the formula ¬A\neg A.

Problem II.1.44

From the p.d.n.f. of a formula AA and the p.d.n.f. of a formula BB, construct:

?
(a)

the p.c.n.f. and p.d.n.f. of the formula (A∨B)(A \vee B);

(b)

the p.c.n.f. and p.d.n.f. of the formula (A&B)(A \& B);

(c)

the p.c.n.f. and p.d.n.f. of the formula (A⊃B)(A \supset B).

Problem II.1.45

Prove that a formula AA in the variables P1,…,PkP_{1}, \ldots , P_{k} is equivalent to some formula containing only , ∨\vee, ⊃\supset and not containing ¬\neg, if and only if its p.c.n.f. lacks the disjunct (¬P1∨…∨¬Pk)(\neg P_{1} \vee \ldots \vee \neg P_{k}).

?
Problem II.1.46

Let the formula AA contain no connectives other than ≡\equiv. Prove that AA is identically true if and only if every variable occurs in AA an even number of times.

?
Problem II.1.47

Let the formula AA contain no connectives other than ≡\equiv and ¬\neg. Prove that AA is identically true if and only if every variable and the negation sign occur in AA an even number of times.

?