LTL Specification

10 views
Skip to first unread message

dnay

unread,
May 18, 2024, 4:32:01 PMMay 18
to PRISM model checker
Hello,

I´m trying to formalize some specification for defined problem using Linear temporal logic and i dont know why it is still not realizable. i´ve already performed so much modification but i dont get a good result.

I put here the 3 different way i´ve already tried


1. Once A is raised, it must remain high until A && B

G(F( A -> (A U (A && B))) && (G (A && B) -> (X(!A && !B))))

G(F( A -> (A U B)))

- arvalid starts as false: !arvalid

- arvalid becomes true, it remains true until B becomes true: G((A -> F B)

- While arvalid is true arready is false until B becomes true:G (A -> !B U B)

- After arready BECOMES TRUE arvalid becomes false: G ( B -> X !A ))

Combined LTL Formula

!A ∧ G((A -> F B) ∧ (A -> !B U B) ∧( B -> X !A ))

c.klo...@gmail.com

unread,
May 20, 2024, 8:38:46 PMMay 20
to PRISM model checker
Have a look at the temporal spec patterns:
More specifically the LTL ones:

Universality, P is true :
Between Q and R []((Q & !R & <>R) -> (P U R))
After Q until R [](Q & !R -> (P W R))

In your case, P=Q=A, R=B, so:
A is true :
Between A and B []((A & !B & <>B) -> (A U B))
After A until B [](A & !B -> (A W B))

At least, that's what I've understood.

Best,
Christos
Reply all
Reply to author
Forward
0 new messages