I’m slowly starting to strengthen and solidify my knowledge of verification. For a roadmap, I have about 30 long DMs from the venerable kc, which for now I plan to follow blindly, as gospel, and we’ll see where it takes me.

To start, I watched the first five and a half lectures of this course by Katoen. He does a really good job of talking about model checking, and he lays out the terminology, the basic concepts, and the mindset we’re after in model checking very clearly.

These lectures cover mapping programs to program graphs and, eventually, to transition systems, and what we need in order to define a transition system.

The overall picture is that we define a set of states, which are connected to each other by edges. Each edge is defined by a guard and an action. The guard is basically a condition, an if statement, and if it’s true, the action is performed. The action is essentially the actual lines of code, and we assume all the code inside an action executes atomically.

On top of that, we can assign a set of labels to each state, and these labels are what model checking really works with. Essentially, in model checking we want to find out whether a set of requirements holds over the sequences of labels we get by running the code and moving between states. This is the starting point for temporal logic and LTL (linear temporal logic). With LTL we can prove properties such as invariants, or, in the context of parallelism, fairness, mutual exclusion, and safety.

Another challenging topic is concurrent and multithreaded programs. The course introduces a few techniques for mapping different concurrency models onto these transition systems, so that we can solve the problem for them as well.

Overall, I was happy with the perspective it gave me.