Feedback

Faculté des Sciences appliquées
Faculté des Sciences appliquées
MASTER THESIS

Specifying and Verifying Safety Properties of Parallel Programming Algorithms Using the TLA+ Toolbox

Download
Differdange, Jarod ULiège
Promotor(s) : Fontaine, Pascal ULiège
Date of defense : 30-Jun-2025/1-Jul-2025 • Permalink : http://hdl.handle.net/2268.2/23374
Details
Title : Specifying and Verifying Safety Properties of Parallel Programming Algorithms Using the TLA+ Toolbox
Author : Differdange, Jarod ULiège
Date of defense  : 30-Jun-2025/1-Jul-2025
Advisor(s) : Fontaine, Pascal ULiège
Committee's member(s) : Boigelot, Bernard ULiège
Mathy, Laurent ULiège
Language : English
Discipline(s) : Engineering, computing & technology > Computer science
Target public : Student
Institution(s) : Université de Liège, Liège, Belgique
Degree: Master : ingénieur civil en informatique, à finalité spécialisée en "computer systems security"
Faculty: Master thesis of the Faculté des Sciences appliquées

Abstract

[en] The goal of this Master's thesis is to continue the effort of specifying and verifying safety properties of the different algorithms presented in the Parallel Programming course given by Professor Pascal Fontaine.
This endeavor is motivated by the creation of a formal companion to the course for students interested in the material.
This companion will contain alternative descriptions of the algorithms presented, as well as their properties.
This effort will also aim to identify potential errors or prove the correctness of the different algorithms presented in the lecture.
Additionally, the lecture notes mention being able to exchange equivalent pieces of code when they have the same properties.
The validity of this claim is also verified on an example.

The first chapter describes the principles of concurrent programming, the motivation behind its usage, and the challenges that come with it.
The second chapter describes the Temporal Logic of Actions and the TLA+ Toolbox.
The TLA+ environment allows the creation of specifications, their verification of properties on finite models, and the writing proofs.
A description of all the different tools in the Toolbox is provided.

After the description of the tools, the barrier synchronization mechanism shown in the course is first specified.
Several invariant properties are described and proven invariant using the \TLAplus Toolbox.
It is also shown that it behaves like an abstract barrier where processes advance synchronously.
Secondly, by extending the specification of the abstract lock with auxiliary variables and using the refinement mechanism present in \TLAplus, it is shown that the abstract lock and Peterson's algorithm are equivalent.


File(s)

Document(s)

File
Access tfe_s202356.pdf
Description:
Size: 649.13 kB
Format: Adobe PDF

Annexe(s)

File
Access tla_specs.zip
Description:
Size: 15.94 kB
Format: Unknown
File
Access tfe_s202356_summary_EN_FR.pdf
Description:
Size: 72.47 kB
Format: Adobe PDF

Author

  • Differdange, Jarod ULiège Université de Liège > Master ing. civ. inf. fin. spéc. comp. syst. secur

Promotor(s)

Committee's member(s)

  • Boigelot, Bernard ULiège Université de Liège - ULiège > Dép. d'électric., électron. et informat. (Inst.Montefiore) > Informatique
    ORBi View his publications on ORBi
  • Mathy, Laurent ULiège Université de Liège - ULiège > Dép. d'électric., électron. et informat. (Inst.Montefiore) > Systèmes informatiques répartis et sécurité
    ORBi View his publications on ORBi








All documents available on MatheO are protected by copyright and subject to the usual rules for fair use.
The University of Liège does not guarantee the scientific quality of these students' works or the accuracy of all the information they contain.