Proofs of Starvation Freedom

This Web page gives mechanized proofs of Starvation Freedom for three locking algorithms. The accompanying paper [IFM 16] should be read first, to get general information and an intuition for the definitions used here. For general information on the logic RGITL and its calculus, see the
  • [RGITL 14] paper.

    The proofs are organized in five KIV projects:

    In addition to starvation-freedom all proofs also imply mutual exclusion (simply because the invariants assert it). The global proof method simply used skip as critical section. As a small extension, the thread-local proofs instead use an anonymous program as critical section, that is shown to be linearizabile to an abstract operation, if it sequentially implements the abstract operation (simply because of mutual exclusion). The extension makes a few additions to the invariants, rely's and guarantee's necessary that are not described in the paper.

    All projects make lots of use of the principle of theory instantiation:

    In the following we give details on the proofs of each of the four projects.

    Global Theory and Proof of Starvation Freedom for Ticket Lock

    The project overview shows the specification structure.

    Theory for Thread-Local Proofs of Starvation Freedom

    The project overview shows the specification structure.

    Thread-Local Proof of Starvation Freedom for Ticket Lock

    The project overview shows the specification structure.

    Thread-Local Proof of Starvation Freedom for MCS-Queue Lock

    The project overview shows the specification structure, which is the same as for the Ticket Lock.

    Thread-Local Proof of Starvation Freedom for Filter Lock

    Again, the project overview shows a specification structure similar to the other case studies.

    Back to the overview of all KIV projects.
    For general informations on the KIV system and where to download it refer to this page.


    Bibliography

    [IFM 16] Towards a Thread-Local Proof Technique for Starvation Freedom G. Schellhorn, O. Travkin, H. Wehrheim (submitted to IFM 16, draft available from the authors)
    [RGITL 14] RGITL: A Temporal Logic Framework for Compositional Reasoning about Interleaved Programs G. Schellhorn, B. Tofan, G. Ernst, J. Pfähler, W. Reif Annals of Mathematics and Artificial Intelligence (AMAI), Springer 2014, vol. 71 (1-3), pp. 1-44
    [MannaPnueli96] Temporal Verification of Reactive Systems: Progress Z. Manna, A. Pnueli (published online)

    [Imprint] [Data Privacy Statement] [E-Mail]