购买
下载掌阅APP,畅读海量书库
立即打开
畅读海量书库
扫码下载掌阅APP

2.4 Truly Concurrent Process Algebra with Localities

2.4.1 Operational Semantics with Localities

Definition 2.35 (Prime event structure with silent event).Let Λ be afixed set of labels,ranging over a,b,c,··· and τ .A( Λ -labelled)prime event structure with silent event τ is a tuple E =〈E,≤, ♯,λ 〉,where E is a denumerable set of events,including the silent event τ .Let img =E \{τ},exactly excluding τ .It is obvious that img = ,where represents the empty event.Let λ :E img Λ be a labelling function and let λ τ )= τ .≤, are binary relations on E,called causality and conflict respectively,such that:

(1)≤is a partial order and 「e img ={ e' ∈E| e' e }is finite for all e ∈E.It is easy to see that e τ e' = e τ ≤ ···≤ τ e' ,then e e' .

(2) is irreflexive,symmetric and hereditary with respect to≤,that is,for all e,e',e '' ∈E,if e♯e' e '' ,then e♯e '' .

Then,the concepts of consistency and concurrency can be drawn from the above definition:

(1) e,e' ∈E are consistent,denoted e e' ,if¬( e e' ).A subset X ⊆E is called consistent,if e e' for all e,e' X .

(2) e,e' ∈E are concurrent,denoted as e‖e' ,if ¬( e e' ), ¬( e' e ),and ¬( e♯e' ).

Definition 2.36 (Con figuration).Let E be a PES.A(finite)configuration in E is a(finite)consistent subset of events C⊆E ,closed with respect to causality(i.e. 「C img = C ).The set of finite configurations of E is denoted by C E ).We let img = C\{τ }.

A consistent subset X⊆ E of events can be seen as apomset.Given X,Y⊆ E, imgimg if img and img are isomorphic as pomsets.In the following of the paper,when we say C 1 ~C 2 ,we mean imgimg .

Definition 2.37 (Pomset transitions and steps).Let E be a PES, C C E ),and∅ /= X⊆ E.If C∩X =∅and C' =C∪X∈ C E ),then C img C' is called a pomset transition from C to C' .When the events in X are pairwise concurrent,we say that C img C' is a step.

Definition 2.38 (Posetal product).Given two PESs E 1 and E 2 ,the posetal product of their conf igurations,denoted C E 1 img C E 2 ),is defined as

{( C 1 f,C 2 )| C 1 C E 1 ), C 2 C E 2 ), f C 1 img C 2 isomorphism }.

A subset R C E 1 ×C E 2 )is called a posetal relation.We say that R is downward closed when for any( C 1 f,C 2 ),( img f', img )∈ C E 1 img C E 2 ),if( C 1 f,C 2 img f', img )pointw isely and( img f', img )∈ R ,then( img f, img )∈ R .

For f X 1 img X 2 ,we define f x 1 img x 2 ]: X 1 ∪{ x 1 img X 2 ∪{ x 2 }, z X 1 ∪{ x 1 }as follows:① f x 1 img x 2 ]( z )= x 2 ,if z = x 1 ;② f x 1 img x 2 ]( z )= f z ),otherw ise,where X 1 E 1 X 2 E 2 x 1 ∈E 1 x 2 ∈E 2 .

Let Loc be the set of locations,and u,v ∈Loc .Let ≪be the sequential ordering on Loc ,we call v is an extension or a sublocation of u in u≪v ;and if u/≪v v/≪u ,then u and v are independent and denoted u◇v .

Definition 2.39 (Consistent location association).A relation φ⊆ (Loc × Loc )is a Consistent Location Association(CLA),if( u,v )∈ φ &( u',v' )∈ φ ,then u u' v v' .

Definition 2.40 (Static location pomset,step bisimulation).Let E 1 and E 2 be PESs.A static location pomset bisimulation is a relation R φ ⊆C E 1 ×C E 2 ),such that if( C 1 C 2 )∈ R φ and X 1 ~X 2 and( imgimg )∈ R φ∪{ u,v )} ,and vice-versa.We say that E 1 and E 2 are static img ,then img ,where X 1 E 1 X 2 E 2 ,location pomset bisimilar,written by E 1 img E 2 ,if there existsa static location pomset bisimulation R φ ,such that(∅,∅)∈ R φ .By replacing pomset transitions with steps,we can get the def inition of static location step bisimulation.When PESs E 1 and E 2 are static location step bisimilar,we w rite E 1 img E 2 .

Definition 2.41 (Static location(hereditary)history-preserving bisimulation).A static location history-preserving(hp-)bisimulation is a posetal relation R φ ⊆C E 1 ×C E 2 ),such that if( C 1 f,C 2 )∈ R φ and img ,then img ,where( img f e 1 img e 2 ], img )∈ R φ∪{ u,v )} ,and vice-versa. E 1 and E 2 are static location history-preserving(hp-)bisimilar,written by img if there exists a static location hp-bisimulation R φ such that(∅,∅,∅)∈ R φ .

A static location hereditary history-preserving(hhp-)bisimu lation is a downward closed static location hp-bisimulation. E 1 and E 2 are static location hereditary history preserving(hhp-)bisimilar,written by img .

Definition 2.42 (Weak static location pomset,step bisimulation).Let E 1 and E 2 be PESs.A weak static location pomset bisimulation is a relation R φ ⊆C E 1 ×C E 2 ),such that if( C 1 C 2 )∈ R φ and img ,then img ,where X 1 ˆE 1 X 2 img X 1 ~X 2 ,( imgimg )∈ R φ∪{ u,v )} ,and vice-versa.We say that E 1 and E 2 are weak static location pomset bisimilar,written by img ,if there exists a weak static location pomset bisimulation R φ ,such that(∅,∅)∈ R φ .By replacing weak pomset transitions with weak steps,we can get the def inition of weak static location step bisimulation.When PESs E 1 and E 2 are weak static location step bisimilar,we w rite img .

Definition 2.43 (Weak static location(hereditary)history-preserving bisimulation).A weak static location history-p reserving(hp-)bisimu lation is a weakly posetal relation R φ ⊆C E 1 img C E 2 )such that if( C 1 f,C 2 )∈ R φ ,and img ,then img , with( img f e 1 img e 2 ], img )∈ R φ∪{ u,v )} ,and vice-versa. E 1 and E 2 are weak static location history-preserving(hp-)bisimilar and are written by img if there exists a weak static location hp-bisimulation R φ such that(∅,∅,∅)∈ R φ .

A weak static location hereditary history-preserving(hhp-)bisimulation is a downward closed weak static location hp-bisimulation. E 1 and E 2 are weak static location hereditary history-p reserving(hhp-)bisimilar and are written by img .

Definition 2.44 (Branching static location pomset,step bisimulation).Assume a special term ination predicate img ,and let represent a state with img .Let E 1 and E 2 be PESs.A branching static location pomset bisimulation is a relation R φ ⊆C E 1 ×C E 2 ),such that:

(1)If( C 1 C 2 )∈ R φ and img ,then

① X≡τ and( img C 2 )∈ R φ

②There is a sequence of(zero or m ore) τ -transitions img ,such that( C 1 img )∈ R φ and img with ( imgimg )∈ R φ∪ u,v )} .

(2)If( C 1 C 2 )∈ R φ and img ,then

① X≡τ ,and( C 1 img )∈ R φ

②There is a sequence of(zero or more) τ -transitions img ,such that( img C 2 )∈ R φ and img with( imgimg )∈ R φ∪{ u,v )} .

(3)If( C 1 C 2 )∈ R φ and C 1 img ,then there is a sequence of(zero or m ore) τ transitions img such that( C 1 img )∈ R φ and img .

(4)If( C 1 C 2 )∈ R φ and C 2 img ,then there is a sequence of(zero or more) τ transitions img such that( img C 2 )∈ R φ and img .We say that E 1 and E 2 are branching static location pomset bisimilar,written by img ,if there exists a branching static location pomset bisimulation R φ ,such that(∅,∅)∈ R φ .

By replacing pomset transitions with steps,we can get the def inition of branching static location step bisimulation.When PESs E 1 and E 2 are branching static location step bisimilar,wew rite img .

Definition 2.45 (Rooted branching static locationpomset,step bisimulation).Assume a special term ination predicate img ,and let represent a state with img .Let E 1 and E 2 be PESs.A rooted branching static location pomset bisimulation is a relation R φ ⊆C E 1 ×C E 2 ),such that:

(1)If( C 1 C 2 )∈ R φ and img ,then img with img .

(2)If( C 1 C 2 )∈ R φ and img ,then img with img .

(3)If( C 1 C 2 )∈ R φ and C 1 img ,then C 2 img .

(4)If( C 1 C 2 )∈ R φ and C 2 img ,then C 1 img .

We say that E 1 and E 2 are rooted branching static location pomset bisimilar,written by img ,if there exists a rooted branching static location pomset bisimulation R φ ,such that(∅,∅)∈ R φ .

By replacing pomset transitions with steps,we can get the def inition of rooted branching static location step bisimulation.When PESs E 1 and E 2 are rooted branching static location step bisimilar,wew rite img .

Definition 2.46 (Branching static location(hereditary)history-preserving bisimulation).Assume a special termination predicate img ,and let represent a state with img .A branching static location history-preserving(hp-)bisimulation is a posetal relation R φ ⊆C E 1 img C E 2 )such that:

(1)If( C 1 f,C 2 )∈ R and img ,then

e 1 ≡τ,and( img f e 1 img τ ], C 2 )∈ R φ

②There is a sequence of(zero or m ore) τ -transitions img ,such that( C 1 f, img )∈ R φ and img with( img f e 1 img e 2 ], img )∈ R φ∪{ u,v )} .

(2)If( C 1 f,C 2 )∈ R φ and img ,then

① X≡τ,and( C 1 f e 2 img τ ], img )∈ R φ

② There is a sequence of(zero or m ore) τ -transitions img ,such that imgimg f,C 2 )∈ R φ and img with( img f e 2 img e 1 ], img )∈ R φ∪{ u,v )} .

(3)If( C 1 f,C 2 )∈ R φ and C 1 img ,then there is a sequence of(zero or more) τ -transitions img such that( C 1 f, img )∈ R φ and img .

(4)If( C 1 f,C 2 )∈ R φ and C 2 img ,then there is a sequence of(zero or more) τ -transitions img such that( img f,C 2 )∈ R φ and img .

E 1 and E 2 are branching static location history-preserving(hp-)bisimilar and are written by img ,if there exists a branching static location hp-bisimulation R φ such that(∅,∅,∅)∈ R φ .

A branching static location hereditary history-p reserving(hhp-)bisimulation is a downward closed branching static location hhp-bisimulation. E 1 and E 2 are branching static location hereditary history-preserving(hhp-)bisimilar,arewritten by E 1 img E 2.

Definition 2.47 (Rooted branching static location(hereditary)history-preserving bisimulation).Assume a special term ination predicate img ,and let represent a state with img .A rooted branching static location history-preserving(hp-)bisimulation is a posetal relation R φ ⊆C E 1 img C E 2 )such that:

(1)If( C 1 f,C 2 )∈ R φ and img ,then img with img .

(2)If( C 1 f,C 2 )∈ R φ and img ,then img with img .

(3)If( C 1 f,C 2 )∈ R φ and C 1 img ,then C 2 img .

(4)If( C 1 f,C 2 )∈ R φ and C 2 img ,then C 1 img .

E 1 and E 2 are rooted branching static location history-p reserving(hp-)bisimilar and are written by img ,if there exists a rooted branching static location hp-bisimulation R φ such that(∅,∅,∅)∈ R φ .

A rooted branching static location hereditary history-preserving(hhp-)bisimulation is a downward closed rooted branching static location hp-bisimulation. E 1 and E 2 are rooted branching static location hereditary history-preserving(hhp-)bisimilar,and are written by img .

2.4.2 BATC with Localities

Let Loc be the set of locations,and loc∈Loc, u,v ∈Loc represents an empty location.A distribution allocatesa location u ∈Loc to an action e denoted as u img e ,or to a process x denoted as u img x .

In the following,let e 1 e 2 imgimg ∈E,and let variables x,y,z range over the set of terms for true concurrency,and p,q,s range over the set of closed terms.The set of axioms of BATC with static localities(BATC sl )consists of the laws are given in Table 2.9.

Table 2.9 The set of axioms of BATC with static localities

img

Definition 2.48 (Basic terms of BATC with static localities).The set of basic terms of BATC with static localities, B (BATC sl ),is inductively defined as follows:

(1)E ⊂B (BATC sl ).

(2)If u ∈Loc and t B (BATC sl ),then u img t B (BATC sl ).

(3)If e ∈E and t B (BATC sl ),then e·t∈ B (BATC sl ).

(4)If t,s∈ B (BATC sl ),then t + s B (BATC sl ).

Theorem 2.37 (Elimination theorem of BATC with static localities).Let p be a closed BATC with static localities term.Then there is a basic BATC with static localities term q such that BATC sl p = q .

In this subsection,we will define a term-deduction system that provides the operational semantics of BATC with static localities.We present the operational transition rules for the operators·and+as follows.The predicate img represents successful term ination after execution of the event e at location u .

img
img

Theorem 2.38 (Congruence of BATC with static localities with respect to static location pomset bisimulation equivalence).Static location pomset bisimulation equivalence img is a congruence with respect to BATC with static localities.

Theorem 2.39 (Soundness of BATC with static localities modulo static location pomset bisimulation equivalence).Let x and y be BATC with static localities terms.If BATC sl x = y ,then x img y .

Theorem 2.40 (Completeness of BATC with static localities modulo static location pomset bisimulation equivalence).Let p and q be closed BATC with static localities terms.If p img q ,then p = q .

Theorem 2.41 (Congruence of BATC with static localities with respect to static location step bisimulation equivalence).Static location step bisimulation equivalence img is a congruence with respect to BATC with static localities.

Theorem 2.42 (Soundness of BATC with static localities modulo static location step bisimulation equivalence).Let x and y be BATC with static localities terms.If BATC sl x = y ,then x img y .

Theorem 2.43 (Completeness of BATC with static localities modulo static location step bisimulation equivalence).Let p and q be closed BATC with static localities terms.If p img q ,then p = q .

Theorem 2.44 (Congruence of BATC with static localities with respect to static location hp-bisimulation equivalence).Static location hp-bisimulation equivalence img is a congruence with respect to BATC with static localities.

Theorem 2.45 (Soundness of BATC with static localities modulo static location hp-bisimulation equivalence).Let x and y be BATC with static localities terms.If BATC ├ x = y ,then x img y .

Theorem 2.46 (Completeness of BATC with static localities modulo static location hp-bisimulation equivalence).Let p and q be closed BATC with static localities terms.If p img q ,then p = q .

Theorem 2.47 (Congruence of BATC with static localities with respect to static location hhp-bisimulation equivalence).Static location hhp-bisimulation equivalence img is a congruence with respect to BATC with static localities.

Theorem 2.48 (Soundness of BATC with static localities modulo static location hhp-bisimulation equivalence).Let x and y be BATC with static localities terms.If BATC ├ x = y ,then x img y .

Theorem 2.49 (Completeness of BATC with static localities modulo static location hhp-bisimulation equivalence).Let p and q be closed BATC with static localities terms.If p img q ,then p = q .

2.4.3 APTC with Localities

We provide the transition rules for APTC with static localities as follows.Where≬represents the whole concurrency operator,‖represents the parallel operator, img represents the left parallel operator,|represents the communication merge, Θ represents the conflicts elimination operator,and represents the auxiliary unless operator.

img
img

In the following,wewill show that the elimination theorem does not hold for truly concurrent processes combined with the operators·,+,and img .Firstly,we will define the basic terms for APTC with static localities.

Definition 2.49 (Basic terms of APTC with static localities).The set of basic terms of APTC with static localities, B (APTC sl ),is inductively defined as follows:

(1)E ⊂B (APTC sl ).

(2)If u ∈Loc and t B (APTC sl ),then u img t B (APTC sl ).

(3)If e ∈E and t B (APTC sl ),then e·t∈ B (APTC sl ).

(4)If t,s∈ B (APTC sl ),then t + s B (APTC sl ).

(5)If t,s∈ B (APTC sl ),then t ‖- s B (APTC sl ).

Theorem 2.50 (Congruence theorem of APTC with static localities).Static location truly concurrent bisimulation equivalences img ,and img are all congruences with respect to APTC with static localities.

So,we design the axioms of parallelism in Table 2.10.These axioms include algebraic laws for the parallel operator‖,the communication operator|,the con f lict elimination operator Θ ,the unless operator ,and the whole parallel operator≬.The communication between two communicating events in different parallel branches may cause dead lock(a state of inactivity),which is caused by m ismatch of two communicating events or the im perfectness of the communication channel.We introduce a new constant δ to denote the dead lock,and let theatomic event e ∈E∪{ δ }.

Table 2.10 The axioms of parallelism

img

Based on the def inition of basic terms for APTC with static localities(see Definition 2.49)and axioms of parallelism(see Table 2.10),we can prove the elimination theorem of parallelism.

Theorem 2.51 (Elimination theorem of parallelism).Let p be a closed APTC with static localities term.Then there is a basic APTC with static localities term q such that APTC sl p = q .

Theorem 2.52 (Generalization of APTC with static localities with respect to BATC with static localities).APTC with static localities is a generalization of BATC with static localities.

Theorem 2.53 (Soundness of APTC with static localities modulo static location pomset bisimulation equivalence).Let x and y be APTC with static localities terms.If APTC sl x = y ,then x img y .

Theorem 2.54 (Completeness of APTC with static localities modulo static location pomset bisimulation equivalence).Let p and q be closed APTC with static localities terms.If p img q ,then p = q .

Theorem 2.55 (Soundness of APTC with static localities modulo static location step bisimulation equivalence).Let x and y be APTC with static localities terms.If APTC sl x = y ,then x img y .

Theorem 2.56 (Completeness of APTC with static localities modulo static location step bisimulation equivalence).Let p and q be closed APTC with static localities terms.If p img q ,then p = q .

Theorem 2.57 (Soundness of APTC with static localities modulo static location hp-bisimulation equivalence).Let x and y be APTC with static localities terms.If APTC sl x = y ,then x img y .

Theorem 2.58 (Completeness of APTC with static localities modulo static location hp-bisimulation equivalence).Let p and q be closed APTC with static localities terms.If p img q ,then p = q .

Theorem 2.59 (Soundness of APTC with static localities modulo static location hhp-bisimulation equivalence).Let x and y be APTC with static localities terms.If APTC sl x = y ,then x img y .

Theorem 2.60 (Completeness of APTC with static localities modulo static location hhp-bisimulation equivalence).Let p and q be closed APTC with static localities terms.If p img q ,then p = q .

The transition rules for encapsulation operator H are shown as follows:

img

Based on the transition rules for the encapsulation operator H ,we design the axioms as Table 2.11 shows.

Table 2.11 The axioms of the encapsulation operator H

img

Theorem 2.61 (Congruence theorem of encapsulation operator H ).Static location truly concurrent bisimulation equivalences img ,and img areall congruences with respect to the encapsulation operator H .

Theorem 2.62 (Elimination theorem of APTC with static localities).Let p be a closed APTC with static localities term including the encapsulation operator H .Then there is a basic APTC with static localities term q such that APTC ├ p = q .

Theorem 2.63 (Soundness of APTC with static localities modulo static location pomset bisimulation equivalence).Let x and y be APTC with static localities terms including the encapsulation operator H .If APTC sl x = y ,then x img y .

Theorem 2.64 (Completeness of APTC with static localities modulo static location pomset bisimulation equivalence).Let p and q be closed APTC with static localities terms including the encapsulation operator H .If p img q ,then p = q .

Theorem 2.65 (Soundness of APTC with static localities modulo static location step bisimulation equivalence).Let x and y be APTC with static localities terms including the encapsulation operator H .If APTC sl x = y ,then x img y .

Theorem 2.66 (Completeness of APTC with static localities modulo static location step bisimulation equivalence).Let p and q be closed APTC with static localities terms including the encapsulation operator H .If p img q ,then p = q .

Theorem 2.67 (Soundness of APTC with static localities modulo static location hp-bisimulation equivalence).Let x and y be APTC with static localities terms including the encapsulation operator H .If APTC sl x = y ,then x img y .

Theorem 2.68 (Completeness of APTC with static localities modulo static location hp-bisimulation equivalence).Let p and q be closed APTC with static localities terms including the encapsulation operator H .If p img q ,then p = q .

Theorem 2.69 (Soundness of APTC with static localities modulo static location hhp-bisimulation equivalence).Let x and y be APTC with static localities terms including the encapsulation operator H .If APTC sl x = y ,then x img y .

Theorem 2.70 (Completeness of APTC with static localities modulo static location hhp-bisimulation equivalence).Let p and q be closed APTC with static localities terms including the encapsulation operator H .If p img q ,then p = q .

2.4.4 Recursion with Localities

In this section,we introduce recursion to capture infinite processes based on APTC with static localities.Since in APTC with static localities has four basic operators, img ,·,+,and img ,then the recursion must be adapted this situation to include img .

In the following,we use E,F,G to represent recursive specifications,and X,Y,Z to denote recursive variables.

Definition 2.50 (Recursive specification).A recursive specification is a finite set of recursive equations:

img

where the left-hand sides X i are called recursive variables,and the right-hand sides t i X 1 ,···, X n )are process terms in APTC with static localities with possible occurrences of the recursive variables X 1 ,···, X n .

Definition 2.51 (Solution).Processes p 1 ,···, p n area solution for a recursive specification{ X i = t i X 1 ,···, X n )| i ∈{1,···, n }}[with respect to static location truly concurrent bisimulation equivalences img ]if img t i p 1 ,···, p n )for i ∈{1,···, n }.

Definition 2.52 (Guarded recursive specification).A recursive specification:is guarded if the right-hand sides of its recursive equations can be adapted to the following form,by applying the axioms in APTC with static localities and replacing recursive variables with the right-hand sides of their recursive equations:

img
img

where a 11 ,···, img a k 1 ,···, img b 11 ,···, imgimg ,···, img ∈E,and the sum above is allowed to be empty,in which case it represents the dead lock δ .

Definition 2.53 (Linear recursive specification).A recursive specification is linear if its recursive equations are of the form

img

where a 11 ,···, a 1 i 1 a k 1 ,···, a kik b 11 ,···, b 1 j 1 b 1 j 1 ,···, b ljl ∈E,and the sum above is allowed to be empty,in which case it represents the dead lock δ .

For a guarded recursive specifications E with the form:

img

The behavior of the solution〈 X i | E 〉for the recursive variable X i in E ,where i ∈{1,···, n },isexactly the behavior of their right-hand sides t i X 1 ,···, X n ),which is captured by the two transition rules as follows:

img

Theorem 2.71 (Conservativity of APTC with static localities and guarded recursion).APTC with static localities and guarded recursion is a conservative extension of APTC with static localities.

Theorem 2.72 (Congruence theorem of APTC with static localities and guarded recursion).Static location truly concurrent bisimulation equivalences img ,and img are all congruences with respect to APTC with static localities and guarded recursion.

The RDP(Recursive Definition Princip le)and the RSP(Recursive Specification Principle)are shown in Table 2.12.

Table 2.12 Recursive definition principle and the recursive specification princip le

img

Theorem 2.73 (Elimination theorem of APTC with static localities and linear recursion).Each process term in APTC with static localities and linear recursion is equal to a process term〈 X 1 | E 〉 with E being a linear recursive specification.

Theorem 2.74 (Soundness of APTC with static localities and guarded recursion).Let x and y be APTC with static localities and guarded recursion terms.If APTC with guarded recursive ├ x = y ,then

(1) img .

(2) img .

(3) img .

(4) img .

Theorem 2.75 (Completeness of APTC with static localities and linear recursion).Let p and q be closed APTC with static localities and linear recursion terms,then

(1)If p img q ,then p = q .

(2)If p img q ,then p = q .

(3)If p img q ,then p = q .

(4)If p img q ,then p = q .

2.4.5 Abstraction with Localities

To abstract away from the internal implementations of a program,and verify that the program exhibits the desired external behaviors,we introduce the silent step τ (dlistinguished as τ e )and the abstraction operator τ I ,where I⊆ E denotes the internal events.The silent step τ represents internal events,when we consider the external behaviors of a process, τ events can be removed,that is, τ events must keep silent.The transition rule for τ is shown as follows.In the following,we let theatomic event e range over E∪{δ}∪{τ},and let the communication function γ :E∪{ τ}× E∪{ τ img E∪{ δ },where each communication involved τ resulting into δ .

img

The silent step τ is introduced as anatomic event in E .Considering the recursive specification X =τX, τs ττs ,and τ···s are all its solutions,that is,the solutions make the existence of τ -loops cause un fairness.To prevent τ -loops,we extend the def inition of linear recursive specification(Definition 3.6)to the guarded one.

Definition 2.54 (Guarded linear recursive specification).A recursive specification is linear,if its recursive equations are with the form:

img

where a 11 ,···, img a k 1 ,···, img b 11 ,···, imgimg ,···, img ∈E∪{ τ },and the sum above is allowed to be empty,in which case it represents the dead lock δ .

A linear recursive specification E is guarded,if there does not exist an infinite sequence of τ -transitions img ···.

Theorem 2.76 (Conservativity of APTC with static localities,silent step,and guarded linear recursion).APTC with static localities,silent step,and guarded linear recursion is a conservative extension of APTC with static localities and linear recursion.

Theorem 2.77 (Congruence theorem of APTC with static localities,silent step,and guarded linear recursion).Rooted branching static location tru ly concurrent bisimulation equivalences imgimg ,and img are all congruences with respect to APTC with static localities,silent step,and guarded linear recursion.

We design the axioms for the silent step τ as shown in Table 2.13.

Table 2.13 The axioms of the silent step τ

img

Theorem 2.78 (Elimination theorem of APTC with static localities,silent step,and guarded linear recursion).Each process term in APTC with static localities,silent step,and guarded linear recursion is equal to a process term〈 X 1 | E 〉 with E being a guarded linear recursive specification.

Theorem 2.79 (Soundness of APTC with static localities,silent step,and guarded linear recursion).Let x and y be APTC with static localities,silent step,and guarded linear recursive terms.If APTC with static localities,silent step,and guarded linear recursion ├ x = y ,then

(1) x img y .

(2) x img y .

(3) x img y .

(4) x img y .

Theorem 2.80 (Completeness of APTC with static localities,silent step,and guarded linear recursion).Let p and q be closed APTC with static localities,silent step,and guarded linear recursion terms,then

(1)If p img q ,then p = q .

(2)If p img q ,then p = q .

(3)If p img q ,then p = q .

(4)If p img q ,then p = q .

The unary abstraction operator τ I I⊆ E)renames allatomic events in I into τ .APTC with static localities,silent step,and the abstraction operator is denoted as APTC τ with static localities.The transition ru les of operator τ I are as follows:

img

Theorem 2.81 (Conservativity of APTC τ with static localities and guarded linear recursion).APTC τ with static localities and guarded linear recursion is a conservative extension of APTC with static localities,silent step,and guarded linear recursion.

Theorem 2.82 (Congruence theorem of APTC τ with static localities and guarded linear recursion).Rooted branching static location truly concurrent bisimulation equivalences imgimgimg ,and img areall congruences with respect to APTC τ with static localities and guarded linear recursion.

We design the axioms for the abstraction operator τ I in Table 2.14.

Table 2.14 The axioms of the abstraction operator τ I

img

Theorem 2.83 (Soundness of APTC τ with static localities and guarded linear recursion).Let x and y be APTC τ with static localities and guarded linear recursion terms.If APTC τ with static localities and guarded linear recursion ├ x = y ,then

(1) x img y .

(2) x img y .

(3) x img y .

(4) x img y .

Although τ -loops are prohibited in guarded linear recursive specifications(see Definition 2.54)in a specif iable way,they can be constructed using the abstraction operator.For example,there exist τ -loops in the process term τ {a} (〈 X|X=aX〉).To avoid τ -loops caused by τ I and ensure fairness,the concept of cluster and CFAR(Cluster Fair Abstraction Rule) [11] are still valid in true concurrency,we introduce them below.

Definition 2.55 (Cluster).Let E be a guarded linear recursive specification,and I⊆ E.Two recursive variable X and Y in E are in the same cluster for I iffthere exist sequences of transitions img ,and img ,where b 11 ,···, b mi c 11 ,···, c nj I∪ τ }.

u 1 img a 1 img ···‖- u k img a k or( u 1 img a 1 img ···‖- u k img a k X is an exit for the cluster C iff:① u 1 img a 1 img ···‖- u k img a k or( u 1 img a 1 img ···‖- u k img a k X is a summand on the righth and side of the recursive equation for a recursive variable in C ;②in the case of( u 1 img a 1 img ···‖- u k img a k X ,either a l img I∪{τ}( l ∈{1,2,···, k })or X img C .

Cluster fair abstraction rule is shown in Table 2.15

Table 2.15 Cluster fair abstraction rule

img

Theorem 2.84 (Soundness of CFAR).CFAR is sound modulo rooted branching truly concurrent bisimulation equivalences img ,and img .

Theorem 2.85 (Com pleteness of APTC τ with static localities and guarded linear recursion and CFAR).Let p and q be closed APTC τ with static localities and guarded linear recursion and CFAR terms,then

(1)If p img q ,then p = q .

(2)If p img q ,then p = q .

(3)If p img q ,then p = q .

(4)If p img q ,then p = q . ckofK7Kv/XX0LNRm0cVWlqBckmNkgb2e28wu0LDWPzLPZETG39FmsiIAek0VGc/4

点击中间区域
呼出菜单
上一章
目录
下一章
×

打开