arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.14055cs.LO
收藏

并发程序的语法区域

Syntactic Regions for Concurrent Programs

Samuel Mimram, Aly-Bora Ulusoy

摘要:

为了更好地理解程序的状态空间,为了使其验证更易于处理,引入了基于有向拓扑空间的模型,允许考虑执行轨迹之间的等价性,以及将执行的特征(例如死锁的存在)转化为几何情况。在这方面,许多算法被引入,基于描述的几何模型作为区域组成的工会的矩形。我们在这里解释说,这些结构实际上可以直接在程序的语法上执行,从而导致更自然,更容易实现的表示。为了做到这一点,我们从观察开始,在程序中的位置可以被描述为程序的部分探索。操作语义在位置上引入了偏序,并且区域可以被定义为结果偏序集中的区间的形式并集。然后,我们研究这些地区的结构,并表明,在合理的条件下,他们形成一个布尔代数,并承认在范式(这对应于覆盖一个空间的最大间隔)表示,从而支持建设所需的研究计划的目的。这里涉及的所有操作都给出了明确的算法描述。

英文摘要:

In order to gain a better understanding of the state space of programs, with the aim of making their verification more tractable, models based on directed topological spaces have been introduced, allowing to take in account equivalence between execution traces, as well as translate features of the execution (such as the presence of deadlocks) into geometrical situations. In this context, many algorithms were introduced, based on a description of the geometrical models as regions consisting of unions of rectangles. We explain here that these constructions can actually be performed directly on the syntax of programs, thus resulting in representations which are more natural and easier to implement. In order to do so, we start from the observation that positions in a program can be described as partial explorations of the program. The operational semantics induces a partial order on positions, and regions can be defined as formal unions of intervals in the resulting poset. We then study the structure of such regions and show that, under reasonable conditions, they form a boolean algebra and admit a representation in normal form (which corresponds to covering a space by maximal intervals), thus supporting the constructions needed for the purpose of studying programs. All the operations involved here are given explicit algorithmic descriptions.

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

↑