Exploring a Parallel SCC Algorithm: Using TLA + and the TLC Model Checker

Jaco van de Pol*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

2 Citations (Scopus)
6 Downloads (Pure)

Abstract

We explore a parallel SCC-decomposition algorithm based on a concurrent Union-Find data structure. In order to increase confidence in the algorithm, it is modelled in TLA +. The TLC model checker is used to demonstrate that it works correctly for all possible interleavings of two workers on a number of small input graphs. To increase the understanding of the algorithm, we investigate some potential invariants. Some of these are refuted, revealing that the algorithm allows suboptimal (but still correct) executions. Finally, we investigate some modifications of the algorithm. It turns out that most modifications lead to an incorrect algorithm, as revealed by the TLC model checker. We view this exploration as a first step to a full understanding and a rigorous correctness proof based on invariants or step-wise refinement.

Original languageEnglish
Title of host publicationLeveraging Applications of Formal Methods, Verification and Validation. Verification Principles - 11th International Symposium, ISoLA 2022, Proceedings
EditorsTiziana Margaria, Bernhard Steffen
PublisherSpringer
Pages535-555
Number of pages21
ISBN (Print)9783031198489
DOIs
Publication statusPublished - 17 Oct 2022
Event11th International Symposium on Leveraging Applications of Formal Methods, Verification and Validation, ISoLA 2022 - Rhodes, Greece
Duration: 22 Oct 202230 Oct 2022
Conference number: 11

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13701 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference11th International Symposium on Leveraging Applications of Formal Methods, Verification and Validation, ISoLA 2022
Abbreviated titleISoLA 2022
Country/TerritoryGreece
CityRhodes
Period22/10/2230/10/22

Keywords

  • Concurrent Union-Find data structure
  • Parallel SCC algorithm
  • PlusCal/TLA specification
  • TLC model checker
  • n/a OA procedure

Fingerprint

Dive into the research topics of 'Exploring a Parallel SCC Algorithm: Using TLA + and the TLC Model Checker'. Together they form a unique fingerprint.

Cite this