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

教程:使用mCRL2设计分布式软件

Tutorial: Designing Distributed Software in mCRL2

Jan Friso Groote, Jeroen J. A. Keiren

AI总结:

本教程介绍使用mCRL2语言和工具集,通过模型检查创建并行软件行为模型、用模态公式指定需求并验证,以发现罕见错误并指导互斥协议设计。

摘要:

分布式软件的正确实现非常棘手,因为某些错误仅在特殊情况下才会出现。对于此类错误,测试并不有效。数学上证明正确性既困难又耗时,因此很少进行。幸运的是,有一种介于两者之间的技术,即模型检查,如果运用得当,既高效又能发现罕见错误。在本教程中,我们展示如何创建并行软件的行为模型,如何使用模态公式指定需求,以及如何验证这些需求。为此,我们使用mCRL2语言和工具集(https://www.mcrl2.org/)。我们讨论了众所周知的互斥协议演化的设计,以及模型检查不仅如何提供对其行为和正确性的洞察,还如何指导其设计。

英文摘要:

Distributed software is very tricky to implement correctly as some errors only occur in peculiar situations. For such errors testing is not effective. Mathematically proving correctness is hard and time consuming, and therefore, it is rarely done. Fortunately, there is a technique in between, namely model checking, that, if applied with skill, is both efficient and able to find rare errors. In this tutorial we show how to create behavioural models of parallel software, how to specify requirements using modal formulas, and how to verify these. For that we use the mCRL2 language and toolset (https://www.mcrl2.org/). We discuss the design of an evolution of well-known mutual exclusion protocols, and how model checking not only provides insight in their behaviour and correctness, but also guides their design.

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

↑