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

基于前向模拟的可线性化并发对象层次结构

A Forward Simulation-Based Hierarchy of Linearizable Concurrent Objects

School of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院);Key Laboratory of System Software, Institute of Software, CAS(中国科学院软件研究所系统软件重点实验室);University of Chinese Academy of Sciences(中国科学院大学);State Key Laboratory of Intelligent Vehicle Technology, Chongqing(重庆智能车技术国家重点实验室);Aarhus University(奥胡斯大学);Department of Computer Science, University of York(约克大学计算机科学系)

Chao Wang, Ruijia Li, Yang Zhou, Peng Wu, Yi Lv, Jianwei Liao, Jim Woodcock, Zhiming Liu

AI总结:

本文通过前向模拟关系系统研究可线性化对象,证明满足不同活性条件的可线性化对象集合形成有界半格或格,并提出了基于前向模拟的等价刻画和通用构造,用于验证可线性化性。

摘要:

本文系统研究了可线性化对象与前向模拟之间的联系。我们证明,满足无等待(resp.,无锁或无阻塞)的可线性化对象集合在前向模拟关系下形成有界并半格,而无活性约束的可线性化对象集合在同一关系下形成有界格。因此,前向模拟不仅是可线性化性的证明技术,还诱导了可线性化对象的代数层次结构。作为格结果的一部分,我们通过将关于顺序规范$Spec$的可线性化性检查归约为关于无等待通用构造$\mathcal{U}_{Spec}^{WF}$的前向模拟检查,提出了可线性化性的等价刻画。我们还提出了对象$\mathcal{U}_{Spec}^s$,它简化了$\mathcal{U}_{Spec}^{WF}$,更适合验证。我们证明Herlihy-Wing队列被$\mathcal{U}_{Queue}^s$模拟,其中$Queue$是队列的顺序规范。因此,我们的对象$\mathcal{U}_{Spec}^s$可用于可线性化性的验证。为了展示具体可线性化对象之间的前向模拟关系,我们证明时间戳队列模拟Herlihy-Wing队列,而Herlihy-Wing队列不能模拟时间戳队列。这三个证明均已通过Isabelle/HOL机器验证。

英文摘要:

In this paper, we systematically investigate the connection between linearizable objects and forward simulation. We prove that the sets of linearizable objects satisfying wait-freedom (resp., lock-freedom or obstruction-freedom) form a bounded join-semilattice under the forward simulation relation, and that the sets of linearizable objects without liveness constraints form a bounded lattice under the same relation. Thus, forward simulation is not only a proof technique for linearizability but also induces an algebraic hierarchy of linearizable objects. As part of our lattice result, we propose an equivalent characterization of linearizability by reducing checking linearizability w.r.t. sequential specification $Spec$ into checking forward simulation w.r.t. an object $\mathcal{U}_{Spec}$.

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

↑