Iterative equitable partition of graph as a model of constant structure discrete time closed semantic system

Бесплатный доступ

Constant structure closed semantic systems are the systems each element of which receives its definition through the correspondent unchangeable set of other elements (neighbors) of the system. The definitions of the elements change iteratively and simultaneously based on the neighbor portraits from the previous iteration. In this paper, I study the behavior of such model systems, starting from the zero state, where all the system's elements are equal. The development of constant-structure discrete time closed semantic systems may be modelled as a discrete time coloring process on a connected graph. Basically, I consider the iterative redefinition process on the vertices only, assuming that the edges are plain connectors, which do not have their own colors and do not participate in the definition of the incident vertices. However, the iterative coloring process for both vertices and edges may be converted to the vertices-only coloring case by the addition of virtual vertices corresponding to the edges assuming the colors for the vertices and for the edges are taken from the same palette and assigned in accordance with the same laws. I prove that the iterative coloring (redefinition) process in the described model will quickly degenerate into a series of pairwise isomorphic states and discuss some directions of further research.

Еще

Closed semantic system, graph, isomorphism

Короткий адрес: https://sciup.org/147159455

IDR: 147159455   |   DOI: 10.14529/mmp170403

Текст научной статьи Iterative equitable partition of graph as a model of constant structure discrete time closed semantic system

A closed semantic system (CSS) may be thought as a system each element of which is defined through other elements of this system. One of the most natural and important CSSs is language. Every child at the age of 3-5 years is full of questions: "Why?", "What for?", "How?" [1]. At that time, the child’s world view is growing and getting as closed as possible: every word claims to be explained in terms of other words.

One of the most simple CSSs is a discrete time system with a permanent structure: 1) the number of the elements that are involved in the definition of each element of such system does not change with time; 2) all the elements are redefined simultaneously, basing on the states of the neighbours taken at the previous simultaneous iteration. In this paper, I study the behavior of such trivial systems, starting from the "zero" state, where all the system’s elements are equal. In contrast with the above mentioned growing CSS of small kids, a CSS with a constant structure resembles an adult’s world view, where the addition of new notions and connections between them ceases as the personal world view approaches the best known contemporary world view of the humanity. The simultaneous iterative changes in discrete time is a reasonable assumption as far as we consider an artificial CSS designed for a deterministic Turing machine equivalent [2]. However, the discreteness can hardly correspond to real-world examples, so it would be challenging to get rid of it in the future.

The development of the described constant-structure discrete time CSS may be modelled as a discrete time coloring process on a connected graph. From now and till almost the end of the paper I will consider the iterative redefinition process on the vertices only, assuming that the edges are plain connectors, which do not have their own colors and do not participate in the definition of the incident vertices. Initially, all the vertices have the same "type", so at the first iteration the only difference between any 2 vertices is the number of their neighbours (degree). For illustrative purposes, we may assign each degree a specific "color". At the second iteration the "neighbour portrait" of each vertex becomes more complicated (e.g., "5 neighbours" at the first iteration becomes "2 red and 3 green" at the second). This iterative coloring process (see Fig. 1) produces equitable partitions [3] (perfect colorings, regular partitions or graph divisors), which are well known [4-6] and were successfully used in e.g. graph isomorphism heuristic Nauty [7] (the coloring process in the latter is similar to the Algorithm of this paper).

Fig. 1. Two iterations of the coloring process

How will this iterative coloring process behave? Will the size of the palette ever increase or it can decrease and then oscillate? Will the process become self-repeating? If yes, then how fast and what will be the cycle size? The next section gives the answers to these questions.

1. Mathematical Model

There are some little less common mathematical notations used below, which I would rather state explicitly: a) the number of adjacent vertices for each v E V in simple G is equal to the degree of v and is referred to as deg ( v ); b) the image Y of the mapping ф : X ^ Y is referred to as ф [ X ] and c) an arbitrary (possible multi-valued) mapping between X and Y is referred to as X ^ Y.

Let G = ( V, E ) be a simple graph with vertices V and edges E . Each vertex possesses a color, which changes iteratively depending on the colors of the vertex’s neighbours. Let Pali C N be the set (palette) of colors and Coli : V ^ Pali be the coloring function at the z -th iteration. The iterative coloring process may be represented by Algorithm (see also Fig- 2).

How will this IICP behave at infinity? Below I prove that, starting from some iteration, all the following colorings will be pairwise isomorphic in the sense of the following definition.

Definition 1. Two colorings Coli a nd Colj are isomorphic (Coli ~ Colj), if there exists a bijection ф : Pali о Palj such that ^v E V ф ( Coli ( v )) = Colj ( v ).

Algorithm. Infinite iterative vertices coloring process (IICP)

Pal о = 0;

Vv E V Col о ( v ) := 0;

Vv E V Port 0( v ) := ( k ( v )) where k ( v ) = deg ( v );

i := 1;

repeat let xi be some indexing bijection xi: Porti- 1 [V] о 1, iPorti- 1 [V] |, then the current palette Pali := xi[Porti- 1 [V]] (consists of the indices of the elements of Porti-1[V]);

let Ki := |Pali|;

build a new "neighbourhood portrait" of each vertex:

Porti (v) := (k 1 (v) ,...,$ (v),..., kKi (v)) , where kj (v) is the number of adjacent vertices of v E V that possess the color j E Pali;

i := i + 1;

until False.

Fig- 2. Scheme of infinite iterative coloring

Lemma 1 makes the first step in this direction. It shows that two consequent isomorphic colorings result in the degeneration of the following IICP.

Lemma 1. If ColL- 1 ^ ColL for some L; then all the following colorings will be pairwise isomorphic: VL‘ > L VL’’ > L ColL’ ^ ColL’’.

Proof. It is enough to prove that ColL ^ ColL +1. Let us select an arbitrary v E V and take the portrait of v from the previous iteration, which corresponds to ColL +1 ( v ):

( k L ( v ) ,...,kK L ( v )) = x- +1( ColL +1( v )) .                        (1)

Let us consider the mapping ^ : Port L - 1 [ V ] ^ PortL [ V ]:

^ (( kL 1 ( v ) ,..., kK- -1 ( v ))) = ( kL ( v ) ,..., kKL ( v ))                  (2)

and prove that it is a bijection.

  • 1)    Д Is defined for all elements of PortL- 1. since it is defined for all v E V.

  • 2)    Each portrait p from PortL corresponds to at least one vertex v‘ E V at the L -th iteration; selecting this v‘ in (2), we get at lea st one preimage for p in PortL- 1, which means that Д Is surjective.

  • 3)    The single-valuedness of Д is slightly more complicated to prove; suppose there is a, portrait from PortL- 1

p = ( kL- 1( v i) , •••, kK - - 1 ( v i)) = ( kL- 1( v 2) , • ••, kK - - 1 ( v 2))               (3)

that is mapped Irv Д into two portraits from PortL p 1 = (L L (v 1),•••, LKL (v 1)) ai^ p 2 = (L L (v 2),•••, LK L (v 2))•

Since ColL- 1 ~ ColL. there exists ai 1 isomorphism ф : PalL- 1 о PalL such that

Vv E V Vi E         kL- 1( v ) = кф ( i ) ( v )                          (4)

Considering this, we can write

Vi E 1 , KL kL (v 1) = kL-^i)(v 1) = kL-11(i)(v2) = кф(i)(v2), which means that p 1 arid p2 are equal elementwise and pi‘oves the single-valuedness of Д.

  • 4)    The injectiveness of Д may be proved in the same manner; suppose there are two portraits from PortL- 1

p 1 = ( k L - 1( v 1) .•••.kK-1, 1( v 1)) a nd p 2 = kL L - 1( v 2) ,•••,kK-1- 1 ( v 2))

that are mapped by Д Into one portrait from PortL

( L L ( v 1) • •••Лк L ( v 1)) = ( L L ( v 2) • •••Лк L ( v 2))                      (5)

Returning to (4), we have

Vi E 1 , KL LL-1(v 1) = LL(i)(v 1) = LL(i)(v2) = LL-1(v2), which proves that Д is injective and therefore is a bijection.

Applying Д - 1 to the right-hand side of (1). we get an element of PortL- 1. which can be mapped further to a color from PalL XL' The final sought-after mapping ф : PalL о PalL +1 is the composition of the three above-mentioned mappings,

  • ф = XL +1 0 Д ° Xl 1 ,

which is a bijection since all the composing mappings are bijections.

At this point, we know that two consequent isomorphic colorings make the further coloring process degenerated, but is this situation impossible, probable or inevitable? The answer to this cpiestion starts with the analysis of the behavior of the palette size. The number of colors in the palettes evidently belongs to 1 , |V | , and intuitively this number either increases or remains constant during the IICP.

Lemma 2. The size of the palette never decreases; Vi E N Vv 1 , v2 E V ( Coli +1( v 1) = Coli +i( v 2)) ^ ( Coli ( v 1) = Coli ( v 2)).

Proof. Let us use induction on i. The base case for i = 0 is true since all the vertices have the same color at the first iteration: Vv E V Col 0( v ) = 0.

Inductive step: assume the statement is true for all i < L and prove it for i = L . Let V 1 = {v 1w ,vi} be the adjace nt vertices of v 1 arid V 2 = {v 1 ,...,v mm} be the adjacent vertices of v 2 ii 1 G.

Since Coli +i( v 1) = Coli +i( v 2) ai id XL +1 is a bijection.

PortL (v 1) = X-+i( Coli+i( v 1)) = X-+i( CoIl+i( v 2)) = PortL (v 2), winch means that n = m and there exists a bijection ф: V1 о V>. such that

Vj E 1 ,n CoIl ( ф ( v 1)) = CoIl ( v 1) .

By induction,

Vj E 1 ,n (CoIl (ф (vj)) = CoIl (vj)) ^ (CoIl-i(ф(vj)) = CoIl-i(v j)), winch means that PortL—1(v 1) = PortL-1(v2) and thus

CoIl ( v 1) = xl ( PortL— i( v 1)) = xl ( PortL— i( v 2)) = CoIl ( v 2) .

Now we know that at each iteration the number of colors either increases or remains constant. We also know that the palette size cannot be arbitrary large, it is limited by |V|. Putting together both results, we get that an IICP may contain only a finite number of the steps where the palette size grows. In not more than |V| iterations, an IICP will come to the situation, where the palettes at two consequent iterations have the same size. The consequences will be radical.

Lemma 3. Either the size of the palette increases or the two last colorings are isomorphic: ( Ki = Ki +1) ^ ( Coli - Coli +1).

Proof. I will prove that if Ki = Ki +1, then the mapping ф : Pali ^ Pali +1, defined as ф ( Coli ( v )) = Coli +1( v ) Vv E V , is a bijection. Let’s argue by contradiction: suppose Ki = Ki +1. but ф is not a bijection. Since ф is defined for all v E V. it is completely defined on Pali and is a surjection onto Pali +1; it is also injective by Lemma 2. The last option for ф not to be a bijection is multi-valuedness. Suppose that

3v‘,v’’ E V : ( v' = v" ) & ( Coli ( v' ) = Coli ( v'' )) & ( Coli +i( v' ) = Coli +i( v" )) .     (6)

Let V L = {v E V : Coli ( v ) = Coli ( v' ) } arid V > = V \ V L (see Fig. 3 Y The set V 2 is not empty, since otherwise

IColi [ V L] | + IColi [ V 2] | = 1 + 0 = Ki = Ki +1 >  2 .

There are no colors from Coli +1 [ V L] among the colors from Coli +1[ V 2] since otherwise (see Fig. 3) 3v* E V L , v* E V 2: Coli +1( v* ) = Coli +1( v* ) but. by construction of V L , V >. Coli ( v* ) = Coli ( v' ) = Coli ( v* ). winch contradicts the injectiveness of ф. Thus.

Coli +i[ V l ] П Coli +i[ V 2] = 0 aiid Ki +1 = |Coli +i[ V l ] | + |Coli +i[ V 2] |.

The number of distinct colors in Coli +1 [ V 2 ] is not less than |Coli [ V ] | = Ki - 1 sin се ф is injective and does not map distinct colors into the same one.

By the definition of V 1 and assumption (6), we have v‘ ,v‘‘ E V 1 and

Coli+i[V1 ]| > \{Coli+i(v'),Coli+i(v")}| = 2, which means that

Ki +1 = |Coli +1[ V 1] 1 + |Coli +1 [ V 2] 1 >  2 + ( Ki - 1) = Ki + 1

and contradicts the assumption Ki = Ki +1.

The results of the previous lemmas may be summed up as a theorem.

Theorem 1. The coloring process described in the Algorithm converges to an unchanging equitable partition in at most |V| iterations.

Edge coloring. Until now, all objects in the CSS were defined through other objects by means of one-type connections. One of the important generalizations of such approach is the introduction of connections of different types. As far as we talk about closed semantic systems, the "type" of a connection should be defined within the system. By analogy to the objects defined through their neighbours, the connections could be defined through the objects, which they relate. In the considered graph model of CSS, it means that the edges, just as the vertices, are subjected to an iteration coloring process based on the portraits of neighbours. During such an expanded coloring process, the color of a vertex is defined by the colors of the adjacent vertices and incident edges, and the color of an edge is defined by the colors of its 2 incident vertices.

This iterative coloring process for vertices and edges may be converted to the vertices-only coloring case by the addition of "virtual" vertices corresponding to the edges (Fig. 4) assuming the colors for the vertices and for the edges are taken from the same palette and assigned in accordance with the same laws.

  • 2.    Discussion

In the present paper I showed that each CSS with a constant structure and discrete time ceases to change rather quickly. The future research could aim at getting the CSS model closer to the real world. The consideration of more complex unsynchronized dynamical structures will change, to all appearances, the further research methods from

Fig. 4. Transformation of graph to consider the influence of edges pure mathematical to statistical and computational. Below I concern several conceivable directions for the further investigations:

  • 1.    The first step towards real complex systems is to get rid of the discreteness of time. In the majority of real complex systems it seems unnatural to change the states of all elements simultaneously. Such desynchronization will mix the palettes, so the corresponding formal coloring process should be considerably different.

  • 2.    The second step is the consideration of the systems that start from an arbitrary state, not only the "zero state" of Algorithm, where ^v E V Col 0( v ) = 0. It is easy to see that in this case Lemma 2 is not always true (see Fig. 5), therefore, Lemma 3 would also need a different proof since the current one relies on Lemma 2. Nevertheless, it seems the proof of convergence can be generalized to the case of arbitrary initial states.

  • 3.    The most interesting research direction is the analysis of behavior of the CSSs with (stochastically) varying sets of objects and connections. Such CSSs could presumably be addressed by means of applied statistics and multi-agent modelling. In this respect, the underlying graph model could be replaced with the model of horizontal gene transfer [8] where each agent is "defined" through the influence of the agents encountered during stochastic motion.

Fig. 5. Example of the palette’s growth starting from a non-zero initial state

Acknowledgements. The author thanks Dr. D.V. Khlopin and Dr. A.L. Gavrilyuk for their comments. The research was supported by Russian Foundation for Basic Research (16-01-00649, 17-08-01385).

Список литературы Iterative equitable partition of graph as a model of constant structure discrete time closed semantic system

  • Bloom, P. How Children Learn the Meanings of Words/P. Bloom. -Cambridge: MIT Press, 2002.
  • Papadimitriou, C.H. Computational Complexity/C.H. Papadimitriou. -London: Pearson, 1993.
  • Godsil, C.D. Algebraic Combinatorics/C.D. Godsil. -London: Chapman and Hall, 1993.
  • Unger, S.H. GIT -a Heuristic Program for Testing Pairs of Directed Line Graphs for Isomorphism/S.H. Unger//Communications of the ACM. -1964. -V. 7, № 1. -P. 26-34.
  • Вейсфейлер, Б.Ю. Сведение графа к канонической форме и алгебра, возникающая при этом сведении/Б.Ю. Вейсфейлер, А.А. Леман//Научно-техническая информация. -1968. -Т. 2, № 9. -С. 12-16.
  • Арлазаров, В.Л. Алгоритм приведения конечных неориентированных графов к каноническому виду/В.Л. Арлазаров, И.И. Зуев, А.В. Усков, И.А. Фараджев//Журнал вычислительной математики и математической физики. -1974. -Т. 14, № 3. -С. 195-201.
  • McKay, B.D. Practical Graph Isomorphism/B.D. McKay, A. Piperno//Journal of Symbolic Computation. -2014. -№ 60. -P. 94-112.
  • Syvanen, M. Horizontal Gene Transfer: Evidence and Possible Consequences/M. Syvanen//Annual Review of Genetics. -1994. -V. 28, № 1. -P. 237-261.
Статья научная