Interactions between Causal Structures in Graph Rewriting Systems
Ioana Cristescu (Department of Systems Biology, Harvard Medical, School, Boston, USA), Walter Fontana (Department of Systems Biology, Harvard, Medical School, Boston, USA), Jean Krivine (IRIF, CNRS, Paris Diderot, University)

TL;DR
This paper develops a formal framework to analyze how different causal mechanisms in graph rewriting systems interact, enabling verification of mutual influences and compliance with empirical data in complex molecular models.
Contribution
It introduces a rigorous method to define and verify interference between mechanisms in graph rewriting systems, advancing understanding of molecular interactions.
Findings
Framework for interference analysis between mechanisms
Ability to verify if influences are realizable
Potential to guide rule adjustments for empirical compliance
Abstract
Graph rewrite formalisms are a powerful approach to modeling complex molecular systems. They capture the intrinsic concurrency of molecular interactions, thereby enabling a formal notion of mechanism (a partially ordered set of events) that explains how a system achieves a particular outcome given a set of rewrite rules. It is then useful to verify whether the mechanisms that emerge from a given model comply with empirical observations about their mutual interference. In this work, our objective is to determine whether a specific event in the mechanism for achieving X prevents or promotes the occurrence of a specific event in the mechanism for achieving Y. Such checks might also be used to hypothesize rules that would bring model mechanisms in compliance with observations. We define a rigorous framework for defining the concept of interference (positive or negative) between mechanisms…
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.
Interactions between Causal Structures in
Graph Rewriting Systems
Ioana Cristescu Walter Fontana Department of Systems Biology, Harvard Medical School, Boston, USA {ioana_cristescu,walter_fontana}@hms.harvard.edu IRIF, Universite Paris 7, Paris, France
Jean Krivine IRIF, Universite Paris 7, Paris, France [email protected]
Abstract
Graph rewrite formalisms are a powerful approach to modeling complex molecular systems. They capture the intrinsic concurrency of molecular interactions, thereby enabling a formal notion of mechanism (a partially ordered set of events) that explains how a system achieves a particular outcome given a set of rewrite rules. It is then useful to verify whether the mechanisms that emerge from a given model comply with empirical observations about their mutual interference. In this work, our objective is to determine whether a specific event in the mechanism for achieving X prevents or promotes the occurrence of a specific event in the mechanism for achieving Y. Such checks might also be used to hypothesize rules that would bring model mechanisms in compliance with observations. We define a rigorous framework for defining the concept of interference (positive or negative) between mechanisms induced by a system of graph-rewrite rules and for establishing whether an asserted influence can be realized given two mechanisms as an input.
1 Introduction
A persistent challenge across molecular biology is to understand how a multitude of diverse and asynchronous interactions between molecular entities give rise to coherent system behavior. One difficulty arises from the combinatorial complexity inherent in chemistry: A reaction (or interaction) between structured entities, such as molecules, consists in the transformation of specific parts in a manner that depends on a few rather than all aspects specifying the reactants. Combinatorial complexity then arises because a given reactant combination can exhibit several distinct reactive patterns and the same pattern can occur across many distinct reactant combinations. This idea generalizes beyond chemistry.
A molecular system can thus be described in terms of rewrite rules. In this way, rule-based modeling tackles combinatorial complexity without succumbing to it because it only specifies rules of pattern transformation and not the multitude of possible carriers of these patterns. Many physical systems can be conveniently described as graphs. A rule-based approach then becomes a graph rewriting formalism with a domain-specific execution model that determines the probability with which a rule fires at a given time. The currently most developed approaches are the Kappa language [9, 6] and BNGL [12] for molecular biology and Mød [2] for organic chemistry.
A rule formalizes the interaction between physical entities at some chosen level of abstraction. Processes occurring below that level are abstracted away, yet not ignored: They inform what a rule should say, but they are not explicitly represented by it. For instance, in organic chemistry, a rule of reaction between molecules expresses a local reconfiguration of bonds among atoms without explicitly representing the underlying mechanism of electron pushing that engenders such reconfiguration. In molecular biology, an interaction between proteins is typically expressed by asserting the conditions for a change of protein state without representing the structural mechanisms enabling that change. In essence, a mechanism below the chosen abstraction level becomes an axiomatic rule at the abstraction level [15].
Many observations of system behavior are assertions rather than rules. For example, an assertion might claim that the activation of protein inhibits the assembly of molecular machine . It is desirable to determine whether and why an assertion holds in terms of the joint action among rules that represent a particular system. This is tantamount to providing a mechanism that explains a given assertion at the level of abstraction at which rules are defined.
The stochastic application of rules (a simulation) typically generates a long trace of state transitions. A mechanism is a set of transitions that were jointly necessary in producing a specified outcome. Mechanisms so-defined can be extracted from traces [5, 4] and abstracted into partial orders (posets) of events111In Ref.[5], a partially ordered set of events that account for an outcome was dubbed a “story”, which is akin to the biological notion of a “pathway”..
Here we propose a formal logic to express and verify a particular kind of assertion about a model written in the Kappa language. We focus on assertions in which the occurrence of one event is claimed to interfere with another event. Our approach takes as input two posets of events (i.e. mechanisms), which might be hypothesized or abstracted from a simulation, and provides evidence whether the two posets interfere with one another at the specified events. The key is that each poset builds up a context that is required for its terminal event. These contexts can be reconstructed and checked for mutual consistency. To lay the foundation for this approach requires setting up some formal machinery which occupies the bulk of this paper.
Interaction between graph rewriting posets. The graphs in Kappa consist of nodes, called agents, meant to represent proteins. Agents are equipped with sites through which they connect to one another. A site represents a resource and hence can bear at most one edge. Such graphs are called site-graphs.
An event is the application of a rewrite rule to a usually large graph representing the state of the system. Events are partially ordered by a relation of precedence. Intuitively, an event precedes an event if contributes to establishing the context necessary for . Consider, for example, the simple model in Figure 1 with the initial state consisting of nodes , all unbound. Suppose furthermore that the binding of agent to (rule ) and of agent to (rule ) are two significant events and , respectively. We wish to verify the assertion that either event inhibits the other. The assertion is cast in terms of two mechanisms (posets) that could have been extracted from a simulation trace of this model, one mechanism resulting in , the other in (Figure 2A).
A static inspection of rules and , underlying the events that are the subject of our query, shows that both use the same site of . This might suggest that the two events are in conflict and therefore inhibit each other. This, however, is not a valid conclusion. Given the poset AX of Figure 2A, we can reconstruct the context—specifically the site-graph of Figure 2B—in which rule fires. Note that specifies that site of must be unbound. Likewise, the firing of rule is contingent upon context , which is built up by poset AY. requires that site of be bound. These two contexts are in conflict and thus cannot be realized at the same time. This means, in turn, that there is no inhibition at this point between the two mechanisms: Whether a particular gets bound to or to is already decided before the mechanisms reach the events whose relationship of inhibition we queried. As a whole, the mechanisms AX and AY must interfere with one another negatively, as cannot be bound to both and at the same time; but the point of conflict is somewhere else. (It is between event and .) To determine the earliest event combination at which two mechanisms conflict with one another can be done by scanning all events of one against all events of the other.
If we change the model by replacing rule with rule (Figure 3), the context for the application of rule becomes consistent with the context of application of rule . This means both rules can fire. Since the firing of destroys part of the context needed by (and vice versa), the mechanisms inhibit each other at the events queried. In sum, the key in determining whether two events in the scope of distinct mechanisms are mutually exclusive consists in reconstructing from the given mechanisms the context required for both events and determining whether it can be realized. We call this critical context a “scenario”.
Related work.
The notion of rule influence, introduced in Refs. [8, 7], is used to detect inhibition and promotion between posets (Definition 18). Our approach to abstracting traces of state transitions into partial orders is similar to Refs. [17, 3], but we use more fine-grained relations on graphs (the enablement and prevention relations of Section 2.4). As a consequence, we do not need Petri nets as an intermediate encoding between state transitions and posets. In any case, our main focus is on reconstructing a trace from a poset, which is obtained from a causal structure extracted from a Kappa simulation. This extraction is the subject of Ref. [4] and outside the scope of this paper.
Outline.
In Section 2 we introduce site-graphs, the graph rewriting framework of Kappa, and the notion of rule influence. To define partial orders between events in a manner informed by rule influence, we need to take a detour via the transition system induced by the rules (Section 2.4). In order to determine the scenario that establishes enablement or prevention between posets, we need to reconstruct a trace from a poset. To this end, in Section 3, we formalize trace reconstruction as the reverse of poset abstraction from traces. In Section 4 we define a logic for expressing assertions on the posets provided as inputs. We conclude in Section 5.
Length limitations preclude a description of our implementation, which can be found at https://github.com/Kappa-Dev/PosetLogic. All constructions on site-graphs presented here can be adapted to simple graphs.
2 Graph rewriting and transition systems
2.1 Site-graphs
Let be a set of agents, ranged over by and be a set of agent types, equipped with a map . The function assigns a type to each agent.
Definition 1** (Site-graph).**
A site-graph is a structure where
- •
is a set of agents;
- •
is a set of nodes, with a special node , and where each non- node is a pair of an agent and site ;
- •
is a symmetric set of edges with the constraint that it is conflict-free: , .
Definition 2** (Morphism on site-graphs).**
A morphism , for and two site-graphs, is a pair of functions with
- •
a function on agents that preserves types: and that can be extended to a function on nodes: and , for all and for all ;
- •
and a function on edges such that for any two nodes , if then .
Site-graphs and their morphisms form a category, denoted . Morphisms in preserve the node type and the edge structure of nodes in site-graphs. Isomorphisms are denoted with . A mono is a morphism with injective functions on nodes and edges. We denote the empty graph with and write for the span . The same notation is used to denote the cospan . For simplicity, we write for (or ) in . Finally, we write and for the class of morphisms and spans of , respectively.
2.2 Graph rewriting
A rule-based model consists of graph-rewriting rules that are applied in a stochastic fashion to a typically large graph representing the state of a system. In Kappa the stochastic application of rewrite rules follows basic principles of stochastic chemical kinetics [13, 8]. Each graph-rewrite action constitutes a state transition and a temporal sequence of such transitions is a trace. We also refer to the state of the system as a “mixture”.
Definition 3** (Pushout).**
The pushout of a span is a cospan such that 222We write , with in the domain of , for morphisms composition. and such that for any other cospan for which , there is a unique morphism that makes diagram PO below commute.
In the category of site-graphs, the pushout does not always exist. For a span of monos, if the pushout exists, then it asserts a gluing of and , resulting in , based on the identifications (gluing instructions) expressed by .
Definition 4** (Rule).**
A rule is a span of monos such that for some and , if then \big{(}(q(\mathrm{a}),i),n\big{)}\in\mathcal{E}_{R}\iff\big{(}(p(\mathrm{a}),i),n^{\prime}\big{)}\in\mathcal{E}_{L}, with and .
In site-graphs the site of an agent can be specified without specifying if the site is free or bound to another site. Formally, in a site-graph with an agent , we can have for which there is no edge such that or . Rules however, need to satisfy a constraint related to sites: if an edge exists for a site in either sides of a rule, then it exists in both sides.
Definition 5** (Double-pushout rewriting [10]).**
Let be a rule. Let be a site-graph (typically a system state) and let be a mono, called a matching. The double pushout rewriting consists in defining the site-graph , called the context graph, and the site-graph such that the two squares in diagram DPO are pushouts. We refer to the dpo rewrite of to as and denote the state transition associated with the application of rule at ”location” of the system state (i.e. the mixture) as .
PO:M^{\prime}$$O$$G_{1}$$G_{2}$$M$$g_{1}$$g_{2}$$f_{1}~{}$$~{}f_{2}$$f_{1}^{\prime}$$f_{2}^{\prime}
DPO:L$$K$$R$$M$$D$$N$$p$$q$$m
Given the definition above, a context graph need not always exist. We use dpo rewriting for the sake of simplicity, but our work extends to other graph rewriting techniques.
2.3 Influence
The postcondition resulting from the application of a rule can satisfy or, more generally, contribute (in conjunction with other rules) to satisfying the precondition for the application of another rule . Alternatively, might destroy the precondition of . In the former case we speak of a positive influence of on and, in the latter case, of a negative influence. Of course, a rule may also have no influence on a particular other rule.
Influence333Positive and negative influence were referred to as activation, inhibition or overlaps in Refs.[8, Section 3.4],[7, Section 4.2.3][14]. belongs to the realm of possibility: it is a latent relation between rules that becomes manifest as a relation between events (i.e. actual rule applications) in the specific context of a trace, as we discuss formally in Section 3.
We next define two categorical concepts needed for capturing influence. Multisums are meant to characterize all possible ways of gluing together two graphs and .
Definition 6** (Multisum in the subcategory of monos).**
Let and be two graphs. The multisum of and , denoted with , is a family of cospans of monos , with , , , such that for any other cospan of monos , with , there exists an , and a unique mono that makes diagram MS below commute. Moreover, for any monos and , , for which diagram MS commutes, we have .
Unlike other constructions, which are defined in , multisums are defined in the subcategory of whose morphisms are restricted to monos. Multisums always exists in this subcategory.
Definition 7** (Pullback).**
The pullback of the cospan consists of a span such that . In addition, for any other span such that , there is a unique morphism that makes diagram PB commute.
MS:G_{1}$$G_{2}$$M_{1}$$\cdots$$M_{k}$$\cdots$$M_{n}$$M^{\prime}$$f_{1}^{\prime}$$f_{2}^{\prime}
PB:O$$G_{1}$$G_{2}$$M$$O^{\prime}$$g_{1}$$g_{2}$$f_{1}~{}$$~{}f_{2}$$g_{1}^{\prime}$$g_{2}^{\prime}
The pullback always exists in . Using these notions we can define influence.
Definition 8** (Positive influence [14]).**
Given two rules and , consider an overlap between and , i.e. a cospan , and let be the pullback of . Moreover, let be the pullback of . The rule has a positive influence on rule , if is not an iso. In other words, if is not contained in and, thus, in . The influence is induced by the overlap corresponding to and is denoted by .
The diagram on the right depicts the relationships used in Definition 8. The rule has a positive influence on if it creates a subgraph of . By requiring not to be an iso, we assert that is not already present in and must, therefore, be produced by . Negative influence is defined analogously, but with now the pullback of a cospan between the left hand sides: has a negative influence on , if it destroys a subgraph of .
Example 1**.**
The rule has a positive influence on , because produces an agent needed for a subsequent application of shown in Figure 4. Similarly has a negative influence on since it erases an agent needed by .
2.4 Transition systems
Following Refs. [10, 3] we introduce the notion of transition system (TS) on state graphs and an independence relation between transitions. We then propose new relations of enablement and prevention between transitions, based on the notions of rule influence just defined, and connect them to independence.
Definition 9** (TS on graphs [10]).**
A transition system on graphs consists of:
- •
a set of states , where each state is a graph;
- •
a set of rules ;
- •
a set of labeled transitions , where each transition is a dpo rewriting step with , an underlying rule , and a matching .
Transitions can be composed if the source state of matches the destination state of . A trace is a (possibly empty) sequence of composable transitions: .
Definition 10** (Independence relation on transitions [10]).**
Let , and be transitions with underlying rules , and corresponding matchings as indicated in the diagrams below.
sequential independence
and are sequentially independent, written , iff there exist morphisms and such that and .
parallel independence
and are parallel independent, written , iff there exist morphisms and such that and .
R_{1}$$M_{1}$$L_{2}$$D_{1}$$K_{1}$$D_{2}$$K_{2}$$L_{1}$$M$$R_{2}$$M_{2}sequential independenceg_{1}$$f_{2}$$m_{2}$$n_{1}$$m_{1}
L_{1}$$M$$L_{3}$$D_{1}$$K_{1}$$D_{3}$$K_{3}$$R_{1}$$M_{1}$$R_{3}$$M_{3}parallel independencef_{1}$$f_{3}$$m_{3}$$m_{1}
In the following, we use the function (of Definition 5) to chain transitions by span composition (see diagrams below). Given two spans and , we define their composition as where is the pullback of . A partial morphism is a total morphism from the subgraph of to , that is . Given a span , its corresponding partial morphism, denoted , is defined on as and undefined otherwise [11].
M_{1}$$D_{1}$$M_{2}$$D_{2}$$M_{3}$$D$$f_{1}$$f_{2}$$g_{1}$$g_{2}$$h_{1}$$h_{2}
M_{1}$$M_{3}$$D$$l$$r
Definition 11** (Causality).**
Let and be two transitions bracketing a trace . The rules inducing , are with matchings into and , respectively.
enablement
Let be a span such that . If the diagram below on the left commutes then enables , denoted . In the diagram below on the left, the partial morphism is obtained from the composition of .
prevention
Let be a span such that . If the diagram below on the right commutes then prevents , denoted . In the diagram below on the right the partial morphism is the composition of .
O$$M_{1}$$D_{1}$$N_{1}$$N_{2}$$D_{2}$$M_{2}$$R_{1}$$K_{1}$$L_{1}$$L_{2}$$K_{2}$$R_{2}enablementg_{1}$$g_{2}
O$$M_{1}$$M_{2}$$L_{1}$$L_{2}preventiong_{1}$$g_{2}
To make the underlying span explicit, we sometimes write and .
Example 2**.**
Consider the trace of Figure 5. The first transition enables the second and third transitions. The second transition enables the last transition. However, it is a “delayed” enabler: it partially fulfills the precondition of the last transition, but the third transition has to happen before. Note that such type of causality is not captured by the graph rewriting framework of [10, 3, 16]444For immediate transitions, enablement and prevention coincide with the sequential dependence and critical pairs, respectively, of Refs. [10, 3, 16]. See the appendix for more details.. Lastly note that the third transition is a preventer for the second one.
3 Posets of graph rewriting events
In this section we abstract a trace into a poset of events, and concretize a poset back into a set of traces. Each transition becomes an event in a poset with the underlying rule as its label. Similarly, in the concretization, each event in a poset corresponds to a transition such that transitions compose into a trace. The abstraction is used to reduce the number of simulation traces to a small set of posets, and the concretization recomputes a “representative” trace from each poset. Concretized traces are used in the next section.
3.1 From traces to posets
A transition (Definition 5) is a pair of spans— and the underlying rule —and a matching . When abstracting a trace into a partial order, we drop the span and . The enabling and prevention relations between transitions in a trace (Section 2.4) translate into a partial order on events, labeled by the underlying rules.
We proceed in two steps. Enabling and prevention between transitions hinge on positive and negative influence between the underlying rules (see Definition 11). Recall that when transition enables transition within a trace there exists a span for which . The first abstraction, , forgets the matching and the span of a transition , but preserves enablement and prevention relations between transitions and the positive and negative influence between the underlying rules.
Definition 12** (Abstraction step 1).**
Let be a trace and 555We can define a function from transitions to natural numbers such that . The set of events is then . be a set of events. Events are labeled using a function such that if , for . We then define two relations :
and ,
for , and . We denote this first abstraction of with .
The notation , for some span , overloads the notation . Keep in mind, however, that the first is defined on events whereas the second can be inferred from the rules on which it holds (see Definition 8).
In the second abstraction step, , we map the relations and to corresponding partial orders on events. This step simply forgets the spans responsible for the enablement and prevention relations on transitions.
Definition 13** (Abstraction step 2).**
Let be a set of events equipped with a labeling function and two relations . We translate the relations on events from Definition 12 into two new relations :
[TABLE]
The associated poset is defined as , where and are the transitive and reflexive closure of and , respectively. We call the two relations and , (enabling) precedence and non-enabling precedence, respectively666In order to not introduce unnecessary terminology, we abuse the term poset to mean the structure where the set of events is equipped with two partial orders. We could instead define but in this case we forget the distinction between and ..
Lemma 1**.**
Let be a trace and let be two events with . If then there exists a span such that . Similarly, if , then there exists a span such that .
A morphism on posets is a function on events that preserves labels and the two precedence relations. An isomorphism between two posets and is denoted by . For a set of traces , we write for the set of posets obtained via and quotiented by iso.
Example 3**.**
Consider the trace of Example 2. The corresponding poset consists of the events with the relations and . Note that is a non-enabling precedent of , as in the original trace transition prevents transition .
3.2 From posets to traces
We next specify the concretization from posets to traces. Again, we proceed in two steps. The first concretization retrieves the intermediate structure from a poset . This step recovers the influence (positive or negative) between the rules underlying two events that are in a particular precedence or non-enabling precedence relation.
Definition 14** (Concretization step 1).**
Let be a poset. We define the relations as follows:
- •
and , for some ;
- •
and , for some
where and are the reduced relation of and , respectively. The concretization of a poset is then .
Example 4**.**
Consider a poset of events and with labels , and , respectively, as shown in Figure 6. Furthermore, suppose that events and both precede . For the pair , one can infer the positive influence . For the pair , we need to consider two possibilities: either
or . The relation induced by the span is problematic. Intuitively, the events and should produce a distinct set of agents for event . Specifically, both cannot produce the same agent that binds to in . The consistent span attributes the creation of agent to and the creation of to (in addition to a further not used in ). In this manner, both and are necessary for the occurence of .
As the example indicates, it is not trivial to retrieve the influence between events from the influence between rules. The problem is that influence between events is a global property of the poset, whereas influence between rules is local to the two rules. Lack of space prevents us from characterizing the correct concretizations of a poset. Informally, a concretization of a poset is correct if (i) every relation on events in is due to a shared resource (i.e. an agent or an edge) and if (ii) every resource in is consistent throughout .
The second concretization maps events into transitions such that: (i) the transitions compose into a valid trace and (ii) the relations defined on the events hold on the transitions of the trace. We call a candidate for concretization any function from events to transitions that satisfies condition (i).
Definition 15**.**
Let be a set of events with a labeling function and a total order on events . A function is called a candidate for concretization if such that , for some graphs , and a morphism . Moreover , with , , compose into a trace.
Any such function must also satisfy condition (ii), as in the following definition.
Definition 16** (Concretization step 2).**
Let be a set of events equipped with a function and two relations . Let be a total order on events and let be a function from events to transitions such that the following hold:
- •
and
- •
for , . Then the concretized trace is , for , .
For a poset, we write for the set of all possible concretisations, i.e. the set of all traces as specified by and . We write for the concretization function used in reconstructing a particular .
Theorem 1**.**
Let be a trace. Then . Moreover, for any trace , .
4 A logic on posets
In Figure 7 we define a fragment of a first order logic that can be used to express assertions about positive and negative influence between mechanisms, that is, posets. We interpret the logic on the set of posets , ranged over by , and on the set of events , where is the set of events in . To distinguish between the partial orders of different posets in , we write . In the following, stands for variables, for terms and the superscripts and indicate whether the variables and terms range over events or posets, respectively. Formulas are denoted by and are built from predicates on variables and terms.
A valuation for is a function from the set of free variables of to the set of events and posets. The evaluation of is defined below and requires a valuation function for the set of free variables of ; the evaluation is therefore parametric on . We use two functions, one to evaluate terms and one to evaluate formulas . A formula is satisfiable if there exists such that evaluates to true. The interpretation of formulas and terms is shown in Figure 8.
Example 5**.**
We return to the introductory example. The mechanisms of binding an agent to an agent or to an agent consist in the application of rule and , respectively. The assertion that the first mechanism prevents (or conflicts with) the second is written as . The logic allows us to formulate more complex mechanisms. For our example, we can write for a mechanism that produces bound to either or .
The predicates and check for enablement and prevention between two posets. Informally, and represent the ”meeting point” of the two posets and . We use these events to reconstruct a graph that represents a context in which enables or prevents .
The causal past of an event is the set of events that preceded it. We denote with the causal past of an event and define with and defined like but restricted to .
Definition 17** (Occurrence context of an event in a poset).**
Let be a poset and let be an event. Furthermore, let be a concretization of . We say that a morphism is an occurrence context of in if , for some graphs .
The occurrence context of in and of in is specified by matchings and , respectively. The diagram on the right illustrates the prevention of by . Since the graph contains both and , both events and can occur in that context. We then say that is a scenario for the prevention of by , which is induced by a negative influence between the underlying rules, . The scenario graph is formally defined as follows.
Definition 18** (Scenario for prevention).**
Let be an occurrence context of event in the poset , . Let be a span such that . Define the span as , . We say that the graph obtained by the pushout is a scenario (graph) for the prevention of by .
Example 6**.**
Let , be the left hand sides of rules and from Figure 2. We have a negative influence between the rules and induced by the agent . The occurence context of in the poset AX is obtained from the concretization of the poset AX and consists of the morphism . Similarly the occurence context of in the poset AY is . There is no scenario for prevention as the graph (in Figure 2) is not a site-graph.
In a similar manner we interpret the enabling relation between two mechanisms. The predicate returns true if there exists a scenario as defined above. The pushout does not always exists and, in consequence, mechanisms do not always interact with one another.
The logic is implemented as a systematic inspection of each poset. The set of posets does not have in itself a structure, and therefore there is no smart strategy for deciding whether a formula holds. The point of the logic is to give a formal language and an interpretation for influence between posets.
Example 7**.**
Let us look at a Kappa model slightly more complicated than the one in the Introduction. We give the rules in the figure below. The two posets build up the graphs and . Then there are two “resources” which can produce an inhibition between the two posets. They produce two scenario graphs for inhibition and , shown in Figure 9.
Let us change rule into and keep everything else the same. With the new rule the graph build up by Poset AX requires the site of agent to be free. In this case only one scenario for inhibition can still occur, shown in Figure 10.
5 Conclusions
Given a categorical notion of graph rewrite system, we defined positive and negative influence between rules. This allowed us to define sequential and parallel independence between state transitions and the relations of enablement and prevention. These were then lifted to the poset abstraction of a trace of state transitions, where they became enabling and non-enabling precedence relations within a poset. The formulation of a logic on posets then allows us to formulate questions about enablement and prevention relations between posets. We ended by specifying how the concretization of posets back into a trace provides a scenario graph that establishes the truth (or falsity) of a statement about poset interaction. These notions, together with their implementation, are meant to assist a modeler in checking the consistency between observations and the mechanisms that are implied by a rule-based model.
Acknowledgements. We gratefully acknowledge illuminating discussions with Russ Harmer, Jerome Feret, and Jonathan Laurent. Special thanks to Pierre Boutillier for his help in developing and integrating the model checker resulting from this contribution into the Kappa software framework.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1]
- 2[2] Jakob L. Andersen, Christoph Flamm, Daniel Merkle & Peter F. Stadler (2016): A Software Package for Chemically Inspired Graph Transformation. Lecture Notes in Computer Science 9761, pp. 73–88, 10.1007/978-3-319-40530-8_5 . · doi ↗
- 3[3] Paolo Baldan (2000): Modelling Concurrent Computations: from Contextual Petri Nets to Graph Grammars . Ph.D. thesis, Computer Science Department - University of Pisa.
- 4[4] Vincent Danos, Jérôme Feret, Walter Fontana, Russell Harmer, Jonathan Hayman, Jean Krivine, Chris Thompson-Walsh & Glynn Winskel (2012): Graphs, rewriting and pathway reconstruction for rule-based models . Proceedings of FSTTCS 2012 18, pp. 276–288, 10.4230/LIP Ics.FSTTCS.2012.276 . · doi ↗
- 5[5] Vincent Danos, Jérôme Feret, Walter Fontana, Russell Harmer & Jean Krivine (2007): Rule-Based Modelling of Cellular Signalling, invited paper . Proceedings of the 18th CONCUR 4703, pp. 17–41, 10.1007/978-3-540-74407-8_3 . · doi ↗
- 6[6] Vincent Danos, Jérôme Feret, Walter Fontana, Russell Harmer & Jean Krivine (2008): Rule-Based Modelling, Symmetries, Refinements . Proceedings of Formal Methods in Systems Biology FMSB , pp. 103–122, 10.1007/978-3-540-68413-8_8 . · doi ↗
- 7[7] Vincent Danos, Jérôme Feret, Walter Fontana, Russell Harmer & Jean Krivine (2010): Abstracting the Differential Semantics of Rule-Based Models: Exact and Automated Model Reduction . Proceedings of the 25th Annual IEEE Symposium on Logic in Computer Science , pp. 362–381, 10.1109/LICS.2010.44 . · doi ↗
- 8[8] Vincent Danos, Jérôme Feret, Walter Fontana & Jean Krivine (2007): Scalable Simulation of Cellular Signaling Networks . Proceedings of Programming Languages and Systems: 5th Asian Symposium APLAS , pp. 139–157, 10.1007/978-3-540-76637-7_10 . · doi ↗
