Apress

Rigorous Software Development

An Introduction to Program Verification

By José Bacelar Almeida , Maria João Frade , Jorge Sousa Pinto , Simão Melo de Sousa

Rigorous Software Development Cover Image

This text is a self-contained introduction to program verification using logic-based methods, presented in the broader context of formal methods for software engineering. It focuses on two approaches: the Coq proof assistant and the B suite.

Full Description

  • ISBN13: 978-0-8572-9017-5
  • 276 Pages
  • User Level: Students
  • Publication Date: January 4, 2011
  • Available eBook Formats: PDF
  • eBook Price: $39.95
Buy eBook Buy Print Book Add to Wishlist
Full Description
The use of mathematical methods in the development of software is essential when reliable systems are sought; in particular they are now strongly recommended by the official norms adopted in the production of critical software. Program Verification is the area of computer science that studies mathematical methods for checking that a program conforms to its specification. This text is a self-contained introduction to program verification using logic-based methods, presented in the broader context of formal methods for software engineering. The idea of specifying the behaviour of individual software components by attaching contracts to them is now a widely followed approach in program development, which has given rise notably to the development of a number of behavioural interface specification languages and program verification tools. A foundation for the static verification of programs based on contract-annotated routines is laid out in the book. These can be independently verified, which provides a modular approach to the verification of software. The text assumes only basic knowledge of standard mathematical concepts that should be familiar to any computer science student. It includes a self-contained introduction to propositional logic and first-order reasoning with theories, followed by a study of program verification that combines theoretical and practical aspects - from a program logic (a variant of Hoare logic for programs containing user-provided annotations) to the use of a realistic tool for the verification of C programs (annotated using the ACSL specification language), through the generation of verification conditions and the static verification of runtime errors.
Table of Contents

Table of Contents

  1. List of Figures.
  2. 1. Introduction.
  3. 2. An Overview of Formal Methods Tools and Techniques.
  4. 3. Propositional Logic.
  5. 4. First
  6. Order Logic.
  7. 5. Hoare Logic.
  8. 6. Generating Verification Conditions.
  9. 7. Safety Properties.
  10. 8. Procedures and Contracts.
  11. 9. Specifying C Programs.
  12. 10. Verifying C Programs.
  13. Bibliography.
  14. Index.
Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published