Question: 2 . Compositions. Consider the Kripke structure defined in problem 1 , and let us call it K 1 = ( S , S 0

2. Compositions. Consider the Kripke structure defined in problem 1, and let us call it K1=(S,S0,R1,L1). Next, consider that we had a second copy of that Kripke structure and lets call it K2=(T,T0,R2,L2) where T contains states t0,t1,dots,t10, and L2 contains a similar labeling function with predicates q0,q1, dots,q10.
Answer the following questions:
a. How many transitions exist in K1?
b. Given a synchronous composition of K1 and K2, how many states are there? (Note: You do not need to analyze whether the states in the composition are reachable.)
c. Given an asynchronous composition of K1 and K2, how many states are there? (Note: You do not need to analyze whether the states in the composition are reachable.)
d. Given a synchronous composition of K1 and K2, how many predicates are there? (Note: Use as few predicates as possible.)
e. Given an asynchronous composition of K1 and K2, how many predicates are there?
f. Given a synchronous composition of K1 and K2, give an upper bound estimate on the number of transitions?
g. Given an asynchronous composition of K1 and K2, give an upper bound estimate on the number of transitions?
3. BDD Terminal Cases and Operation BDD_OR.
a. Specify a set of terminal cases for BDD_AND(f,g).
b. Justify that the operation BDD_OR can be derived from BDD_AND by replacing the terminal cases. Specify a set of terminal cases for BDD_OR(f,g).
4. BDDs.
a. Write a BDD for f=w+x'+y+z. Use the ordering g=w**x**zh=w**x**z'w.
d. Represent all three BDDsas one shared BDD structure.
e. Construct a BDD for BDDAND(f,g). Use the BDDAND algorithm presented in class.
f. Construct a BDD for BDDOR(g,h). Use a 'modified' BDDAND algorithm (see problem 3.b.)w.
c. Write a BDD for h=w**x**z'. Use the ordering w.
d. Represent all three BDDsas one shared BDD structure.
e. Construct a BDD for BDDAND(f,g). Use the BDDAND algorithm presented in class.
f. Construct a BDD for BDDOR(g,h). Use a 'modified' BDDAND algorithm (see problem 3.b.)w.
b. Write a BDD for g=w**x**z. Use the ordering w.
c. Write a BDD for h=w**x**z'. Use the ordering w.
d. Represent all three BDDsas one shared BDD structure.
e. Construct a BDD for BDDAND(f,g). Use the BDDAND algorithm presented in class.
f. Construct a BDD for BDDOR(g,h). Use a 'modified' BDDAND algorithm (see problem 3.b.)
Reading Assignment
Please review the slides to solve the following problems.
In addition, there are three documents on BDDs available on Courseworks that you should read in case you are interested in more details.
a. Brace article on "Efficient Implementation of a BDD package".
b. Meinel book (Chapters 6-9).
c. Meinel book (Chapters 10-11).
BDDs are also covered by a few books in the class library (see slides).
1. Problems
Explicit state model checking. Consider a system, where we have states s0,s1,s2,dots,s9,s10. The initial state is s0 only. There is a transition from a state si to si+5, for all 0i5. Additionally, there are transitions from si to si-3, for all 3i10. For each state si we define an associated atomic predicate pi. That is,p0 is true in s0 and nowhere else, p1 is true in s1 and nowhere else, dots,p10 is true in s10 and nowhere else.
Using the explicit-state model checking algorithm presented in class, determine if the following properties hold.
a.EFp1
b.AFp2
c.AG(p9AFp3)
d.AG(p4EFp10)
Note: Please submit a drawing of the Kripke Structure as part of your answer. Please note that you are NOT asked to simply answer the questions by looking at the Kripke Structur
2 . Compositions. Consider the Kripke structure

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!