Yu. G. POTAPOV and S. V. YABLONSKII
Unknown
Submitted 1960-01-01 | RussiaRxiv: ru-196001.91830 | Translated from Russian

Full Text

CYBERNETICS AND CONTROL THEORY

Yu. G. POTAPOV and S. V. YABLONSKII

ON THE SYNTHESIS OF SELF-CORRECTING CONTACT CIRCUITS

(Presented by Academician M. V. Keldysh, 10 V 1960)

Let \(\mathfrak U\) be a set of control systems in the sense of \((^1)\). With each control system \(U_\alpha\) there are associated a circuit \(\Sigma_{i_\alpha}\) and a function \(\Phi_{l_\alpha}\). The circuit characterizes the structure of the control system, and the function its behavior. In a number of cases the function \(\Phi_{l_\alpha}\) is determined by the circuit \(\Sigma_{i_\alpha}\) in a unique way. Then \(\Phi_{l_\alpha}=F(\Sigma_{i_\alpha})\), and we are entitled to say that the circuit \(\Sigma_{i_\alpha}\) realizes the function \(\Phi_{l_\alpha}\). In this case the set \(\mathfrak U\) is associated with the sets \(\mathfrak S=\{\Sigma_i\}\) of circuits and \(F=\{\Phi_l\}\) of functions in such a way that \(\Phi=F(\Sigma)\).

Suppose that, owing to certain circumstances, circuits \(\Sigma\) may “pass into a faulty” state \(\Sigma'\), so that \(\Sigma'\in\mathfrak S\). Then with each circuit \(\Sigma\) there will be associated a subset \(\mathfrak S_\Sigma\) of all circuits \(\Sigma'\) representing faulty states of the circuit \(\Sigma\). It may be assumed that this correspondence is specified by a function \(G\), i.e., \(\mathfrak S_\Sigma=G(\Sigma)\).

Definition. A circuit \(\Sigma\) is called self-correcting for \(G\) if, whatever \(\Sigma'\in\mathfrak S_\Sigma\) may be, \(F(\Sigma')=\Phi\), where \(\Phi=F(\Sigma)\).

Fig. 1

Fig. 1

In other words, under any fault determined by the function \(G\), the circuit \(\Sigma'\) realizes the same function as the circuit \(\Sigma\).

The question is whether there exist circuits self-correcting for \(G\).

In order to approach the solution of the question posed, let us turn to a model object. Thus, let \(\mathfrak U\) be the set of all contact circuits realizing functions of the algebra of logic. Here \(\mathfrak S\) consists of contact circuits, and \(F\) of all functions of the algebra of logic.

Suppose that in every contact circuit \(\Sigma\), at any moment of time, no more than \(m\) contacts can “fail.” More precisely: some of these contacts have short-circuited, while the remaining ones have opened in such a way that the relay is unable to change their position. The circuit \(\Sigma'\) thus obtained represents a faulty state of the circuit \(\Sigma\). Thus, \(\mathfrak S_\Sigma\) is the set of all circuits obtained from \(\Sigma\) by the occurrence of faults of the indicated type.

In this case, as is not difficult to see, for every function \(\Phi(x_1,\ldots,x_n)\) one can construct a self-correcting contact circuit. For this, in the circuit \(\Sigma\) realizing the function \(\Phi\), one should replace each contact \(\bullet\!-\!x^\sigma\!-\!\bullet\) by the subcircuit shown in Fig. 1a (the contact is duplicated \(m+1\) times in parallel and \(m+1\) times in series).

However, this solution leads to a complication of the circuit by a factor of \((m+1)^2\), which makes it unsuitable. In connection with this, let us refine the question posed.

Let \(L(\Sigma)\) denote the complexity of a circuit. Denote by \(L(\Phi)\) the quantity \(\inf L(\Sigma)\), where the lower bound is taken over all circuits realizing \(\Phi\). Suppose that there exist circuits self-correcting for \(G\) that realize the function \(\Phi\). Let \(L_G(\Phi)=\inf L(\Sigma)\), where the lower bound is taken over all self-correcting circuits realizing \(\Phi\). The question is: how much does \(L_G(\Phi)\) differ from \(L(\Phi)\)? Or does the construction of self-correcting circuits require an essential complication of the circuits?

To resolve this question, let us return again to our model object. Here let \(L(\Sigma)\) denote the number of contacts in the circuit \(\Sigma\). We have

\[ L(\Phi)\leqslant L_G(\Phi)\leqslant (m+1)^2 L(\Phi), \]

or, if we pass to the class of functions depending on \(n\) variables and put \(L(n)=\max L(\Phi)\) and \(L_G(n)=\max L_G(\Phi)\),

\[ L(n)\leqslant L_G(n)\leqslant (m+1)^2 L(n). \]

Thus, the problem that interests us now consists in estimating the growth of the function \(L_G(n)\). However, even in this variant the problem contains considerable difficulties. In view of this, it was necessary to go to a further narrowing of the problem, taking \(m=1\) and restricting ourselves to faults of the type of short circuits. It is easy to see that, in this case, in the presence of a short circuit only new circuits with nonzero conductivity can arise. The appearance of such circuits is possible, first, due to shorting in circuits with nonzero conductivity and, second, due to shorting in circuits with zero conductivity. The first result, under certain restrictive assumptions, was obtained by Yu. G. Potapov. In the present note another solution is proposed, not relying on any hypotheses.

Let the function \(L_3^m(n)\) characterize the complexity of circuits self-correcting for short circuits in \(m\) contacts.

Theorem 1. \(L_3^1(n)\sim 2^n/n\).

Proof. We shall indicate a method which makes it possible, for every function \(f(x_1,\ldots,x_n)\), to construct a self-correcting circuit for one short circuit and having asymptotically \(2^n/n\) contacts. For this we take a circuit constructed by the method of O. B. Lupanov \((^2)\), realizing the function \(f\), and show how it must be altered in order to obtain the required self-correcting circuit.

Table 1

Table 1 diagram: a schematic decomposition of the truth table for \(f(\sigma_1,\ldots,\sigma_n)\), with variables \(x_1,\ldots,x_k\) along one block, variables \(x_{k+1},\ldots,x_n\) along another, rows grouped into strips of size \(s\) and a final strip of size \(s'\).

Divide the table (Table 1), which defines the function \(f\), into strips, each of which (except, perhaps, the last) contains exactly \(s\) rows, and the last contains \(s'\) \((s'\leqslant s)\) rows. Let \(p\) be the number of strips \((p\leqslant [2^k/s]+1)\). Within each strip divide the columns into groups, so that all identical columns enter one group. Let \(f_{ij}(x_1,\ldots,x_n)\) be the function that coincides with \(f\) on the \(j\)-th group of the \(i\)-th strip and is equal to 0 on the remaining sets. Obviously,

\[ f_{ij}(x_1,\ldots,x_n)=f_{ij}^{(1)}(x_1,\ldots,x_k)\,\&\, f_{ij}^{(2)}(x_{k+1},\ldots,x_n). \]

Let

\[ \bigvee_j f_{ij}^{(1)} f_{ij}^{(2)}=f_i,\qquad \text{then}\qquad \bigvee_{i=1}^{p} f_i(x_1,\ldots,x_n)=f(x_1,\ldots,x_n). \]

Take \(r\) equal to a power of two and smaller than \(n-k\). Then the \(r\)-dimensional cube with axes \(x_{k+1},\ldots,x_{k+r}\) can be partitioned into \(2^r/r\) nonintersecting spheres of radius 1 (in the sense of the Hamming metric \(\left({}^{3}\right)\)) with centers \((\beta_{k+1}^{h},\ldots,\beta_{k+r}^{h})\), where \(h=1,\ldots,2^r/r\).

The circuit \(\mathfrak A'\), realizing the function \(f\) (without the requirement of self-correction), as is known \(\left({}^{2}\right)\), is constructed by parallel connection of circuits \(\mathfrak A_i'\) realizing \(f_i\). We describe the structure of the circuits \(\mathfrak A_i'\). For this purpose we construct a system of \([1,q]\)-poles \(M_1',\ldots,M_6'\) such that each subsequent one is obtained by completing the preceding one, and \(M_6'=\mathfrak A_i'\) (Fig. 2).

\(M_1'\) is a \([1,2^r]\)-pole representing a contact tree in the variables \(x_{k+1},\ldots,x_{k+r}\). \(M_2'\) is a \([1,2^r/r]\)-pole obtained from \(M_1'\) by combining \(r\) outputs corresponding to the points of one and the same sphere. \(M_2'\) realizes the characteristic functions of the spheres \(\varphi_h(x_{k+1},\ldots,x_{k+r})\) \((1\le h\le 2^r/r)\). \(M_3'\) is a \([1,2^{\,n-k}/r]\)-pole obtained from \(M_2'\) by connecting to each of the outputs contact trees in the variables \(x_{k+r+1},\ldots,x_n\). \(M_3'\) realizes functions of the form
\[ \varphi_h(x_{k+1},\ldots,x_{k+r})x_{k+r+1}^{\sigma_{k+r+1}}\cdots x_n^{\sigma_n}. \]
\(M_4'\) is a \([1,2^{\,n-k}]\)-pole obtained from \(M_3'\) by connecting to the outputs corresponding to the sphere with center \((\beta_{k+1}^{h},\ldots,\beta_{k+r}^{h})\) a \([1,r]\)-pole shown in Fig. \(3a\) \((h=1,2,\ldots,2^r/r)\). \(M_4'\) realizes all conjunctions of the form
\[ x_{k+1}^{\sigma_{k+1}}\cdots x_n^{\sigma_n}. \]
\(M_5'\) is a multipole obtained from \(M_4'\) by combining (inside each sphere) certain outputs so that \(M_5'\) realizes functions of the form
\[ f_{ijh}^{(2)}(x_{k+1},\ldots,x_n) = f_{ij}^{(2)}(x_{k+1},\ldots,x_n)\,\&\,\varphi_h(x_{k+1},\ldots,x_{k+r}) \]
\[ (j=1,2,\ldots;\quad 1\le h\le 2^r/r). \]
\(M_6'\) is a \([1,1]\)-pole obtained from \(M_5'\) by connecting to its outputs \(\pi\)-circuits and then combining all outputs into one. Namely, to the output corresponding to the function \(f_{ijh}^{(2)}\) there is connected a \(\pi\)-circuit corresponding to the perfect disjunctive normal form of the function \(f_{ij}^{(1)}(x_1,\ldots,x_k)\). The multipole \(M_6'\) realizes the function \(f_i(x_1,\ldots,x_n)\).

Fig. 2

Fig. 2

If in this construction we take \(r=2^{[1/2\log_2 n]}\), \(k=[2\log_2 n]\), and \(s=[n-2\sqrt n]\), then we obtain the asymptotic inequality \(L(n)\lesssim 2^n/n\).

The circuit constructed by us has one property which is used in the subsequent part of the proof. Let the circuit \(\mathfrak A'\) be partitioned into the direct sum of three subcircuits \(\mathfrak A_1'\), \(\mathfrak A_2'\), and \(\mathfrak A_3'\), where \(\mathfrak A_1'\) consists of all multipoles \(M_3'\), \(\mathfrak A_2'\) consists of all multipoles \(M_5'\setminus M_3'\), and \(\mathfrak A_3'\) consists of all multipoles \(M_6'\setminus M_5'\). Let \(L(\mathfrak A_1')\), \(L(\mathfrak A_2')\), and \(L(\mathfrak A_3')\) be the numbers of contacts in the corresponding subcircuits. It is easy to see that, for the above values of the parameters \(r,k\), and \(s\), the relations
\[ L(\mathfrak A_1')=o\bigl(L(\mathfrak A_2')\bigr),\qquad L(\mathfrak A_3')=o\bigl(L(\mathfrak A_2')\bigr). \tag{1} \]

The latter means that \(L(\mathfrak A_2') \sim 2^n/n\), i.e., that the subscheme \(\mathfrak A_2'\) contains almost all the contacts of the circuit \(\mathfrak A'\).

We now turn to the description of those changes in the constructed circuit which make it possible to obtain from it a self-correcting circuit satisfying the condition of the theorem. To this end, in the subschemes \(\mathfrak A_1'\) and \(\mathfrak A_3'\) each contact \(x^\sigma\) should be duplicated in series, as indicated in Fig. 1b. We denote the resulting subschemes by \(\mathfrak A_1\) and \(\mathfrak A_3\).

For the subscheme \(\mathfrak A'\) we shall give a special construction. Recall that, in the synthesis of the multipoles \(M_5\), we performed, in a certain way, identifications of the outputs of the multipoles \(M_4'\), and, moreover, identifications of this kind were made only within the individual spheres of each multipole. Consider one of the identifications made for the outputs of the sphere with center \((\beta_{k+1}^h,\ldots,\beta_{k+r})\), and replace it by a certain special subscheme. For this purpose we take an \([r,1]\)-pole (Fig. 3b) and connect to its \(l\)-th input \((l=1,2,\ldots,r)\) all the outputs of the multipole \(M_4'\) which participated in the identification under consideration and which correspond to the contact \(x_{k+l}^{\overline{\,h\,}}\) (Fig. 3b); the output of this multipole is connected with the corresponding \(\pi\)-circuit (Fig. 2). We carry out such a construction for all identifications. We denote the subscheme obtained in this way by \(\mathfrak A_2\).

Fig. 3

Fig. 3

Thus, we have constructed the circuit
\[ \mathfrak A=\mathfrak A_1\cup \mathfrak A_2\cup \mathfrak A_3. \]
It is easy to see that it realizes the same function \(f(x_1,\ldots,x_n)\). The fact that this circuit is self-correcting follows from the fact that in every chain of the circuit \(\mathfrak A\) having nonzero conductance, each contact occurs twice, and in every chain having zero conductance there are at least two pairs of opposite contacts.

Let us estimate the complexity \(L(\mathfrak A)\) of the circuit \(\mathfrak A\). From (1) and the relations
\[ L(\mathfrak A_1)=2L(\mathfrak A_1'),\quad L(\mathfrak A_3)=2L(\mathfrak A_3'),\quad L(\mathfrak A_2)\leqslant L(\mathfrak A_2')+\sqrt n\,2^{\,n-2\sqrt n} \]
it follows that \(L(\mathfrak A)\lesssim 2^n/n\). Thus,
\[ L_3^1(n)\leqslant L(\mathfrak A)\lesssim 2^n/n. \]
The lower estimate for \(L_3^1(n)\) follows from (4). The theorem is proved.

With a slight complication of this synthesis method it is not difficult to obtain the following result:

Theorem 2.
\[ L_3^m(n)\lesssim \left(\left[\frac m2\right]+1\right)\frac{2^n}{n}. \]

Theorem 2 gives, for almost all functions, self-correcting circuits that are twice as simple as those obtained by the trivial method.

Received
6 V 1960

CITED LITERATURE

  1. S. V. Yablonskii, Problems of Cybernetics, issue 2, 8 (1959).
  2. O. B. Lupanov, DAN, 119, No. 1, 23 (1958).
  3. R. W. Hamming, Bell Syst. Techn. J., 29, No. 1, 147 (1950).
  4. C. E. Shannon, Bell Syst. Techn. J., 28, No. 1, 59 (1949).

Submission history

Yu. G. POTAPOV and S. V. YABLONSKII