ON EQUIVALENT TRANSFORMATIONS OF LOGICAL NETWORKS
Unknown
Submitted 1963-01-01 | RussiaRxiv: ru-196301.53221 | Translated from Russian

Abstract

Full Text

CYBERNETICS AND CONTROL THEORY

V. L. MURSKII

ON EQUIVALENT TRANSFORMATIONS OF LOGICAL NETWORKS

(Presented by Academician P. S. Novikov on February 7, 1963)

This note considers equivalent transformations of logical networks by replacing their subnetworks with equivalent ones. For a whole series of classes of logical networks, N. A. Gorbunishchaya constructed finite systems of transformation rules that make it possible to transform any two equivalent networks of a given class into one another in such a way that all intermediate networks belong to the same class \(\left({}^{1}\right)\). Here the existence of a finite system of rules will be proved for classes of networks with a number of delay elements not exceeding a given number \(k\) \((k = 0, 1, 2,\ldots)\), and the nonexistence of such a system for the class of all networks.

1. By a logical network, or simply a network, we shall mean any circuit having the form \(a\) (Fig. 1), where \(C\) is a circuit of functional elements \(\left({}^{2}\right)^{*}\) with \(m + k\) inputs and \(n + k\) outputs; the letter \(z\) denotes each of the \(k\) delay elements; \(x_1, x_2, \ldots, x_m\) are the inputs of the network; \(y_1, y_2, \ldots, y_n\) are its outputs. It is assumed here that \(C\) contains functional elements of only a finite number of admissible types and that the functions of the algebra of logic realized by elements of admissible types form a complete system**.

Fig. 1

Fig. 1

If a sequence of states of the network inputs is given,

\[ (x_1^t,\ldots,x_n^t), \quad t = 0, 1, 2,\ldots \quad (x_i^t = 0 \text{ or } 1), \]

then, in the usual way, the sequence of states of its outputs is determined (it is assumed here that the outputs of the delays at \(t = 0\) are in state 0). Two networks \(A\) and \(B\), with the same number of inputs and outputs, between whose inputs and between whose outputs a one-to-one correspondence has been established, are called equivalent (for the given correspondence between the inputs and outputs of \(A\) and \(B\)) if, for identical sequences at the corresponding inputs of \(A\) and \(B\), the sequences at the corresponding outputs of \(A\) and \(B\) are also identical.

We shall call a subnetwork of a network \(A\) any network \(B\) whose elements belong to \(A\), such that: 1) every input (output) of the network \(A\) that belongs to \(B\) is an input (output) of \(B\); 2) every vertex of the network \(B\) that is an input of some element of the network \(A\) not belonging to \(B\), and every out—

* The requirement from \(\left({}^{2}\right)\) that the state of the output of a functional element be a function depending essentially on the state of each input is not obligatory here.

** The concept of a network introduced here differs only inessentially (namely, in the method of realizing the circuit \(C\)) from the concept of a completely regular network in \(\left({}^{3}\right)\).

input of some element of the network \(B\), is an output of \(B\); 3) every vertex of the network \(B\) that is an input or output of some element of the network \(A\), does not belong to \(B\), and is not an output of any element of the network \(B\), is an input of \(B\). It is easy to verify that every network goes over into an equivalent one when a subnetwork is replaced by an equivalent subnetwork. Therefore each pair of equivalent networks \(A_1\) and \(A_2\) specifies a rule for an equivalent transformation of logical networks, according to which, in any network, a subnetwork isomorphic to \(A_1\) may be replaced by \(A_2\), and conversely (cf. (4)).

  1. Let \(u_1, u_2, \ldots, u_s\) be some vertices of the network \(A\). We shall denote by \(\tilde u_t^A\) the set of states of these vertices at time \(t\); the indices \(A\) and \(t\) will sometimes be omitted. We shall call an operator any mapping of an \(m\)-dimensional unit cube* into an \(n\)-dimensional unit cube (for some \(m\) and \(n\)); if \(m\) and \(n\) must be indicated explicitly, we shall speak of an \((m,n)\)-operator. Let \(\Phi(\tilde x,\tilde z)\) be an \((m+k,s)\)-operator in the arguments \(x_1,\ldots,x_m,z_1,\ldots,z_k\). For each set of constants \(\tilde x=(x_1,\ldots,x_m)\) we agree to denote by \(\Phi_{\tilde x}(\tilde z)\), or simply \(\Phi_{\tilde x}\), the \((k,s)\)-operator obtained from \(\Phi\) by fixing \(\tilde x\). Analogously we introduce the notation \(\Phi_{\tilde z}\).

Networks containing no delay elements are simply circuits made of functional elements; the equivalence of such networks consists in the coincidence of the operators realized by the corresponding circuits of functional elements. In (1) a finite system of transformation rules was constructed that makes it possible to obtain from one another any equivalent networks without delays, and, moreover, the networks in the rules of this system themselves contain no delays. We shall denote this system by \(S_0\). We shall call two networks with the same number of inputs, outputs, and delays almost identical (under a definite correspondence between the inputs of the networks and between their outputs) if they have the form \(a\) (Fig. 1) with equivalent (under a certain “extension” of the given correspondence to the inputs and outputs of the delays) \(C\). It is clear that almost identical networks are equivalent, that two networks are almost identical if and only if they can be obtained from one another by the rules \(S_0\), and that specifying the operator realized by the circuit \(C\) (Fig. 1a) determines the network uniquely up to “almost identity” (provided it is indicated which outputs of \(C\) are connected with which inputs of it by delay elements). Let \(A\) be a network with inputs \(x_1,\ldots,x_m\) and outputs \(y_1,\ldots,y_n\); denote the outputs of the delays by \(z_1,\ldots,z_k\). It is easy to see that there exists a network \(A'\), having the form \(b\) (Fig. 1), such that \(A\) and \(A'\) are almost identical. In this case the operators realized by the circuits \(A_1\) and \(A_2\) are determined by the network \(A\) uniquely; we shall denote the first of them by \(F^A(\tilde x,\tilde z)\), and the second by \(G^A(\tilde x,\tilde z)\).

  1. For each \(k\) there exist exactly \(2^{k\cdot 2^k}\) distinct \((k,k)\)-operators. Fix (for each \(k\)) a definite one-to-one correspondence between \((k,k)\)-operators and strings of zeros and ones of length \(k\cdot 2^k\). The string corresponding to an operator \(\Phi\) will be denoted by \(K(\Phi)\); the operator corresponding to the string \(\tilde\xi=(\xi_1,\ldots,\xi_{k\cdot 2^k})\) will be denoted by \(H_{\tilde\xi}\). Let \(A\) and \(B\) be networks with \(m\) inputs, \(n\) outputs, and \(k\) delay elements. Among the \((m,n)\)-operators \(G_{\tilde z}^A(\tilde x)\), \(G_{\tilde z}^B(\tilde x)\), for all possible \(\tilde z\), there are no more than \(2^{k+1}\) distinct ones; denote them by \(\Omega_1(\tilde x), \Omega_2(\tilde x),\ldots,\Omega_l(\tilde x)\). Fix \(l\) distinct strings \(\sigma_1,\ldots,\sigma_l\) \((l\le 2^{k+1})\) of length \(k+1\). Construct the network \(P\), shown in Fig. 2, in which \(B_1,B_2,B_3,B_4,B_5,B_6\) are circuits of functional elements realizing respectively the following operators \(\Phi_1,\Phi_2,\Phi_3,\Phi_4,\Phi_5,\Phi_6\): \(\Phi_1(\tilde x)=K(F_{\tilde x}^A)\); \(\Phi_2(\tilde x)=K(F_{\tilde x}^B)\); \(\Phi_3(\tilde u,\tilde v)=\tilde u\), if there exists \(\tilde x_0\) such that \(\Phi_1(\tilde x_0)=\tilde u\) and \(\Phi_2(\tilde x_0)=\tilde v\), and otherwise \(\Phi_3(\tilde u,\tilde v)=K(F_{\tilde 0}^A(\tilde z))\), where \(\tilde 0=(0,0,\ldots,0)\); \(\Phi_4(\tilde z,\tilde\xi)=H_{\tilde\xi}(\tilde z)\); \(\Phi_5(\tilde z)=\sigma_i\),

* That is, the set of all strings of length \(m\) consisting of zeros and ones.

if \(G_{\tilde z}^{A}\) is \(\Omega_i\); \(\Phi_6(\tilde x,\tilde w)=\Omega_i(\tilde x)\), if for some (and hence unique) \(i\) \(\tilde w=\sigma_i\); otherwise \(\Phi_6(\tilde x,\tilde w)=\tilde 0\). Next construct a network \(Q\), obtained from \(P\) by replacing \(B_3\) by \(B_3'\) and \(B_5\) by \(B_5'\); \(B_3'\) and \(B_5'\) realize the following operators: \(\Phi_3'(\tilde u,\tilde v)=\tilde v\), if for some \(\tilde x_0\) \(\Phi_1(\tilde x_0)=\tilde u\) and \(\Phi_2(\tilde x_0)=\tilde v\); otherwise \(\Phi_3'(\tilde u,\tilde v)=K(F_0^B(\tilde z))\); \(\Phi_5'(\tilde z)=\sigma_i\), if \(G_{\tilde z}^{B}\) is \(\Omega_i\). It is verified directly that \(A\) and \(P\) are almost identical and that \(B\) and \(Q\) are almost identical*.

Fig. 2

Fig. 2

Let now \(P'\) be the subnetwork of the network \(P\) consisting of all delay elements and the circuits \(B_3,B_4,B_5\) with inputs \(\tilde u\) and \(\tilde v\) and outputs \(\tilde w\); let \(Q'\) be the corresponding subnetwork of the network \(Q\).

Lemma 1. If \(A\) and \(B\) are equivalent, then \(P'\) and \(Q'\) are equivalent.

Proof. Since \(P\) is equivalent to \(A\), and \(Q\) is equivalent to \(B\), it is enough to prove that if \(P'\) and \(Q'\) are not equivalent, then \(P\) and \(Q\) are not equivalent.

Let the sets \(\alpha_t,\beta_t\) of length \(k\cdot 2^k\) \((t=0,1,\ldots,T-1)\) be such that, if \(\tilde u_t^{P'}=\tilde u_t^{Q'}=\alpha_t\) and \(\tilde v_t^{P'}=\tilde v_t^{Q'}=\beta_t\) for \(t=0,1,\ldots,T-1\), then \(\tilde w_T^{P'}\ne \tilde w_T^{Q'}\)**. Let \(\tilde w_T^{P'}=\sigma_{i_1}\), \(\tilde w_T^{Q'}=\sigma_{i_2}\), \(i_1\ne i_2\); let the set \(\tilde\eta\) be such that

\[ \Omega_{i_1}(\tilde\eta)\ne \Omega_{i_2}(\tilde\eta). \tag{1} \]

Put, for \(t=0,1,\ldots,T-1\), \(\tilde\xi_t=\tilde 0\) (\(m\) zeros), if there does not exist a \(\tilde\xi\) such that \(\alpha_t=\Phi_1(\tilde\xi)\) and \(\beta_t=\Phi_2(\tilde\xi)\); if such a \(\tilde\xi=\tilde\xi^{0}\) exists, then put \(\tilde\xi_t=\tilde\xi^{0}\).

We shall prove that if \(\tilde x_t^{P}=\tilde x_t^{Q}=\tilde\xi_t\) \((t=0,1,\ldots,T-1)\) and \(\tilde x_T^{P}=\tilde x_T^{Q}=\tilde\eta\), then \(\tilde y_T^{P}\ne \tilde y_T^{Q}\); then the lemma will be proved. In view of (1) and the definition of \(\Phi_6\), it is enough to show that \(\tilde w_T^{P}=\tilde w_T^{P'}\) and \(\tilde w_T^{Q}=\tilde w_T^{Q'}\) for the values under consideration of \(\tilde x_t\) for \(P\) and \(Q\), and \(\tilde u_t\) and \(\tilde v_t\) for \(P'\) and \(Q'\). By the definition of the sequence \(\{\tilde\xi_t\}\) and the definitions of \(\Phi_1,\Phi_2,\Phi_3\), we have \(\tilde\zeta_t^{P}=\tilde\zeta_t^{P'}\) \((t=0,1,\ldots,T-1)\), therefore \(\tilde z_t^{P}=\tilde z_t^{P'}\) \((t=0,1,\ldots,T)\); in particular, \(\tilde z_T^{P}=\tilde z_T^{P'}\), whence \(\tilde w_T^{P}=\tilde w_T^{P'}\). For \(Q\) and \(Q'\) the proof is analogous.

Theorem 1. For every \(k\ge 0\) there exists a finite system of rules allowing one to transform into one another any two equivalent networks with no more than \(k\) delay elements in such a way that all intermediate networks also contain no more than \(k\) delay elements.

Proof. For the case \(k=0\) the theorem was proved in (1); the corresponding system of rules was denoted by \(S_0\). Let \(k>0\). There exists a rule allowing one, in any network, to increase the number of delays by 1. Therefore, for the proof of the theorem it is enough to construct a finite system of rules allowing one to transform into one another any two equivalent networks with exactly \(k\) delays.

* The operator \(\Phi_3\) was defined “in parts”: by different formulas on two sets of input sets. The almost identity of \(A\) and \(P\) is connected only with the first part of the definition; “making the definition precise,” necessary in order that Lemma 1 (see below) hold, may be carried out in various ways; the same applies to \(\Phi_3'\).

** In the networks \(P'\) and \(Q'\), \(\tilde w_T\) is uniquely determined by \(\tilde u_0,\ldots,\tilde u_{T-1},\tilde v_0,\ldots,\tilde v_{T-1}\).

For a given \(k\) there exists only a finite number of distinct \((k(2^{k+1}+1),\,2k+1)\)-operators. For each of them choose a definite circuit \(C\) realizing it, made of functional elements, and consider the network in Fig. \(1a\) with the chosen \(C\), \(k\) delays, \(m=k\cdot 2^{k+1}\) inputs, and \(n=k+1\) outputs. The networks obtained will be called standard \(k\)-networks. It is clear that every network with \(k\cdot 2^{k+1}\) inputs, \(k+1\) outputs, and \(k\) delays is almost identical with some standard \(k\)-network.

Let us now consider the system \(\Sigma_k\) of transformation rules formed by all possible pairs of equivalent standard \(k\)-networks. The system \(\Sigma_k\) is finite. Let \(A\) and \(B\) be equivalent networks with \(k\) delays. Construct, as before, the networks \(P\) and \(Q\). \(P\) can be obtained from \(A\), and \(Q\) from \(B\), by the rules \(S_0\), since \(A\) and \(P\), as well as \(B\) and \(Q\), are almost identical. Select in \(P\) a subnetwork \(P'\), and in \(Q\) a subnetwork \(Q'\). There exist standard \(k\)-networks \(P''\) and \(Q''\), almost identical with \(P'\) and \(Q'\), respectively. By Lemma 1 these networks are equivalent and therefore form one of the rules of the system \(\Sigma_k\). \(P'\) can be obtained from \(Q'\) with the aid of this rule and the rules \(S_0\). The same is true for \(P\) and \(Q\): indeed, \(P\) is obtained from \(Q\) by replacing \(Q'\) by \(P'\). Thus, \(A\) can be transformed into \(B\) by the rules of the finite system \(S_0\cup\Sigma_k\) (depending only on \(k\)). The theorem is proved.

  1. Let \(A\) be a network without inputs, with \(N\) delay elements, whose outputs we denote by \(z_1,\ldots,z_N\). We shall call the state of the network \(A\) at time \(t\) the vector \(\widetilde z_t\) of the states of the delay outputs at that moment (\(\widetilde z_0=\widetilde 0\)). The sequence \(\widetilde z_0,\widetilde z_1,\ldots\) is (ultimately) periodic; denote the length of its minimal period by \(T_A\).

Lemma 2. Let \(A\) be a network without inputs, and let \(B\) be the network obtained from \(A\) by replacing a subnetwork \(C\) by an equivalent one. Let \(k\) be the number of delays of the network \(C\), and let \(p\) be a prime number greater than \(2^k\). If \(T_A\) is divisible by \(p\), then \(T_B\) is divisible by \(p\).

Proof. Let \(\widetilde z'^{\,A}=(z_1^A,\ldots,z_k^A)\) be the vector of the outputs of the delays of the network \(A\) that belong to \(C\); \(\widetilde z''^{\,A}=(z_{k+1}^A,\ldots,z_N^A)\) the outputs of the remaining delays of the network \(A\); and \(\widetilde z''^{\,B}\) the “same” vertices of the network \(B\). Since \(B\) is obtained from \(A\) by replacing the subnetwork \(C\) by an equivalent one, and the vertices \(\widetilde z''^{\,A}\) are “not affected” by this replacement, we have
\[ \widetilde z_t''^{\,A}=\widetilde z_t''^{\,B}\quad (t=0,1,\ldots). \]
Let \(\tau\) be the length of the minimal period of the sequence
\[ \Pi=\{\widetilde z_t''^{\,A}\}=\{\widetilde z_t''^{\,B}\}. \]
The period \(T_A\) of the sequence \(\{\widetilde z_t^A\}\) is a (not necessarily minimal) period of the sequence \(\Pi\); hence \(T_A\) is divisible by \(\tau\); in exactly the same way \(T_B\) is divisible by \(\tau\).

The state \(\widetilde z_t^A\) of the network \(A\) is obtained from \(\widetilde z_t''^{\,A}\) by adding \(k\) coordinates \(z_1,z_2,\ldots,z_k\). Therefore
\[ T_A\leq \tau\cdot 2^k \]
(since in the minimal period of the sequence \(\{\widetilde z_t^A\}\) all vectors are distinct). It follows that the natural number
\[ a=T_A/\tau \]
is less than \(2^k\), and hence \(a\) is not divisible by \(p\), since \(p>2^k\). But, by assumption, \(T_A\) is divisible by \(p\). Consequently, \(\tau\), and therefore also the multiple \(T_B\) of it, is divisible by \(p\). The lemma is proved.

Theorem 2. Whatever finite system of rules \(S\) is taken, there exist two equivalent networks which cannot be transformed into one another by the rules of the system \(S\).

This theorem follows easily from Lemma 2.

Received
16 I 1963

REFERENCES

  1. N. A. Gorbovitskaya, DAN, 151, No. 3 (1963).
  2. O. B. Lupanov, Problems of Cybernetics, vol. 7, 1962, p. 61.
  3. A. Birk, J. Wright, Cybernetics Collection, vol. 4, 1962, p. 33.
  4. V. L. Murskii, Problems of Cybernetics, vol. 5, 61 (1961).

Submission history

ON EQUIVALENT TRANSFORMATIONS OF LOGICAL NETWORKS