词条 | Algebra of Communicating Processes |
释义 |
The Algebra of Communicating Processes (ACP) is an algebraic approach to reasoning about concurrent systems. It is a member of the family of mathematical theories of concurrency known as process algebras or process calculi. ACP was initially developed by Jan Bergstra and Jan Willem Klop in 1982,[1] as part of an effort to investigate the solutions of unguarded recursive equations. More so than the other seminal process calculi (CCS and CSP), the development of ACP focused on the algebra of processes, and sought to create an abstract, generalized axiomatic system for processes,[2] and in fact the term process algebra was coined during the research that led to ACP. Informal descriptionACP is fundamentally an algebra, in the sense of universal algebra. This algebra provides a way to describe systems in terms of algebraic process expressions that define compositions of other processes, or of certain primitive elements. PrimitivesACP uses instantaneous, atomic actions () as its primitives. Some actions have special meaning, such as the action , which represents deadlock or stagnation, and the action , which represents a silent action (abstracted actions that have no specific identity). Algebraic operatorsActions can be combined to form processes using a variety of operators. These operators can be roughly categorized as providing a basic process algebra, concurrency, and communication.
first chooses to perform either or , and then performs action . How the choice between and is made does not matter and is left unspecified. Note that alternative composition is commutative but sequential composition is not (because time flows forward).
may perform the actions in any of the sequences . On the other hand, the process may only perform the sequences since the left-merge operators ensures that the action occurs first.
will communicate the value from the right component process to the left component process (i.e. the identifier is bound to the value , and free instances of in the process take on that value), and then behave as the merge of and .
which, in this case, can be reduced to since the event is no longer observable and has no observable effects. Formal definitionACP fundamentally adopts an axiomatic, algebraic approach to the formal definition of its various operators. The axioms presented below comprise the full axiomatic system for ACP (ACP with abstraction). Basic process algebraUsing the alternative and sequential composition operators, ACP defines a basic process algebra which satisfies the axioms[3] DeadlockBeyond the basic algebra, two additional axioms define the relationships between the alternative and sequencing operators, and the deadlock action, Concurrency and interactionThe axioms associated with the merge, left-merge, and communication operators are[3] When the communications operator is applied to actions alone, rather than processes, it is interpreted as a binary function from actions to actions, . The definition of this function defines the possible interactions between processes — those pairs of actions that do not constitute interactions are mapped to the deadlock action, , while permitted interaction pairs are mapped to corresponding single actions representing the occurrence of an interaction. For example, the communications function might specify that which indicates that a successful interaction will be reduced to the action . ACP also includes an encapsulation operator, for some , which is used to convert unsuccessful communication attempts (i.e. elements of that have not been reduced via the communication function) to the deadlock action. The axioms associated with the communications function and encapsulation operator are[3] AbstractionThe axioms associated with the abstraction operator are[3] Note that the action a in the above list may take the value δ (but of course, δ cannot belong to the abstraction set I). Related formalismsACP has served as the basis or inspiration for several other formalisms that can be used to describe and analyze concurrent systems, including:
References1. ^J.C.M. Baeten, A brief history of process algebra, Rapport CSR 04-02, Vakgroep Informatica, Technische Universiteit Eindhoven, 2004 2. ^Bas Luttik, What is algebraic in process theory, Algebraic Process Calculi: The First Twenty Five Years and Beyond {{Webarchive|url=https://web.archive.org/web/20051204114516/http://www.cs.auc.dk/~luca/BICI/PA-05/ |date=2005-12-04 }}, Bertinoro, Italy, August 1, 2005 3. ^1 2 3 J.A. Bergstra and J.W. Klop, ACPτ: A Universal Axiom System for Process Specification, CWI Quarterly 15, pp. 3-23, 1987 4. ^P.J.L. Cuijpers and M.A. Reniers, Hybrid process algebra, Technical Report, Department of Mathematics and Computer Science, Technical University Eindhoven, 2003 1 : Process calculi |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。