252-0239-00L  Software Verification

Semester Autumn Semester 2015
Lecturers B. Meyer, C. A. Furia, S. Nanz
Periodicity yearly course
Language of instruction English


Abstract This course surveys some of the main approaches to software verification, including axiomatic semantics, abstract interpretation, model checking, and testing.
Objective After successfully taking this course, students will have a theoretical and practical understanding of:
* The principles behind fundamental software verification techniques, including Hoare-style axiomatic semantics, abstract interpretation, model checking, and testing.
* Application of the principles to the construction of verification tools, in particular program provers.
* Research challenges in these areas.
Content The idea of software verification has been around for decades, but only recently have the techniques become mature enough to be implemented and be applicable in practice. Progress has been made possible by the convergence of different techniques, originally developed in isolation.

This course embraces this diversity of approaches, by surveying some of the main ideas, techniques, and results in software verification. These include in particular:


* Axiomatic semantics, which provides a foundation of program correctness proofs by supplying a rigorous semantics of programs.
* Abstract interpretation, which provides a general framework to express and design static techniques for program analysis.
* Model checking, which provides efficient techniques for the exhaustive exploration of state-based models of programs and reactive systems.
* Testing, which provides the counterpart to exhaustive techniques by defining dynamic analyses to detect programming mistakes and correct them.

To demonstrate some of the techniques in practice, the course will offer a practical project requiring the application of verification tools to illustrative examples.
Literature Axiomatic semantics:

* Michael Huth and Mark Ryan. Logic in Computer Science: Modelling and Reasoning about Systems, second edition. Cambridge University Press, 2004
* Aaron Bradley and Zohar Manna. The Calculus of Computation. Springer, 2007.
* David Gries. The Science of Programming. Springer, 1981.
* Bertrand Meyer. Introduction to the Theory of Programming Languages. Prentice Hall, 1990.
* Flemming Nielson and Hanne Riis Nielson. Semantics with Applications: An Appetizer. Springer, 2007.
* Krzysztof R. Apt, Frank S. de Boer, Ernst-Rüdiger Olderog. Verification of Sequential and Concurrent Programs. Springer, 2009.


Abstract interpretation:

* Flemming Nielson, Hanne Riis Nielson, Chris Hankin: Principles of Program Analysis, Springer, ISBN 3-540-65410-0.
* Neil D. Jones, Flemming Nielson: Abstract Interpretation: a Semantic-Based Tool for Program Analysis


Model checking and real-time:

* Edmund M. Clarke, Orna Grumberg, and Doron A. Peled. Model Checking. MIT Press, 2000.
* Carlo A. Furia, Dino Mandrioli, Angelo Morzenti, and Matteo Rossi. Modeling Time in Computing. Monographs in Theoretical Computer Science. An EATCS series. Springer, 2012.


Testing:

* Mauro Pezzè and Michal Young: Software Testing and Analysis: Process, Principles and Techniques, Wiley, 2007.
* Paul Ammann and Jeff Offutt: Introduction to Software Testing, Cambridge University Press, 2008.