Chapter 13

Circuits of Functional Elements

[12/100%]
Show
LaTeX
Problem 214

Prove that the perfect, reduced, and minimal DNF for the function odd⁡(x1,x2,…,xn)\operatorname {odd}\left(x_{1}, x_{2}, \ldots , x_{n}\right) coincide and have 2n−12^{n-1} elementary conjunctions of length nn. □\square

?
Problem 215

Prove that the minimal circuit for addition modulo two has complexity L(⊕)=4L(\oplus )=4 in the basis B0\mathcal{B}_{0}. Hint. Prove this statement for the functions x1⊕x2x_{1} \oplus x_{2} and x1↔x2x_{1} \leftrightarrow x_{2} simultaneously.

?
Problem 216

Prove Proposition 85 on p. 260.

Proposition 85: Let Π\Pi be a linear program with input variables x1,…,xnx_{1}, \ldots , x_{n}, computing the function ff in the variable yy, such that no non-input variable is used before it is assigned a value. Then there exists a formula ΦΠ\Phi_{\Pi } with variables x1,…,xnx_{1}, \ldots , x_{n} realizing this same function.

?
Problem 217

Prove that in the basis B0\mathcal{B}_{0} every Boolean function ff can be computed by a linear program in which assignment is performed to no more than three variables. Can this number be reduced to two?

?
Problem 218

Prove item 2) of Theorem 86 on p. 260.

Theorem 86, item 2): Let B\mathcal{B} be a basis that allows obtaining the constant 0, and let a program Π\Pi in the basis B\mathcal{B}, besides the input variables x1,…,xnx_{1}, \ldots , x_{n}, contain z1,…,zmz_{1}, \ldots , z_{m}, each of which computes the function f1,…,fmf_{1}, \ldots , f_{m} respectively. Then one can effectively construct a circuit SΠ\mathfrak {S}_{\Pi } in the basis B\mathcal{B}, containing in particular vertices v1,…,vmv_{1}, \ldots , v_{m} such that fvi=fif_{v_{i}}=f_{i} for i=1,…,mi=1, \ldots , m.

?
Problem 219

Using the circuit SUMn\mathrm{SUM}_{n}, construct a circuit realizing the operation of subtracting two nn-bit binary numbers: d=a−bd=a-b (assuming that a⩾ba \geqslant b). Estimate the complexity of the resulting circuit.

?
Problem 220

Determine the depth of the circuits S⊕,Sodd ,SUM1\mathfrak {S}_{\oplus }, \mathfrak {S}_{\text{odd }}, \mathrm{SUM}_{1} and SUMn\mathrm{SUM}_{n}.

?
Problem 221

Two players independently choose one of the four numbers from 0 to 3. The first player wins if their sum is a power of two. Construct a circuit that determines whether the first player wins. Its inputs u1,u0u_{1}, u_{0} represent, in binary, the number 2u1+u02 u_{1}+u_{0} chosen by the first player, and v1,v0v_{1}, v_{0} the number 2v1+v02 v_{1}+v_{0} chosen by the second player.

?
Problem 222

Construct a circuit Cn\mathfrak {C}_{n} for comparing two nn-digit numbers represented in binary. The circuit should have inputs un−1,…,u0u_{n-1}, \ldots , u_{0} and vn−1,…,v0v_{n-1}, \ldots , v_{0} for the original numbers and three outputs for the result: greater, less, or equal.

?
Problem 223

Construct a circuit for multiplying two two-digit binary numbers. The circuit should have inputs a1,a0a_{1}, a_{0} and b1,b0b_{1}, b_{0} for the original numbers and four outputs for the digits of the result.

?
Problem 224

Construct a circuit that determines the result of a vote in a committee consisting of three members and a chairman. In case of a tie, the chairman's vote is decisive.

?
Problem 225

Let the argument tuples of a Boolean function of three arguments be ordered lexicographically, and let its values be given by a sequence of eight zeros and ones. Construct circuits realizing the following functions:

?
(a)

f1=(11111011);f_{1}=(11111011) ;

(b)

f2=(10011001);f_{2}=(10011001) ;

(c)

f3=(00111001)f_{3}=(00111001).