Repository navigation
Home
Welcome to the HMC CS181 U materials wiki!
-
A sample problem and the LaTeX source
-
The original tech report on the Model Checking of the Space Shuttle Guidance System! and the corresponding smv file for the shuttle guidance system
-
Pretty much the original paper on scalable model checking. Model Checking: 10^20 states and beyond
This was going to be the assignment for this reading:
At this point in the course, you have familiarity with modeling reactive systems with transition diagrams, specifying properties using temporal logic, the CTL and LTL model checking algorithms, and, most recently, symbolic model checking and binary decision diagrams. With this background in mind, read the paper Model Checking: Historical Perspective and Example, by Ed Clarke and Sergey Berezin.
(While not required, if you are interested to look at the original SMV specification referred to in the paper, it is provided. In addition, the original NASA technical report detailing an earlier analysis of the Space Shuttle guidance system is also provided.
Write a response to this paper that summarizes what you think are the most important points and include your own thoughts or questions. I am expecting approximately 250 words and not more than 500 words.
Here is an assignment on modeling a Queue using temporal logic.
- A very good chapter of Huth and Ryan's Logic in Computer Science. The rest of the book is great too, and covers other logics, BDDs, other modal logics, and more.
The next topic of the course was to be Symbolic Execution, and I was planning to have us all implement a small symbolic execution tool using Z3 to automatically generate tests for programs. Symbolic execution is closely related to DPLL, and also relies heavily on automated theorem proves and satisfiability checking.
This is a great video that covers the basics of symbolic execution, but also covers how the DPLL algorithm that we learned earlier in the semester can be lifted up to handle more complex formulas over not just booleans, but integers, arrays, strings, and so on.
-
A sample problem on symbolic execution and the LaTeX source
Here are a few more problems, that might have shown up in an exam perhaps, or as HW, that you can take a look at.
This is something that I would love to cover in this class. It was a topic that I was going to throw in if we had time, or offer it as a possible final presentation option.
Basically, instead of thinking about a transition in a transition system as leading to another "state", you can think of transitions as connecting "parallel worlds" that represent possible ways that things might actually be in the current world. Rather than thinking about temporality (time), we think about necessity and possibility, but using very similar reasoning to that of model checking. Roughly, instead of temporal logic, we use modal logic.
Some of the funnest parts have to do with agents reasoning about what other agents know. This book has a logic for formalizing statements like "they don't know that we know they know!"
Here are some chapters. The whole book is available online from the Honnold Mudd Library.
HMC CS 181 U: Applied Logic and Automated Reasoning