Lectures: Wednesday, 15:40, S4 (Jan Kofroň)
Labs: Thursday, 10:40, S1 (Jan Kofroň)
Page in SIS: NSWI101
Grading: Credit and exam
Previous year: 2021/22
News
- Exam terms are available in SIS (January 26 and February 7). Please register to attend the exam!
- There will be no labs until the end of semester. To arrange for an individual meeting, please send me an email.
- There is no lab on December 1.
- The deadline for submission of the homework assignments solutions is February 28, 2023.
- The second homework assignment is available here.
- There is no lecture on November 9 — the dean’s day.
- The first homework assignment is available here.
- There is no lab on September 29. The first lab will take place on October 6.
Lectures
Date | Title | Downloads |
---|---|---|
05. 10. 2022 | Introduction, LTS, Process Algebras | Slides |
12. 10. 2022 | Model Checking | Slides |
19. 10. 2022 | Spin | Slides |
26. 10. 2022 | CTL | Slides |
02. 11. 2022 | OBDDs | Slides |
16. 11. 2022 | Symbolic CTL Model Checking | Slides |
23. 11. 2022 | Timed Automata | Slides |
30. 11. 2022 | TLA+ | Slides, Examples |
14. 12. 2022 | Bounded Model Checking, Infinite Model Checking, Compositional Reasoning | Slides |
21. 12. 2022 | Abstractions and Symmetries | Slides |
04. 01. 2023 | Stochastic Model Checking | Slides |
Labs
Date | Title | Downloads |
---|---|---|
06. 10. 2022 | LTS, Process Algebras | Slides |
13. 10. 2022 | LTL Exercises | Slides |
20. 10. 2022 | Spin Exercises | Slides, ABP examples |
27. 10. 2022 | More Spin Exercises | Slides, Coordinator election |
03. 11. 2022 | More Spin Exercises | Slides, Dekker's algorithm |
10. 11. 2022 | CTL and OBDD Exercises | Slides |
08. 12. 2022 | NuXMV | Slides, Examples |
Annotation
Basic concepts of behavior description of parallel and distributed systems. Equivalence checking and model checking — techniques and tools.
Syllabus
- Practical examples of behavior modeling and verification
- The SPIN model checker (developed at Bell Labs) which is being successfully used from 1989 for analysis of communication and cryptographic protocols, distributed algorithms and parts of OS kernels (e.g. process schedulers)
- The NuXMV (SMV) — Symbolic model checker based on Ordered Binary Decision Diagrams
- UPPAAL model checker
- Mathematical structures for behavior modeling: labeled transition systems, Kripke structures
- Timed automata
- TLA system
- Specification of system properties using temporal logic
- Basic verification tasks: equivalence checking and model checking
- Decidability and complexity (of equivalence checking and model checking) in dependence of the type of the model
- Software tools for equivalence checking and model checking
- Bounded model checking, probabilistic model checking
- Open issues in formal verification: infinite-state systems, state explosion problem
Lab
The purpose of the lab is to provide students with a hand-on experience with verification tools (SPIN, SMV, UPPAAL), higher-level behavior specification languages (process algebra, behavior protocols), and temporal logics (LTL, CTL).
There will be two assignments (one taking approximately 8 hours of homework, the other an hour). The homeworks are to be submitted via e-mail: nswi101@d3s.mff.cuni.cz
Note: 10% of your score will be deduced for every calendar day your assignment is late. This implies that no assignment will be accepted after 10 calendar days past its due date.
Grading
Final grades will be determined by the quality of homework and the result of the final exam in the following ratio:
- 55% Assignments (homework)
- 45% Final exam
References
- P. Regan, S. Hamilton: NASA’s Mission Reliable, IEEE Computer, vol. 37, no. 1, Jan 2004
- G. J. Holzmann: The Spin Model Checker, Addison Wesley, 2003
- E. M. Clarke, Jr., O. Grumberg, D. A. Peled: Model Checking, MIT Press, 2002
- J. A. Bergstra, A. Ponse, S. A. Smolka: Handbook of Process Algebra, Elsevier 2001
- R. Milner: Communication and Concurrency, Prentice Hall 1989
- C. Stirling: Modal and Temporal Properties of Processes, Springer 2001