Skip to search boxSkip to navigationSkip to main content

Verifying parallel algorithms and programs using coloured Petri nets

  • M. Westergaard
Output:
Chapter in Book/Report/Conference proceeding
Chapter
Academic

Information

Output type

Output:
Chapter in Book/Report/Conference proceeding
Chapter
Academic

Original language

English

Pages from-to (Number of pages)

Pages 146-168

Publication milestones

  • Published - 2012

Publication status

Published - 2012

Place of publication

Berlin

Publisher

Springer, Netherlands, United States, United Kingdom, Germany, Italy, France, Austria, India, Switzerland, China, Japan

Publication series

  • Publication series name: Lecture Notes in Computer Science
    ISSN (Print): 0302-9743
    Volume: 7400
978-3-642-35178-5

Host publication title

Transactions on Petri Nets and Other Models of Concurrency VI

Host publication editors

  • K. Jensen
  • W.M.P. Aalst, van der
  • M. Ajmone Marsan
  • G. Franceschinis
  • J. Kleijn
  • L.M. Kristensen

Abstract

Coloured Petri nets have proved to be a useful formalism for modeling distributed algorithms, i.e., algorithms where nodes communicate via message passing. Here we describe an approach for automatic extraction of models of parallel algorithms and programs, i.e., algorithms and programs where processes communicate via shared memory. The models can be verified for correctness, here to prove absence of mutual exclusion violations and to find dead- and live-locks. This makes it possible to verify software using a model-extraction approach using coloured Petri nets, where a formal model is extracted from runnable code. We extract models in a manner so we can also support a model-driven development approach, where code is generated from a model, enabling a combined approach, supporting extracting a model from an abstract description and generation of correct implementation code. We illustrate our idea by applying the technique to a parallel implementation of explicit state-space exploration. Our approach builds on having a coloured Petri net model corresponding to the program and using the model to verify properties. We have already treated generation of code from coloured Petri nets, so in this paper we focus on the translation the other way around. We have an implementation of the translation from code to coloured Petri nets.

Metrics

Metrics

SciVal
Author count
1
SciVal
Paper percentile
35
SciVal
citations
7
Scopus
citations
7

PlumX, opens in new tab

Citation count
7
Captures
8