EE709 Temporal Logic
EE709 Temporal Logic
properties
Madhav Desai
Department of Electrical Engineering
IIT Bombay
I S = {(x, q, y ) : x, q, y }.
I T = {((x, q, y ), (x 0 , q 0 , y 0 )) : q 0 = δ(x, q).
I L(s) = {x(s), q(s), y (s), (y (s) == λ(x(s), q(s)))}.
State formulas
f : S → {0, 1}
If f holds at state s then we denote this by
sf
I s f if and only if f ⊆ L.
I s ¬f if and only if s
f .
I s (f + g ) if and only (s f ) + (s g ).
I s (f .g ) if and only (s f ).(s g ).
Paths
I AXp, EXp
I AGp, EGp
I AFp, EFp
I A(f U g), E(f U g)
Equivalences
A f = ~ E (~f)
E f = ~ A (~f)
EF f = E(1 U f)
AX f = ~EX (~f)
AG f = ~EF (~f)
EF f = ~AG (~f)
.. etc...
Example: arbitration
T1, T2 requests
C1, C2 critical region access
~EF (C1.C2)
AG (T1 => F C1)
AG (T2 => F C2)
Encoding of a run