Skip to main content

Computer-Aided Formal Verification:  2022-2023

Lecturer

Degrees

Schedule A2(CS&P)Computer Science and Philosophy

Schedule B1 (CS&P)Computer Science and Philosophy

Schedule A2Computer Science

Schedule B1Computer Science

Schedule A2(M&CS)Mathematics and Computer Science

Schedule B1(M&CS)Mathematics and Computer Science

Michaelmas TermMSc in Advanced Computer Science

MSc in Mathematics and Foundations of Computer Science

Term

Overview

This course introduces the fundamentals of computer-aided formal verification. Computer-aided formal verification aims to improve the quality of digital systems by using logical reasoning, supported by automated software tools, to analyse their designs. The idea is to build a mathematical model of a system and then try to prove formal properties of it that validate the system's correctness, or at least that help discover subtle bugs. The proofs can be millions of lines long, so specially-designed computer algorithms are used to search for and check them. Properties are formalised as formulae in proper temporal logics.

This course provides a survey of several major software-assisted verification methods, covering both theory and practical applications. The aim is to familiarise students with the mathematical principles behind current verification technologies, and provide them with an appreciation of how these technologies are used in industrial system design today.

Synopsis

  • Introduction to CAFV 
  • Modelling sequential and parallel systems
  • Linear-time properties 
  • Linear temporal logic (LTL) 
  • Computation tree logic (CTL) and CTL*  
  • Counterexamples and witnesses 
  • Model checking CTL
  • Model checking LTL
  • Binary decision diagrams (BDDs)
  • Symbolic model checking 
  • Model checking with SAT, bounded model checking 
  • Completeness thresholds and k-induction
  • Symbolic execution
  • Craig interpolation 
  • Equivalences and abstractions 
  • Hardware verification
  • Practical, industrial-scale verification; present challenges 

Syllabus

Introduction to computer-aided formal verification. Modelling sequential and parallel systems as labelled transition systems. Linear time properties. Temporal logics: linear temporal logic (LTL), computation tree logic (CTL) and CTL*. Model checking CTLand LTL. Counterexamples and witnesses. Symbolic model checking. Bounded model checking via SAT. Symbolic execution. Craig interpolation. Equivalences and abstractions. Hardware verification. Practical, industrial-scale verification; present challenges 

Reading list

The lecture slides will act as course notes. For the first half of the course (on model checking), we will closely follow parts of this textbook, which is recommended reading:

  • Principles of Model Checking, by C. Baier and J.-P. Katoen (The MIT Press, 2008)

Other useful references on model checking are:

  • Logic in Computer Science: Modelling and reasoning about systems, by Michael Huth and Mark Ryan (Cambridge University Press, 2000) 
  • Model Checking, by Edmund M. Clarke, Jr., Orna Grumberg, and Doron A. Peled, Second edition (The MIT Press, 2000)

The above will be supplemented with notes and pointers to published articles in the field, which may be helpful for reference or further reading on specific topics. Examples include:

Temporal Logics:

Surveys:

Binary Decision Diagrams and SAT:

Related research

Themes

Activities

Feedback

Students are formally asked for feedback at the end of the course. Students can also submit feedback at any point here. Feedback received here will go to the Head of Academic Administration, and will be dealt with confidentially when being passed on further. All feedback is welcome.