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

2.1 Operational Semantics

The semantics of ACP is based on bisimulation/rooted branching bisimulation equivalences,and the modularity of ACP relies on the concept of conservative extension.For the conveniences,we introduce some concepts and conclusions related to them.

Definition 2.1(Signature).A signature Σ consists of a finite set of function symbols(or operators)f,g,···,where each function symbol f has an arity ar(f),representing its number of arguments.A function symbol a,b,c,···of arity zero is called a constant,a function symbol of arity one is called unary,and a function symbol of arity two is called binary.

We assume a non-empty set S of states,a finite and non-empty set of transition labels A and a finite set of predicate symbols.

Definition 2.2(Labeled transition system).A transition is a triple(s,a,s')with aA,or a pair(sP)where P is a predicate,and s,s'S.A Labeled Transition System(LTS)is possibly in finite set of transitions.An LTS is finitely branching if each of its states has only finitely many outgoing transitions.

Definition 2.3(Transition system specification).A transition rule ρis an expression of the form img,where H is a set of expressions t img t'and tP, with t,t'∈T(Σ).These exp ressions are called the(positive)premises of ρ,The expression πis either t img t'or tP, with t,t'∈T(Σ),called the conclusion of ρ.The left-hand side of πis called the source of ρ.A transition rule is closed if it does not contain any variables.A Transition System Specification(TSS)is a(possible infinite)set of transition rules.

Definition 2.4(Process(graph)).A process(graph)p is an LTS in which one state s is elected to be the root.If the LTS contains a transition s img s',then p img p',where p'has the root state s'.Moreover,if the LTS contains a transition sP,then pP.There are two conditions for a process p0:①A process p0 is finite if there are only finitely many sequences img;②A process p0 is regular if there are only finitely many processes p k such that img.

Definition 2.5(Bisimulation).A bisimulation relation R is a binary relation on processes such that:① if pRq and p img p',then q img q' with p'Rq';② if pRq and q img q',then p img p' with p'Rq';③if pRq and pP,then qP;④if pRq and qP,then pP.Two processes p and q are bisimilar,denoted by p~HM q,if there is a bisimulation relation R such that pRq.Note that p,p',q,q'are processes, a is anatomic action,and P is a predicate.

Definition 2.6(Branching bisimulation).A branching bisimulation relation R is a binary relation on the collection of processes such that:① if pRq and p img p',then either a≡τand p'Rq,or there is a sequence of(zero or more)τ-transitions q img ··· img q0 such that pRq0 and q0 img q' with p'Rq';② if pRq and q img q',then either a≡τand pRq',or there is a sequence of(zero or more)τ-transitions p img ··· img p0 such that p0 Rq and p0 img p' with p'Rq';③if pRq and pP,then there is a sequence of(zero or more)τ-transitions q img ··· img q0 such that pRq0 and q0 P;④if pRq and qP,then there is a sequence of(zero or more)τ-transitions p img ··· img p0 such that p0 Rq and p0 P.Two processes p and q are branching bisimilar,denoted by pbHM q,if there is a branching bisimulation relation R such that pRq.

Definition 2.7(Rooted branching bisimu lation).A rooted branching bisimulation relation R is a binary relation on processes such that:① if pRq and p img p',then q img q' with p'bHM q';② if pRq and q img q',then p img p' with p'bHM q';③if pRq and pP,then qP;④if pRq and qP,then pP.Two processes p and q are rooted branching bisimilar,denoted by prbHM q,if there is a rooted branching bisimulation relation R such that pRq.

Definition 2.8(Congruence).Let Σbe a signature.An equivalence relation R on terms TΣ)is a congruence if for each fΣ,if s i Rt i for i∈{1,···,ar(f)}[1],then fs1,···, sar( fRft1,···, tar( f).

Definition 2.9(Conservative extension).Let T0 and T1 be TSSs(Transition System Specifications)over signatures Σ0 and Σ1,respectively.The TSS T0T1 is a conservative extension of T0 if the LTSs(Labeled Transition Systems)generated by T0 and T0T1 contain exactly the same transitions t img t'and tP with tTΣ0).

Definition 2.10(Source-dependency).The source-dependent variables in a transition rule of ρare defined inductively as follows:①all variables in the source of ρare sourcedependent;② if t img t'is a premise of ρand all variables in t are source-dependent,then all variables in t'are source-dependent.A transition rule is source-dependent if all its variables are.A TSS is source-dependent if all its rules are.

Definition 2.11(Freshness).Let T0 and T1 be TSSs over signatures Σ0 and Σ1,respectively.A term in T(T0T1)is said to be fresh if it contains a function symbol from Σ1 0.Similarly,a transition labelor predicate symbol in T1 is fresh if it does not occur in T0.

Theorem 2.1(Conservative extension).Let T0 and T1 be TSSsover signatures Σ0 and Σ1,respectively,where T0 and T0T1 are positive after reduction.Under the following conditions, T0T1 is a conservative extension of T0:① T0 is source-dependent;② For each ρT1,either the source of ρis fresh,or ρhas a premise of the form t img t'or tP,where t∈T(Σ0),all variables in t occur in the source of ρand t',and a or P is fresh.