%0 Conference Proceedings %T Tutorial: Designing Distributed Software in mCRL2 %+ Department of Mathematics and Computer Science %A Groote, Jan, Friso %A Keiren, Jeroen %Z Part 3: Tutorials %< avec comité de lecture %( Lecture Notes in Computer Science %B 41th International Conference on Formal Techniques for Distributed Objects, Components, and Systems (FORTE) %C Valletta, Malta %Y Kirstin Peters %Y Tim A.C. Willemse %I Springer International Publishing %3 Formal Techniques for Distributed Objects, Components, and Systems %V LNCS-12719 %P 226-243 %8 2021-06-14 %D 2021 %R 10.1007/978-3-030-78089-0_15 %K Model checking %K Parallel software %K Distributed software %K mCRL2 toolset %K Counterexamples %Z Computer Science [cs] %Z Computer Science [cs]/Networking and Internet Architecture [cs.NI]Conference papers %X 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 (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. %G English %Z TC 6 %Z WG 6.1 %2 https://inria.hal.science/hal-03740269/document %2 https://inria.hal.science/hal-03740269/file/509782_1_En_15_Chapter.pdf %L hal-03740269 %U https://inria.hal.science/hal-03740269 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-FORTE %~ IFIP-LNCS-12719