论文标题
基于开放式PNET的组成等价
Compositional equivalences based on Open pNets
论文作者
论文摘要
通过确定两个实现是等效的,可以通过确定修改后的程序等同于源源之一来确定两个实现是等效的,这对于验证程序的正确性以及证明优化和程序转换是合理的,这既是验证程序的正确性,又是至关重要的。程序存在几种等价关系,而双击是这些等效性中最通用的。在分配关系中,一个人区分了强大的一分化,这要求程序的每个动作都通过等效程序的单个动作进行模拟,这是一个较薄的分配,这是一个更加粗略的关系,允许某些动作是看不见的或内部移动的,因此不能由等效程序模拟。 PNET是对开放系统建模的自动机的概括。它们具有变量和分层组成。开放式PNET是带有孔的PNET,即在层次结构内部可以通过子系系统填充的占位符。 本文定义了分配关系,以比较指定为PNET的系统。我们首先定义了开放式PNET的强分型。然后,我们定义与经典弱分成型相似的等价关系,并研究其特性。在这些属性中,我们对组成性感兴趣:如果两个系统被证明是等效的,它们将无法区分它们的上下文,当它们的孔中充满等效系统时,它们也将无法区分。我们确定自动机上的足够条件,以确保强度和弱分性的组成性。该文章以运行示例的运输协议进行了说明;它显示了我们的形式主义和我们的仿真关系的特征。
Establishing equivalences between programs or systems is crucial both for verifying correctness of programs, by establishing that two implementations are equivalent, and for justifying optimisations and program transformations, by establishing that a modified program is equivalent to the source one. There exist several equivalence relations for programs, and bisimulations are among the most versatile of these equivalences. Among bisimulation relations one distinguishes strong bisimulation, that requires that each action of a program is simulated by a single action of the equivalent program, a weak bisimulation that is a coarser relation, allowing some of the actions to be invisible or internal moves, and thus not simulated by the equivalent program. pNet is a generalisation of automata that model open systems. They feature variables and hierarchical composition. Open pNets are pNets with holes, i.e. placeholders inside the hierarchical structure that can be filled later by sub-systems. This article defines bisimulation relations for the comparison of systems specified as pNets. We first define a strong bisimulation for open pNets. We then define an equivalence relation similar to the classical weak bisimulation, and study its properties. Among these properties we are interested in compositionality: if two systems are proven equivalent they will be undistinguishable by their context, and they will also be undistinguishable when their holes are filled with equivalent systems. We identify sufficient conditions on the automata to ensure compositionality of strong and weak bisimulation. The article is illustrated with a transport protocol running example; it shows the characteristics of our formalism and our bisimulation relations.