arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.00629cs.LOcs.CL
收藏

从可逆Petri网到着色Petri网的形式化转换

Formal Translation from Reversing Petri Nets to Coloured Petri Nets

Nicolaus Copernicus University(哥白尼大学);Polish Academy of Sciences(波兰科学院);University of Cyprus(塞浦路斯大学)

Kamila Barylska, Anna Gogolinska, Lukasz Mikulski, Anna Philippou, Marcin Piatkowski, Kyriaki Psara

AI总结:

本文提出一种从可逆Petri网到着色Petri网的形式化转换方法,扩展支持令牌多重性,并通过统一框架实例化回溯、因果逆序和因果外逆序三种可逆性,同时开发了自动化转换工具。

摘要:

可逆计算是一种新兴的计算范式,它允许在计算过程中的任意时刻以逆序执行任意操作序列。其吸引力在于低功耗计算的潜力,以及与化学反应、量子计算、机器人和分布式系统等广泛应用的关联。可逆Petri网(Reversing Petri nets)是最近提出的Petri网扩展,实现了三种主要的可逆形式,即回溯、因果逆序和因果外逆序。其显著特征是使用可以被组合在一起形成键的命名令牌。命名令牌与历史函数一起构成了记忆过去行为的手段,从而使逆转成为可能。在最近的工作中,我们提出了一种从RPN的一个子类到着色Petri网(Coloured Petri Nets,CPNs)模型的结构化转换,CPNs是传统Petri网的扩展,其中令牌携带数据值。在本文中,我们扩展了该转换,以处理个体令牌解释下的具有令牌多重性的RPN,该模型允许系统中存在多个相同类型的令牌。为了支持三种类型的可逆性,令牌与其因果历史相关联,并且虽然相同类型的令牌在正向执行时同样有资格触发变迁,但在反向执行时它们只能逆转其先前已触发的变迁。新的转换除了解除对令牌唯一性的限制外,还通过一种统一方法提出了一种将RPN转换为CPNs的精细化方法,该方法允许实例化三种可逆性中的每一种。本文还报告了一个实现该转换的工具,为使用CPN Tools进行可逆系统的自动化转换和分析铺平了道路。

英文摘要:

Reversible computation is an emerging computing paradigm that allows any sequence of operations to be executed in reverse order at any point during computation. Its appeal lies in its potential for lowpower computation and its relevance to a wide array of applications such as chemical reactions, quantum computation, robotics, and distributed systems. Reversing Petri nets are a recently-proposed extension of Petri nets that implements the three main forms of reversibility, namely, backtracking, causal reversing, and out-of-causal-order reversing. Their distinguishing feature is the use of named tokens that can be combined together to form bonds. Named tokens along with a history function, constitute the means of remembering past behaviour, thus, enabling reversal. In recent work, we have proposed a structural translation from a subclass of RPNs to the model of Coloured Petri Nets (CPNs), an extension of traditional Petri nets where tokens carry data values. In this paper, we extend the translation to handle RPNs with token multiplicity under the individual-token interpretation, a model which allows multiple tokens of the same type to exist in a system. To support the three types of reversibility, tokens are associated with their causal history and, while tokens of the same type are equally eligible to fire a transition when going forward, when going backwards they are able to reverse only the transitions they have previously fired. The new translation, in addition to lifting the restriction on token uniqueness, presents a refined approach for transforming RPNs to CPNs through a unifying approach that allows instantiating each of the three types of reversibility. The paper also reports on a tool that implements this translation, paving the way for automated translations and analysis of reversible systems using CPN Tools.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑