Chapter II.2

Functions of the Algebra of Logic

[33/91%]
Show
LaTeX
Problem II.2.1

Show that to each formula AA of the algebra of propositions one can assign a function φ(A)\varphi (A) of the algebra of logic such that

A1∼A2⇔φ(A1)=φ(A2). A_{1} \sim A_{2} \Leftrightarrow \varphi (A_{1}) = \varphi (A_{2}).
?
Problem II.2.2

How many functions of the algebra of logic in nn variables are there?

?
Problem II.2.3

Find all essential variables of the following functions:

?
(a)

(y&x)∨(¬y&z)(y \& x) \vee (\neg y \& z);

(b)

(x&y)∨¬x(x \& y) \vee \neg x;

(c)

(x⊃(y⊃z))⊃((x⊃y)⊃(x⊃z))(x \supset (y \supset z)) \supset ((x \supset y) \supset (x \supset z)).

Problem II.2.4

Express by means of superpositions:

?
(a)

and ⊃\supset in terms of ∨\vee and ¬\neg;

(b)

∨\vee and ⊃\supset in terms of and ¬\neg;

(c)

and ∨\vee in terms of ⊃\supset and ¬\neg;

(d)

, ∨\vee, ⊃\supset, ¬\neg in terms of ∣\mid;

(e)

¬\neg in terms of ⊃\supset and 0;

(f)

¬\neg in terms of ++ and 1;

(g)

∨\vee in terms of ⊃\supset.

Problem II.2.5

Prove that C1,C0,L,DC_{1}, C_{0}, L, D and MM are distinct closed classes, different from CC.

?
Problem II.2.6

Prove that it is impossible to express by means of superpositions:

?
(a)

¬\neg in terms of , ∨\vee, ⊃\supset and ≡\equiv;

(b)

⊃\supset in terms of , ∨\vee;

(c)

in terms of ∨\vee, ⊃\supset.

Problem II.2.7
?
(a)

Prove that for every function f(x,x1,…,xn)f(x, x_{1}, \ldots , x_{n}) the equality holds:

f(x,x1,…,xn)=(x⋅f(1,x1,…,xn))∨(¬x⋅f(0,x1,…,xn)). f(x, x_{1}, \ldots , x_{n}) = (x \cdot f(1, x_{1}, \ldots , x_{n})) \vee (\neg x \cdot f(0, x_{1}, \ldots , x_{n})).
(b)

Let n≥i≥1n \geq i \geq 1. Prove that every function f(x1,…,xn)f(x_{1}, \ldots , x_{n}) of the algebra of logic can be represented in the form

f(x1,…,xi,xi+1,…,xn)=⋁ε1,…,εi(x1ε1⋅…⋅xiεi)⋅f(ε1,…,εi,xi+1,…,xn), f(x_{1}, \ldots , x_{i}, x_{i + 1}, \ldots , x_{n}) = \bigvee _{\varepsilon _{1}, \ldots , \varepsilon _{i}} (x_{1}^{\varepsilon _{1}} \cdot \ldots \cdot x_{i}^{\varepsilon _{i}}) \cdot f(\varepsilon _{1}, \ldots , \varepsilon _{i}, x_{i + 1}, \ldots , x_{n}),

where εj∈{0,1}\varepsilon_{j} \in \left\{ 0, 1\right\}, xj0=¬xjx_{j}^{0} = \neg x_{j}, xj1=xjx_{j}^{1} = x_{j}.

Problem II.2.8

Prove the completeness of the systems of functions:

?
(a)

{&,∨,¬}\left\{ \& , \vee , \neg \right\};

(b)

{∨,¬}\left\{ \vee , \neg \right\};

(c)

{&,¬}\left\{ \& , \neg \right\};

(d)

{⊃,¬}\left\{ \supset , \neg \right\}.

Problem II.2.9

Prove the incompleteness of the systems of functions:

?
(a)

{&,∨,⊃}\left\{ \& , \vee , \supset \right\};

(b)

{¬}\left\{ \neg \right\}.

Problem II.2.10

Prove the completeness of the systems of functions:

?
(a)

{∣}\left\{ \mid \right\};

(b)

{↓}\left\{ \downarrow \right\} (here ↓=¬(x∨y)\downarrow = \neg (x \vee y));

(c)

{⊃,0}\left\{ \supset , 0\right\};

(d)

{+,∨,1}\left\{ +, \vee , 1\right\}.

Problem II.2.11

Prove that:

?
(a)

{+,⋅,1}\left\{ +, \cdot , 1\right\} is a complete system of functions;

(b)

every function f(x1,…,xn)f(x_{1}, \ldots , x_{n}) is uniquely representable by a Zhegalkin polynomial, i.e., in the form:

ε0+∑k≥1∑1≤i1<…<ik≤nεi1…ikxi1⋅…⋅xik, \varepsilon _{0} + \sum _{k \geq 1} \sum _{1 \leq i_{1} < \ldots < i_{k} \leq n} \varepsilon _{i_{1} \ldots i_{k}} x_{i_{1}} \cdot \ldots \cdot x_{i_{k}},

where ε0,εi1…ik∈{0,1}\varepsilon_{0}, \varepsilon_{i_{1} \ldots i_{k}} \in \left\{ 0, 1\right\}.

Problem II.2.12

Show that the following systems of functions are independent:

?
(a)

{¬,≡}\left\{ \neg , \equiv \right\};

(b)

{¬,+}\left\{ \neg , +\right\};

(c)

{≡,+}\left\{ \equiv , +\right\};

(d)

{≡,∨}\left\{ \equiv , \vee \right\}.

Problem II.2.13

Show the completeness and independence of the following systems of functions:

?
(a)

{⊃,/}\left\{ \supset , /\right\}, where x/y=¬(y⊃x)x / y = \neg (y \supset x);

(b)

{0,1,[⋅,⋅,⋅]}\left\{ 0, 1, [\cdot , \cdot , \cdot ]\right\}, where [x,y,z]=(y&x)∨(¬y&z)[x, y, z] = (y \& x) \vee (\neg y \& z);

(c)

{≡,∨,0}\left\{ \equiv , \vee , 0\right\}.

Problem II.2.14

Show that ≡,+\equiv , + do not form a complete system of functions. Determine all possible ways of making this system a complete system of independent functions by adding one function of at most 2 arguments.

?
Problem II.2.15

Which system consisting of a single 2-ary function is complete? Find all such systems.

?
Problem II.2.16

Give an example of a complete system of functions:

?
(a)

consisting of a single 3-ary function;

(b)

consisting of a single nn-ary function (n≥2n \geq 2).

Problem II.2.17

Prove that a finite complete subsystem can be extracted from every complete system of functions.

?
Problem II.2.18

Prove that:

?
(a)

{&,⊃}\left\{ \& , \supset \right\} is a basis for C1C_{1};

(b)

{&,+}\left\{ \& , +\right\} is a basis for C0C_{0};

(c)

{∨,&,0,1}\left\{ \vee , \& , 0, 1\right\} is a basis for MM;

(d)

{0,≡}\left\{ 0, \equiv \right\} is a basis for LL;

(e)

{¬,xy+xz+yz}\left\{ \neg , xy + xz + yz\right\} is a basis for DD.

Problem II.2.19

Prove that the classes C1,C0C_{1}, C_{0} are precomplete classes.

?
Problem II.2.20

Prove that:

?
(a)

from any nonmonotone function together with the functions 0 and 1, one can obtain the function ¬\neg by superpositions;

(b)

the class MM is a precomplete class.

Problem II.2.21

Prove that:

?
(a)

from any non-self-dual function together with the function ¬\neg, one can obtain the functions 0 and 1 by superpositions;

(b)

the class DD is a precomplete class.

Problem II.2.22

Prove that:

?
(a)

from any nonlinear function together with the functions 0, 1, ¬\neg, one can obtain the function by superpositions;

(b)

the class LL is a precomplete class.

Problem II.2.23

Prove that every closed class K≠CK \neq C is contained in some precomplete class.

?
Problem II.2.24

Prove that a system of functions is complete if and only if it is not contained in any of the precomplete classes.

?
Problem II.2.25

Prove that there are no precomplete classes other than C1,C0,L,DC_{1}, C_{0}, L, D and MM (E.Post's theorem).

?
Problem II.2.26

Prove that every basis of CC contains at most four functions.

?
Problem II.2.27

Let TT and T1T_{1} be terms representing some functions of the algebra of logic, and let ε(T,x)\varepsilon (T, x) be the formula of set theory defined at the end of the introductory part of the section. Prove that:

?
(a)

ε((T∨T1),x)⇔(ε(T,x)∨ε(T1,x))\varepsilon ((T \vee T_{1}), x) \Leftrightarrow (\varepsilon (T, x) \vee \varepsilon (T_{1}, x));

(b)

ε((T&T1),x)⇔(ε(T,x)&ε(T1,x))\varepsilon ((T \& T_{1}), x) \Leftrightarrow (\varepsilon (T, x) \& \varepsilon (T_{1}, x));

(c)

ε(¬T,x)⇔¬ε(T,x)\varepsilon (\neg T, x) \Leftrightarrow \neg \varepsilon (T, x).

Problem II.2.28

Prove that in set theory:

?
(a)

Z(¬T)=−Z(T)Z(\neg T) = -Z(T), where −Z=U\Z-Z = U \backslash Z;

(b)

Z(T∨T1)=Z(T)∪Z(T1)Z(T \vee T_{1}) = Z(T) \cup Z(T_{1});

(c)

Z(T&T1)=Z(T)∩Z(T1)Z(T \& T_{1}) = Z(T) \cap Z(T_{1}).

Problem II.2.29

Prove that in set theory

ε(T,x)⇔x∈Z(T). \varepsilon (T, x) \Leftrightarrow x \in Z(T).
?
Problem II.2.30

Suppose the function ff is representable by the term TT, and gg by the term T1T_{1}. Prove that:

?
(a)

if f(a1,…,ak)=g(a1,…,ak)f(a_{1}, \ldots , a_{k}) = g(a_{1}, \ldots , a_{k}) for all a1,…,aka_{1}, \ldots , a_{k}, then in set theory the identity Z(T)=Z(T1)Z(T) = Z(T_{1}) holds;

(b)

if (f(a1,…,ak)⊃g(a1,…,ak))=1(f(a_{1}, \ldots , a_{k}) \supset g(a_{1}, \ldots , a_{k})) = 1 for all a1,…,aka_{1}, \ldots , a_{k}, then in set theory the relation Z(T)⊆Z(T1)Z(T) \subseteq Z(T_{1}) holds;

(c)

if f(a1,…,ak)=1f(a_{1}, \ldots , a_{k}) = 1 for all a1,…,aka_{1}, \ldots , a_{k}, then in set theory the identity Z(T)=UZ(T) = U holds;

(d)

if f(a1,…,ak)=0f(a_{1}, \ldots , a_{k}) = 0 for all a1,…,aka_{1}, \ldots , a_{k}, then in set theory the identity Z(T)=∅Z(T) = \emptyset holds.

Problem II.2.31

Prove that if the function f(a1,…,ak)f(a_{1}, \ldots , a_{k}) is representable by the term TT and Z(T)=UZ(T) = U for all arbitrary Z1,…,Zk⊆UZ_{1}, \ldots , Z_{k} \subseteq U, then f(a1,…,ak)=1f(a_{1}, \ldots , a_{k}) = 1 for all a1,…,aka_{1}, \ldots , a_{k}.

?
Problem II.2.32

On the basis of which identities of the algebra of logic can the following theorems of set theory be obtained:

?
(a)

(X∪Y)∪Z=X∪(Y∪Z)(X \cup Y) \cup Z = X \cup (Y \cup Z);

(b)

X∩Y=Y∩XX \cap Y = Y \cap X;

(c)

−(X∩Y)=−X∪−Y-(X \cap Y) = -X \cup -Y;

(d)

−(−X)=X-(-X) = X?

Problem II.2.33
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)