Testing, Debugging, and Verification TDA567/DIT082, LP2, HT2015

Lecture Notes: Formal Specification 3.

Topics

This lecture continues the introduction to Dafny. It discusses:
  • Framing
  • More on Dafny datastructures: Sets
  • First-Order in Specifications
  • Data Constraints and Class Invariants
  • Introduction to loops: Loop Invariants and Variants

Slides

Examples

Reading

  • The Dafny Tutorial, from section 5 PDF version (or section 6 in the online interactive version).
  • Dafny online tutorial: Sets.



Home | Course | Schedule | Exam | Exercises | Labs | Evaluation | Tools Atze van der Ploeg, Oct 18, 2016