Formula for veryfing that a state can be reached from another state? #195
-
Hi, i am still new to TCTL and the way UPPPAL's verifier (verifyta) works, but I want to ask if there's a way to specify in a formula accepted by the verifier that a certain location (B) can be reached from another one? (A). But in this case, A is not necessarily the initial location? I've tried some with relative success:
Would like some pointers on this matter |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Because Uppaal does not support nested quantifiers e.g. (A[], A<>, E[], E<>) in one query achieving your goal may require changes to your model. I recommend adding a boolean that is set to true on edges going into location A, lets call this boolean |
Beta Was this translation helpful? Give feedback.
Because Uppaal does not support nested quantifiers e.g. (A[], A<>, E[], E<>) in one query achieving your goal may require changes to your model.
I recommend adding a boolean that is set to true on edges going into location A, lets call this boolean
reachedA
.Now we can check reachability using
E<> reachedA && Process.B
this should also provide a trace