HAL will be down for maintenance from Friday, June 10 at 4pm through Monday, June 13 at 9am. More information
Skip to Main content Skip to Navigation

Formal Verification of Distributed Algorithms using PlusCal-2

Sabina Akhtar 1
1 VERIDIS - Modeling and Verification of Distributed Algorithms and Systems
MPII - Max-Planck-Institut für Informatik, Inria Nancy - Grand Est, LORIA - FM - Department of Formal Methods
Abstract : Designing sound algorithms for concurrent and distributed systems is subtle and challenging. These systems are prone to deadlocks and race conditions, which occur in particular interleavings of process actions and are therefore hard to reproduce. It is often nontrivial to precisely state the properties that are expected of an algorithm and the assumptions on the environment under which these properties should hold. Formal verification is a key technique to model the system and its properties and then perform verification by means of model checking. Formal languages like TLA+ have the ability to describe complicated algorithms quite concisely, but algorithm designers often find it difficult to model an algorithm in the form of formulas. In this thesis, we present PlusCal-2 that aims at be- ing similar to pseudo-code while being formally verifiable. PlusCal-2 improves upon Lamport's PlusCal algorithm language by lifting some of its restrictions and adding new constructs. Our language is intended for describing algorithms at a high level of abstraction. It resembles familiar pseudo-code but is quite expressive and has a formal semantics. Finite instances of algorithms described in PlusCal-2 can be verified through the TLC model checker. The second contribution presented in this thesis is a study of partial-order reduction methods using conditional and constant dependency relation. To compute conditional dependency for PlusCal-2 algorithms, we exploit their locality information and present them in the form of independence predicates. We also propose an adaptation of a dynamic partial-order reduction algorithm for a variant of the TLC model checker. As an alternative to partial-order reduction based on conditional dependency, we also describe a variant of a static partial-order reduction algorithm for the TLC model checker that relies on constant dependency relation. We also present our results for the experiments along with the proof of correctness.
Complete list of metadata

Cited literature [36 references]  Display  Hide  Download

Contributor : Sabina Akhtar Connect in order to contact the contributor
Submitted on : Friday, April 19, 2013 - 5:49:10 AM
Last modification on : Saturday, October 16, 2021 - 11:26:05 AM
Long-term archiving on: : Monday, April 3, 2017 - 7:32:14 AM


  • HAL Id : tel-01749162, version 2


Sabina Akhtar. Formal Verification of Distributed Algorithms using PlusCal-2. Data Structures and Algorithms [cs.DS]. Université de Lorraine, 2012. English. ⟨NNT : 2012LORR0014⟩. ⟨tel-01749162v2⟩



Record views


Files downloads