A Graph Isomorphism Condition and Equivalence of Reaction Systems
Daniela Genova, Hendrik Jan Hoogeboom, Nata\v{s}a Jonoska

TL;DR
This paper establishes a graph isomorphism condition for reaction systems, introducing the concept of skeletons to characterize when two systems exhibit equivalent global dynamics.
Contribution
It introduces the notion of skeletons and provides necessary and sufficient conditions for their isomorphism, enabling the classification of reaction systems based on their dynamics.
Findings
Skeletons uniquely define directed graphs of reaction systems.
Necessary and sufficient conditions for graph isomorphism are established.
Characterization of graphs representing reaction system dynamics is provided.
Abstract
We consider global dynamics of reaction systems as introduced by Ehrenfeucht and Rozenberg. The dynamics is represented by a directed graph, the so-called transition graph, and two reaction systems are considered equivalent if their corresponding transition graphs are isomorphic. We introduce the notion of a skeleton (a one-out graph) that uniquely defines a directed graph. We provide the necessary and sufficient conditions for two skeletons to define isomorphic graphs. This provides a necessary and sufficient condition for two reactions systems to be equivalent, as well as a characterization of the directed graphs that correspond to the global dynamics of reaction systems.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A Graph Isomorphism Condition and Equivalence of Reaction Systems
Daniela Genova
Department of Mathematics and Statistics, University of North Florida, Jacksonville, USA
,
Hendrik Jan Hoogeboom
LIACS, Leiden University, the Netherlands
and
Nataša Jonoska
Department of Mathematics and Statistics, University of South Florida, Tampa, USA
Abstract.
We consider global dynamics of reaction systems as introduced by Ehrenfeucht and Rozenberg. The dynamics is represented by a directed graph, the so-called transition graph, and two reaction systems are considered equivalent if their corresponding transition graphs are isomorphic. We introduce the notion of a skeleton (a one-out graph) that uniquely defines a directed graph. We provide the necessary and sufficient conditions for two skeletons to define isomorphic graphs. This provides a necessary and sufficient condition for two reactions systems to be equivalent, as well as a characterization of the directed graphs that correspond to the global dynamics of reaction systems.
This work has been supported in part by the NSF grant CCF-1526485 and NIH grant R01 GM109459.
keywords: directed graphs; graph isomorphism; graphs on posets; dynamics of reaction systems; equivalence of reaction systems
1. Introduction
Determining whether two graphs are isomorphic is one of the archetypical problems in graph theory and plays an important role in many applications and network analysis problems. Although there have been significant advances for this problem in the past year [2], the problem remains difficult. On the other side, often in network analysis, graphs are partitioned in so called ‘modules’ where each vertex in a module is adjacent to the same set of vertices outside the module [10]. Modules in directed graphs are defined as sets of vertices that have incoming and outgoing edges from, and to, the same vertices outside the module and it is shown that modular decompositions can be performed in linear time [11]. In this paper we consider a variation to this notion, i.e., we consider vertices that have the “same” incoming edges, and we call such vertices “companions”. These vertices are precisely those that belong to the same region in the Venn diagram constructed out of the family of out-sets (an out-set for is the set of vertices that have incoming edges starting at ). We further define a “skeleton” of a graph as a one-out graph over a set such that the set of vertices that have non-zero in-degree are representatives of the family of out-sets. A skeleton defines uniquely a directed graph and we characterize skeletons of isomorphic graphs. Skeletons of isomorphic graphs are called “companion skeletons”. In particular, skeleton edges swapped at companion vertices produce companion skeletons. This observation allows characterizations of reaction systems (described below) that exhibit the same global dynamical behavior.
A formal description of biochemical interactions within a confined region bounded with a porous membrane that can interact with the environment has been introduced in [6], see [3] for an overview of the theory. This formal model, called “reaction systems”, is based on the idea that each reaction depends on presence of a compound of enzymes, or facilitators, and absence of any other control substance that inhibits the process. It is assumed further that the reaction is enabled only if the region contains all of the enabling ingredients and none of the inhibitors. In addition, if some ingredients are present in the system, the model allows their presence to be sufficient to enable all reactions where they participate. Formally a reaction is modeled as a triple of sets (reactants, inhibitors, results) while the reaction system then represents a set of such triples. In each step, the system produces resulting elements according to the set of reactants that are enabled. It is further assumed that there is a universal set of elements that can enter the system from the outside environment and interact with the reactants at any given time. Several studies have addressed the question of the dynamics of the system (the step by step changes of the states of the system), such as reachability [5], convergence [9], fixed points and cycles [8, 7]. It has been observed that the complexity of deciding existence of certain dynamical properties falls within PSPACE (reachability) or NP-completness (fixed points and fixed point attractors). In all of these studies, however, the changes in the dynamics through inclusion of new elements entering from the outside environment has not been considered. We call this condition of no outside involvement within the system as a [math]-context reaction system. In this paper we study the relationship between the dynamics of the [math]-context reaction systems and the global dynamics of the reaction system that depends on the environmental context. We observe that quite different dynamical properties of [math]-context reaction systems produce equivalent global dynamics.
We represent the dynamics of a reaction system as a directed graph where each vertex is a state of the system represented as a set of elements present at the system at a given time. A directed edge from a vertex terminates at a vertex representing the new state of the system after all reactions enabled at the origin, with possible additions from the outside environment, are performed. In this way, the graph of the [math]-context reaction system is a one-out graph (a skeleton) and is a subgraph of the graph of the full dynamics of the system. We characterize the graphs representing the global dynamics of reaction systems and show that two reaction systems are equivalent if their [math]-context graphs are companion skeletons.
2. Subsets and Companions
We denote . The power set of a set is denoted by . The number of elements of a finite set is denoted by and is called the size of . Given a function , the natural equivalence on defined by is denoted with , i.e., if and only if . For the equivalence class of is denoted . For a finite set , let be a family of subsets of . We say that is a family of sets with domain . The elements in that appear in the same region of the Venn diagram for are “companions” with respect to . Formally, let be the subfamily containing all sets that include and its complement in , the subfamily of those sets that don’t contain . We call the neighborhood of .
Definition 2.1**.**
Let be a finite set and be a family of subsets of . Two elements are companions with respect to if . We write and denote the equivalence class of by . The set is called a companion set.
Thus, the equivalence class of every element , the set of companions of relative to , is the intersection of all sets in that include minus the union of the remaining sets in , i.e. . The same equivalence based on neighborhoods of elements with respect to a family was also used in [4] where authors study activity regions for a set of neurons and the convexity of these regions was considered. A special case is when , i.e., when , in which case it is in the outer region, denoted by , of the Venn diagram for . That is, by convention, and .
The converse also holds. Any non-empty intersection of sets in minus the union of the remaining sets forms an equivalence class . More precisely, any non-empty for some coincides with for some . Assuming implies for every and for every . Hence, and . Conversely, if then which is precisely and for and hence . Thus, .
Therefore, every equivalence class of is characterized by a subset , its neighborhood, such that . In general, not every defines an equivalence class, i.e., might be empty. This is the case when the corresponding region of the Venn diagram of is empty.
For a family of sets we denote with the smallest family of sets that contains and is closed under intersection. We say that is the intersection closure of . If we say that is intersection closed.
Example 2.1**.**
Consider the finite set and the family of subsets given by . Then . Note that and . Thus, the family defines the following companion sets: , , , and , where each nonempty region in the corresponding Venn diagram is a companion set.
In sections that follow we use correspondence of families of sets, that have the same sizes of the sets as well as their intersections.
Definition 2.2**.**
Let and be two families of sets over the domains and respectively, i.e. and . A faithful correspondence between and is a bijection that satisfies
- i
* for all , and*
- ii
* for all .*
Note that if the domains differ in size, i.e. , neither nor can be included in (resp. ). As shown below in Lemma 2.3, faithful correspondences preserve not only the size of the sets and their intersections, but also the sizes of the companion sets defined by these families. This is only true if the sizes of the domains are equal since otherwise the outer regions differ in size: .
Lemma 2.3**.**
Let be a faithful correspondence between and , with . Then, there exists a bijection from to whose extension to coincides with . Moreover, the extension bijectively maps companion sets of into companion sets of , respecting size.
Proof.
Observe that the equivalence classes of , which are companion sets, are precisely the non-empty sets for some family , where . Similarly, this holds for . More precisely, set for . We show that the corresponding equivalence classes (companion sets) under are of the same size. Once this is established, the required bijection that respects the equivalences can naturally be constructed.
We consider the images under of the sets of in , and let . where and , the latter equality holds because is a bijection. When ranges over the subsets of , then ranges over the equivalence classes of while ranges over the equivalence classes of .
We argue that – this then takes care of the cases where defines the empty set instead of an equivalence class, as the corresponding image under is void too. First observe that .
The equality follows from the first and the second requirement in Definition 2.2, except for the special case when , but then and consequently, and . The inclusion-exclusion principle states that we can express the size of a union of sets as sums of sizes of intersections, . We can apply this to the sets , , to obtain . Now that corresponding companion sets in and have the same number of elements, we can construct a bijection from to that respects companions. ∎
3. Directed Graphs and Companion Skeletons
A directed graph is a pair of sets where is a finite set whose elements are called vertices and is the set of edges. We also write (resp. ) to denote the set of vertices (resp. edges) of . For an edge we say that is the initial vertex of and is the terminal vertex of . For a vertex we define to be the set of all vertices that are initial for edges whose terminal vertex is , i.e., . Similarly, the out-set is the set of all vertices that are terminal to all edges whose initial vertex is , that is, . If for all vertices , then we say that is a -out graph. The out-family is defined:
[TABLE]
We drop the subscript in and whenever the graph is understood from the context.
The following observation is the main motivation for considering the notion of companions.
Lemma 3.1**.**
Let be a directed graph and let . Then if and only if .
Proof.
Observe that is an edge in if and only if . Thus two nodes and have the same incoming edges if and only if they are in the same out-sets in , thus if and only if they are companions with respect to , i.e., . ∎
In the case when is for a graph , the number of elements in cannot exceed the number of vertices . Therefore, in this case we can always assume that is indexed by a subset , i.e., . Given this representation, for the element is called the representative of and is the set of representatives for . We assume that representatives are unique, i.e., if and only if .
Formally, representatives are fixed as a bijection . Clearly, the choice of a representative for a set in depends on the function , but changing the map is the same as renaming the sets in .
Convention. In order to ease our notation, if is understood, we drop the subscript in and simply denote the set of representatives for by . Also, in this context, we always assume that is a subset of and is an index set for the family such that each uniquely determines a set in .
Let be a directed graph where for every vertex , i.e., is without isolated vertices. Let for a set of representatives . Define such that if and only if . Consider a one-out graph where . Then by the choice of as the representative of we have that if and only if . This induces the following definition.
In the rest of this section we assume that is fixed and finite.
Definition 3.2**.**
A triple is called a skeleton over set if is a family of subsets of indexed by with , and is a surjection.
A graph defined by the skeleton is the graph where .
The graph is uniquely determined by the skeleton . Directly from the definition we have that and . Moreover, for every directed graph there is a skeleton such that . It is sufficient to take where is a set of representatives of and if and only if .
Remark 3.3**.**
Note that when every representative is such that , i.e., the representative of every set in inside that set, then the one-out graph where defined by a skeleton is isomorphic to a subgraph of . Being an element of the set seems as a natural requirement for the representatives, but unfortunately this is not always possible. For instance a graph of four vertices cannot have four out-sets from a three element domain, like and . The out-sets cannot contain their own representatives, and a skeleton for cannot be a subgraph of .
Example 3.1**.**
Consider the collection over . Suppose is a graph where is such that and . We consider three skeletons , and where and the representatives are defined as follows.
[TABLE]
The three one-out graphs , and are depicted in Fig. 1(top). All three skeletons define the same graph whose edges are , i.e., . Because both and have the property that the representative of is in and the representative of is in , the one-out graphs and are subgraphs of (see Fig. 1). However, doesn’t have that property, and is not a subgraph of (the vertex is not in any out-set of ). ∎
Given two skeletons , and , we are interested under which conditions their graphs and are isomorphic. We observe that the structures of and may be quite different (as seen in Example 3.1) and yet, and may be isomorphic. We utilize the following definition.
Definition 3.4**.**
Two skeletons over set , and over set are called companions if there is a bijection that extends to a faithful correspondence such that .
Note that because is a bijection and a faithful correspondence, the relationship “skeleton companions” is an equivalence relation on skeletons. First we see that any pair of skeletons for the same graph are companions.
Lemma 3.5**.**
Any two skeletons and over such that , are companions.
Proof.
By definition of we have that , and . Hence, . Thus the identity map on extends to mapping to for all and it is a faithful correspondence satisfying . ∎
Let and be two companion skeletons over , and the corresponding faithful correspondence as in Definition 3.4. Let be a set of companions corresponding to , i.e., if and only if . Then by Lemma 2.3, is a set of companions corresponding to . We have the following lemma.
Lemma 3.6**.**
For every ,
Proof.
We show that for and . If then and , so and therefore and so implying . So, . Due to the symmetry of the argument (working with instead of ), , and because is a bijection on , . ∎
The correspondence between two companion skeletons in Definition 3.4 can take care of internal symmetry within set . A simple case appears when swaps two companion vertices which can be reflected as a swap of the outgoing edges in the corresponding skeletons. Let be a skeleton. Consider two companions and with respect to in along with the edges and in . Consider the function such that , and for all , that is, is equal to , except that in the images of and are swapped. Then , is a skeleton companion to through the bijection where , and for . Note that since and are companions, by Lemma 3.1, these nodes have the same incoming edges in , and hence also in . Swapping the out-edges of and means that the outgoing edges of and are interchanged in comparing to , and hence the two graphs are isomorphic (via the isomorphism that swaps vertices and ). We call a result of through companion edge swapping.
Example 3.2**.**
Consider the skeleton from Example 3.1; its one-out graph is depicted in Fig. 1(top-left), and repeated in Fig. 2. The only pair of companions defined by the out-sets and is . That means the only possibility for companion edge swapping is to exchange the outgoing edges of in . As happen to be mapped to respectively, edge swapping yields the one-out graph shown in Fig. 2.
The skeleton differs in the one-out graph, but has the same set of representatives for the out-sets. The graphs and (see Fig. 1(bottom) and Fig. 2(right)) are isomorphic. ∎
Fig. 3 illustrates a case where and but and are distinct. Then is the identity on , but it permutes the elements within a given companion set with respect the family . By Lemma 3.6, for every companion set , the number of elements in that map with to element is the same with the number of elements in that map to with . Fig. 3 shows an example of and on a companion set . Because , and , it must be that or . Say it is . Then . In this case and are isomorphic and is obtained from by multiple edge swapping.
Companion edge swapping is a special case of the following general result.
Theorem 3.7**.**
Two directed graphs and are isomorphic if and only if there are companion skeletons over set and over set such that and .
Proof.
Let be an isomorphism. In a natural way we also have a faithful correspondence, that is an extension of . We write and . Let be a set of representatives for and define such that iff . Then is a skeleton and . Let and set such that if and only if . In other words, for all , . We observe that is a skeleton that is companion to . By definition of we have (if , then there is with , and with , so ) and is a set of representatives of by setting for if and only if and . Moreover, is the faithful correspondence such that . Finally we see that . An edge if and only if for some . Because is an isomorphism, . So , and by definition of , .
Conversely, suppose and are companion skeletons and let and . Then by Definition 3.4 there is a bijection extending to a faithful correspondence . We claim that generates an isomorphism .
Fix . By Lemma 3.6 for every companion set with respect to we have that . Let be the companion set that contains , and so is a companion set with respect that contains . We denote with and . Therefore, there is a bijection . Observe that the companion classes with respect to (and similarly ) form a partition of (also ) and so the sets (resp. ) form a partition on (resp. ). We can extend the bijections to the whole set : define such that for all and companion sets with respect . Since is an extension of bijections of a partition of , is well defined and a bijection itself. Observe that by definition of , because , for each , and belong to the same companion set with respect to .
It remains to show that if is an edge in then is an edge in . Let , i.e., . By the skeleton definition, is a representative for where . By definition of , and so . By the definition of , , i.e., and so . By definition of , and because and are companion graphs, . But and therefore there is an edge in . Then, by definition of , as observed above, belongs to the same companion set as . Now by Lemma 3.1, , hence there is an edge in . With this we conclude that is an isomorphism from to . ∎
Isomorphic graphs have companion skeletons, regardless which skeleton we choose.
Corollary 3.8**.**
Let and be isomorphic graphs. If and are skeletons over set and , respectively, such that and then and are companions.
Proof.
As and are isomorphic by Theorem 3.7 there exist companion skeletons for and . By Lemma 3.5 these are companions to and respectively. The result follows by transitivity of companionship of skeletons. ∎
4. Partially ordered sets
In this section we consider partially ordered sets that prepares our discussion on reaction systems in the next section. The skeletons and their corresponding graphs have a special structure. The nodes are elements from a partially ordered set. Additionally we assume that out-sets of the graphs are cones in that partial order. This has a convenient benefit that the minimal element of a cone can be taken as a natural representative of that cone.
Let be a partially ordered finite set (poset). For we define to be the upper cone of or simply just the cone of . Let . We define a set of cones based at to be . The poset is called an upper semi-lattice if every subset of has a least upper bound. Observe that in the case when is an upper semi-lattice, an intersection of two cones of elements and in is a cone of the least upper bound of , i.e., smallest such that and . In other words, an upper semi-lattice is closed under intersection of cones.
Convention. All posets considered here are upper semi-lattices.
Consider for some , a family of sets consisting of cones based at . The set of companions of with respect to becomes . If , itself is the smallest element of its companion equivalence class, and it is called the main representative of . Observe that for each , , i.e., no two elements of are companions, and is a set of (main) representatives for .
In particular, when is the poset for some finite set and , the set of companions of with respect to equals .
Example 4.1**.**
We consider the poset for . Let , and let . Note . Let . Then as illustrated in Fig. 4(left). Although is not in , it is no companion for because it contains a subset which is in . Note that has no companions except itself, and is a companion to both and . ∎
In the remainder of the paper we consider graphs on partial orders. Let be a poset and a function on . Then is the usual one-out graph associated with . As we have observed, cones in the partial order have a natural representative, so a family of cones has a natural set of representatives. The main skeleton associated with equals , with . It defines the graph with edges . Note that element is a member of the set it represents, and hence is a subgraph of .
Conversely, if is a graph with nodes , such that its out-sets are cones in poset , then has a unique main skeleton such that .
Thus in the case when out-sets are cones, the main skeleton is fixed by the function . This has a consequence for the notion of companions. We say that two functions are companions if the main skeletons they define are companions, i.e., if there is a bijection on such that for . Identifying a function with its one-out graph , we call and companions when and are.
Summarizing, graphs that have their nodes from a partial order, such that the out-sets all are cones in the partial order have an efficient ‘summary’ where each node is mapped to the minimal element of its out-set. Such a skeleton is unique, given the graph.
We can characterize graphs that are isomorphic to graphs that are defined by (main) skeletons . It suffices to consider the structure of the family of out-sets.
Lemma 4.1**.**
Let be a poset. A graph is isomorphic to a graph , where is a main skeleton over if and only if and there exists a faithful correspondence between and for some .
Proof.
Obviously the out-sets of the graph consist of upper cones of , hence the forward implication. Conversely, assume a graph over with nodes and such that there exists a faithful correspondence between and for some . By Lemma 2.3 we can find a bijection between and whose extension corresponds to .
Let be a skeleton for . We define a main skeleton over which is a companion to ; from this the result follows by the characterization in Theorem 3.7.
For each the out-set of in corresponds via , and , to a cone for some . Now define to be . Then and are companions by construction. ∎
Example 4.2**.**
Let graph with node set be given by the following adjacency matrix.
[TABLE]
Then , and (see Fig. 4(right)). Now defines the following companion sets: , , , and .
There is a faithful correspondence between and a family of upper cones within . Take . Then contains sets of size , , and , respectively, matching those in .
Sets in and are illustrated in Fig. 4. Let be the bijection as shown in the table below, extended to sets matching .
\begin{array}[]{c|ccc|c|c|ccc}x&1&2&3&4&5&6&7&8\\ \hline\cr\varphi(x)&\{a\}&\{a,b\}&\{a,c\}&\{a,b,c\}&\{b,c\}&\varnothing&\{b\}&\{c\}\\ g(\varphi(x))=z&\{b,c\}&\{a\}&\varnothing&\{b,c\}&\{a\}&\varnothing&\{b,c\}&\{a\}\end{array}
The bottom rows of the above table define the main skeleton on that defines a graph isomorphic to . In this table we can swap the elements within each companion set, and obtain the main skeleton for a different but an isomorphic graph. ∎
5. Reaction Systems
We start by recalling some basic notions of reaction systems [6]. A reaction is formalized as a triplet that represent the reactant, inhibitor and product, respectively. Whenever all reactants and none of the inhibitors are present, the reaction will yield the product. The effect of separate reactions is cumulative, the union of the products for applicable reactions. More precisely, we have the following.
Definition 5.1**.**
A reaction system (RS) is a pair where is a finite set, the background set, and is a set of reactions in .
Let . For a reaction we say that is enabled in iff and . The result of on , denoted , equals if is enabled in , and , otherwise. The result of in equals .
Note that it is required that reactant and inhibitor are non-empty. This technical assumption has the consequence that no reaction is enabled in either or , thus .
Given a reaction system define to be the set of all such that there is with . Note that . Thus is a surjection.
Example 5.1**.**
We use the reaction system from [3, Example 7]. It has background set , and six reactions belong to :
, , , ,
, and .
In only is enabled, so we have . In no reactions are enabled, so . In all three , and are enabled, so . ∎
The dynamic behaviour of a reaction system is given by the notion of state sequence of an interactive process. Let be the background set. Then a state sequence is of the form , where , is such that for . The intuition behind this computational process is as follows. In each step the new products are generated by the enabled reactions. Eements that are not produced by the reactions vanish, the so-called principle of non-permanency. On the other hand, in each step the context, the environment in which the reactions take place, may add new elements in the state of the system. Hence the new state of the system is a step from to any superset of .
From this perspective we introduce two graphs to represent the stepwise behavior of reaction systems, without and with context.
Definition 5.2**.**
For a RS the [math]-context graph of is the one-out graph with edge set .
For a RS the transition graph of is the graph with edge set .
When is understood, we allow to drop the subscript in .
By definition the 0-context graph is a subgraph of the transition graph of the same reaction system.
The link to one-out graphs and graphs defined by the main skeleton as defined in Section 4 is obtained as follows. Defined on node set , the [math]-context graph equals the one-out graph defined by , while the transition graph is the graph defined by the main skeleton fixed by in the partial order .
Example 5.2**.**
For the RS from Example 5.1 the 0-context graph is given in Figure 5. The family matches the family of sets that have nonempty set of incoming edges. ∎
As is a one-out graph, it consists of one or more components, each of these components is tree-like, ‘ending in’ a single cycle. By definition of reaction systems one component must have a loop at . It turns out that virtually any graph on domain is a [math]-context graph of a reaction system. We only have to respect the special position of the minimal and maximal set and . This follows from a common construction in reaction systems, see, e.g., the implementation of a transition system in Section 4.2 of [3].
Proposition 5.3**.**
A one-out graph with vertex set is a 0-context graph of a RS if and only if there are two edges in .
Proof.
For every RS we have as no reactions are enabled in the empty set, and all reactions are inhibited in the full set due to requirement that reactant and inhibitor are non-empty. Therefore, every [math]-context graph of a RS contains edges .
Consider a one-out graph with vertices containing edges . Then we define a set of reactions matching the rest of the edges in the graph: . The complementarity of the first and second component of the reactions ensures that each reaction is enabled only at a single set, and that if and only if . ∎
As a consequence of Lemma 4.1 we can characterize graphs that are isomorphic to transition graphs of reaction systems. Recall that a faithful correspondence maps companion sets between two families of sets, respecting their sizes. As observed in Lemma 4.1, the out-sets of transition graphs must faithfully correspond to the structure of upper cones in . Additionally, by Proposition 5.3, each transition graph must have edges , . Similar edges must be present in any graph isomorphic to a transition graph, one in the intersection of all out-sets, the other in none of the out-sets (except the out-set that consists of all vertices). This characterization is given formally in the following thoerem.
Theorem 5.4**.**
A graph is isomorphic to a transition graph of a reaction system if and only if
- (1)
* for some ,* 2. (2)
there is a faithful correspondence between and a family of upper cones of , 3. (3)
there is a vertex , and a vertex such that are edges in .
Proof.
If is a RS with background set , and taking and , requirements (1) to (3) by construction hold for the transition graph , so must hold for any graph isomorphic to it.
Assume is a graph as given in the statement. We show it is isomorphic to a transition graph of a RS. Let . By (1,2) is isomorphic to a graph over the poset , where is a main skeleton. In order for to be a transition graph, the function must additionally satisfy and , cf. Proposition 5.3.
Note that the skeleton as constructed is based on the node to node bijection between and that is extending the set to a set bijection between and , see Lemma 2.3. In constructing this bijection there is freedom, as long as we respect companion sets.
Note that the incoming edge to means that is an element of one of the out-sets. As we have chosen to be in none of the out-sets except we know that only belongs to the companion set that is within and none of the other sets from . That companion set must match the same ‘outer’ companion set . That means we can take that . At the same time the only out-set that contains must be , so we conclude that in both and have out-set .
Similarly the intersection of all out-sets is a companion set which must correspond to the ‘inner’ companion set , which contains , and we may assume that .
To conclude we follow the proof of Lemma 4.1. For each with out-set in that proof we set where is the set in that corresponds to . If we apply this to we set as has out-set which must correspond to . Same holds for , thus , as required. ∎
As an immediate application of Theorem 3.7 we can characterize when reaction systems have isomorphic transition graphs.
Theorem 5.5**.**
For reaction systems and , their transition graphs and are isomorphic if and only if the [math]-context graphs and are companions.
We see that there is no obvious structural relationship between two RS’s and such that and are isomorphic. A basic operation on [math]-context graphs that yields a transition graph isomorphic to that of the original [math]-context graph is based on the companion edge swapping on the main skeletons.
Let be a RS, and let be two elements such that . Consider the pair of edges and in . The graph that is obtained from by swapping the targets of these edges, introducing the new pair and , is again a one-out graph and hence the [math]-context graph of a RS (provided are unequal to both and , see Proposition 5.3).
As seen in Section 4, by Lemma 3.1 the incoming edges of and in are equal. Switching outgoing edges of and in swaps all outgoing edges of and in . All other vertices in have their edges unchanged, so we can conclude that and are isomorphic.
Example 5.3**.**
Reconsider the RS from Example 5.1, see Figure 5 for its [math]-context graph . The elements and are companions with respect to . After companion edges switching we obtain a [math]-context graph with a single component; it has no cycles except for the (unavoidable) loop at . The original has two components. The transition graphs and are isomorphic. ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Baixeries, L. Szathmary, P. Valtchev, R. Godin: Yet a faster Algorithm for Building the Hasse Diagram of a Concept Lattice. Formal Concept Analysis (ICFCA 2009), Lecture Notes in Computer Science, Volume 5548 (2009) 162–177.
- 2[2] László Babai: Graph isomorphism in quasipolynomial time [extended abstract]. In Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing (STOC 2016). ACM, New York, NY, USA, (2016) 684–697.
- 3[3] R. Brijder, A. Ehrenfeucht, M. Main, G. Rozenberg: A Tour of Reaction Systems. International Journal of Foundations of Computer Science 22 (2011) 1499–1517.
- 4[4] J. Cruz, C. Giusti, V. Itskov, B. Kronholm: On open and closed convex codes. ar Xiv:1609.03502
- 5[5] A. Dennunzio, E. Formenti, L. Manzoni, A.E. Porreca: Reachability in Resource-Bounded Reaction Systems, Language and Automata Theory and Applications (LATA 2016), Lecture Notes in Computer Science Volume 9618 (2016) 592–602.
- 6[6] A. Ehrenfeucht, G. Rozenberg: Reaction systems. Fundamenta Informaticae 76 (2006) 1–18.
- 7[7] E. Formenti, L. Manzoni, A.E. Porreca: Cycles and Global Attractors of Reaction Systems, Descriptional Complexity of Formal Systems (DCFS 2014), Lecture Notes in Computer Science, Volume 8614 (2014) 114–125.
- 8[8] E. Formenti, L. Manzoni, A.E. Porreca: Fixed Points and Attractors of Reaction Systems Computability in Europe (Ci E 2014), Lecture Notes in Computer Science, Volume 8493 (2014) 194–203.
