arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.25112cs.PLcs.DCcs.LOmath.AT
收藏

并发程序的奇点理论:死锁与活锁的拓扑表征及检测

The Singularity Theory of Concurrent Programs: A Topological Characterization and Detection of Deadlocks and Livelocks

Di Zhang

AI总结:

该研究提出并发程序分析的奇点理论范式,通过分支拓扑空间建模程序执行,用代数拓扑不变量检测死锁与活锁,为并发验证提供新的拓扑基础。

摘要:

本文提出一种用于并发程序分析与验证的全新范式——奇点理论(Singularity Theory)。我们将并发程序的执行空间建模为分支拓扑空间,其中程序状态为点,状态转移为路径。在该框架下,我们将死锁表征为执行空间中的吸引子,将活锁表征为不可收缩环。借助代数拓扑工具,尤其是同伦群与同调群,我们定义了一系列并发拓扑不变量,无需穷举遍历所有状态即可系统检测并分类这些并发“奇点”。本研究旨在为并发程序验证建立几何与拓扑基础,突破传统模型检测的局限。

英文摘要:

This paper introduces a novel paradigm for the analysis and verification of concurrent programs -- the Singularity Theory. We model the execution space of a concurrent program as a branched topological space, where program states are points and state transitions are paths. Within this framework, we characterize deadlocks as attractors and livelocks as non-contractible loops in the execution space. By employing tools from algebraic topology, particularly homotopy and homology groups, we define a series of concurrent topological invariants to systematically detect and classify these concurrent "singularities" without exhaustively traversing all states. This work aims to establish a geometric and topological foundation for concurrent program verification, transcending the limitations of traditional model checking.

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

↑