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

In the below questions- 

Solutions:

a. AG((Fa) ∧ (Fb) ∧ (Fc))

AGA((Fa) & (Fb) & (Fc))

AGAFa & AGAFb & AGAFc

AGAF(a &b&c)

b. EGE((Fb) ∧ (Fa))

EGEF(b&a)

Are these incorrect?

in * TF "Emb. Sys. and Rob." by (1.1k points)

2 Answers

0 votes
 
Best answer

The following formulas are equivalent to each other:

  • AG((Fa) ∧ (Fb) ∧ (Fc))
  • AGA((Fa) & (Fb) & (Fc))
  • AGAFa & AGAFb & AGAFc

However, only the last one is a CTL formula (as required by the exercise).

Moreover, the fourth version mentioned, i.e, AGAF(a&b&c) is not equivalent to the three formulas above. It is equivalent to AGF(a&b&c) and means that on all paths we must have infinitely many points of time where we have a&b&c, while the other version just means that on all paths, we must have infinitely many a,b,c but these may not necessarily occur together (see also the counterexample below).

Second, the formulas EGE((Fb) ∧ (Fa)) and EGEF(b&a) are not equivalent for a similar reason: The second formula demands that there there are always points of time where a&b occurs together while the former only demands that a and b occurs. Check the following counterexample where we have E((Fb) ∧ (Fa)) in both states, thus EGE((Fb) ∧ (Fa)), but no state satisfies EF(b&a).

by (170k points)
selected by
0 votes
a. Your solution is slightly more strict than the original formula. The original formula wants a, b, and c to occur infinitely often on every path. Your formula wants infinitely many states that satisfy a&b&c at the same time. A loop going through {a}, then {b}, then {c}, then back to {a} would satisfy the first formula but not yours.

b. Similar bug. Your formula is looking for a&b in the same state. The original formula is fine if both a and b occur in any order (as long as both of them occur infinitely often on the same path).
by (25.6k points)

Related questions

0 votes
1 answer
asked Jan 20, 2021 in * TF "Emb. Sys. and Rob." by MS (1.1k points)
0 votes
1 answer
Imprint | Privacy Policy
...