Verification of Sequential and Concurrent Programs

  • Krzysztof R. Apt
  • Frank S. de Boer
  • Ernst-Rüdiger Olderog

Part of the Texts in Computer Science book series (TCS)

Table of contents

  1. Front Matter
    Pages i-xxiii
  2. In the Beginning

    1. Front Matter
      Pages 3-3
    2. Pages 3-17
    3. Pages 18-52
  3. Deterministic Programs

    1. Front Matter
      Pages 53-53
    2. Pages 55-126
    3. Pages 127-150
    4. Pages 185-241
  4. Parallel Programs

    1. Front Matter
      Pages 243-243
  5. Nondeterministic and Distributed Programs

    1. Front Matter
      Pages 347-347
    2. Pages 373-406
    3. Pages 407-455
  6. Back Matter
    Pages 457-502

About this book

Introduction

Computer programs are an indispensable part of many of the systems we rely upon in our daily lives, and the proper functioning and safety of these systems is of paramount importance. The development of methods that ensure program correctness is therefore a key challenge for computer scientists.

This widely anticipated third edition of Verification of Sequential and Concurrent Programs provides a systematic exploration of one of the most common approaches to program verification, known as the "assertional" approach. Following the successful formula of previous editions, this approach is applied to deterministic and nondeterministic sequential programs of varying complexity, together with both parallel and distributed concurrent programs. The expanded content of this thorough new edition also includes coverage of the verification of object-oriented programs. For each class of programs, the authors introduce an operational semantics and proof systems for the verification of partial and total correctness, justified formally in corresponding soundness theorems. Case studies supplied throughout the book demonstrate the use of the proof systems to formally verify solutions to classical problems, such as sorting, manipulation of lists, producer/consumer and mutual exclusion.

Topics and Features:

  • Includes a thorough introductory section, familiarizing the reader with the basic concepts and notation used in the book, as well as the book’s structure
  • Explains Hoare’s approach to program verification for while programs, providing a correctness proof of a program for partitioning an array (NEW)
  • Concludes each chapter with exercises and bibliographic remarks for further reading
  • Discusses recursive programs that extend deterministic programs by parameterless procedures and procedures with the call-by-value parameter mechanism, and provides a correctness proof of the quicksort program (NEW)
  • Explores nondeterministic and distributed programs, presenting a verification method of distributed programs based on a transformation into nondeterministic ones
  • Presents object-oriented programs, with a focus on the main characteristics of objects (NEW)
  • Investigates parallel programs with shared variables and with synchronization
  • Studies the issue of fairness in the framework of nondeterministic programs, using an approach based on the method of explicit schedulers
  • Includes a Foreword by Professor Amir Pnueli

This modern update of a classic, reader-friendly textbook is perfect for an introductory course on program verification for advanced undergraduate or graduate students, and may also be used as an introduction to operational semantics. Outlines for possible courses are suggested in the Preface to the book. This book is unique in addressing assertional verification of all essential classes of imperative programs: while programs, recursive programs, object-oriented programs, nondeterministic programs, parallel programs, and distributed programs.

Keywords

Variable complexity program verification

Authors and affiliations

  • Krzysztof R. Apt
    • 1
  • Frank S. de Boer
    • 2
  • Ernst-Rüdiger Olderog
    • 3
  1. 1.Centrum Wiskunde & InformaticaAmsterdamNetherlands
  2. 2.Centrum Wiskunde & InformaticaAmsterdamNetherlands
  3. 3.Department für InformatikUniversität OldenburgOldenburgGermany

Bibliographic information

  • DOI https://doi.org/10.1007/978-1-84882-745-5
  • Copyright Information Springer-Verlag London 2009
  • Publisher Name Springer, London
  • eBook Packages Computer Science
  • Print ISBN 978-1-84882-744-8
  • Online ISBN 978-1-84882-745-5
  • Series Print ISSN 1868-0941
  • About this book