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

分布式算法验证的自动机理论方法

An Automata-Theoretic Approach to the Verification of Distributed Algorithms

C. Aiswarya, Benedikt Bollig, Paul Gastin

摘要:

我们介绍了一个自动机理论的方法验证分布式算法上运行的环形网络。在分布式算法中,任意数量的进程协作以实现共同的目标(例如,选一个领导人)。进程拥有来自无限全序域的唯一标识符(pids)。算法在同步循环中进行,每一循环允许进程执行有界的动作序列,例如发送或接收pid,将其存储在某个寄存器中,并比较寄存器内容wrt。相关的总订单。算法应该是正确的,与进程的数量无关。为了指定正确性属性,我们引入了一个可以推理进程和pid的逻辑。关于领导者选举,可以说,在执行结束时,每个进程将最大pid存储在某个专用寄存器中。由于分布式算法的验证是不可判定的,我们提出了一种欠近似技术,它限制了轮数。这是一种很有吸引力的方法,因为分布式算法得出结论所需的轮数通常比进程数呈指数级小。我们提供了一个自动机理论的解决方案,减少模型检验空交替双向自动机的话。总的来说,我们表明,在环上的分布式算法的圆形有界验证是PSPACE完成的。

英文摘要:

We introduce an automata-theoretic method for the verification of distributed algorithms running on ring networks. In a distributed algorithm, an arbitrary number of processes cooperate to achieve a common goal (e.g., elect a leader). Processes have unique identifiers (pids) from an infinite, totally ordered domain. An algorithm proceeds in synchronous rounds, each round allowing a process to perform a bounded sequence of actions such as send or receive a pid, store it in some register, and compare register contents wrt. the associated total order. An algorithm is supposed to be correct independently of the number of processes. To specify correctness properties, we introduce a logic that can reason about processes and pids. Referring to leader election, it may say that, at the end of an execution, each process stores the maximum pid in some dedicated register. Since the verification of distributed algorithms is undecidable, we propose an underapproximation technique, which bounds the number of rounds. This is an appealing approach, as the number of rounds needed by a distributed algorithm to conclude is often exponentially smaller than the number of processes. We provide an automata-theoretic solution, reducing model checking to emptiness for alternating two-way automata on words. Overall, we show that round-bounded verification of distributed algorithms over rings is PSPACE-complete.

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

↑