Provably correct software

5 credit points

Syllabus, C-level, 1DL125

Code
1DL125
Level
C
Subject(s)
Computer Science
Grading system
Pass with distinction (VG), Pass (G), Fail (U)
Finalised
9 March 2006
Responsible department
Department of Information Technology

Entry requirements

Programming Methodology DV1, Algebra DV1, Logic and Proof Techniques DV1, Algorithms and Data Structures DV1 (or equivalent courses). Semantics and Principles of Programming Languages DV1 is recommended.

Aims

After the course the students should be able to: understand how formal methods fit into the software development process, explain the principles of model-based specification and refinement-based program development, explain the B-method or other used method, understand and independently write model-based formal specifications, independently carry out formal development of programs with tool support.

Content

Overview of specification techniques. Model-based specification. The B specification notation or similar notation. The program development process. Verification and validation. Simulation and other methods to validate specifications. Implementation models. Overview of axiomatic semantics. Invariants. Weakest preconditions. Verification by refinement. The B-method or similar method. Proof obligations. Proof techniques. Tools for formal software development.

Instruction

Lectures and seminars. During the course, students will carry out a program development project including writing a formal specification and developing provably correct program code.

Assessment

Seminars (3 ECTS credits) and the project (4.5 ECTS credits).

FOLLOW UPPSALA UNIVERSITY ON

Uppsala University on Facebook
Uppsala University on Instagram
Uppsala University on Youtube
Uppsala University on Linkedin