This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

11institutetext: Faculty of Mathematics and Computer Science, Nicolaus Copernicus University,
Chopina 12/18, 87-100 Toruń, Poland
22institutetext: Faculty of Mathematics and Computer Science, Nicolaus Copernicus University,
Chopina 12/18, 87-100 Toruń, Poland - retired
33institutetext: Institute of Computer Science, Polish Academy of Sciences,
Jana Kazimierza 5, 01-248 Warszawa, Poland - retired

Hierarchy of persistence
with respect to the length of action’s disability

Kamila Barylska The study is founded by the Polish National Science Center (grant No.2013/09/D/ST6/03928).11    Edward Ochmański
khama,edoch}@mat.umk.pl
2233 {
Abstract

The notion of persistence, based on the rule "no action can disable another one" is one of the classical notions in concurrency theory. It is also one of the issues discussed in the Petri net theory. We recall two ways of generalization of this notion: the first is "no action can kill another one" (called l/l-persistence) and the second "no action can kill another enabled one" (called the delayed persistence, or shortly e/l-persistence). Afterwards we introduce a more precise notion, called e/l-k-persistence, in which one action disables another one for no longer than a specified number k of single sequential steps. Then we consider an infinite hierarchy of such e/l-k persistencies. We prove that if an action is disabled, and not killed, by another one, it can not be postponed indefinitely. Afterwards, we investigate the set of markings in which two actions are enabled simultaneously, and also the set of reachable markings with that feature. We show that the minimum of the latter is finite and effectively computable. Finally we deal with decision problems about e/l-k persistencies. We show that all the kinds of e/l-k persistencies are decidable with respect to steps, markings and nets.

etri nets, concurrency, persistence, decision problems

Keywords:
P

1 Introduction

Petri nets constitute a very useful and suitable tool for concurrent systems modeling. Thanks to them, we can not only model real systems, but also analyze their properties and design systems which fulfill given criteria. For many years, concurrent systems have been examined in the context of their compliance with certain desirable properties, which fits in with the trend of the so-called ethics of concurrent computations. One of the commonly found undesirable properties of concurrent systems is the presence of conflicts, and thus, one of the most desirable properties of them is conflict-freeness. The notion of persistence, proposed by Karp/Miller [11] is one of the the most important notions in concurrency theory. It is based on the behaviourally oriented rule "no action can disable another one", and generalizes the structurally defined notion of conflict-freeness.

The notion of persistence is one of the issues frequently discussed in the Petri net theory - [4, 9, 10, 14, 15, 13] and many others. It is being studied not only in terms of theoretical properties, and also as a useful tool for designing and analyzing software environments [3]. In engineering, persistence is a highly desirable property, especially in a case of designing systems to be implemented in hardware. Many systems can not work properly without satisfying this property.

We say that an action of a processing system is persistent if, whenever it becomes enabled, it remains enabled until executed. A system is said to be persistent if all its actions are persistent. This classical notion has been introduced by Karp/Miller [11]. In section 2.6, we show two generalizations of the classical notion (defined in [2]): l/l-persistence and e/l-persistence which form the following hierarchy: Pe/ePl/lPe/lP_{e/e}\subseteq P_{l/l}\subseteq P_{e/l}. An action is said to be l/l-persistent if it remains live until executed, and is e/l-persistent if, whenever it is enabled, it cannot be killed by another action. For uniformity, we name the traditional persistence notion e/e-persistence. Next, we recall that those kinds of persistence are decidable in place/transition nets.

In section 3.1, we extend the hierarchy mentioned above with an infinite hierarchy of e/l-persistent steps. A step MaMMaM^{\prime} is said to be e/l-k-persistent for some k \in\mathbb{N} if the execution of an action aa pushes the execution of any other enabled action away for at most k steps (more precise: if the execution of an action aa stops the enabledness of any other action, then the enabledness is restored not later than after k steps).

In section 3.2 we study decision problems related to the notion of e/l-k-persistence. These problems include EL-k Step Persistence Problem and EL-k Marking Persistence Problem. We show that both problems are decidable (Theorem 3.1 and Theorem 3.2).

The next problem we want to focus on is EL-k Net Persistence Problem. In order to check the decidability of the problem we need to take advantage of additional tools and facts. That is why we investigate the set of markings in which two actions are enabled simultaneously, and also the set of reachable markings with that feature. We show that the minimum of the latter is finite and effectively computable. We also prove that if some action pushes the enabledness of another one away for more than k steps, then it also needs to happen in some minimal reachable marking enabling these two actions. In our proofs we use the decidability of the Set Reachability Problem (from [2]) and also we make use of the theory of residual sets of Valk/Jantzen [18]. Finally, we show that e/l-k-persistence is decidable with respect to nets (Theorem 3.7).


We also prove (section 3.3) that if an action of an arbitrary p/t-net is disabled (but not killed) by another one, it can not be postponed indefinitely. We show that if a p/t-net is e/l-persistent, then it is e/l-k-persistent for some k \in\mathbb{N} (Theorem 3.8), and such a number k can be effectively found (Theorem 3.10). We also point, that the above-cited result does not hold for nets which do not have the monotonicity property (i.e. it is not true that the action enabled in some marking MM is also enabled in any marking MM^{\prime} greater than MM), for example for inhibitor nets.

The concluding section contains some questions and plans for further investigations.

A preliminary version of the paper was presented on the International Workshop on Petri Nets and Software Engineering (Hamburg, Germany, June 25-26, 2012) with electronical proceedings available online at CEUR-WS.org as Volume 851. The present paper is an improved and extended version of it.

2 Basic Notions

2.1 Denotations

The set of non-negative integers is denoted by \mathbb{N}. Given a set XX, the cardinality (number of elements) of XX is denoted by |X||X|, the powerset (set of all subsets) by 2X2^{X}, the cardinality of the powerset is 2|X|2^{|X|}. Multisets over XX are members of X\mathbb{N}^{X}, i.e. functions from XX into \mathbb{N}.

2.2 Petri Nets and Their Computations

The definitions concerning Petri nets are mostly based on [5].

Definition 1 (Nets)

Net is a triple N=(P,T,F)\mathrm{N}=(P,T,F), where:

  • PP and TT are finite disjoint sets, of places and transitions, respectively;

  • FP×TT×PF\subseteq P\times T\cup T\times P is a relation, called the flow relation.


For all aTa\in T we denote:
a={pP(p,a)F}{}^{\bullet}a=\{p\in P\mid(p,a)\in F\} - the set of entries to aa
a={pP(a,p)F}a^{\bullet}=\{p\in P\mid(a,p)\in F\} - the set of exits from aa.


Petri nets admit a natural graphical representation. Nodes represent places and transitions, arcs represent the flow relation. Places are indicated by circles, and transitions by boxes.

The set of all finite strings of transitions is denoted by TT^{*}, the length of wTw\in T^{*} is denoted by |w||w|, number of occurrences of a transition aa in a string ww is denoted by |w|a|w|_{a}, two strings u,vTu,v\in T^{*} such that (aT)(\forall a\in T) |u|a=|v|a|u|_{a}=|v|_{a} are said to be Parikh equivalent, which is denoted by uvu\equiv v.

Definition 2 (Place/Transition Nets)

Place/transition net (shortly, p/t-net) is a quadruple S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}), where:

  • N=(P,T,F)\mathrm{N}=(P,T,F) is a net, as defined above;

  • M0PM_{0}\in\mathbb{N}^{\mathrm{P}} is a multiset of places, named the initial marking; it is marked by tokens inside the circles, capacity of places is unlimited.


Multisets of places are named markings. In the context of p/t-nets, they are mostly represented by nonnegative integer vectors of dimension |P||P|, assuming that PP is strictly ordered. The natural generalizations, for vectors, of arithmetic operations ++ and -, as well as the partial oder \leqslant, all defined componentwise, are well known and their formal definitions are omitted here.

In this context, by a(a){}^{\bullet}a(a^{\bullet}) we understand a vector of dimension |P||P| which has 1 in every coordinate corresponding to a place that is an entry to (an exit from, respectively) aa and 0 in other coordinates.

A transition aTa\in T is enabled in a marking MM whenever aM{}^{\bullet}a\leq M (all its entries are marked). If aa is enabled in MM, then it can be executed, but the execution is not forced. The execution of a transition aa changes the current marking MM to the new marking M=(Ma)+aM^{\prime}=(M-^{\bullet}a)+a^{\bullet} (tokens are removed from entries, then put to exits). The execution of an action aa in a marking MM we call a (sequential) step. We shall denote MaMa for the predicate "a is enabled in MM" and MaMMaM^{\prime} for the predicate "aa is enabled in MM and MM^{\prime} is the resulting marking".

This notions and predicates we extend, in a natural way, to strings of transitions: MεMM\varepsilon M for any marking MM, and MvaM′′MvaM^{\prime\prime} (vT,aTv\in T^{*},a\in T) iff MvMMvM^{\prime} and MaM′′M^{\prime}aM^{\prime\prime} .

Remark: Wherever this will not lead to confusion, we will use a notation M=MaM^{\prime}=Ma to denote the fact that the action aa is enabled in a marking MM and a marking MM^{\prime} is the result of the execution of action aa in a marking MM.

If MwMMwM^{\prime}, for some wTw\in T^{*}, then MM^{\prime} is said to be reachable from MM; the set of all markings reachable from MM is denoted by [M[M\rangle . Given a p/t-net S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}), the set [M0[M_{0}\rangle of markings reachable from the initial marking M0M_{0} is called the reachability set of S, and markings in [M0[M_{0}\rangle are said to be reachable in S.


A transition aTa\in T is said to be live in a marking MM if there is a string uTu\in T^{*} such that uaua is enabled in MM. A transition aTa\in T that is not live in a marking MM is said to be dead in a marking MM. Let M[M0M\in[M_{0}\rangle be a marking such that MaMMaM^{\prime} for some aTa\in T, then if a transition bab\neq a is enabled (live) in MM and not enabled (not live) in MM^{\prime}, we say that (the execution of) aa disables (kills) bb in a marking MM. We also say that an action aa disables (kills) bb (in a net SS) if aa disables (kills) bb in some reachable marking MM.

Definition 3 (Inhibitor nets )

Inhibitor net is a quintuple S=(P,T,F,I,M0)\mathrm{S}=(P,T,F,I,M_{0}), where:

  • (P,T,F,M0)(P,T,F,M_{0}) is a p/t-net, as defined above;

  • IP×TI\subseteq P\times T is the set of inhibitor arcs (depicted by edges ended with a small empty circle). Sets of entries and exits are denoted by a{}^{\bullet}a and aa^{\bullet}, as in p/t-nets; the set of inhibitor entries to aa is denoted by a={pP(p,a)I}{}^{\circ}a=\{p\in P\mid(p,a)\in I\}.

A transition aTa\in T (of an inhibitor net) is enabled in a marking MM whenever aM\bullet a\leq M (all its entries are marked) and (pa)(\forall p\in{{}^{\circ}a}) M(p)=0M(p)=0 - all inhibitor entries to aa are empty. The execution of aa leads to the resulting marking M=(Ma)+aM^{\prime}=(M-^{\bullet}a)+a^{\bullet}.

The following well-known fact follows easily from Definitions 1 and 2.

Fact 1 (Diamond and big diamond properties)

Any place/transition net possesses the following property:

Big Diamond Property:

If MuM&MvM′′&uvMuM^{\prime}\ \&\ MvM^{\prime\prime}\ \&\ u\approx v (Parikh equivalence), then M=M′′M^{\prime}=M^{\prime\prime}.

Its special case with |u|=|v|=2|u|=|v|=2 is called the Diamond Property:

If MabM&MbaM′′MabM^{\prime}\ \&\ MbaM^{\prime\prime}, then M=M′′M^{\prime}=M^{\prime\prime}.

Definition 4

We say that a Petri net S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) has the monotonicity property if and only if (wT)(M,MP)MwMMMw(\forall w\in T^{*})(\forall M,M^{\prime}\in\mathbb{N}^{P})\ Mw\land M\leq M^{\prime}\Rightarrow M^{\prime}w.

Fact 2

P/t-nets have the monotonicity property.

Proof

Obvious, since in p/t-nets the tokens of MMM^{\prime}-M can be regarded as frozen (disactive) tokens.

Fact 3

Inhibitor nets do not have the monotonicity property.

Proof

Let us look at the example of Fig. 1. It can be easily seen that M1<M1M_{1}<M_{1}^{\prime}. M1aM_{1}a holds but M1aM_{1}^{\prime}a doesn’t hold.

Refer to caption
Figure 1: Non-monotonic inhibitor net

2.3 Monoid k\mathbb{N}^{\mathrm{k}}

Definition 5 (Monoid k\mathbb{N}^{\mathrm{k}}, rational operations, rational subsets)

The monoid k\mathbb{N}^{\mathrm{k}} is the set of k\mathrm{k}-dimensional non-negative integer vectors with the componentwise addition ++.
If X,YkX,Y\subseteq\mathbb{N}^{\mathrm{k}} then X+Y={x+y|xX,yY}X+Y\ =\ \{x+y\ |\ x\in X,y\in Y\} and the star operation is defined as X={Xi|i}X^{*}=\bigcup\{X_{i}|i\in\mathbb{N}\}, where X0=(0,,0)X_{0}=(0,\ldots,0) and Xi+1=Xi+XX_{i+1}=X_{i}+X. The partial order \leq is understood componentwise, and << means \leq and \neq . Rational subsets of k\mathbb{N}^{\mathrm{k}} are subsets built from finite subsets with finitely many operations of union \cup , addition ++ and star .

Theorem 2.1 (Ginsburg/Spanier[8])

Rational subsets of k\mathbb{N}^{\mathrm{k}} form an effective boolean algebra (i.e. are closed under union, intersection and difference).

Definition 6 (ω\omega-extension)

Let ω={ω}\mathbb{N}_{\omega}=\mathbb{N}\cup\{\omega\}, where ω\omega is a new symbol (denoting infinity). We extend, in a natural way, arithmetic operations:
ω+n=ω\omega+\mathrm{n}=\omega, ωn=ω\omega-\mathrm{n}=\omega, and the order: (n)n<ω(\forall\mathrm{n}\in\mathbb{N})\ \mathrm{n}<\omega.
The set of k-dimensional vectors over ω\mathbb{N}_{\omega} we shall denote by ωk\mathbb{N}_{\omega}^{\mathrm{k}}, and its elements we shall call ω\omega-vectors. Operations +,+,- and the order \leq in ωk\mathbb{N}_{\omega}^{\mathrm{k}} are componentwise.
For XωkX\subseteq\mathbb{N}_{\omega}^{\mathrm{k}}, we denote by Min(XX) the set of all minimal (wrt \leq) members of XX, and by Max(XX) the set of all maximal (wrt \leq) members of XX. Let v,vωkv,v^{\prime}\in\mathbb{N}_{\omega}^{\mathrm{k}} be ω\omega-vectors such that vvv\leq v^{\prime}, then we say that vv^{\prime} covers vv (vv is covered by vv^{\prime}) .

Let us recall the well known important fact known as the Dickson’s Lemma.

Lemma 1 ([6])

Any subset of incomparable elements of ωk\mathbb{N}_{\omega}^{\mathrm{k}} is finite.

Definition 7 (Closures, convex sets)
  • Let xωkx\in\mathbb{N}_{\omega}^{\mathrm{k}} and XωkX\subseteq\mathbb{N}_{\omega}^{\mathrm{k}}. We denote: x={zk|zx}\downarrow x=\{z\in\mathbb{N}^{\mathrm{k}}\ |\ z\leq x\},
    x={zk|xz}x\uparrow=\{z\in\mathbb{N}^{\mathrm{k}}\ |\ x\leq z\}, X={x|xX}\downarrow X=\bigcup\{\downarrow\!x\ |\ x\in X\}, X={x|xX}X\uparrow=\bigcup\{x\uparrow\ |\ x\in X\}, and call the sets left\mathrm{left} and rightclosures\mathrm{right\ closures} of XX, respectively;

  • A set XkX\subseteq\mathbb{N}^{\mathrm{k}} such that X=XX=\downarrow X (X=XX=X\uparrow) is said to be left\mathrm{left}-(right\mathrm{right}-) closed\mathrm{closed};

  • A set XkX\subseteq\mathbb{N}^{\mathrm{k}} such that X=X=XX=\downarrow X=X\uparrow is said to be convex\mathrm{convex}.

We also recall a fact proved in [2]:

Proposition 1

Any convex subset of k\mathbb{N}^{\mathrm{k}} is rational.

2.4 Reachability graph/tree and coverability graph

Let us recall the notions of a reachability graph/tree and a coverability graph. Their definitions can be also found in any monograph or survey about Petri nets (see [5, 17] or arbitrary else). Reachability graphs/trees are used for studying complete behaviors of nets, but they are usually infinite, whichmakes an accurate analysis of them difficult. That is why we study coverability graphs, which represent the behaviours of nets only partially, but are always finite.

The reachability graph of a p/t-net S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) is a couple RG=(G,M0)\mathrm{RG}=(\mathrm{G},M_{0}) where [M0×P×[M0G={(M,a,M)|M[M0MaM}[M_{0}\rangle\times P\times[M_{0}\rangle\supseteq\mathrm{G}=\{(M,a,M^{\prime})\ |\ M\in[M_{0}\rangle\land MaM^{\prime}\}.

The reachability graph RG\mathrm{RG} represents graphically the behaviour of the net S\mathrm{S}. Vertices of the graph are reachable markings from the set [M0[M_{0}\rangle, while edges are ordered pairs of reachable states, labeled by actions. More precisely: the edge (M,a,M)G(M,a,M^{\prime})\in\mathrm{G} iff MM is a state reachable from the initial marking M0M_{0}, an action aTa\in T (the label of the edge (M,a,M)(M,a,M^{\prime})) is enabled in a state MM and M=MaM^{\prime}=Ma. The existence of an edge (M,a,M)(M,a,M^{\prime}) in the reachability graph of the net S\mathrm{S} indicates that the marking MM is reachable in S\mathrm{S}, the action aa is enabled in MM and after the execution ot the action aa in the marking MM, the net S\mathrm{S} reaches the state MM^{\prime}.

Sometimes it is more convenient to use a special graph structure for listing all reachable markings of a given p/t-net, namely a tree structure. Such a tree is called a reachability tree.

For a given net S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) we construct its reachability tree RT\mathrm{RT} proceeding as follows:

  • We start with the initial marking M0M_{0} which is the root vertex of the reachability tree.

  • For each action aa enabled in the initial marking of the net, we create a new vertex MM^{\prime}, such that M=M0aM^{\prime}=M_{0}a, and an edge (M0,a,M)(M_{0},a,M^{\prime}) leading from M0M_{0} to MM labelled by aa.

  • We repeat the procedure for all the newly created vertices (markings).


Remark: The construction of a reachability tree is a process potentially endless, as the structure is infinite in many cases.

Definition 8

Let RT\mathrm{RT} be a reachability tree of a net S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}). The k-component of the reachability tree RT\mathrm{RT} is the initial part of the tree of the depth k (all vertices at depth lower than or equal to k).


In the case of a coverability tree it is convenient to present a constructional definition. That is why we introduce:

Algorithm of the construction of a coverability graph

We create a coverability graph for a p/t-net S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0})

  • Step 0. An initial vertex
    We set M0M_{0} blue for a start.
    GOTO Step 1.

  • Step 1. Generating of new working vertices
    If there is no blue vertices then STOP.
    We take an arbitrary blue vertex MM and draw from it all the arcs of the form (M,t,M)(M,t,M^{\prime}) for all tTt\in T enabled in MM, where M=MtM^{\prime}=Mt. If the vertex MM^{\prime} already exists (in any colour), then the newly created arc leads to the existing vertex (we do not create a new one). New vertices are set yellow. After drawing all such arcs we set the vertex MM grey (a final node).
    GOTO Step 2.

  • Step 2. Coverability checking
    If there is no yellow vertices GOTO Step 1.
    We take an arbitrary yellow vertex MM and check for any of the paths from M0M_{0} to MM whether a vertex MM^{\prime} such that MMM^{\prime}\leq M lies on the path. If such a vertex exists then every coordinate of the marking MM greater than the corresponding coordinate of the marking MM^{\prime} changes to ω\omega. Finally we set the vertex MM blue.
    GOTO Step 2.

Example 1
Refer to caption
Figure 2: A p/t-net and its coverability graph

Let us look at the Example of Figure 2. A p/t-net and stages of the construction of its coverabilty graph are presented there.


Remark: A coverability graph is always finite. The proof is based on two facts: the Dickson’s Lemma (Lemma 1) and the monotonicity property (Fact 2).

2.5 Reachability and Coverability Problems

Let us now recall very famous decision problems concerning Petri nets, namely the Reachability Problem and the Coverability Problem.

Reachability Problem
Instance: P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}), and a marking MM.
Question: Is MM reachable in S?

Coverability Problem
Instance: P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}), and a marking MM.
Question: Is MM coverable in S?

Remark: It is well known that the above problems are decidable (coverability: Karp/Miller [11], Hack [10]; reachability: Mayr [15], Kosaraju [12]).

2.6 Three Kinds of Persistence

The notion of persistence is one of the classical notions in concurrency theory. The notion is recalled in [2] (named in the sequel e/e-persistence). Some of its generalizations: l/l-persistence and e/l-persistence are also introduced there.

Note on terminology
The notion of persistence in its classical meaning is a property of nets. The definition of [14] involves the entire concurrent system. If we choose to define the concept of persistence starting from actions by markings, ending with whole nets, the classic definition can be interpreted in two ways. Namely, one can consider concepts of persistence and nonviolence. An extensive discussion on the links between persistence and nonviolence can be found in [13]. In the context of [1] and [13] it seems that it would be more appropriate to use the notion of nonviolence instead of using the concept of persistence. However, because our paper is an extension of [2], we decided to stick to the concept of persistence.

Let us sketch the notions of e/e-persistence, l/l-persistence and e/l-persistence informally. The classical e/e-persistence means "no action can disable another one", the l/l-persistence means "no action can kill another one" and the e/l-persistence means "no action can kill another enabled one". Let us go on to formal definitions.

Definition 9 (Three kinds of persistence)

Let S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) be a place/transition net.
If (M[M0)(a,bT)(\forall M\in[M_{0}\rangle)\ (\forall a,b\in T)

  • MaMbabMabMa\land Mb\land a\neq b\Rightarrow Mab, then S\mathrm{S} is said to be e/e-persistent;

  • Ma(u)Mubab(v)MavbMa\land(\exists u)Mub\land a\neq b\Rightarrow(\exists v)Mavb, then S\mathrm{S} is said to be l/l-persistent;

  • MaMbab(v)MavbMa\land Mb\land a\neq b\Rightarrow(\exists v)Mavb, then S\mathrm{S} is said to be e/l-persistent.


The classes of e/e-persistent (l/l-persistent, e/l-persistent) p/t-nets will be denoted by Pe/e\mathrm{P}_{\mathrm{e/e}}, Pl/l\mathrm{P}_{\mathrm{l/l}} and Pe/l\mathrm{P}_{\mathrm{e/l}}, respectively.

In [2] one can find a proof of the following theorem:

Theorem 2.2


The three classes of persistent place/transition nets form an increasing hierarchy: Pe/ePl/lPe/lP_{e/e}\subseteq P_{l/l}\subseteq P_{e/l}.

Refer to caption
Figure 3: A hierarchy of persistent nets
Example 2

To see the strictness of the above inclusion, let us look at the Examples of Figure 4 and 5 (derived from [2]).

Refer to caption
Figure 4: The net is live, so Pl/lP_{\mathrm{l/l}}, but not Pe/eP_{\mathrm{e/e}}
Refer to caption
Figure 5: The transition aa kills bb undirectly (because in the current marking, the transition bb is not enabled), so the net is Pe/lP_{\mathrm{e/l}}, but not Pl/lP_{\mathrm{{l/l}}}

It is also shown in [2] that the following decision problems are decidable:

Instance: A p/t-net (N,M0)(\mathrm{N},M_{0})
Questions:
EE Net Persistence Problem: Is the net S e/e-persistent?
LL Net Persistence Problem: Is the net S l/l-persistent?
EL Net Persistence Problem: Is the net S e/l-persistent?

The proofs of decidability of the above problems need to put into work a very efficient result of Valk/Jantzen [18] and benefit from the decidability of reachability problem (more specifically - decidability of the Set Reachability Problem for rational convex sets).
The alternative proof of Theorem 3.7 uses exactly the same proving technique as the proofs of decidability of the persistence problems mentioned above.

3 Properties of e/l-persistence

3.1 Hierarchy of e/l-persistence

In the previous section we defined three kinds of persistence. Now, we extend the hierarchy mentioned above with an infinite hierarchy of e/l-persistent steps.

Definition 10 (E/l-persistent steps - an infinite hierarchy)

Let S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) be a p/t-net, let MM be a marking. We call a step MaMMaM^{\prime}:

  • e/l-0-persistent iff it is e/e-persistent (the execution of an action a does not disable any other action);

  • e/l-1-persistent iff (bT,ba)Mb[Mab(cT)Macb](\forall b\in T,b\neq a)\ Mb\Rightarrow[Mab\lor(\exists c\in T)Macb] (the execution of an action a pushes the execution of any other enabled action away for at most 1 step);

  • e/l-2-persistent iff (bT,ba)Mb(wT)[|w|2Mawb](\forall b\in T,b\neq a)\ Mb\Rightarrow(\exists w\in T^{*})[|w|\leq 2\land Mawb] (the execution of an action a pushes the execution of any other enabled action away for at most 2 steps);

  • e/l-k-persistent for some k\mathrm{k}\in\mathbb{N} iff (bT,ba)Mb(wT)[|w|kMawb](\forall b\in T,b\neq a)\ Mb\Rightarrow(\exists w\in T^{*})[{|w|\leq\mathrm{k}}\land Mawb] (the execution of an action a pushes the execution of any other enabled action away for at most k\mathrm{k} steps);

  • e/l-\infty-persistent iff (bT,ba)Mb(wT)Mawb(\forall b\in T,b\neq a)\ Mb\Rightarrow(\exists w\in T^{*})\ Mawb (the execution of an action a pushes the execution of any other enabled action away).

Remark: Note that e/l-\infty-persistent steps are exactly e/l-persistent steps.

Directly from Definition 10 we get the

Fact 4

Let S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) be a p/t-net, let MM be a marking. If the step MaMMaM^{\prime} is e/l-k\mathrm{k}-persistent for some k\mathrm{k}\in\mathbb{N}, then it is also e/l-i\mathrm{i}-persistent for every ik\mathrm{i}\geq\mathrm{k}.

Definition 11

Let S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) be a p/t-net, MM be a marking and k\mathrm{k}\in\mathbb{N}. Marking MM is e/l-k-persistent iff for every action aTa\in T that is enabled in MM the step MaMa is e/l-k-persistent. P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}) is e/l-k-persistent iff every marking reachable in S is e/l-k-persistent. We denote the class of e/l-k\mathrm{k}-persistent p/t-nets by Pe/lk\mathrm{P}_{\mathrm{e/l-k}}.

Example 3
Refer to caption
Figure 6: A p/t-net (for Ex.3) that is not e/l-k-persistent for any k\mathrm{k}\in\mathbb{N}

Let us look at the example of Fig. 6. Both actions aa and bb are enabled in the initial marking. After the execution of the action aa, the action bb is never enabled again, and after the execution of the action bb, the action aa is never enabled again. So the net can not be e/l-k-persistent for any natural number k.

Example 4

Let us look at the example of Fig. 4. The net is not e/l-0-persistent but it is e/l-1-persistent.

Example 5
Refer to caption
Figure 7: A p/t-net (for Ex.5) that is e/l-3 persistent but not e/l-2 persistent

Let us look at the example of Fig. 7. The only possible situation for temporary disabling an action by another one is the execution of aa that disables bb. And then bb could be enabled again after the execution of the sequence cdecde, so after 3 steps. Hence, the net is e/l-3-persistent, and obviously not e/l-2-persistent.

The direct conclusion from Fact 4 and Definition 11 is as follows:

Fact 5

Let S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) be a p/t-net, MM be a marking, and k\mathrm{k}\in\mathbb{N}. If the marking MM is e/l-k\mathrm{k}-persistent, then it is also e/l-i\mathrm{i}-persistent for every ik\mathrm{i}\geq\mathrm{k}. If the net S is e/l-k\mathrm{k}-persistent, then it is also e/l-i\mathrm{i}-persistent for every ik\mathrm{i}\geq\mathrm{k}.


Remark: Based on this Fact 5 we can extend the existing hierarchy of persistent nets as shown in Figure 8.

Refer to caption
Figure 8: A hierarchy of persistent nets - an extension

3.2 Related decision problems

3.2.1 • EL-k Step Persistence Problem
and EL-k Marking Persistence Problem



Let k\mathrm{k}\in\mathbb{N} be a fixed natural number. Now we can formulate basic problems regarding the concept of e/l-k-persistence.


The first problem is as follows:

EL-k Step Persistence Problem
Instance: P/t-net S, marking MM, action aTa\in T enabled in MM.
Question:Is the step MaMa e/l-k-persistent?

Theorem 3.1

The EL-k Step Persistence Problem is decidable (for any k\mathrm{k}\in\mathbb{N}).

Proof

An algorithm to check if a step MaMa is e/l-k-persistent (for some k\mathrm{k}\in\mathbb{N}) for a given net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}):
Let us build the part of the depth of k+1 (we call it the (k+1)-component) of the reachability tree of (N,M)(\mathrm{N},M^{\prime}), where MM^{\prime} is a marking obtained from MM by execution of aa. The step MaMa is e/l-k-persistent if for every action bTb\in T, such that aba\neq b and bb is enabled in MM, there is a path in the (k+1)-component of the reachability tree of (N,M)(\mathrm{N},M^{\prime}) containing an arc labeled by bb.


Let us introduce another problem:

EL-k Marking Persistence Problem
Instance:P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}), marking MM.
Question:Is the marking MM e/l-k-persistent?

Theorem 3.2

The EL-k Marking Persistence Problem is decidable
(for any k)\mathrm{k}\in\mathbb{N}).

Proof

For every action aTa\in T that is enabled in a marking MM, we check if a step MaMa is e/l-k-persistent (for some k\mathrm{k}\in\mathbb{N}) for a given net S=(N,M0)S=(\mathrm{N},M_{0}), using the algorithm of Theorem 3.1.

3.2.2 • EL-k Net Persistence Problem



Let us consider the following problem:

EL-k Net Persistence Problem
Instance:P/t-net S=(N,M0),k\mathrm{S}=(\mathrm{N},M_{0}),\mathrm{k}\in\mathbb{N}.
Question:Is the net S e/l-k-persistent?

To solve this problem we must prove a set of auxiliary facts.

From this moment, let S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}) be an arbitrary p/t-net.

Let us define the following set of markings:
Ea,b={MP|MaMb}\mathrm{E}_{a,b}=\{M\in\mathbb{N}^{P}\ |\ Ma\land Mb\}- the set of markings enabling actions aa and bb simultaneously.

Let us define minEa,bP\mathrm{minE}_{a,b}\in\mathbb{N}^{P}, the minimum marking enabling actions aa and bb simultaneously: if (a[i]=1b[i]=1)(^{\bullet}a[\mathrm{i}]=1\lor\ ^{\bullet}b[\mathrm{i}]=1) then minEa,b[i]:=1\mathrm{minE}_{a,b}[\mathrm{i}]:=1 else minEa,b[i]:=0\mathrm{minE}_{a,b}[\mathrm{i}]:=0 (for i={1,,|P|})\mathrm{i}=\{1,\ldots,|P|\}).
Note that Ea,b=minEa,b+P\mathrm{E}_{a,b}=\mathrm{minE}_{a,b}+\mathbb{N}^{P}.

3.2.3 • Mutual Enabledness Reachability Problem



Let us formulate an auxiliary problem:

Mutual Enabledness Reachability Problem
Instance:P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}), actions a,bTa,b\in T.
Question:Is there a marking MM such that MEa,bM\in\mathrm{E}_{a,b} and M[M0M\in[M_{0}\rangle ?
(Is there a reachable marking MM such that
actions aa and bb are both enabled in MM?)

Theorem 3.3

The Mutual Enabledness Reachability Problem is decidable.

Proof

Let M=minEa,bM=\mathrm{minE}_{a,b}. We build a coverability graph for the p/t-net S. We check whether in the graph exists a vertex corresponding to an ω\omega-marking MM^{\prime} such that MM^{\prime} covers MM. If so, then actions aa and bb are simultaneously enabled in some reachable marking of the net S. Otherwise, those transitions are never enabled at the same time.

Let Min[M0\mathrm{Min}[M_{0}\rangle be the set of minimal (wrt \leq) reachable markings of the net S. As members of Min[M0\mathrm{Min}[M_{0}\rangle are incomparable, the set Min[M0\mathrm{Min}[M_{0}\rangle is finite, by Lemma 1.

Le us denote by REa,b\mathrm{RE}_{a,b} the set of all reachable markings of the net S enabling actions aa and bb simultaneously: REa,b={M[M0|MaMb}=Ea,b[M0\mathrm{RE}_{a,b}=\{M\in[M_{0}\rangle\ |\ Ma\land Mb\}=\mathrm{E}_{a,b}\cap[M_{0}\rangle.

Let Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b}) be a set of all minimal reachable markings of the net S enabling action aa and bb simultaneously.

3.2.4 • Results of Valk and Jantzen



In order to construct the set Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b}), we put into work the theory of residue sets of Valk/Jantzen [18].

Definition 12 (Valk/Jantzen [18])

A subset XkX\subseteq\mathbb{N}^{\mathrm{k}} has property RES\mathrm{RES} if and only if the problem "Does v\downarrow v intersect XX?" is decidable for any ω\omega-vector vωkv\in\mathbb{N}_{\omega}^{\mathrm{k}}.

Theorem 3.4 (Valk/Jantzen [18])

Let XkX\subseteq\mathbb{N}^{\mathrm{k}} be a right-closed set. Then the set Min(X)Min(X) is effectively computable if and only if XX has property RES\mathrm{RES}.

3.2.5 • Set Reachability Problem



We also use the fact of decidability of the Set Reachability Problem for rational convex sets (Def. 5,7), proved in [2].

Set Reachability Problem
Instance:P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}) and a set XPX\subseteq\mathbb{N}^{P}.
Question:Is there a marking MXM\in X, reachable in S?

Theorem 3.5

The Set Reachability Problem is decidable for rational convex sets in p/t-nets.

The Set Reachability Problem is a generalization of the classical Marking Reachability Problem. The proof uses decidability of the Reachability Problem.

3.2.6 • Minimal reachable markings enabling two actions simultaneously



Now we are ready to prove:

Proposition 2

The set Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b}) can be effectively constructed for a given net S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}).

Proof

Let us take the right closure REa,b\mathrm{RE}_{a,b}\uparrow of the set REa,b\mathrm{RE}_{a,b}.
Note that Min(REa,b)=Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b})=\mathrm{Min}(\mathrm{RE}_{a,b}\uparrow). To show that the set of minimal elements of the set REa,b\mathrm{RE}_{a,b} is effectively computable, it is enough to demonstrate that the set REa,b\mathrm{RE}_{a,b}\uparrow has the property RES (i.e. for any ω\omega-vector vωPv\in\mathbb{N}_{\omega}^{P} the problem "(vREa,b)(\downarrow v\cap RE_{a,b}\uparrow\neq\emptyset)?" is decidable) and apply Theorem 3.4.
Let X=vEa,bX=\downarrow v\cap E_{a,b}, where Ea,b=minEa,b+PE_{a,b}=\mathrm{min}E_{a,b}+\mathbb{N}^{P}. Let us notice, that v\downarrow v is a convex set, hence rational (Proposition 1). The set Ea,bE_{a,b} is also a rational convex set. As an intersection of convex rational sets, the set XX is convex and rational (Theorem 2.1) as well.
Hence, putting into work decidability of the Set Reachability Problem for rational convex sets (Theorem 3.5) we decide whether any marking from the set XX is reachable in S. Therefore, we can decide whether the set X=vREa,bX^{\prime}=\downarrow v\cap\mathrm{RE}_{a,b} is nonempty. (It is the case when at least one marking from the set XX is reachable in S.) Let us notice that the set X′′=vREa,bX^{\prime\prime}=\downarrow v\cap\mathrm{RE}_{a,b}\uparrow is nonempty if and only if the set XX^{\prime} is nonempty. That is why the set REa,b\mathrm{RE}_{a,b}\uparrow has the property RES, and consequently the set Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b}) is effectively computable by Theorem 3.4.

Example 6
Refer to caption
Figure 9: A p/t-net for Ex.6.

The set of all minimal reachable markings of the net depicted in Figure 9 enabling action aa and bb simultaneously, is Min(REa,b)={[1,1,1],[2,0,1]}\mathrm{Min}(\mathrm{RE}_{a,b})=\{[1,1,1],[2,0,1]\}.

Proposition 3

If there exists a marking MREa,bM\in\mathrm{RE}_{a,b} such that the execution of an action aa in MM pushes the execution of an action bb away for more than k\mathrm{k} steps (for some k\mathrm{k}\in\mathbb{N}), then there exists some minimal marking MMin(REa,b)M^{\prime}\in\mathrm{Min}(\mathrm{RE}_{a,b}) such that the execution of an action aa in MM^{\prime} pushes the execution of an action bb away for more than k\mathrm{k} steps, too.

Proof

Let MM be a marking, such that the execution of an action aa in MM pushes the execution of an action bb away for more than k steps (for some k\mathrm{k}\in\mathbb{N}). Let MMin(REa,b)M^{\prime}\in\mathrm{Min}(\mathrm{RE}_{a,b}) such that MMM^{\prime}\leq M. Such a marking has to exist. Suppose that there is a string wTw\in T^{*}, |w|k|w|\leq\mathrm{k} such that MawbM^{\prime}awb. Then obviously also MawbMawb (from the monotonicity property - Fact 2). We obtain a contradiction. Hence, the execution of an action aa in MM^{\prime} postpones the execution of bb for more than k steps.

3.2.7 • EL-k Transition Persistence Problem and EL-k Net Persistence Problem



Now, we are ready to introduce the following problem:

EL-k Transition Persistence Problem
Instance:P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}), ordered pair (a,b)T×T,ba(a,b)\in T\times T,b\neq a, k\mathrm{k}\in\mathbb{N}.
Question:Is there a reachable marking M[M0M\in[M_{0}\rangle such that
MaMb¬[(wT)|w|kMawb]Ma\land Mb\land\lnot[(\exists w\in T^{*})|w|\leq\mathrm{k}\land Mawb]?
(Does aa postpone bb for more than k steps?)

Theorem 3.6

The EL-k Transition Persistence Problem is decidable.

Proof

We introduce an algorithm of deciding if an action aa pushes the execution of an action bb away for more than k steps in some reachable marking MM.

  1. 1.

    We check whether both actions aa and bb are enabled in some reachable marking (using decidability of Mutual Enabledness Reachability Problem).

    1. (a)

      If not, we answer NO.

    2. (b)

      Otherwise:

      1. i.

        We build the set Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b}). This set can be effectively computed by Proposition 2 using Valk/Jantzen algorithm.

      2. ii.

        For all markings M1Min(REa,b)M_{1}\in\mathrm{Min}(\mathrm{RE}_{a,b}):
        M2:=M1aM_{2}:=M_{1}a.
        We build an initial part of the depth of k+1 (the (k+1)-component) of the reachability tree of (N,M2)(\mathrm{N},M_{2}). If the piece has an edge labeled by bb, we answer NO. Otherwise we answer YES.

And now the proof of decidability of the EL-k Net Persistence Problem is ready.

Theorem 3.7

The EL-k Net Persistence Problem is decidable (for any k\mathrm{k}\in\mathbb{N}).

Proof

S is e/l-k-persistent iff the algorithm solving EL-k Transition Persistence Problem answers NO for all ordered pairs (a,b)T×T(a,b)\in T\times T, aba\neq b.

Example 7
Refer to caption
Figure 10: 2-component of the reachability tree of the net of Figure 4.

Let us check whether the action aa of the net S of Figure 4 postpones the action bb for more than 1 step.
Actions aa and bb are both enabled in the initial marking.
The set Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b}) consists of a single marking M1=[1,0]M_{1}=[1,0]. We take M2=M1a=[0,1]M_{2}=M_{1}a=[0,1]. We build a 2-component of the reachability tree of the net (S,M2)(\mathrm{S},M_{2}). The tree is depicted in Figure 10. The tree has an edge labeled by bb so the action aa does not postpone the action bb for more than 1 step.

3.2.8 • EL-k Transition Persistence Problem - an alternative approach



In order to show decidability of the EL-k Net Persistence Problem we can use the technique used for proving decidability of LL Net Persistence Problem and EL Net Persistence Problem, presented in [2].

Again, we deal with the EL-k Transition Persistence Problem, crucial for the proof. We show an alternative proof of decidability of that problem.


EL-k Transition Persistence Problem
Instance:P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}), ordered pair (a,b)T×T,ba(a,b)\in T\times T,b\neq a, k\mathrm{k}\in\mathbb{N}.
Question:Is there a reachable marking M[M0M\in[M_{0}\rangle such that
MaMb¬[(wT)|w|kMawb]Ma\land Mb\land\lnot[(\exists w\in T^{*})|w|\leq\mathrm{k}\land Mawb]?

Let us define, in order to reformulate the problem above, the following sets of markings:
Ea={MP|Ma}\mathrm{E}_{a}=\{M\in\mathbb{N}^{P}\ |\ Ma\} - markings enabling aa
Eb={MP|Mb}\mathrm{E}_{b}=\{M\in\mathbb{N}^{P}\ |\ Mb\} - markings enabling bb
Ea(k)b={MP|(wT)|w|kMawb}\mathrm{E}_{a(k)b}=\{M\in\mathbb{N}^{P}\ |(\exists w\in T^{*})|w|\leq\mathrm{k}\land Mawb\} - markings enabling a such that after the execution of a the action b is potentially enabled after at most k steps.

Now we can reformulate the question of the problem above:
Question:Is the set EaEb(PEa(k)b)\mathrm{E}_{a}\cap\mathrm{E}_{b}\cap(\mathbb{N}^{P}-\mathrm{E}_{a(k)b}) reachable in (N,M0)(\mathrm{N},M_{0})?

Let us look again at

Theorem 3.7. The EL-k Net Persistence Problem is decidable (for any k\mathrm{k}\in\mathbb{N}).

Proof

First note that, by the monotonicity property (Fact 2), the set
EaEb(|P|Ea(k)b)\mathrm{E}_{a}\cap\mathrm{E}_{b}\cap(\mathbb{N}^{|\mathrm{P}|}-\mathrm{E}_{a(k)b}) is convex, thus rational (by Proposition 1). The rational expressions for EaE_{a} and EbE_{b} are Ea=a+kE_{a}=^{\bullet}a+\mathbb{N}^{\mathrm{k}} and Eb=b+kE_{b}=^{\bullet}b+\mathbb{N}^{\mathrm{k}}. Clearly, the set Ea(k)b\mathrm{E}_{a(k)b} is right-closed, by the monotonicity property. We shall prove that it has the property RES. Namely, v\downarrow\!v (vωPv\in\mathbb{N}_{\omega}^{P})intersects Ea(k)b\mathrm{E}_{a(k)b} if and only if av{}^{\bullet}a\leq v (i.e. aa is enabled in vv) and there is a path in the reachability tree, limited to (k+1) first levels, of the net (N,v)(\mathrm{N},v^{\prime}), where vv^{\prime} is an ω\omega -marking obtained from vv by the execution of aa, containing an arc labelled by bb. It is obviously decidable. Hence, the set Ea(k)b\mathrm{E}_{a(k)b} has the property RES, thus (by Theorem 3.4) the set Min(Ea(k)b)\mathrm{Min}(\mathrm{E}_{a(k)b}) is effectively computable. As Ea(k)b\mathrm{E}_{a(k)b} is right-closed, we get the rational expression for it: Ea(k)b=Min(Ea(k)b)+P\mathrm{E}_{a(k)b}=\mathrm{Min}(\mathrm{E}_{a(k)b})+\mathbb{N}^{P}. Finally, using Theorem 2.1 of Ginsburg/Spanier [8], we compute rational expression for EaEb(PEa(k)b)\mathrm{E}_{a}\cap\mathrm{E}_{b}\cap(\mathbb{N}^{P}-\mathrm{E}_{a(k)b}) and Theorem 3.4 yields decidability of the problem.

3.3 Collapsing of the hierarchy of e/l-persistence

3.3.1 • k-enabledness



Let us recall the well-known fact, that follows from the Dickson’s Lemma (Lemma 1).

Fact 6

Every infinite sequence of markings contains an infinite increasing (not necessarily strictly) subsequence of markings.

Recall also that p/t-nets have the monotonicity property - Fact 2.


Let us define the notion of k-enabledness.

Definition 13 (k-enabledness)

Let S=(P,T,F,M0)\mathrm{S}=(P,T,F,M_{0}) be a p/t-net, let MM be a marking. For k\mathrm{k}\in\mathbb{N} we say that the action aTa\in T is k-enabled in the marking MM if and only if wT\exists w\in T^{*}, such that |w|kMwa|w|\leq\mathrm{k}\land Mwa.

Now, we can show:

Lemma 2

Let S\mathrm{S} be a p/t-net. For an arbitrary aTa\in T there exists a natural number ka\mathrm{k}_{a}\in\mathbb{N}, such that in every marking MM the transition aa is ka\mathrm{k}_{a}-enabled or it is dead.

Proof

Suppose that the lemma does not hold for some action aTa\in T. It means that for each k\mathrm{k}\in\mathbb{N} there is a marking MM such that aa is not k-enabled but not dead. This means that aa is k\mathrm{k}^{\prime}-enabled for some k>k\mathrm{k}^{\prime}>\mathrm{k}. Thus, there exists an infinite sets of markings M1,M2,M_{1},M_{2},\ldots and integers k1<k2<\mathrm{k}_{1}<\mathrm{k}_{2}<\ldots, such that the action aa is live in each marking MiM_{\mathrm{i}} and it is not ki\mathrm{k}_{\mathrm{i}}-enabled in MiM_{\mathrm{i}} for all i=1,2,\mathrm{i}=1,2,\ldots. Let us choose (by Fact 6) an infinite increasing sequence of markings Mi1Mi2M_{\mathrm{i}1}\leq M_{\mathrm{i}2}\leq\ldots. Since the action aa is live in Mi1M_{\mathrm{i}1}, it is k-enabled in Mi1M_{\mathrm{i}1}, for some k\mathrm{k}\in\mathbb{N}. As the strictly increasing sequence k1<k2<\mathrm{k}_{1}<\mathrm{k}_{2}<\ldots is infinite, k<kij\mathrm{k}<\mathrm{k}_{\mathrm{ij}} for some j. By the monotonicity property (Fact 2), the action aa is k-enabled, hence kij\mathrm{k}_{\mathrm{ij}}-enabled in the marking MijM_{\mathrm{ij}}. Contradiction.


Remark: Note that the proof of Lemma 2 is purely existential, it does not present any algorithm for finding k.

Now, we are ready to formulate the main theorem of the section:

Theorem 3.8

If a p/t-net is e/l-persistent, then it is e/l-k\mathrm{k}-persistent for some k\mathrm{k}\in\mathbb{N}.
In words: Whenever an action is disabled by another one, it is pushed away for not more than k\mathrm{k}-steps.

Proof

If the net is e/l-persistent, then no action kills another enabled one. From the Lemma 2 we know, that if an action aTa\in T is not dead then it is ka\mathrm{k}_{a}-enabled. Let us take K=max{ka|aT}\mathrm{K}=\mathrm{max}\{\mathrm{k}_{a}|a\in T\}, for the numbers ka\mathrm{k}_{a} from the Lemma 2. One can see that every action in the net that is not dead, is K-enabled. Thus, the execution of any action may postpone the execution of an action aa for at most K steps. So we have the implication: if a p/t-net is e/l-persistent, then it is e/l-K-persistent, for K defined above.


Remark: As the proof of Lemma 2 explicitly uses the monotonicity property of p/t-nets, the Theorem 3.8 holds only for nets satisfying this property. The following example shows that Theorem 3.8 does not hold for nets without the monotonicity property (for instance, inhibitor nets).

Example 8
Refer to caption
Figure 11: An inhibitor net for Ex.8

Let us look at the example of Fig. 11. We can see an inhibitor net and its computation such that for every k\mathrm{k}\in\mathbb{N} one can push an action away for a distance greater than k steps.
This net is live, hence it is e/l-persistent, but it is not e/l-k-persistent for any k\mathrm{k}\in\mathbb{N}.
In the infinite computation acbcdaecbcddaeecbcdddaeeecbacbcdaecbcddaeecbcdddaeeecb\ldots the first aa pushes bb away for 1 step, the second - for 2 steps and every k-th aa - for k steps.

3.3.2 • Collapsing of the hierarchy - an effective proof



Finally, let us recall other decision results of [2]:

Transitions Persistence Problems
Instance:P/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}), and transitions a,bT,aba,b\in T,a\neq b.
Questions (informally):
EE-Persistence Problem: Does aa disable an enabled bb?
LL-Persistence Problem: Does aa kill a live bb?
EL-Persistence Problem: Does aa kill an enabled bb?

From [2] we know that the problems are decidable.

Theorem 3.9

For a given p/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}) and a pair of transitions a,bTa,b\in T one can calculate a minimum number ka,b\mathrm{k}_{a,b}\in\mathbb{N} such that aa postpones an enabled bb for at most ka,b\mathrm{k}_{a,b} steps (if such a number exists).

Proof
  • We check whether both actions aa and bb are enabled in some reachable marking (using decidability of Mutual Enabledness Reachability Problem). If not, ka,b\mathrm{k}_{a,b} does not exist (actions aa and bb are never enabled at the same time).  Otherwise:

    • We ask whether aa kills an enabled bb (EL-Persistence Problem).
      If YES then ka,b\mathrm{k}_{a,b} does not exist (aa kills bb)
      else:

      • *

        We compute the set Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b}).This set can be effectively computed by Proposition 2 using Valk/Jantzen algorithm.

      • *

        We build the initial part of reachability tree of the net SS as long as from every MMin(REa,b)M\in\mathrm{Min}(\mathrm{RE}_{a,b}) we get a marking MM^{\prime} with the property that a path leads to a vertex MM^{\prime} (it can be an empty path) such that MbM^{\prime}b. Clearly, such part of the tree is finite, as we get the whole Min(REa,b)\mathrm{Min}(\mathrm{RE}_{a,b}) and for any MMin(REa,b)M\in\mathrm{Min}(\mathrm{RE}_{a,b}) a finite path leading from MM to a vertex MM^{\prime} such that MbM^{\prime}b. The maximum length of such paths is the desired number ka,b\mathrm{k}_{a,b}.

Theorem 3.10

If a p/t-net S=(N,M0)\mathrm{S}=(\mathrm{N},M_{0}) is e/l-persistent, then it is e/l-k\mathrm{k}-persistent for some k\mathrm{k}\in\mathbb{N} and such a k\mathrm{k} can be effectively computed.

Proof

For every pair (a,b)(a,b) of transitions we find ka,b\mathrm{k}_{a,b} defined above. The number we are looking for is k=max(ka,b:a,bT)\mathrm{k}=\mathrm{max}(\mathrm{k}_{a,b}:a,b\in T).



We established that an action can not postpone another action (without killing it) indefinitely (Theorem 3.8). We proved, that if a p/t-net is e/l-persistent, then it is e/l-k-persistent for some k\mathrm{k}\in\mathbb{N}. We showed that such a k exists and we present any algorithm for finding this k.

4 Conclusions

It is shown in [1] that if we change the firing rule in the following way: only e/e-persistent computations are permitted, then we get a new class of nets (we call them nonviolence nets) which are computationally equivalent to Turing machines. We plan to investigate net classes, with firing rules changed (only e/l-k-persistent computations are allowed) and answer the question:

Question 1:
What is the computational power of nets created this way?

In this paper, we have investigated the hierarchy of persistence in p/t-nets. We would like to study the hierarchy of e/l-k-persistence in some extensions of p/t-nets, for instance nets with read arcs and reset nets. All results of the paper hold for nets with read arcs ([16]), as they can be simulated by classical Petri nets with self-loops with the same reachability set (but with distinct step semantics). On the contrary, only Lemma 2 and Theorem 3.8 hold (with the same proof) for other extended Petri nets posessing the monotonicity property (e.g. reset, double, transfer nets), but the results supported with the fact of decidability of the Reachability Problem (Proposition 2, Theorem 3.7, Theorem 3.9) cannot be applied to those nets, because of undecidability of the Reachability Problem in them (see [7]).

References

  • [1] Kamila Barylska, Lukasz Mikulski, and Edward Ochmanski. On persistent reachability in Petri nets. Inf. Comput., 223:67–77, 2013.
  • [2] Kamila Barylska and Edward Ochmanski. Levels of persistency in place/transition nets. Fundam. Inform, 93(1-3):33–43, 2009.
  • [3] E. Best and J. Esparza. Model checking of persistent Petri nets. Lecture Notes in Computer Science, 626:35–52, 1992.
  • [4] Eike Best and Philippe Darondeau. Decomposition theorems for bounded persistent petri nets. In Kees M. van Hee and Rüdiger Valk, editors, Petri Nets, volume 5062 of Lecture Notes in Computer Science, pages 33–51. Springer, 2008.
  • [5] Jorg Desel and Wolfgang Reisig. Place or transition petri nets. In Wolfgang Reisig and Grzegorz Rozenberg, editors, Lectures on Petri Nets, Vol. I: Basic Models, Advances in Petri Nets, volume 1491 (Volume I) of Lecture Notes in Computer Science (LNCS), pages 122–173. Springer-Verlag (New York), Dagstuhl, Germany, September 1996, revised paper 1998.
  • [6] Leonard E. Dickson. Finiteness of the odd perfect and primitive abundant numbers with nn distinct prime factors. Amer. J. Math., 35:413–422, 1913.
  • [7] Catherine Dufourd, Alain Finkel, and Ph. Schnoebelen. Reset nets between decidability and undecidability. In Kim Guldstrand Larsen, Sven Skyum, and Glynn Winskel, editors, ICALP, volume 1443 of Lecture Notes in Computer Science, pages 103–115. Springer, 1998.
  • [8] Seymour Ginsburg and Edwin Spanier. Bounded algol-like languages, 1964.
  • [9] Jan Grabowski. The decidability of persistence for vector addition systems. Information Processing Letters, 11(1):20–23, 29 August 1980.
  • [10] M. Hack. Decidability questions for petri nets. Technical Report TR-161, MIT Lab. for Comp. Sci., June 1976.
  • [11] R. Karp and R. Miller. Parallel program schemata. Journal of Computer and System Sciences, 3:147–195, 1969.
  • [12] S. Rao Kosaraju. Decidability of reachability in vector addition systems (preliminary version). In Harry R. Lewis, Barbara B. Simons, Walter A. Burkhard, and Lawrence H. Landweber, editors, STOC, pages 267–281. ACM, 1982.
  • [13] Maciej Koutny, Lukasz Mikulski, and Marta Pietkiewicz-Koutny. A taxonomy of persistent and nonviolent steps. In José Manuel Colom and Jörg Desel, editors, Petri Nets, volume 7927 of Lecture Notes in Computer Science, pages 210–229. Springer, 2013.
  • [14] Landweber and Robertson. Properties of conflict-free and persistent petri nets. JACM: Journal of the ACM, 25, 1978.
  • [15] Ernst W. Mayr. Persistence of vector replacement systems is decidable. Acta Informatica, 15:309–318, 1981.
  • [16] Ugo Montanari and Francesca Rossi. Contextual nets. Acta Inf., 32(6):545–596, 1995.
  • [17] P. Starke. Petri-Netze (in German). VEB Deutscher Verlag der Wissenschaften, East Berlin, GDR, 1980.
  • [18] Valk and Jantzen. The residue of vector sets with applications to decidability problems in petri nets. ACTAINF: Acta Informatica, 21, 1985.