Principles of Model Checking
Principles of Model Checking
(Winter 2008)
Final Exam
Professor: J. Bentahar
Date: Tuesday, April 08, 2007
Duration: 120 minutes
INSTRUCTIONS:
• Answer all questions on these sheets in the space provided, and if you run out of
space please use the back of the page.
• This exam is 12 pages long, including the cover page and the appendix. Check
that your copy is complete.
1
Q1. Compare PLTL and CTL model checking in terms of complexity. Justify your
answer (5P)
2
Q3. a- Explain what is the state explosion problem (3P)
3
Q4. Explain what we mean by the fact that a logical language, for example L1, is
more expressive than another logical language, for example L2. (2P)
4
Q6. Give 5 formulas in PLTL that are satisfied in this model using p (do not use ¬p)
(5P)
Q7. Discuss the validity and satisfiability of the following PLTL formula: (5P)
F(p∧q) ⇔ F(p)∧F(q)
5
Q8. Discuss the legality, satisfiability, and validity of the following CTL formulas:
(10P)
1- ¬AXp
2- AFEGp
3- E(p U AGq)
6
4- AEFp
7
Q9. Consider the following Kripke structure consisting of 4 states that are labeled with
atomic propositions from the set {p, q, r, s} (12P)
1 2 3
p, q q p, r
4
p, q, s
Indicate for any of the following CTL formulas which states satisfy it.
1- A(F(p∧AXq)) (3P)
2- EFAGp (3P)
3- EFEGp (3P)
4- EGAF p (3P)
8
Q10. Consider the following Kripke structure (12P)
S0
S1 S2
9
b- Give the ROBDD of the transitions
10
Q11. Give a counter example proving that AFEGp and AFAGp are not equivalent (4P)
Q12. Give a counter example proving that AFGp and AFAGp are not equivalent (4P)
11
Appendix
12