Here you can ask questions and find or give answers to organizational, academic and other questions about studying computer science.

1.1k questions

1.3k answers

1.7k comments

557 users

0 votes

φR=φR=(next(p)->(p&(o<->q)<->next(q)))&a

Compute the universal predecessors of p for the corresponding Kripke structure of the FSM.

I am stuck here. Don't know how to proceed. I tried two orders of calculation but ending up with CNF form rather than DNF. How can proceed? Can someone please help?

in * TF "Vis. and Sci. Comp." by (870 points)

2 Answers

+1 vote

Well, if you use the teaching tool, it just computes the following:

∀next(p).∀next(q).((next(p)->(p&(o<->q)<->next(q)))&a->next(p))
  = ∀next(q).!a
  = !a
If you want to see the quantification on next(p) in more detail, look at this:
    ∀next(p). ((next(p)->(p&(o<->q)<->next(q)))&a->next(p))
    = ((false->(p&(o<->q)<->qX))&a->false) & 
      ((true->(p&(o<->q)<->qX))&a->true)
    = ((false->(p&(o<->q)<->qX))&a->false)
    = (true&a->false)
    = (a->false)
    = !a

by (170k points)
Thank you so much. Now I understood.
+1 vote
The universal predecessors of p is the complement of the existential predecessors of ¬p. In this existential quantification, all cases except for the ones where p' is false, are trivially false. Thus you end up with something like ∃q' false → (…) ∧ a. This is equal to ∃q'  a. As q' doesn't exist here, the quantifier can be ignored. If we now complement this, we get ¬a.

Also look at the handcrafted result in the previous answer.

To get back to your original question: How do you getz from a CNF to a DNF? Simplify, and then multiply out.
by (25.6k points)
Thank you so much. Now I understood.

Related questions

Imprint | Privacy Policy
...