Chapter II.5

Satisfiability of Formulas of the Predicate Calculus

[45/82%]
Show
LaTeX
Problem II.5.1

Prove that a formula AA of signature σ\sigma is satisfiable in the algebraic system M=⟨M;σ⟩\mathfrak {M} = \langle M; \sigma \rangle if and only if AA is satisfiable in every enrichment M′=⟨M;σ′⟩\mathfrak {M}' = \langle M; \sigma ' \rangle.

?
Problem II.5.2

Prove that for every sentence AA of signature σ\sigma relative to the algebraic system M=⟨M;σ⟩\mathfrak {M} = \langle M; \sigma \rangle, we have M⊨A\mathfrak {M} \vDash A or M⊨¬A\mathfrak {M} \vDash \neg A.

?
Problem II.5.3

Prove that:

?
(a)

AA is satisfiable if and only if ¬A\neg A is not identically true;

(b)

AA is identically true if and only if ¬A\neg A is not satisfiable.

Problem II.5.4

Prove that a quantifier-free formula is identically true if and only if it can be obtained by substitution from some identically true formula of the propositional calculus.

?
Problem II.5.5
?
(a)

Prove that if a closed ∀\forall-formula is true in an algebraic system, then it is true in every subsystem of it.

(b)

Prove that if a closed ∀\forall-formula is true in an algebraic system, then it is true in every extension of it.

(c)

Give an example of a formula AA and an algebraic system M\mathfrak {M} such that M⊨A\mathfrak {M} \vDash A and AA is false in some extension and some subsystem of the system M\mathfrak {M}.

Problem II.5.6

Let M=⟨M;σ⟩\mathfrak {M} = \langle M; \sigma \rangle be a subsystem of the system M1=⟨M1;σ⟩\mathfrak {M}_{1} = \langle M_{1}; \sigma \rangle. Prove that for every sentence AA of signature σ\sigma relative to the algebraic system M=⟨M;σ⟩\mathfrak {M} = \langle M; \sigma \rangle, M⊨A\mathfrak {M} \vDash A if and only if M2⊨ρP(A)\mathfrak {M}_{2} \vDash \rho_{P}(A), where M2=⟨M1;σ,P⟩\mathfrak {M}_{2} = \langle M_{1}; \sigma , P \rangle is an enrichment of M1\mathfrak {M}_{1} and ρP(A)\rho_{P}(A) is the relativization of the formula AA, with, for every a∈M1a \in M_{1},

M2⊨P(a)⇔a∈M. \mathfrak {M}_{2} \vDash P(a) \Leftrightarrow a \in M.
?
Problem II.5.7

Are the formulas satisfiable:

?
(a)

∃x P(x)\exists x \, P(x);

(b)

∀x P(x)\forall x \, P(x);

(c)

∃x∀y(Q(x,x)&¬Q(x,y))\exists x \forall y (Q(x, x) \& \neg Q(x, y));

(d)

∃x∃y(P(x)&¬P(y))\exists x \exists y (P(x) \& \neg P(y));

(e)

∃x∀y(Q(x,y)⊃∀z R(x,y,z))\exists x \forall y (Q(x, y) \supset \forall z \, R(x, y, z));

(f)

(P(x)⊃∀y(P(y)))(P(x) \supset \forall y (P(y)))?

Problem II.5.8

Are the formulas identically true:

?
(a)

(∃x P(x)⊃∀x P(x))(\exists x \, P(x) \supset \forall x \, P(x));

(b)

¬(∃x P(x)⊃∀x P(x))\neg (\exists x \, P(x) \supset \forall x \, P(x));

(c)

(∃x∀y Q(x,y)⊃∀y∃x Q(x,y))(\exists x \forall y \, Q(x, y) \supset \forall y \exists x \, Q(x, y));

(d)

(∀x∃y Q(x,y)⊃∃y∀x Q(x,y))(\forall x \exists y \, Q(x, y) \supset \exists y \forall x \, Q(x, y))?

Problem II.5.9

Let A(t)A(t) be obtained from A(x)A(x) by replacing all free occurrences of the variable xx by the term tt. Prove the identical truth of the following formulas, if the term tt is free for xx in A(x)A(x):

?
(a)

∀x A(x)⊃A(t)\forall x \, A(x) \supset A(t);

(b)

A(t)⊃∃x A(x)A(t) \supset \exists x \, A(x).

Problem II.5.10

Give examples of formulas A(x)A(x) and terms tt such that formulas (a) and (b) of the preceding problem are not identically true.

?
(a)
(b)
Problem II.5.11

Prove that the formula

(∀x∃y P(x,y) & ∀x∀y(P(x,y)⊃¬P(y,x)) & ∀x∀y∀z(P(x,y)⊃(P(y,z)⊃P(x,z)))) (\forall x \exists y \, P(x, y) \, \& \, \forall x \forall y (P(x, y) \supset \neg P(y, x)) \, \& \, \forall x \forall y \forall z (P(x, y) \supset (P(y, z) \supset P(x, z))))

is satisfiable in some infinite model and false in all finite ones.

?
Problem II.5.12

Prove that the formula

∃x∀y(F(x,y)⊃(¬F(y,x)⊃(F(x,x)≡F(y,y)))) \exists x \forall y (F(x, y) \supset (\neg F(y, x) \supset (F(x, x) \equiv F(y, y))))

is true in every model containing at most three elements.

?
Problem II.5.13

Prove that the following formulas are true in every finite model, but not identically true:

?
(a)

∃x∀y∃z((F(y,z)⊃F(x,z))⊃(F(x,x)⊃F(y,x)))\exists x \forall y \exists z ((F(y, z) \supset F(x, z)) \supset (F(x, x) \supset F(y, x)));

(b)

(∀x1∀x2∀x3(F(x1,x1)&(F(x1,x3)⊃(F(x1,x2)∨F(x2,x3))))⊃∃y∀z F(y,z))(\forall x_{1} \forall x_{2} \forall x_{3} (F(x_{1}, x_{1}) \& (F(x_{1}, x_{3}) \supset (F(x_{1}, x_{2}) \vee F(x_{2}, x_{3})))) \supset \exists y \forall z \, F(y, z)).

Problem II.5.14

Write a formula with 1-ary predicates, satisfiable only in models containing at least five elements.

?
Problem II.5.15

Prove the identical truth of the following formulas:

?
(a)

(¬∃x A(x)⊃¬∀x A(x))(\neg \exists x \, A(x) \supset \neg \forall x \, A(x));

(b)

(∃x(A(x)&(B⊃C(x)))⊃(∀x(A(x)⊃¬C(x))⊃¬B))(\exists x (A(x) \& (B \supset C(x))) \supset (\forall x (A(x) \supset \neg C(x)) \supset \neg B)), where xx is not free in BB;

(c)

(∀x(A(x)⊃¬B(x))⊃¬(∃x A(x)&∀x B(x)))(\forall x (A(x) \supset \neg B(x)) \supset \neg (\exists x \, A(x) \& \forall x \, B(x)));

(d)

(∀x(A(x)⊃¬B(x))⊃¬(∀x A(x)&∃x B(x)))(\forall x (A(x) \supset \neg B(x)) \supset \neg (\forall x \, A(x) \& \exists x \, B(x))).

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

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

?
Problem II.5.18

Prove that for every formula there exists an equivalent prenex normal form.

?
Problem II.5.19

Reduce to prenex normal form, taking AA and BB to be quantifier-free formulas:

?
(a)

¬∃x∀y∃z∀u A\neg \exists x \forall y \exists z \forall u \, A;

(b)

(∃x∀y A(x,y)&∃x∀y B(x,y))(\exists x \forall y \, A(x, y) \& \exists x \forall y \, B(x, y));

(c)

(∃x∀y A(x,y)∨∃x∀y B(x,y))(\exists x \forall y \, A(x, y) \vee \exists x \forall y \, B(x, y));

(d)

(∃x∀y A(x,y)⊃∃x∀y B(x,y))(\exists x \forall y \, A(x, y) \supset \exists x \forall y \, B(x, y)).

Problem II.5.20

Let σ=⟨{Pini}i∈I,{fjnj}j∈J,{ak}k∈K⟩\sigma = \langle \left\{ P_{i}^{n_{i}}\right\}_{i \in I}, \left\{ f_{j}^{n_{j}}\right\}_{j \in J}, \left\{ a_{k}\right\}_{k \in K} \rangle, and let TT be the set of all terms of signature σ\sigma. Define predicates and functions on TT so that TT becomes an algebraic system of signature σ\sigma.

?
Problem II.5.21
?
(a)

Let a formula of signature σ\sigma have the form

∀x1…∀xn∃y1…∃ym B(x1,…,xn,y1,…,ym) \forall x_{1} \ldots \forall x_{n} \exists y_{1} \ldots \exists y_{m} \, B(x_{1}, \ldots , x_{n}, y_{1}, \ldots , y_{m})

for some formula BB (possibly containing quantifiers); let φ1,…,φm\varphi_{1}, \ldots , \varphi_{m} be nn-ary function symbols not occurring in σ\sigma. Prove that for every system M=⟨M;σ⟩\mathfrak {M} = \langle M; \sigma \rangle there exists an enrichment M1\mathfrak {M}_{1} of signature σ′=σ∪{φ1,…,φm}\sigma ' = \sigma \cup \left\{ \varphi_{1}, \ldots , \varphi_{m}\right\} such that

M1⊨∀x1…∀xn(∃y1…∃ym B(x1,…,xn,y1,…,ym)≡B(x1,…,xn,φ1(x1,…,xn),…,φm(x1,…,xn))). \mathfrak {M}_{1} \vDash \forall x_{1} \ldots \forall x_{n} (\exists y_{1} \ldots \exists y_{m} \, B(x_{1}, \ldots , x_{n}, y_{1}, \ldots , y_{m}) \equiv B(x_{1}, \ldots , x_{n}, \varphi _{1}(x_{1}, \ldots , x_{n}), \ldots , \varphi _{m}(x_{1}, \ldots , x_{n}))).
(b)

Prove that for every sentence AA of signature σ\sigma there exists a ∀\forall-formula A1A_{1} of a signature σ′\sigma ', obtained by adjoining new function symbols to σ\sigma, with the following property: for every system M=⟨M;σ⟩\mathfrak {M} = \langle M; \sigma \rangle there exists an enrichment M1\mathfrak {M}_{1} of signature σ′\sigma ' such that

M1⊨(A≡A′). \mathfrak {M}_{1} \vDash (A \equiv A').

(The functions adjoined in M1\mathfrak {M}_{1} are called Skolem functions.)

Problem II.5.22

For the formula ∀x∃z∀y∃u((y>z⊃y>x)&(u<z)&¬(u<x))\forall x \exists z \forall y \exists u ((y > z \supset y > x) \& (u < z) \& \neg (u < x)), construct the ∀\forall-formula whose existence is asserted in Problem II.5.21(b). For the system M=⟨N;<⟩\mathfrak {M} = \langle \mathbb {N}; {<} \rangle, find the required enrichment.

?
Problem II.5.23

For the formula ∀x∀y∃z∃t(P(x,t)&¬P(y,z))\forall x \forall y \exists z \exists t (P(x, t) \& \neg P(y, z)), construct the ∀\forall-formula whose existence is asserted in Problem II.5.21(b). For any system M=⟨M;P⟩\mathfrak {M} = \langle M; P \rangle, where M={0,1}M = \left\{ 0, 1\right\}, find a suitable enrichment.

?
Problem II.5.24

For the formula

∀x∀y∃z∃v∀t(¬S(x,y,y)⊃(S(z,v,x)&P(v,t,t))) \forall x \forall y \exists z \exists v \forall t (\neg S(x, y, y) \supset (S(z, v, x) \& P(v, t, t)))

and the system M=⟨N;S3,P3⟩\mathfrak {M} = \langle \mathbb {N}; S^{3}, P^{3} \rangle from Problem II.4.9, construct the Skolem functions (see Problem II.5.21(b)).

?
Problem II.5.25

Prove that if a formula of signature σ\sigma is satisfiable, then it is satisfiable on some algebra of terms of a signature σ′⊇σ\sigma ' \supseteq \sigma.

?
Problem II.5.26
?
(a)

Let A(u,x,y)A(u, x, y) contain no free variables other than u,xu, x, and yy. Prove that the formula ∃u∀x∃y A(u,x,y)\exists u \forall x \exists y \, A(u, x, y) is identically true if and only if the formula

∃u(∀x(∃y A(u,x,y)⊃P(u,x))⊃∀x P(u,x)), \exists u (\forall x (\exists y \, A(u, x, y) \supset P(u, x)) \supset \forall x \, P(u, x)),

where PP is a 2-ary predicate symbol not occurring in A(u,x,y)A(u, x, y), is identically true.

(b)

Prove that for every sentence AA one can construct a Skolem normal form A∗A^{*} such that AA is identically true if and only if A∗A^{*} is identically true.

Problem II.5.27

Let A∗A^{*} be a Skolem normal form of the sentence AA. Show that A∼A∗A \sim A^{*} does not hold in general. Is it always true that A⊨A∗A \vDash A^{*}? A similar question for A∗⊨AA^{*} \vDash A.

?
Problem II.5.28

Reduce to Skolem normal form:

?
(a)

(∃x∀y Q(x,y)⊃∀x∃y Q(x,y))(\exists x \forall y \, Q(x, y) \supset \forall x \exists y \, Q(x, y));

(b)

∃x∀y∃z∀v R(x,y,z,v)\exists x \forall y \exists z \forall v \, R(x, y, z, v);

(c)

∀x∃y∀v∃z R(x,y,z,v)\forall x \exists y \forall v \exists z \, R(x, y, z, v).

Problem II.5.29

Let M=⟨M;σ⟩\mathfrak {M} = \langle M; \sigma \rangle be an arbitrary model and M⊆M1M \subseteq M_{1}. Prove that there exists an extension M1=⟨M1;σ⟩\mathfrak {M}_{1} = \langle M_{1}; \sigma \rangle of the model M\mathfrak {M} such that for every formula A(x1,…,xn)A(x_{1}, \ldots , x_{n}) and any elements a1,…,an∈Ma_{1}, \ldots , a_{n} \in M,

M⊨A(a1,…,an)⇔M1⊨A(a1,…,an). \mathfrak {M} \vDash A(a_{1}, \ldots , a_{n}) \Leftrightarrow \mathfrak {M}_{1} \vDash A(a_{1}, \ldots , a_{n}).
?
Problem II.5.30

Let M=⟨M;σ⟩\mathfrak {M} = \langle M; \sigma \rangle and M={m1,…,mn}M = \left\{ m_{1}, \ldots , m_{n}\right\}. Let C(x)C(x) be a formula with free variable xx of signature σM=σ∪M\sigma_{M} = \sigma \cup M. Prove that

M⊨∃x C(x)⇔M⊨(C(m1)∨…∨C(mn)); \mathfrak {M} \vDash \exists x \, C(x) \Leftrightarrow \mathfrak {M} \vDash (C(m_{1}) \vee \ldots \vee C(m_{n})); M⊨∀x C(x)⇔M⊨(C(m1)&…&C(mn)). \mathfrak {M} \vDash \forall x \, C(x) \Leftrightarrow \mathfrak {M} \vDash (C(m_{1}) \& \ldots \& C(m_{n})).
?
Problem II.5.31

Prove that if the algebraic system M\mathfrak {M} is finite, then for every sentence AA one can construct a quantifier-free sentence A∗A^{*} relative to M\mathfrak {M} such that M⊨(A≡A∗)\mathfrak {M} \vDash (A \equiv A^{*}).

?
Problem II.5.32

Prove that if an algebraic system is finite, then for every formula one can check in finitely many steps whether it is satisfiable on this system or not.

?
Problem II.5.33

Prove that a formula of the form ∀x1…∀xm A(x1,…,xm)\forall x_{1} \ldots \forall x_{m} \, A(x_{1}, \ldots , x_{m}), where A(x1,…,xm)A(x_{1}, \ldots , x_{m}) is a quantifier-free formula without function symbols or constants, is identically true if and only if it is true in every model of mm elements.

?
Problem II.5.34

Prove that a formula of the form ∃x1…∃xm A(x1,…,xm)\exists x_{1} \ldots \exists x_{m} \, A(x_{1}, \ldots , x_{m}), where A(x1,…,xm)A(x_{1}, \ldots , x_{m}) is a quantifier-free formula without function symbols or constants, is identically true if and only if it is true in every one-element model.

?
Problem II.5.35

Prove that a formula of the form

∀x1…∀xm∃y1…∃yn A(x1,…,xm,y1,…,yn), \forall x_{1} \ldots \forall x_{m} \exists y_{1} \ldots \exists y_{n} \, A(x_{1}, \ldots , x_{m}, y_{1}, \ldots , y_{n}),

where A(x1,…,xm,y1,…,yn)A(x_{1}, \ldots , x_{m}, y_{1}, \ldots , y_{n}) is a quantifier-free formula without function symbols or constants, is identically true if and only if it is true in every model of mm elements.

?
Problem II.5.36

Let AA be a formula of signature σ=⟨P1,…,Pn⟩\sigma = \langle P_{1}, \ldots , P_{n} \rangle, where P1,…,PnP_{1}, \ldots , P_{n} are 1-ary predicate symbols. Prove that AA is satisfiable if and only if AA is satisfiable in a model containing at most 2n2^{n} elements.

?
Problem II.5.37

Are the formulas satisfiable:

?
(a)

∀x∃y(P(x)≡¬P(y))\forall x \exists y (P(x) \equiv \neg P(y));

(b)

∃x∀y∃z(P1(x)≡(P2(y)∨P3(z)))\exists x \forall y \exists z (P^{1}(x) \equiv (P^{2}(y) \vee P^{3}(z)));

(c)

∃y∀x(P(x)≡¬P(y))\exists y \forall x (P(x) \equiv \neg P(y))?

Problem II.5.38

Let σ=⟨P1,…,Pn⟩\sigma = \langle P^{1}, \ldots , P^{n} \rangle, where P1,…,PnP^{1}, \ldots , P^{n} are 1-ary predicate symbols. Prove that for every sentence AA of signature σ\sigma there exists a formula BB, equivalent to AA, built by means of , ∨\vee and ¬\neg from ∃\exists-constituents, i.e., formulas of the form ∃x(B1&…&Bs)\exists x (B_{1} \& \ldots \& B_{s}), where s≥1s \geq 1 and BiB_{i} (1≤i≤s1 \leq i \leq s) has the form P(x)P(x) or ¬P(x)\neg P(x) for some PP of σ\sigma.

?
Problem II.5.39

For an ∃\exists-constituent CC (see Problem II.5.38), denote by C(B1,…,Bn)C(B_{1}, \ldots , B_{n}) the formula obtained from CC by erasing the quantifier ∃x\exists x and replacing all occurrences of the subformulas P1(x),…,Pn(x)P^{1}(x), \ldots , P^{n}(x) in CC by B1,…,BnB_{1}, \ldots , B_{n} respectively. Prove that the formula

A=(C1&…&Ck&¬Ck+1&…&¬Ck+m), A = (C_{1} \& \ldots \& C_{k} \& \neg C_{k + 1} \& \ldots \& \neg C_{k + m}),

where C1,…,Ck+mC_{1}, \ldots , C_{k + m} are ∃\exists-constituents, k≥1k \geq 1, m≥0m \geq 0, is satisfiable if and only if the formula of the algebra of propositions

A1=(C1(B11,…,B1n)&¬Ck+1(B11,…,B1n)&…&¬Ck+m(B11,…,B1n)&…&Ck(Bk1,…,Bkn)& A_{1} = (C_{1}(B_{11}, \ldots , B_{1n}) \& \neg C_{k + 1}(B_{11}, \ldots , B_{1n}) \& \ldots \& \neg C_{k + m}(B_{11}, \ldots , B_{1n}) \& \ldots \& C_{k}(B_{k1}, \ldots , B_{kn}) \& {} &¬Ck+1(Bk1,…,Bkn)&…&¬Ck+m(Bk1,…,Bkn)) {} \& \neg C_{k + 1}(B_{k1}, \ldots , B_{kn}) \& \ldots \& \neg C_{k + m}(B_{k1}, \ldots , B_{kn}))

is satisfiable.

?
Problem II.5.40

Indicate a method for constructing, from any sentence AA with 1-ary predicates, a formula BB of the propositional calculus such that the satisfiability of the formula AA is equivalent to the satisfiability of BB.

?
Problem II.5.41

Using the method of Problem II.5.40, determine whether the following formulas are satisfiable:

?
(a)

¬∀x(P(x)⊃∀y(P(y)⊃((Q(x)⊃¬Q(y))∨∀z P(z))))\neg \forall x (P(x) \supset \forall y (P(y) \supset ((Q(x) \supset \neg Q(y)) \vee \forall z \, P(z))));

(b)

∀x∃y ¬(P(y)⊃((P(x)⊃Q(x))⊃((Q(x)⊃R(x))⊃R(y))))\forall x \exists y \, \neg (P(y) \supset ((P(x) \supset Q(x)) \supset ((Q(x) \supset R(x)) \supset R(y))));

(c)

∀x∃z∀y(((P(y)&Q(z))⊃(P(x)∨R(z)))⊃(Q(x)≡¬Q(y)))\forall x \exists z \forall y (((P(y) \& Q(z)) \supset (P(x) \vee R(z))) \supset (Q(x) \equiv \neg Q(y))).

Problem II.5.42

Write a sentence of signature ⟨=⟩\langle {=} \rangle:

?
(a)

true in every normal model containing at most nn elements (n≥1n \geq 1), and false in every other normal model;

(b)

true in every normal model containing at least nn elements (n≥1n \geq 1), and false in every other normal model;

(c)

true in every normal model containing exactly nn elements (n≥1n \geq 1), and false in every other normal model.

Problem II.5.43

Let

E1⇌∃x(x=x), E_{1} \rightleftharpoons \exists x (x = x), En⇌∃x1…∃xn(⋀1≤i<j≤n¬(xi=xj))for n≥2. E_{n} \rightleftharpoons \exists x_{1} \ldots \exists x_{n} \Bigl( \bigwedge _{1 \leq i < j \leq n} \neg (x_{i} = x_{j}) \Bigr) \quad \text{for } n \geq 2.
?
(a)

Prove that EnE_{n} is true in every normal model containing at least nn elements.

(b)

Prove the equivalence of the following formulas for normal models:

∃ν((⋀1≤i<j≤n¬(xi=xj))&⋀1≤i≤n¬(ν=xi)), \exists \nu \Bigl( \Bigl( \bigwedge _{1 \leq i < j \leq n} \neg (x_{i} = x_{j}) \Bigr) \& \bigwedge _{1 \leq i \leq n} \neg (\nu = x_{i}) \Bigr), ((⋀1≤i<j≤n¬(xi=xj))&En+1). \Bigl( \Bigl( \bigwedge _{1 \leq i < j \leq n} \neg (x_{i} = x_{j}) \Bigr) \& E_{n + 1} \Bigr).
(c)

Prove that every sentence of signature ⟨=⟩\langle {=} \rangle is equivalent on normal models to a formula built from E1,…,EnE_{1}, \ldots , E_{n} by means of , ∨\vee and ¬\neg.

(d)

Call the spectrum of a formula AA the collection of cardinalities of the normal models on which the formula AA is satisfiable. Show that every satisfiable formula built from E1,…,EnE_{1}, \ldots , E_{n} by means of , ∨\vee and ¬\neg has a spectrum that is a union of finitely many intervals of the form

{m∣a≤m≤b} and {m∣m≥a}(a∈N,b∈N). \left\{ m \mid a \leq m \leq b\right\} \text{ and } \left\{ m \mid m \geq a\right\} \quad (a \in \mathbb {N}, b \in \mathbb {N}).
(e)

Show that a sentence of signature ⟨=⟩\langle {=} \rangle is identically true on normal models if and only if it has spectrum {m∣m≥1}\left\{ m \mid m \geq 1\right\}.

Problem II.5.44

Find an infinite system of formulas of signature ⟨=⟩\langle {=} \rangle satisfiable only in infinite normal models.

?
Problem II.5.45

Give an example of a formula that is false in every normal model with an odd number of elements, and such that for every even number nn there exists a normal model of cardinality nn on which this formula is true.

?