Chapter 5

Complete Sets of Functions and Post's Theorem

[22/100%]
Show
LaTeX
Problem 85

Prove the completeness of the set {↓}\left\{ \downarrow \right\}, containing only the Peirce arrow, by directly expressing negation, disjunction, and conjunction through it.

?
Problem 86

Determine the membership of each of the functions presented in the table in fig. 11 on p. 107 in each of the sets S0,S1,S,L\mathcal{S}_{0}, \mathcal{S}_{1}, \mathcal{S}, \mathcal{L}, and M\mathcal{M}.

x1x_{1}x2x_{2}x3x_{3}f1f_{1}f2f_{2}f3f_{3}f4f_{4}f5f_{5}
00011000
00101010
01000111
01110001
10010110
10100000
11001101
11101111
?
Problem 87

Using the results of problem 86, determine which of the triples of functions presented in fig. 11 on p. 107 are complete sets. Are there complete sets of two functions among them? Of one function? Which of them are bases?

x1x_{1}x2x_{2}x3x_{3}f1f_{1}f2f_{2}f3f_{3}f4f_{4}f5f_{5}
00011000
00101010
01000111
01110001
10010110
10100000
11001101
11101111
?
Problem 88

Find all bases that can be obtained by removing functions from the set {0,1,∧,∨,→}\left\{ 0,1, \wedge , \vee , \rightarrow \right\}.

?
Problem 89

Check the completeness of the set of functions {g,h}\left\{ g, h\right\} presented in the table in fig. 12 on p. 113. If it is complete, express both constants, negation ¬\neg, and implication →\rightarrow using these functions.

x1x_{1}x2x_{2}x3x_{3}ffgghh
000110
001010
010001
011100
100001
101110
110111
111010
?
Problem 90

Express the functions 0,1,∨,∧,↔0,1, \vee , \wedge , \leftrightarrow using formulas built from functions of the complete set {¬,→}\left\{ \neg , \rightarrow \right\}.

?
Problem 91

Determine how, given a DNF (CNF), to determine whether it preserves zero or one, without computing its values.

?
Problem 92

Prove that the closure of the set {∧,∨,→}\left\{ \wedge , \vee , \rightarrow \right\} is S1\mathcal{S}_{1}. Can the same be claimed for the set {∧,→}\left\{ \wedge , \rightarrow \right\}?

?
Problem 93

Call a function f(x1,…,xn)f\left(x_{1}, \ldots , x_{n}\right) linear in the variable xix_{i} if ff can be represented as f(x1,…,xn)=g(x1,…,xn)⊕αixif\left(x_{1}, \ldots , x_{n}\right)=g\left(x_{1}, \ldots , x_{n}\right) \oplus \alpha_{i} x_{i}, where g(x1,…,xn)g\left(x_{1}, \ldots , x_{n}\right) is some function not depending on xi,αi∈{0,1}x_{i}, \alpha_{i} \in \left\{ 0,1\right\}. Prove that a Boolean function f(x1,…,xn)f\left(x_{1}, \ldots , x_{n}\right) is linear if and only if it is linear in every variable.

?
Problem 94

Prove that a function f(x1,…,xn)f\left(x_{1}, \ldots , x_{n}\right) is linear in the variable xix_{i} if and only if, when the value of the variable xix_{i} changes, the value of the function either always changes (that is, for all values of the remaining variables) or never changes (that is, ff does not depend on xix_{i}).

?
Problem 95

Prove that for monotone functions f(n)∈Mf^{(n)} \in \mathcal{M} the representation

f(x1,…,xn)=(xi∧f(x1,…,xi−1,1,xi+1,…,xn))∨∨f(x1,…,xi−1,0,xi+1,…,xn) \begin{aligned} f\left(x_{1}, \ldots , x_{n}\right)=\left(x_{i} \wedge f\left(x_{1}, \ldots , x_{i-1}, 1, x_{i+1}, \ldots , x_{n}\right)\right) & \vee \\ & \vee f\left(x_{1}, \ldots , x_{i-1}, 0, x_{i+1}, \ldots , x_{n}\right) \end{aligned}

holds for all i=1,…,ni=1, \ldots , n. Deduce from this (by induction on nn) that for every monotone function other than a constant, there exist a DNF and a CNF defining it that contain no negations of variables.

?
Problem 96

Prove that a Boolean function f(n)f^{(n)} is monotone if and only if it is monotone in each argument: for all i=1,…,ni=1, \ldots , n and all σ1,…,σn∈B\sigma_{1}, \ldots , \sigma_{n} \in \mathbb {B} the inequality

f(σ1,…,σi−1,0,σi+1,…,σn)⩽f(σ1,…,σi−1,1,σi+1,…,σn) f\left(\sigma _{1}, \ldots , \sigma _{i-1}, 0, \sigma _{i+1}, \ldots , \sigma _{n}\right) \leqslant f\left(\sigma _{1}, \ldots , \sigma _{i-1}, 1, \sigma _{i+1}, \ldots , \sigma _{n}\right)
?
Problem 97

Prove that a Boolean function f(x1,…,xn)f\left(x_{1}, \ldots , x_{n}\right) other than a constant is monotone if and only if its abridged DNF contains no negations.

?
Problem 98

Determine what the closure of the set {∧,∨}\left\{ \wedge , \vee \right\} is.

?
Problem 99

Prove that the number of monotone Boolean functions of the form f(x1,…,xn)f\left(x_{1}, \ldots , x_{n}\right) is one greater than the number of subsets VV of the set P{x1,…,xn}\mathrm{P}\left\{ x_{1}, \ldots , x_{n}\right\} consisting of pairwise incomparable sets with respect to ⊆\subseteq.

?
Problem 100

Prove that the dual of a linear (monotone) function is again a linear (respectively, monotone) function. Determine how the dual function f∗f^{*} behaves if ff preserves zero or one (see problem 71 on p. 100).

?
Problem 101

Determine the number of functions in Pn\mathcal{P}_{n} belonging to each of the sets S0,S1,S\mathcal{S}_{0}, \mathcal{S}_{1}, \mathcal{S}, and L\mathcal{L}.

?
Problem 102

Find the number of Boolean functions of nn variables that are simultaneously self-dual and linear.

?
Problem 103

Find the number of Boolean functions of nn variables that are simultaneously monotone and linear.

?
Problem 104

Prove that the set Pn\mathcal{P}_{n} contains at least 2Cn⌊n/2⌋2^{C_{n}^{\lfloor n / 2\rfloor }} monotone functions.

?
Problem 105

Prove that if f(x1,…,xn)f\left(x_{1}, \ldots , x_{n}\right) is a linear function other than a constant, then the number of ones in the truth table equals 2n−12^{n-1}. Is the converse true?

?
Problem 106

Find all three-place Boolean functions ff that on their own form a complete set {f}\left\{ f\right\}. Find their number.

?