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

利用解释约简加速协议综合与检测不可实现性

Accelerating Protocol Synthesis and Detecting Unrealizability with Interpretation Reduction

Derek Egolf, Stavros Tripakis

AI总结:

提出一种基于反例引导和草图的新方法,通过解释约简缩减搜索空间并精确泛化反例,加速TLA+分布式协议综合,能检测不可实现性,性能远超现有技术。

摘要:

我们提出了一种新颖的、基于反例引导的草图方法,用于在TLA+中综合符号化分布式协议。我们方法的主要创新在于一种称为解释约简的新搜索空间缩减技术,该技术不仅能在不正确的候选协议发送给验证器之前将其消除,还能首先避免枚举冗余候选。通过一种先进的反例精确泛化技术,进一步提升了性能。在一组既定基准上的实验表明,我们的工具几乎总是比现有技术更快,通常快几个数量级,并且还能在不到3分钟内“从头”综合出一个完整的TLA+协议,而现有技术在一小时后超时。我们的方法是健全的、完备的,并且在适用于我们所有基准的常见假设下,保证在不可实现的综合实例上终止。

英文摘要:

We present a novel counterexample-guided, sketch-based method for the synthesis of symbolic distributed protocols in TLA+. Our method's chief novelty lies in a new search space reduction technique called interpretation reduction, which allows to not only eliminate incorrect candidate protocols before they are sent to the verifier, but also to avoid enumerating redundant candidates in the first place. Further performance improvements are achieved by an advanced technique for exact generalization of counterexamples. Experiments on a set of established benchmarks show that our tool is almost always faster than the state of the art, often by orders of magnitude, and was also able to synthesize an entire TLA+ protocol "from scratch" in less than 3 minutes where the state of the art timed out after an hour. Our method is sound, complete, and guaranteed to terminate on unrealizable synthesis instances under common assumptions which hold in all our benchmarks.

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

↑