• Keine Ergebnisse gefunden

3 Well-structured Systems

N/A
N/A
Protected

Academic year: 2021

Aktie "3 Well-structured Systems"

Copied!
27
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Algorithmic Analysis of Programs with Well Quasi-Ordered Domains

Parosh Aziz Abdulla Dept. Computer Systems

Uppsala University P.O.Box 325

751 05 Uppsala, Sweden

parosh@docs.uu.se

Karlis Cerans

Institute of Mathematics and Computer Science

University of Latvia

karlis@cclu.lv

Bengt Jonsson Dept. Computer Systems

Uppsala University P.O.Box 325,

751 05 Uppsala, Sweden

bengt@docs.uu.se

Yih-Kuen Tsay

Department of Information Management, National Taiwan University, Taipei, Taiwan,

tsay@im.ntu.edu.tw

Abstract

Over the last few years there has been an increasing research ef- fort directed towards the automatic verication of innite state sys- tems. This paper is concerned with identifying general mathematical

Supported in part by the Swedish Board for Industrial and Technical Development (NUTEK) and by the Swedish Research Council for Engineering Sciences (TFR). The work of the second author has been partially supported by Grant No. 93-596 from Latvian Council of Science. The work of the fourth author has been partially supported by the National Science Council, TAIWAN (R.O.C).

(2)

structures which can serve as sucient conditions for achieving decid- ability. We present decidability results for a class of systems (called well-structured systems), which consist of a nite control part oper- ating on an innite data domain. The results assume that the data domain is equipped with a preorder which is a well quasi-ordering, such that the transition relation is \monotonic" (is a simulation) with respect to the preorder. We show that the following properties are decidable for well-structured systems:

Reachability: whether a certain set of control states is reach- able. Other safety properties can be reduced to the reachability problem.

Eventuality: whether all executions eventually reach a given set of control states (represented as AFpin CTL).

Simulation: whether there exists a simulation between a nite automaton and a well-structured system. The simulation prob- lem will be shown to be decidable in both directions.

We also describe how these general principles subsume several decid- ability results from the literature about timed automata, relational automata, Petri nets, and lossy channel systems.

1 Introduction

Over the last few years there has been an increasing research eort directed towards the automatic verication of innite state systems. This has re- sulted in numerous highly nontrivial algorithms for the verication of dif- ferent classes of such systems. Examples include timed automata [ACD90, AH89, C92a], hybrid automata [Hen95], relational automata ([BBK77, C92b, C94]), Petri nets ([Jan90, JM95]), systems with many identical processes [CG87, PP92], and lossy channel systems [AJ93, AK95]. As the interest in this area increases, it will be important to extract common principles that underlie these and related results.

Our goal is to develop general mathematical structures which could serve as sucient conditions for achieving decidability. Our objective is twofold. We aim on the one hand to give a unied explanation of existing decidability results including those mentioned above, and on the other hand to provide guidelines for discovering similar decidability results for other classes of sys- tems.

2

(3)

Existing work on general principles for deciding properties of innite-state systems is fairly limited. Many existing methods are based on nite par- titioning, where the state space of the original system is partitioned into a nite numberof equivalence classes under bisimulation[ACD90, Hen95, C94].

Two states belonging to the same partition are equivalent in the sense that transitions from them lead to equivalent states. The requirement of having an appropriate nite partitioning of the state space is rather restrictive since it implies that the system under consideration is \essentially nite state".

In this paper we present substantially more general conditions for decidability of several verication problems. We work with a preorder on states instead of an equivalence. We consider systems which consist of a nite control part operating on an innite data domain. The main requirement is that the data domain is equipped with a preorder such that the following properties (which are generalizations of those required by nite partitioning methods) hold: (i) the transition system is \monotonic" with respect to the preorder, i.e. tran- sitions from larger states lead to larger states (this means that smaller states are simulatedby larger states); and (ii) the preorder on the data domain is a well quasi-ordering, which means that each innite sequence contains an ele- ment which is larger than or equivalent to an earlier element in the sequence.

We call the class of systems satisfying these properties well-structured sys- tems.

Our method generalizes nite partitioning in the following sense:

We employ a preorder instead of an equivalence relation. It is clear that having an equivalence relation is a special case of having a preorder (an equivalence relation is a preorder, where the relation is also symmetric).

We work with states which are related through simulation, instead of bisimulation in the case of nite partitioning. Observe that by taking the preorder to be an equivalence, the denitions of simulation and bisimulation coincide.

we require the preorder to be a well quasi-ordering, instead of requiring the number of equivalence classes to be nite. In case the preorder is taken to be an equivalencerelation, our requirementimpliesthe number of equivalence classes to be nite.

This means that, apart from systems whose state spaces can be nitely par- titioned, e.g. timed automata [ACD90, C92a], various classes of hybrid au- tomata [Hen95], and rational relational automata [C94], our methods can

3

(4)

be used to analyze systems which do not allow for nite partitioning, such as Petri nets [JM95], lossy channel systems [AJ93], and integral relational automata [C94].

In this paper, we show that the following properties are decidable for well- structured systems:

Reachability: whether a certain set of control states is reachable. Sev- eral properties can be reduced to the reachability problem, notably invariant properties and safety properties represented by the prex- closed set of traces of a nite automaton.

Eventuality: whether all executions eventually reach a given set of con- trol states (represented as AFp in CTL).

Simulation: whether there is a simulation between a nite automaton and a well-structured system. The simulation problem is shown to be decidable in both directions.

The reachabilityproblemis solved by a backward reachabilityanalysis. Start- ing from a set I of states, the reachability of which is to be decided, we generate the set of states from whichI can be reached by a sequence of tran- sitions of length less than or equal to j for successively larger j. The sets that are successively generated in this way are upwards closed with respect to the preorder and form an ascending chain (under set-inclusion). Since the preorder is well quasi-ordered, each set can be represented by a nite set of minimal states, and the chain converges after a nite number of iterations.

The problem of whether a well-structured system is simulated by a nite automaton is solved using similar principles. Eventuality properties and the problem of whether a nite automaton is simulated by a well-structured sys- tem system are checked by a standard tableau method. Again the tableau construction terminates by the well quasi-ordering property.

The iteration method in this paper can also be viewed as an abstract inter- pretation of the innite state space. Instead of working with sets of states of the transition system, we work in an abstract domain consisting of nite sets of minimal states. One contribution is that we show, for well-structured systems, that we can work in this abstract domain, without losing precision in our analysis of reachability, and with the additional benet that xpoint iterations of this kind always converge.

4

(5)

Related Work The idea of verifying a system by analyzing a property for an abstraction or a simpler approximation of the system has been considered by several authors [CGL92, LGS+95, DGG94]. These papers present condi- tions such that if the property is satised by the abstract program then it will be satised by the original program. Sucient conditions are given for an abstraction to preserve e.g. the branching time logic CTL or fragments thereof. However, these works are not concerned primarily with constructing decision procedures for verication as we do.

Finkel [Fin90] shows that, for well-structured systems, it is decidable whether a system has a nite reachability tree. In this paper we use a variant of his algorithm for checking eventuality properties. He also considers a restricted class of well-structured systems, namely those withstrict monotonicity. This means that transitions fromstrictlylarger states lead tostrictlylarger states.

For this class it is shown that the coverability problem and the problem whether the set of reachable states is nite, are both decidable. The cover- ability problem is equivalent to the control state reachability problem, and is solved in [Fin90] using a generalization of the Karp-Miller algorithm [KM69].

This algorithm depends on strict monotonicity, which does not hold in gen- eral for well-structured systems (e.g. for lossy channel systems), and hence the Karp-Miller algorithm cannot be applied to our class of systems.

Outline The remainder of the paper is structured as follows. In the fol- lowing section, we dene innite-state systems as systems with a nite-state control part which operates on a possibly innite domain of data values. In Section 3 we dene well-structured systems. Section 4 presents the method for deciding reachability, Section 5 treats eventuality properties, and Sec- tion 6 shows how to check the existence of simulations. In Section 7 we give examples of several classes of well-structured systems. In Section 8 we give some conclusions and directions for future research.

2 Innite-State Systems

In this section we give the basic denitions for innite-state systems. As a general model of such systems, we adopt labeled transition systems. We assume a nite set of labels. Each label 2 represents an observable interaction with the environment.

5

(6)

Denition 2.1 A (labeled) transition systemL is a pairhS;i, where

S is a set of states, formed by the cartesian product of a nite set Q of control states and a possibly innite set D of data values, and

SS is the set of allowed transitions.

We use hq;di to denote the state whose control part is q and whose data part is d, and s ?! s0 to denote that hs;;s0i 2 . Intuitively, s ?! s0 means that the system can move from state s to state s0 while performing the observable action . We let s ?! s0 denote that there is a such that s?!s0, and let?! denote the reexive transitive closure of ?!.

For q 2 Q and A D, we use hq;Ai to denote the set fhq;di jd2Ag. For s2 S and T S we say that T is reachable froms (written s?! T) if there exists a state s02T such that s?!s0.

ForT S and 2, we denepre(T) to be the setns0j9s2T: s0?!so. Analogously, we denepost(T) asns0j9s2T: s?!s0o. Bypre(T) (post(T)) we mean[2pre(T) ([2post(T)). Sometimes we write pre(s) (post(s)) instead of pre(fsg) (post(fsg)).

A computation from a state s is a sequence of the form s0s1sn, where s0 =s, si ?!si+1, and either n =1 (i.e. the sequence is innite) or there is no state s0 such that sn?!s0.

3 Well-structured Systems

In this section, we dene the class of transition systems which we call well- structured systems, for which we will present our decidability results. First, we recall the notion of preorders.

3.1 Preliminaries

A preorder is a reexive and transitive (binary) relation on a set D. We say that isdecidable if there is a procedure which, given a;b2D, decides whether ab. We say that is a well quasi-ordering, if there is no innite

6

(7)

sequence a0;a1;a2;:::, such that ai 6 aj for all i < j. A set M is said to be canonical if a;b2 M implies a 6 b. We say that M A is a minor set of A, if (i) for all a 2 A there exists b 2 M such that b a, and (ii) M is canonical.

A set I D is an ideal (in D) if a 2 I, b 2 D, and a b imply b 2 I.

We dene the (upward) closure of a set A D, denoted C(A), as the ideal

fb2D j9a2A: abgwhich is generated by A.

For sets A and B, we say that A B ifC(A) =C(B). Observe that AB if and only if for all a 2A there is a b2B such that ba, and vice versa.

Lemma 3.1 If a preorder is a well quasi-ordering, then for each set A there exists at least one nite minor set of A.

Proof. Suppose that no nite minor set ofA exists. We show thatis not a well quasi-ordering. We dene the innite sequencea0;a1;a2;::: of elements in A as follows. Let a0 be any arbitrary element in A. We choose ai+1 such that aj 6 ai+1 for each 1 j i. The element ai+1 exists, since otherwise we could easily construct a minor set of the nite set fa0;a1;::: ;aig, which would also be a minor set of A, contradicting the assumption that no such sets exist. It is clear that the sequence a0;a1;a2;::: violates the well quasi- orderedness property. 2

Notice that although Lemma 3.1 implies that each minor set is nite, there may still be innitely many such minor sets. Also, we observe that if is a partial order then there exists a unique minor set of A. We use min to denote a function which, given a set A, returns a minor set of A.

From Lemma 3.1, and the fact thatC(min(I)) = I for each ideal I, it follows that we can use min(I) as a nite representation of I.

Lemma 3.2 For a preorder on a set A, is a well quasi-ordering i for each innite sequenceI0 I1 I2 of ideals inA there is a k such that Ik =Ik+1

Proof. (only if) - Suppose that we have an innite sequence I0 I1 I2 It follows that there is a sequence a0;a1;a2;::: of elements in A such that for all k 0 we have ak 2 Ik and ak 62 Ij for each j < k. This means aj 6 ak for j < k, otherwise ak 2 Ij, since Ij is an ideal. This is

7

(8)

a contradiction since the sequence a0;a1;a2;::: will then violate the well quasi-ordering assumption.

(if) - Suppose that we have an innite sequence of elements a0;a1;a2;::: in A where aj 6 ak if j < k. We dene an innite sequence I0;I1;I2;::: of ideals where Ij =C(fa0;a1;::: ;akg). It is clear that I0 I1 I2 . 2 In fact, for any sequence I0;I1;I2;::: we can show that there are j and k such that j < k and Ij =Ik. We use the only if-direction of Lemma 3.2 to prove termination of some of our verication algorithms.

3.2 Well-structured Systems

In our framework we require that the setD of data values is equipped with a decidable preorder , and assume that we are given a minor set of D which we henceforth call Dmin. We extend the preorder on D to a decidable preorder on the set S of states dened by hq;di hq0;d0i if and only if q = q0 and dd0.

A transition system hS;i is monotonic (with respect to ) if for each s1;s2;s3 2 S and 2 , if s1 s2 and s1 ?! s3, then there exists s4 such that s3 s4 and s2 ?!s4.

Lemma 3.3 A transition system hS;i is monotonic i the set of ideals in S is closed under the applications of both pre and pre.

Proof. First we show the claim for pre (only if) - Suppose that hS;i is monotonic. Take any ideal I in S. Suppose that s1 2 pre(I) and s1 s2. We show thats2 2pre(I). We know that there is s3 2I such that s1 ?!s3. By monotonicity it follows that there is s4 such that s3 s4 and s2 ?! s4. Since I is an ideal, we have s4 2I, and hence s2 2pre(I).

(if) - Suppose that hS;i is not monotonic. It follows that there are states s1, s2, and s3, and 2 such that s1 s2, s1 ?! s3, but there is no s4 where s3 s4 and s2 ?! s4. Dene the ideal I = C(fs3g). It is clear that s1 2pre(I) but s2 62pre(I). This means that pre(I) is not an ideal. The claim for pre follows from the fact that pre =[2pre. 2

8

(9)

Denition 3.4 A transition system L = hS;i, assuming a decidable pre- order on the set D of data values, is said to be well-structured if

1. it is monotonic;

2. is a well quasi-ordering; and

3. for each state s 2 S and 2 , the set min(pre(C(fsg))) is com- putable.

Note that min(pre(C(fsg))) is nite ifis a well quasi-ordering. We dene minpre(s) as notation for min(pre(C(fsg))). For a setT of states we use minpre(T) to denote [s2Tminpre(s). On the concrete models where we shall apply our theory (Section 7) the computability of minpre(s) will be rather obvious given the explicit syntactic representations of the transition relations.

Comment on the Representation of Ideals In this paper, we will rep- resent ideals by minor sets. An alternative (and more general) representation is in terms of constraints. We then assume a set of constraints over the domainD of data values. Each constraint denotes a subset [[]] of D. Given a set of constraints, we can dene a preorder on D by d d0 i for all constraints in we have that d2[[]] implies d02[[]]. We observe that the constraint representation is at least as general as the approach we use here where we start by a preorder: an arbitrary preorder can be obtained as the preorder by letting be the set which for each d0 2D contains a constraint that denotes the set fd2D j d0 dg.

Instead of using nite minor sets to represent ideals, we can use nite sets of constraints. A set of constraints denotes the union of the denotations of its elements (recall that each constraint denotes a set). In some cases (e.g., for real-time automata) such a representation is more convenient, since a constraint sometimes represents a large minor set.

3.3 Composition

For labeled transition systems L1 =hS1;1i and L2 =hS2;2i, we dene the composition L1kL2 of L1 and L2 to be the transition system hS;i where

9

(10)

S = S1 S2.

hs1;s2i?!hs01;s02i i s1 ?!s01 ands2 ?!s02 .

Our denition of composition is the standard one taken from process algebras such as CSP, or LOTOS. It can also be used to describe the behaviour of a transition system operating on dierent data domains (see e.g. Section 7.5).

Theorem 3.5 For well-structured systemsL1andL2, the compositionL1kL2 is well-structured. Moreover, if both L1 and L2 are essentially nite branch- ing, resp. intersection eective, then also L1kL2 is.

Proof. LetL1 =hS1;1iandL2 =hS2;2i. Let1 and2 be the respective preorders dened on S1 and S2. Dene the preorder for L by hs1;s2i

hs01;s02i whenever both s1 1 s01 and s2 1 s02. Monotonicity, computability of minpre, essentially nite branching, and intersection eectiveness follow directly from their denitions.

To prove the well quasi-ordering property of , consider an innite sequence of state pairs hs0;s00i;hs1;s01i;hs2;s02i;::: where si 2 S1 and s0i 2 S2. It follows from the well quasi-ordering of 1 that there is an innite increasing sequence i0;i1;i2;::: such that sij 1 sik whenever ij ik. Since 2 is also a well quasi-ordering we conclude that there are j and k where j < k and s0ij 2s0ij. This means thathsij;s0iji hsik;s0iki. 2

4 Control State Reachability

In this section we describe an algorithm to solve the control state reachability problem for well-structured transition systems. More precisely, given a state s and a control state q, we want to check whether hq;Di is reachable froms.

Our algorithm actually solves the more general problem of deciding whether an idealI is reachable froma given state s. Sincehq;Diis an ideal, the control state reachability problem is a special case of the reachability problem for ideals.

To check the reachability of an ideal I, we perform a reachability analysis backwards. Starting from I we dene the sequence I0;I1;I2;::: of sets by I0 =I and Ij+1 = I[pre(Ij). Intuitively,Ij denotes the set of states from

10

(11)

whichI is reachable in j or less steps. Thus, if we dene pre(I) to be[j0Ij, then I is reachable from s if and only if s2 pre(I). Notice that pre(I) is the least xpoint X: I[pre(X). By Lemma 3.3 each Ij is an ideal in S.

We know that I0 I1 I2 , and hence from Lemma 3.2 it follows that there is a k such that Ik = Ik+1. It can easily be seen that I` = Ik for all

` k implying that pre(I) = Ik.

Our method for deciding whether I is reachable is based on generating the above sequence I0;I1;I2;::: of ideals, and checking for convergence. This cannot be carried out directly sinceIj is an innite set. Instead, we represent eachIjby a canonical setMj =min(Ij). By Lemma 3.1 each minor setMj is nite. It is straightforward to show thatMj+1 min(min(I)[minpre(Mj)), which is computable as

Mj+1 =min

0

@min(I)[ [

s2Mjmin(pre(C(fsg)))

1

A

since, by the denition of well-structuredtransition systems, each setmin(pre(C(fsg))) is computable, and the union is taken over a nite set of sets.

From the above discussion we conclude that if we dene minpre(M0) to be

[j0Mj, then there is a k such that Mk+1 Mk, and minpre(M0) Mk. This implies that minpre(M) is computable for any minor set M of I and in fact C(minpre(M)) = pre(I).

Theorem 4.1 The control state reachability problem is decidable for well- structured systems.

Proof. Given a states and a control state q we compute minpre(hq;Dmini).

We then check whether there is an s02minpre(hq;Dmini) such that s0s.

2

Abstract Interpretation The above analysis algorithmcan also be phrased in terms of abstract interpretation [CC77, JN94]. We intend to compute the xpoint X: I[pre(X) for a set I S by iteration. Instead of computing this xpoint in the lattice h2S;i of sets of states, we move to the abstract lattice hM;vi, where M is the set of canonical subsets of S, and where M v M0 if C(M) C(M0). The correspondence between the concrete lat- tice h2S;i and the abstract lattice hM;vi is expressed by a pair h;i of functions as follows.

11

(12)

: 2S 7!M, dened by(T) = min(T) maps each set of states in the concrete lattice to its abstract representation.

:M7! 2S, dened by (M) =C(M) recovers the concrete meaning of an element in the abstract lattice.

The pair h;iforms a Galois insertion of hM;vi into h2S;i.

Our algorithm for deciding reachability can be seen as computing the x- point X: min(I)t minpre(X) in the lattice hM;vi, where M1 tM2 = min(M1 [ M2). The monotonicity of the transition relation ensures that this computation corresponds exactly to the computationX: I[pre(X) in

h2S;i if I is an ideal in S. Exactness follows from the identity pre((M)) = (minpre(M))

for all M 2 M, and ensures that if the xpoint computation converges to Mk, then (Mk) is the least xpoint of X: I[pre(X) in h2S;i. Finally, well quasi-orderedness of implies that all ascending chains in hM;vi are nite, thus guaranteeing convergence of any least xpoint computation.

5 Eventuality Properties

In this section we describe an algorithm for deciding whether each computa- tion starting from an initial state eventually reaches a certain control state satisfying a predicate p over control states. In CTL, these properties are of the form AFp. We present an algorithm for the dual property EGp from which an algorithm for AFp can easily be derived using the correspondence AFp :EG:p. The property EGp is true in a state s0 i there is a com- putation from s0 in which all states have a control part that satisesp. Our algorithm will actually solve the more general problem of whether s0 satis- es a property of the form EGI for an ideal I. We write this property as s0 j= EGI.

The algorithm essentially builds a tree of reachable states, starting from the initial state and successively exploring the successors of each state in the tree. We must then consider the possibility that post(s) is innite for some states s (i.e., the transition relation is not nite branching). To overcome this diculty, we say that a transition system is essentially nite branch- ing if for each state s we can eectively compute a nite subset of post(s),

12

(13)

denoted maxpost(s), such that for each state s0 2 post(s) there is a state s00 2 maxpost(s) with s0 s00. If post(s) is nite, then maxpost(s) can be taken as post(s). However, in the cases where post(s) is innite (as can be the case, e.g., for real-time automata), the subset maxpost(s) can fully represent the set post(s) for the purposes of this algorithm.

In the algorithm, we build a tree labeled by properties of the forms j= EGI.

The root node is labeled by s0 j= EGI. A node labeled by sj= EGI is a leaf if either

1. s62I. In this case, the node is considered unsuccessful, or

2. the node has an ancestor labeleds0j= EGI for some s0 with s0s. In this case, the node is considered successful.

3. s 2 I and post(s) is empty. In this case, the node is considered suc- cessful.

From a non-leaf node labeled s j= EGI we create a child labeled s0 j= EGI for each state s0 2maxpost(s). The algorithm answers \yes" if a successful node is encountered, otherwise it answers \no".

The correctness of the algorithm follows from the fact that when a success- ful node is encountered according to criterion 2, we can, by monotonicity, construct an innite path where all states are in I by continuing from the ancestor node. Completeness follows by the observation that the possibly un- explored successors of a state (i.e., those inmaxpost(s) but not in post(s) for somes) can be satisfactorily represented by \larger" states (with respect to

) inmaxpost(s). The construction of the tree terminates by Konig's lemma, since the tree is nite branching and all branches are nite (this follows from well quasi-orderedness). We have thus proved the following theorem:

Theorem 5.1 The eventuality problem for control states is decidable for well-structured and essentially nite branching systems.

In [Fin90] an algorithm is presented to check whether the reachability tree of a well-structured system is nite. The algorithm can be seen as a variant of our algorithm to check eventuality properties as follows. We take I to be the set S of all states. A node labeled by sj= EGS is a leaf if either

13

(14)

the node has an ancestor labeleds0j= EGS for some s0 with s0s. In this case, the node is considered successful, or

post(s) is empty. In this case, the node is considered unsuccessful. The reachability tree is nite i no successful nodes are encountered.

6 Simulations between Innite Systems and Finite Systems

In this section we consider the problem of whether a well-structured system is simulated by a nite transition system. A transition system is said to be nite if it has a nite set of states. In our algorithms we assume that a nite transition system is described by nite sets representing states and transitions.

Denition 6.1 Given two transition systemsL1 =hS1;1iandL2 =hS2;2i, we say that a relation RS1S2 is a simulation (of L1 by L2) if for each

hs1;s2i2 R, s01 2S1, and 2 , ifs1 ?! s01 then there existss02 2S2 such that s2 ?!s02 and hs01;s02i 2R.

Simulating an Innite System by a Finite System For s1 2S1 and s2 2 S2, we say that s1 is simulated by s2, denoted s1 v s2, if there is a simulation R of L1 byL2 such thaths1;s2i2R.

A transition system is said to be intersection eective if min(C(s1)\C(s2)) is computable for any states s1 and s2.

Theorem 6.2 For a states in an intersection eective well-structured tran- sition system and a stateq in a nite transition system, it is decidable whether svq.

Proof. The idea is to calculate the set of pairs hs;qi of states such that s 6v q. We observe that for each q, the set fs j s6vqg is an ideal. This allows us to compute the set by a xpoint iteration analogous to that used

14

(15)

for the reachability problem. For each state q of the nite transition system, we dene a sequence I0q;I1q;I2q;:::, where I0q =;, and s 2Ijq+1 if and only if either

s2Ijq; or

there are and s0 such that s ?! s0 and for all q0 if q ?! q0 then s02Ijq0.

It is clear that Ijq is an ideal and that I0q I1q I2q . By Lemma 3.2 it follows that there is a k such that Ikq+1 =Ikq for allq, and s6vq i s2Ikq. We represent Ijq by the canonical set Mjq =min(Ijq), whereM0q =;, and

Mjq+1 =[

minpre

0

@

\

q02post(q)Mjq0

1

A

Note that Mjq+1 can be computed from Mjq for intersection eective well- structured transition systems. We iterate until we reach ak such that Mkq+1

Mkq. To decide whethers 6vq we check if9s0s such that s02Mkq . 2

Weak Simulation The result of Theorem 6.2 can be generalized to the case of weak simulation as follows. We assume that the set of labels is extended by the silent event. LethS;ibe a transition system. Fors1;s2 2 S and 6= , we let s1 =) s2 denote that s2 is reachable froms1 through a nite number of -transitions, followed by a -transition, followed by a nite number of -transitions. For T S and 6= , we dene pre(T) to be the set ns0j9s 2T: s0=)so. Analogously, we dene post(T) as

ns0 j9s2T: s=)s0o. We let minpre(T) denote min(pre(C(T))). From the discussion in Section 4, we conclude that minpre(fsg) is computable for each s2S.

The denition of simulation can be generalized to weak simulationby replac- ing the relation ?! by =).

Theorem 6.3 For a states in an intersection eective well-structured tran- sition system and a stateq in a nite transition system, it is decidable whether s is weakly simulated by q.

15

Referenzen

ÄHNLICHE DOKUMENTE

Catching the young fish of large species like cod, results in a large reduction in population biomass.. Looking at figures 2 &amp; 3, which fishing strategy results

However, questions such as how can new media be used to improve teaching in the best possible way and can multimedia help keeping learning material more up to date, have a

Three data types are compared in the low-current-velocity regime in the southeastern North Atlantic, between 12øN and 30øN, 29øW and 18øW: Geosat altimetric sea level

To justify the definition of SO-HORN, show that the admission of arbitrary first-order prefixes would make the restriction to Horn clauses pointless. This extension of SO-HORN has

5 Podemos identificar variantes en torno a este núcleo, a partir del mayor o menor énfasis en alguno de estos componentes.. que es nuevo es la manera en que estos elementos

We mostly talk about necessary circumstances at a time when the cause is already completed and it is certain that the effect thas occurred or will occur.. Then every

Putnam (1996) beschreibt das Konzept des sozialen Kapitals als „networks, norms, and trust that enable participants to act together more effectively to pursue shared

assess in real-life situations. The Harry Potter series seems to be particularly lenient for this purpose. Part of the popularity of the series is explained by the fact that