ws16 fmsoft

Formale Methoden der Softwareentwicklung

Dozenten Dr Tadeusz Litak und Christoph Rauch
Umfang Vorlesung+Übung, 4 SWS, ECTS-Credits: 7,5

Achtung: Die Vorlesung am Mittwoch, 16:15–17:45 findet im Raum 00.131-128 01.255-128 02.133-113 statt.

See also the UnivIS entry.

Tutorials

Please see dedicated webpage for these.

bild_fmsoft_rand.png

Ziel: Werkzeuge für die Korrektheit von Programmen und Systemen

  • Theorie und Praxis automatischer Verfahren zur Korrektheitsprüfung
  • Umgang mit aktuellen Werkzeugen für fehlerfreien Code

Inhalt

In the first part of the course, we will engage in the formal verification of reactive systems. Students learn the syntax and semantics of the temporal logics LTL, CTL, and CTL* and their application in the specification of e.g. safety and liveness properties of systems. Simple models of systems are designed and verified using model checkers and dedicated frameworks for asynchronous and synchronous reactive systems, and the algorithms working in the background are explained.

The second part of the course focuses on functional correctness of programs; more precisely, we discuss the theory of pre- and postconditions, Hoare triples, loop invariants, and weakest (liberal) preconditions, in order to introduce automatised correctness proofs using the Hoare calculus.

  • Tools we are planning to use for the first part of the material include at least the model checker nuSMV/nuXmv.
  • Tools we are planning to use for the second part of the material include at least the framework frama-c
  • Depending on whether there is more interest in the first or in the second part (and on other factors), we will devote the remaining tutorials either to SCADE or to VeriFast, correspondingly.

Lecture notes

That is, all the slides below zipped and, importantly, converted to a handout format (none of these pesky overlays, suitable for printing). Protected with the same password as slides.

Slides

Literatur

  • G. Winskel: The Formal Semantics of Programming Languages: An Introduction, The MIT Press, 1993.
  • M. Huth, M. Ryan: Logic in Computer Science, Cambridge University Press, 2. Aufl., 2004.