协商中的健全性
Soundness in negotiations
AI总结:
本文研究协商的健全性问题,改进确定性协商的复杂度至Nlogspace完全,证明无环弱非确定性协商可在多项式时间判定,并将技术应用于竞态检测等静态分析。
摘要:
协商是一种用于描述多方分布式合作的形式化方法。或者,它们可以被视为一种并发模型,以同步选择作为通信原语。设计良好的协商必须是健全的,这意味着无论其当前状态如何,协商仍然可以完成。在早期的工作中,Esparza和Desel已经证明,判定一个协商的健全性是PSpace完全的,并且如果协商是确定性的,则该问题属于Ptime。他们还将他们的多项式健全性算法扩展到了一个中间类,即无环非确定性协商。然而,他们没有分析扩展算法的运行时间,也没有解决该中间类健全性问题的复杂性。在本文的第一部分,我们重新审视确定性协商的健全性问题,并证明它是Nlogspace完全的,改进了先前需要线性空间的算法。在第二部分,我们回答了Esparza和Desel留下的开放问题。我们证明,对于无环弱非确定性协商(一个比他们所考虑的类更一般的类),健全性问题可以在多项式时间内解决。在第三部分也是最后一部分,我们展示了本文前两部分开发的技术可以应用于除健全性之外的分析问题,包括检测竞态条件的问题,以及几个经典的静态分析问题。更具体地说,我们表明,虽然这些问题对于任意无环确定性协商来说是难解的,但在健全的情况下它们变得易解。因此,健全性不仅本身是一个理想的行为属性,而且还有助于分析其他属性。
英文摘要:
Negotiations are a formalism for describing multiparty distributed cooperation. Alternatively, they can be seen as a model of concurrency with synchronized choice as communication primitive. Well-designed negotiations must be sound, meaning that, whatever its current state, the negotiation can still be completed. In earlier work, Esparza and Desel have shown that deciding soundness of a negotiation is Pspace-complete, and in Ptime if the negotiation is deterministic. They have also extended their polynomial soundness algorithm to an intermediate class of acyclic, non-deterministic negotiations. However, they did not analyze the runtime of the extended algorithm, and also left open the complexity of the soundness problem for the intermediate class. In the first part of this paper we revisit the soundness problem for deterministic negotiations, and show that it is Nlogspace-complete, improving on the earlier algorithm, which requires linear space. In the second part we answer the question left open by Esparza and Desel. We prove that the soundness problem can be solved in polynomial time for acyclic, weakly non- deterministic negotiations, a more general class than the one considered by them. In the third and final part, we show that the techniques developed in the first two parts of the paper can be applied to analysis problems other than soundness, including the problem of detecting race conditions, and several classical static analysis problems. More specifically, we show that, while these problems are intractable for arbitrary acyclic deterministic negotiations, they become tractable in the sound case. So soundness is not only a desirable behavioral property in itself, but also helps to analyze other properties.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。