Skip to main navigation Skip to search Skip to main content

URL study guide

https://studiegids.vu.nl/en/courses/2026-2027/XM_0099

Course Objective

In this course, students get acquainted with techniques for program verification with a focus on low user effort and automation and learn how to apply these techniques to prove that programs are secure. After completing the course, students will:
- have learned the basics of checking correctness proofs using SMT-solvers (K&U)
- have learned how to encode program correctness proofs in SMT via Hoare Logic (K&U AK&U)
- understand and know how to apply algorithms for computing correctness proofs automatically (K&U, AK&U)
- have learned how to use verification techniques to prove that programs are secure, that is, they don’t leak sensitive data directly, or indirectly through the cache, and timing (K&U, AK&U)
- have gained practical experience in applying these techniques (AK&U)
- understand the limitations of verification techniques and gain an understanding of when to apply them (K&U, AK&U, MJ) The acronyms above refer to the Dublin Descriptors covered by each learning objective, specifically: Knowledge and Understanding (K&U), Applied Knowledge and Understanding (AK&U), Making Judgments (MJ), Learning Skills (LS), and Communication Skills (CS).

Course Content

When is a program correct? When is it secure? It is often hard to convince yourself that a program works for a given set of inputs, let alone for all possible inputs and without inadvertently leaking confidential information. In this course, you will learn how to formally reason about---and prove---that a program is correct and secure. Since life is short and writing proofs is difficult, we will focus on low-effort techniques and try to let the computer automatically discover proofs for us. We will start with proving general program properties, say that a program never reaches a bad state, and then move on to proving security and confidentiality, more precisely, that a program does not leak secrets, directly, or indirectly via cache, timing, or micro-architectural side-channels like Spectre. We will study verification not purely in theory, but instead, we will implement verification methods and get hands-on experience applying them.

Teaching Methods

Lectures (with voluntary attendance) and (mandatory) practical group assignments.

Method of Assessment

Written exam (50%) and practical assignments (50%). The exam must be passed with a grade >= 5.5. Each of the practical assignments must be passed with a grade >= 4.0. Please note that your grade will be registered as follows:If you do not submit any assignment and do not participate in the exam, you will receive a NS.In all other cases, you will receive either a numeric grade or incomplete (NVD).If you did not meet the minimum grade requirements for the assignments, your grade is NVD.If you plan to drop the course, do not submit anything, as NVD is administratively considered a failing grade. There is a resit for the exam, but there is no resit opportunity for the practical assignments. Results for practical assignments and for the exam may be transferred from previous years if their contents did not change significantly since the result was obtained (as determined by the examiner). We ensure that each student individually demonstrates their abilities through the requirement that the supervised exam be passed with at least 5.5, through active plagiarism detection for the assignments, and by investigating whether each group member contributed sufficiently to the group assignments.

Literature

No set book. All material will be made available during the course.

Target Audience

Master Computer Security Master Computer Science

Additional Information

Use of AI: Level 2a Use of generative AI is only permitted for orientation and brainstorming In this course, generative AI (GenAI), such as ChatGPT or similar tools, may only be used for orientation and brainstorming, for example to explore ideas in a paper. GenAI may not be used to generate content that becomes part of the final submission (e.g., in a quiz). The final product must be based entirely on the student's own understanding and analysis. Incorrect use of GenAI is considered fraud. If established, the submitted work or assessment result will be declared invalid, and the Examination Board may impose further measures.

Recommended background knowledge

Students are expected to know functional programming. The assignments use advanced features such as typeclasses and monads.
Academic year1/09/26 → 31/08/27
Course level6.00 EC

Language of Tuition

  • English

Study type

  • Master