离散与混杂控制的代数理论(英文版)
上QQ阅读APP看本书,新人免费读10天
设备和账号都新为新人

2.3.1 Basic Algebra for True Concurrency

BATC has sequential composition·and alternative composition+to capture the chronological ordered causality and the structural confliction.The constants are ranged over A,the set ofatomic actions.The algebraic laws on·and+are sound and complete modulo truly concurrent bisimulation equivalences(including pomset bisimulation,step bisimulation,hp-bisimulation and hhp-bisimulation).

Definition 2.15(Prime event structure with silent event).Let Λbe afixed set of labels,ranged 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 is the empty event.Let λ:E img Λbe a labelling function,and let λτ)=τ.And≤, 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 if eτ e'=eτ···τe',then ee'

(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 e‖e',if ¬ee'), ¬e'e),and ¬e♯e').

Definition 2.16(Configuration).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 CE).We let img =C\{τ}.

A consistent subset of 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 C1 ~C2,we mean imgimg .

Definition 2.17(Pomset transitions and step).Let E be a PES, CCE),and∅ /=X⊆E,if C∩X=∅and C'=C∪XCE),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.18(Pomset and step bisimulation).Let E1 and E2 be PESs.A pomset bisimulation is a relation R⊆CE1×CE2),such that if(C1C2)∈ R,and C1 img C1 ',then img, with X1 E1X2 E2X1 ~X2,and(imgimg)∈ R,and vice-versa.We say that E1 and E2 are pomset bisimilar,written E1p E2,if there exists a pomset bisimulation R,such that(∅,∅)∈ R.By replacing pomset transitions with steps,we can get the def inition of step bisimulation.When PESs E1 and E2 are step bisimilar,we w rite E1s E2.

Definition 2.19(Posetal product).Given two PESs E1 and E2,the posetal product of their conigurations,denoted CE1img CE2),is defined as

{(C1f,C2)| C1CE1), C2CE2), fC1 img C2 isomorphism}

A subset R⊆CE1img CE2)is called a posetal relation.We say that R is downward closed when for any(C1f,C2),(imgf', img)∈ CE1img CE2),if(C1f,C2imgf', img)point wise and(imgf', img)∈ R,then(C1f,C2)∈ R.

For fX1 img X2,we define fx1img x2]: X1∪{ x1img X2∪{ x2}, zX1∪{ x1}as follows:① fx1 img x2](z)=x2,if z=x1;② fx1 img x2](z)=fz),otherw ise.Here, X1 E1X2 E2x1∈E1,and x2∈E2.

Definition 2.20((Hereditary)history-preserving bisimulation).A history-preserving(hp-)bisimulation is a posetal relation R⊆CE1img CE2)such that if(C1f,C2)∈ R,and img,then img, with(imgfe1 img e2], img)∈ R,and vice-versa. E1 and E2 are history-preserving(hp-)bisimilar and arewritten as E1hp E2 if there exists a hp-bisimulation R such that(∅,∅,∅)∈ R.

A hereditary history-preserving(hhp-)bisimulation is a downward closed hpbisimulation. E1 and E2 are hereditary history-preserving(hhp-)bisimulation and are written as E1hhp E2.

In the following,let e1e2imgimg ∈E,and let variables x,y,z range over the set of terms for true concurrency,and variables p,q,s range over the set of closed terms.The set of axioms of BATC consists of the laws given in Table 2.1.

Table 2.1 Axioms of BATC

Definition 2.21(Basic terms of BATC).The set of basic terms of BATC,denoted B(BATC),is inductively defined as follows:

(1)E ⊂B(BATC).

(2)If e∈E, tB(BATC),then e·tB(BATC).

(3)If t,sB(BATC),then t+ sB(BATC).

Theorem 2.3(Elimination theorem of BATC).Let p be a closed BATC term.Then there exists a basic BATC term q such that BATC ├p=q.

We provide the operational transition rules of operators·and+as follows.The predicate img represents successful termination after execution of the event e.

Theorem 2.4(Congruence of BATC with respect to truly concurrent bisimulation equivalences).Truly concurrent bisimulation equivalences~ p,~ s,~hp,and~hhp are all congruences with respect to BATC.

Theorem 2.5(Soundness of BATC modulo truly concurrent bisimulation equivalences).The axiomatization of BATC is sound modulo truly concurrent bisimulation equivalences~ p,~ s,~hp,and~hhp.That is,

(1)Let x and y be BATC terms,if BATC ├x=y,then xp y.

(2)Let x and y be BATC terms,if BATC ├x=y,then xs y.

(3)Let x and y be BATC terms,if BATC ├x=y,then xhp y.

(4)Let x and y be BATC terms,if BATC ├x=y,then xhhp y.

Theorem 2.6(Completeness of BATC modulo truly concurrent bisimulation equivalences).The axiomatization of BATC is complete modulo truly concurrent bisimulation equivalences~ p,~ s,~hp,and~hhp.That is,

(1)Let p and q be closed BATC terms,if pp q,then p=q.

(2)Let p and q be closed BATC terms,if ps q,then p=q.

(3)Let p and q be closed BATC terms,if php q,then p=q.

(4)Let p and q be closed BATC terms,if phhp q,then p=q.

Since hhp-bisimilarities is a downward closed hp-bisimilarities and can be downward closed to a singleatomic event,which implies bisimilarities.As proven by M oller[9],there is no finite sound and complete axiomatization for parallelism‖modulo bisimulation equivalence,so there is no finite sound and comp lete axiomatization for parallelism‖modulo hhp-bisimulation equivalence either.Inspired by the approach of leftmerge used to model the fullmerge for bisimilarities,we introduce a left parallel composition img to model the full parallelism‖for hhp-bisimilarities.

In the following subsection,we extend the theory by adding left parallel composition img to the whole theory.Since the resulting theory is similar to the previous one,we will only highlight the significant differences,and the proofs of the conclusions are left to the reader.