An Exercise in the Verification of Multi-Process Programs

  • Zohar Manna
  • Amir Pnueli
Part of the Texts and Monographs in Computer Science book series (MCS)


We present an approach to the verification of a multi-process program consisting of a fixed but unbounded number of processes executing an identical program. The approach is illustrated on an algorithm for mutual exclusion that contains tests that refer to many shared variables at the same time. We analyze the algorithm first under the assumption that these tests are atomic. We then consider the more realistic assumption that they are molecular, i.e. performed by several steps, each reading a single shared variable. We show that the algorithm is correct only for the limited implementation in which the variables are checked in ascending order of indices.


Shared Variable Transition Relation Molecular Test Critical Section Mutual Exclusion 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    L. Lamport. Proving the correctness of multiprocess programs. IEEE Trans. Software Engin., 3: 125–143, 1977.MathSciNetCrossRefGoogle Scholar
  2. [2]
    Z. Manna and A. Pnueli. Adequate proof principles for invariance and liveness properties of concurrent programs. Sci. Comp. Prog., 32:257– 289, 1984.Google Scholar
  3. [3]
    Z. Manna and A. Pnueli. Tools for the practicing verifier. Technical Report, Dept. of Computer Science, Stanford University, 1990.Google Scholar
  4. [4]
    A. Pnueli and L. Zuck. Verification of multiprocess probabilistic protocols. Distributed Computing, 1 (1): 53–72, 1986.MATHCrossRefGoogle Scholar
  5. [5]
    B. K. Szymanski. A simple solution to Lamport’s concurrent programming problem with linear wait. In Proc. 1988 International Conference on Supercomputing Systems, St. Malo, France, July 1988, pages 621– 626, 1988.Google Scholar

Copyright information

© Springer-Verlag New York, Inc. 1990

Authors and Affiliations

  • Zohar Manna
    • 1
    • 2
  • Amir Pnueli
    • 2
  1. 1.Department of Computer ScienceStanford UniversityStanfordUSA
  2. 2.Department of Applied MathematicsWeizmann Institute of ScienceRehovotIsrael

Personalised recommendations