SlideShare a Scribd company logo
Distributed Real Time Systems
Rahul Wani
Indian Institute of Technology,Bombay
May 2, 2014
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 1 / 59
Outline
1 Basics
Timed Run
Untimed Words
Timed Language
Untimed Language
Timed Constraints and Clock Interpretation
Timed Transition Systems
Timed Regular Language
2 Timed Automata
Definition
Checking Emptiness
Restriction to integer constants
Clock Region
The Region Automaton
The Untiming Construction
Deterministic Timed Automaton
Definition
Example
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 2 / 59
Outline
3 Distributed Timed Automaton
Definition
Example
Semantics
Timed Automaton with Independently Evolving Clocks
Construction of icTA from DTA
Universal Semantics
Existential Symantics
Weird Behaviour
4 Conclusion
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 3 / 59
Basics
Timed Run
Definition
A time sequence τ = τ1τ2 . . . is an infinite sequence of time values τi ∈ R
with τi > 0, satisfying the following constraints:
(1) Monotonicity: increases strictly monotonically;i.e., τi < τi+1 for all
i ≥ 1.
(2) Progress:For every t ∈ R, there is some i ≥ 1 such that τi > t.
A timed word over an alphabet Σ is a pair (σ, τ) where σ = σ1σ2 . . . is an
infinite word over Σ and σ is a time sequence.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 4 / 59
Basics
Timed Run
Example
The sequence
(a, 3.4)(a, 4)(b, 5) . . .
over Σ = {a, b} is a timed word as
3.4 < 4 < 5 < . . .
Here a, b are also called actions.
Similarlly a sequence
(a, 3.4)(a, 4)(b, 5)
is timed word if we consider finite sequences.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 5 / 59
Basics
Untimed Words
Example
Given a timed word
(a, 3.4)(a, 4)(b, 5) . . .
untimed word is just a word without having timestamps i.e. untimed word
here is aab . . . .
Similarlly if we consider only non-infinite timed words, then aab is an
untimed word.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 6 / 59
Basics
Timed Language
Definition
A timed language over Σ is a set of timed words over Σ.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 7 / 59
Example
Consider the timed language over Σ = {a, b} where the second position is
b and this b should only occur in between timestamp 1 and 2.
L= {x | (a1, τ1)(a2, τ2)(a3, τ3)... ∈ x ∧ ∀i( i ≥ 1 ∧ τi < τ(i+1) ∧ ai ∈
Σ) ∧ a2 = b ∧ 1 ≤ τ2 ∧ τ2 ≤ 2}
L= {
(a,0)(b,1). . . ,
. . . ,
. . . ,
. . . ,
(a,1.999. . . )(b,2). . . ,
(b,0)(b,1). . . ,
. . . ,
. . . ,
. . . ,
(b,1.999. . . )(b,2). . .
}
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 8 / 59
Basics
Untimed Language
Definition
For a timed language L over Σ, Untime(L) is the ω-language consisting of
σ ∈ Σω such that (σ, τ) ∈ L for some time sequence τ.
Example
For the timed language given in the above example, the untimed language
is (a + b)b(a + b)ω and the corresponding finite language is
(a + b)b(a + b)∗
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 9 / 59
Basics
Timed Constraints and Clock Interpretation
Definition
For a set X of clock variables, the set Φ(x) of clock constraints δ is
defined inductively by
δ := x ≤ c | c ≤ x | ¬δ | δ1 ∧ δ2
where x is a clock in X and c is constant in Q.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 10 / 59
Basics
Timed Constraints and Clock Interpretation
Example
Let X = {x, y} is the set of clock variables x, y.The clock constraints over
these clock variables are defined as any valid combination of above
specified atomic formulae. The atomic formulae are x ≤ c1 , x ≥ c2 ,
y ≤ c3 , y ≥ c4 where c1, c2, c3, c4 are constants in Q. The time
constraints may be any valid combination of above atomic formulae with
¬ and ∧ operations. The valuation of clock is snapshot of the values of
the clock variables at a certain point in time space. i.e. Lets say clock
valuation is [x = 3, y = 4] at say global time 4 given that clock x is
reseted at global time 1.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 11 / 59
Basics
Timed Transition Systems
Definition
A timed transition table A is a tuple Σ, S, S0, C, E , where
Σ is a finite alphabet,
S is a finite set of states,
S0 ⊆ S is a set of start states,
C is a finite set of clocks, and
E ⊆ S × S × Σ × 2C × φ(C) gives the set of transitions. An edge
s, s , a, λ, δ represents a transition from state s to state s on input
symbol a. The set λ ⊆ C gives the clocks to be reset with this
transition, and δ is a clock constraint over C.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 12 / 59
Basics
Timed Transition Systems
Example
Lets take example of a transition system-
A = Σ, S, S0, C, E where Σ = {a, b}
S = {q0, q1}
S0 = {q0}
C = {x, y}
E = {(q0, q1, a, {x}, y ≥ 1 ∧ y ≤ 1), (q1, q0, b, {y}, x ≥ 1 ∧ x ≤ 1)}
We will refer this example in further sections.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 13 / 59
Basics
Timed Regular Language
Definition
A run r, denoted by (´s, ´v) of a timed transition table Σ, S, S0, C, E over
a timed word (σ, τ) is an infinite sequence of the form
r : s0, v0
σ1
−→
τ1
s1, v1
σ2
−→
τ2
s2, v2
σ3
−→
τ3
. . .
with si ∈ S and vi ∈ [C −→ R], for all i ≥ 0, satisfying the following
requirements:
Initialization: s0 ∈ S0, and v0(x) = 0 for all x ∈ C
Consecution: for all i ≥ 1, there is an edge in E of the form
si−1, si , σi , λi , δi such that (vi−1 + τi − τi−1) satisfies δi and vi
equals [λi → 0](vi−1 + τi − τi−1)
The set inf(r) consists of those states s ∈ S such that s = si for infinitely
many i ≥ 0.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 14 / 59
Basics
Timed Regular Language
Example
In the transition system given in above example, the only infinite run
possible is
(q0, [0, 0]) −→
1
(q0, [1, 1])
a
−→
1
(q1, [0, 1]) −→
2
(q1, [1, 2])
b
−→
2
(q0, [1, 0])
−→
3
(q0, [2, 1])
a
−→
3
(q1, [0, 1]) . . .
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 15 / 59
Basics
Timed Regular Language
Definition
A timed language L is a timed regular language iff L = L(A) for some
TBA A.
Example
The timed language defined in above example is a timed regular language.
As it is accepted by timed B¨uchi automata obtained from timed transition
system defined above with one extension of defining any state in that
automata as good state. In you consider non-infinite sense of TBA(TA),
we will timed regular language as a timed language accepted by timed
automata.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 16 / 59
Timed Automata
Definition
Definition
The timed B¨uchi automaton (in short TBA) is a tuple Σ, S, S0, C, E, F ,
where Σ, S, S0, C, E is a timed transition table, and F ⊆ S is a set of
accepting states.
A run r=(´s, ´v) of a TBA over a timed word (σ, τ) is called an accepting
run iff inf (r) F = φ.
For a TBA A, the language L(A) of timed words it accepts is defined to be
the set {(σ, τ) | A has an acceptiing run over (σ, τ)}.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 17 / 59
Timed Automata
Definition
Figure: 1.TBA
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 18 / 59
Timed Automata
Definition
Example
The figure 1 represents a TBA. A = Σ, S, S0, C, E, F where
Σ = {a, b}
S = {q0, q1}
S0 = {q0}
C = {x, y}
E = {(q0, q1, a, {x}, y ≥ 1 ∧ y ≤ 1), (q1, q0, b, {y}, x ≥ 1 ∧ x ≤ 1)}
F = {q0}
The run
(q0, [0, 0]) −→
1
(q0, [1, 1])
a
−→
1
(q1, [0, 1]) −→
2
(q1, [1, 2])
b
−→
2
(q0, [1, 0])
−→
3
(q0, [2, 1])
a
−→
3
(q1, [0, 1]) . . .
is accepting run as inf (r) = q0 ∩ F. The language containing these words
(here only one) is the language accepted by TBA.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 19 / 59
Checking Emptiness of Timed Automata
Restriction to integer constants
Lemma
Consider a timed transition table A, a timed word (σ, τ), and t ∈ Q. (´s, ´v)
is a run of A over (σ, τ) iff (´s, t.´v) is a run of A, over (σ, t.τ), where At is
the timed transition table obtained by replacing each constant d in each
clock constraint lebelling edges of A by t.d.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 20 / 59
Checking Emptiness of Timed Automata
Restriction to integer constants
Example
Lets take an example of run (σ, τ)
(s, [1.2, 2.2]) −−→
0.3
(s, [1.5, 2.5])
a
−−→
0.3
(s , [1.5, 2.5])
with transition (s, s , a, , x ≤ 1.5 ∧ y ≤ 2.5) ∈ E.
Corresponding (σ, 10.τ) can be given as
(s, [12, 22]) −→
3
(s, [15, 25])
a
−→
3
(s , [15, 25])
with all transitions constraint rational constants multiplied by 10. The
corresponding transition would be
(s, s , a, {}, x ≤ 15 ∧ y ≤ 25) ∈ E .
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 21 / 59
Checking Emptiness of Timed Automata
Concept of Clock Region
Definition
For a timed transition table Σ, S, S0, C, E , an extended state is a pair
s, v where s ∈ S and v is a clock interpretation for C.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 22 / 59
Checking Emptiness of Timed Automata
Concept of Clock Region
Example
Lets take example of a TBA given in figure 1-
A = Σ, S, S0, C, E, F where Σ = {a, b}
S = {q0, q1}
S0 = {q0}
C = {x, y}
E = {(q0, q1, a, x, y ≥ 1 ∧ y ≤ 1), (q1, q0, b, y, x ≥ 1 ∧ x ≤ 1)} F = {q1}
And a run associated with this
(q0, [0, 0]) −→
1
(q0, [1, 1])
a
−→
1
(q1, [0, 1]) −→
2
(q1, [1, 2])
b
−→
2
(q0, [1, 0])
−→
3
(q0, [2, 1])
a
−→
3
(q1, [0, 1]) . . .
The extended states for this run are
(q0, [0, 0]), . . . , (q0, [1, 1]), . . . , (q1, [0, 1]), . . . , (q1, [1, 2]), . . . ,
(q0, [1, 0]), . . . , (q0, [2, 1]), . . . , (q1, [0, 1]), . . .
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 23 / 59
Checking Emptiness of Timed Automata
Concept of Clock Region
Definition
Let A = Σ, S, S0, C, E be a timed transition table. For each x ∈ C,let cx
be the largest integer c such that (x ≤ c) or (c ≤ x) is a subformula of
some clock constraint appearing in E.
The equivalence relation ∼ is defined over the set of all clock
interpretations for C; v ∼ v iff all the following conditions hold:
(1) For all x ∈ C, either v(x) and v (x) are the same, or both v(x)
and v (x) are greater than cx
(2) For all x, y ∈ C with v(x) ≤ cx and v(y) ≤ cy ,
fract(v(x)) ≤ fract(v(y)) iff fract(v (x)) ≤ fract(v (y))
(3) For all x ∈ C with v(x) ≤ cx , fract(v(x)) = 0 iff fract(v (x)) = 0
A clock region for A is an equivalence class of clock interpretations
induced by ∼.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 24 / 59
Checking Emptiness of Timed Automata
Concept of Clock Region
A region can be specified by:-
1 for every clock x,one clock constraint from the set
{x = c | c = 0, 1, . . . , cx }∪{c −1 < x < c | c = 1, . . . , cx }∪{x > cx }
2 For every pair of clocks x and y such that c − 1 < x < c and
d − 1 < y < d appear in (1) for some c,d, whether fract(x), is less
than, equal to, or greater than fract(y).
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 25 / 59
Checking Emptiness of Timed Automata
Concept of Clock Region
Figure: 2.Region Types
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 26 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Definition
A clock region α is a time-successor of a clock region α iff for each v ∈ α,
there exists a positive t ∈ R such that v + t ∈ α .
Example
The triangular clock regions 1 and 2 defined in the above figure 3 are
called adjacent regions. And region 2 is called successor of clock region 1
as region 2 can be reached here just by passing the time from the
valuations in region 1.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 27 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Figure: 3.Adjacency of Clock Regions
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 28 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Definition
For a timed transition table A = Σ, S, S0, C, E , the corresponding region
automaton R(A) is a transition table over the alphabet Σ.
The states of R(A) are of the form s, α where s ∈ S and α is a
clock region.
The initial states are of the form s0, [v0] where s0 ∈ S0 and
v0(x) = 0 for all x ∈ C.
R(A) has an edge s, α , s , α , a iff there is an edge
s, s , a, λ, δ ∈ E and a region α“ such that
(1) α is a time-successor of α,
(2) α“
satisfies δ, and
(3) α = [λ → 0]α .
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 29 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Figure: 4. Another TBA
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 30 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Figure: 5. Region Automaton
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 31 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Example
For the TBA A = (S, S0, Σ, C, E, F) where
S = {S, P, Q, R}
S0 = S
Σ = {a, b}
C = {x, y}
E = {(S, P, a, {y}, φ), (P, Q, a, {x}, y ≤ 1), (Q, R, b, {y}, x ≤
1), (R, P, a, {y}, φ)}
F = {P}
The TBA for this is given in the figure 4.
The region automata for the same is given in figure 5.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 32 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Definition
For a run r = (´s, ´v) of A of the form
r : s0, v0
σ1
−→
τ1
s1, v1
σ2
−→
τ2
s2, v2
σ3
−→
τ3
. . .
define its projection [r] = (´s, [´v]) to be a sequence
[r] : s0, [v0]
σ1
−→ s1, [v1]
σ2
−→ s2, [v2]
σ3
−→ . . .
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 33 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Example
For the run
(S, [0 0])
a
−→
0
(P, [0 0]) −−→
0.35
(P, [0.35 0.35])
0.35
−−→
a
(Q, [0 0.35] −−→
0.75
(Q, [0.4 0.75])
b
−−→
0.75
(R, [0.4 0]) −−→
1.75
(R, [1.4 1])
a
−−→
1.75
(P, [1.4 0]) . . . .
sequence of the projection on region automata is
(S, {x = 0, y = 0})
a
−→ (P, {x < 1, x > 0, y = 0})
a
−→ (Q, {y < 1, y >
0, x = 0})
b
−→ (R, {x < 1, y = 0})
a
−→ (P, {x > 1, y = 0}) . . . .
This example is also referenced further.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 34 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Definition
A run r = (´s, ˇα) of the region automaton R(A) of the form
r : s0, α0
σ1
−→ s1, α1
σ2
−→ s2, α2
σ3
−→ . . .
is progressive iff for each clock x ∈ C, there are infinitely many i ≥ 0 such
that αi satisfies [(x = 0) ∨ (x > cx )].
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 35 / 59
Checking Emptiness of Timed Automata
Concept of Region Automaton
Example
The run in the above example is progressive as reset occurs in the states
for each variable.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 36 / 59
Checking Emptiness of Timed Automata
Untiming Construction
Theorem
Given a TBA A = Σ, S, S0, C, E, F , there exists a B¨uchi automaton over
Σ which accepts Untime[L(A)].
Proof.
Given the timed automata we can construct corresponding TBA from that
by using the above procedure. And it is clear from the above that for every
accepting run on timed automata we can generate corresponding state
sequence of TBA from that ending in the same final state. For TBA
condition to satisfy we will consider only combination of final states as
final state which occur infinitely often. It is also clear that TBA can only
accept untimed words. So, the proof.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 37 / 59
Checking Emptiness of Timed Automata
Deterministic Timed Automata
Definition
A timed transition table Σ, S, S0, C, E is called deterministic iff
(1) it has only one start state, | S0 |= 1, and
(2) for all s ∈ S, for all a ∈ Σ, for every pair of edges of the form
s, −, a, −, δ1 and s, −, a, −, δ2 , the clock constraints δ1 and δ2 are
mutually exclusive (i.e. δ1 δ2 is unsatisfiable).
A timed automaton is deterministic iff its timed transition table is
deterministic.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 38 / 59
Checking Emptiness of Timed Automata
Deterministic Timed Automata
Example
The above example is of deterministic timed automata as there is only one
possible move from a given state, with a given transition and given
valuation.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 39 / 59
Distributed Timed Automaton
Definition
Definition
A distributed timed automaton (DTA) over the set of processes Proc is a
structure D = ((Ap)p∈Proc, π) where Ap = (Sp, Σp, Zp, δp, Ip, ip, Fp) are
timed automata such that the alphabets Σp are pairwise disjoint, and π is
a (total) mapping from p∈Proc Zp to Proc such that, for each p ∈ Proc,
we have Reset(Ap) ⊆ π−1(p) ⊆ Zp.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 40 / 59
Distributed Timed Automaton
Example
Figure: 6.Distributed Timed Automata
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 41 / 59
Distributed Timed Automaton
Example
Example
Proc = {p, q}
Consider the DTA as shown in the figure 6. It consists of two timed
automatas Ap and Aq where
Ap = (Sp, Σp, Zp, δp, Ip, ip, Fp), Aq = (Sq, Σq, Zq, δq, Iq, iq, Fq)
Sp = {q1, q2, q3} and Sq = {q1 , q2 , q3 }, Σp = {a, b} and Σq = {a, b}
Zp = {x, y} and Zq = {x, y}
δp = {(q1, q2, a, φ, y ≤ 1), (q2, q3, c, φ, x > 1), (q3, q3, a, {x}, φ)}
and
δq = {(q1 , q2 , b, φ, x > 1), (q2 , q3 , b, φ, y ≤ 1), (q3 , q2 , d, φ, y ≥ 2)}
Ip = φ and Iq = φ ,ip = {q1} and iq = {q1 }
Fp = {q3} and Fq = {q3 }
The DTA corresponding to these timed automatas is given by-
D = (Ap, Aq, π) and π(x) = p and π(y) = q is the mapping function
from clock variables to processes.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 42 / 59
Distributed Timed Automaton
Semantics
τ = (τp)p∈Proc where τp : R≥0 → R≥0.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 43 / 59
Distributed Timed Automaton
Semantics
Figure: 7.Behaviour of DTA with uniform linear rates
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 44 / 59
Distributed Timed Automaton
Semantics
Figure: 8.Behaviour of DTA with nonuniform rates
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 45 / 59
Distributed Timed Automaton
IcTA
Definition
A timed automton with independently evolving clocks(icTA) over Proc is a
tuple B = (S, Σ, Z, δ, I, i, F, π) where (S, Σ, Z, δ, I, i, F) is a timed
automaton and π : Z → Proc maps each clock to a process.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 46 / 59
Figure: 9.An icTA with independent clocks x,y
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 47 / 59
Distributed Timed Automaton
Construction of icTA from DTA
For s = (sp)p∈Proc ∈ p∈Proc Sp and A ⊆ Σ with A = φ, we define the
state invariants I(s, φ) = p∈Proc Ip(sp) and
I(s, A) = z ≤ 0 ∧ p∈Proc Ip(sp). Morever we get i = ((ip)p∈Proc, φ), and
F = ( p∈Proc Fp) × {φ}. Then transition in BD are of two types-
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 48 / 59
Distributed Timed Automaton
Construction of icTA from DTA
(T1) The first type in an -move, which guesses the set of processes of the
DTA that will move next and the transitions that each of them would
perform. In addition it checks the guard that each of them must
satisfy and resets the clocks as well. Thus,((s, φ), , ϕ, R, (s , A)) ∈ δ
if there are some non-empty set P ⊆ Proc and transitions
(¨sp, ap, ϕp, Rp,¨sp) ∈ δp, p ∈ P,such that sp = ¨sp and sp = ¨sp for all
p ∈ P, and sq = sq for all q ∈ ProcP, ϕ = ∧p∈Pϕp,
R = p∈P Rp ∪ {z}, and A = {ap|p ∈ P}{ }.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 49 / 59
Distributed Timed Automaton
Construction of icTA from DTA
(T2) This move performs an action from its guessed set A and then
removes it.
((s, A), a, true, ∅, (s, A{a})) ∈ δ
for all s ∈ p∈Proc Sp, A ⊆ Σ and a ∈ A. This completes the
definition of the icTA BD associated with DTA D.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 50 / 59
Distributed Timed Automaton
Construction of icTA from DTA
Figure: 10.Part of icTA for DTA D
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 51 / 59
Distributed Timed Automaton
Construction of icTA from DTA
Example
The icTA for DTA in figure 6 is as shown in the figure 10.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 52 / 59
Distributed Timed Automaton
Universal Symantics
Definition
Let B = (S, Σ, Z, δ, I, i, F, π) be an icTA and τ ∈ Rates. The language of
B wrt. τ denoted by L(B, τ), is the set of words w ∈ Σ∗ such that
(B, τ) : i
w
−→ s for some s ∈ F. Morever, we define
L∃(B) = τ∈Rates L(B, τ) to be the existential semantics and
L∀(B) = τ∈Rates L(B, τ) to be the universal semantics of B.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 53 / 59
Distributed Timed Automaton
Universal Symantics
Definition
For a DTA D and τ ∈ Rates, we get L(D, τ) = L(BD, τ) to be the language
of D wrt. τ. and we define L∃(D) = L∃(BD) as well as L∀(D) = L∀(BD) to
obtain its existential and universal semantics, respectively.
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 54 / 59
Distributed Timed Automaton
Universal Symantics
Example
In the figure 9, the universal language i.e. the language accepted for all
possible dynamic rates is
L∀(A) = {a, ab}
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 55 / 59
Distributed Timed Automaton
Existential Symantics
Example
In the figure 9, the existential language i.e. union of the language
accepted for possible dynamic rates is
L∃(A) = {a, ab, b, c}
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 56 / 59
Distributed Timed Automaton
Weird Behaviour
Figure: 11.An icTA with independent clocks x,y
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 57 / 59
Conclusion
1 Timed Automata
2 Distributed Timed Automata
3 IcTA
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 58 / 59
Thank you
Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 59 / 59

More Related Content

What's hot

Computational Complexity: Complexity Classes
Computational Complexity: Complexity ClassesComputational Complexity: Complexity Classes
Computational Complexity: Complexity Classes
Antonis Antonopoulos
 
Chapter 24 aoa
Chapter 24 aoaChapter 24 aoa
Chapter 24 aoa
Hanif Durad
 
Chris Sherlock's slides
Chris Sherlock's slidesChris Sherlock's slides
Chris Sherlock's slides
Christian Robert
 
Algorithmics on SLP-compressed strings
Algorithmics on SLP-compressed stringsAlgorithmics on SLP-compressed strings
Algorithmics on SLP-compressed strings
Antonis Antonopoulos
 
Basic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusBasic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV Syllabus
NANDINI SHARMA
 
Computational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityComputational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-Undecidability
Antonis Antonopoulos
 
Stochastic Processes Homework Help
Stochastic Processes Homework Help Stochastic Processes Homework Help
Stochastic Processes Homework Help
Statistics Assignment Help
 
Computational Complexity: Oracles and the Polynomial Hierarchy
Computational Complexity: Oracles and the Polynomial HierarchyComputational Complexity: Oracles and the Polynomial Hierarchy
Computational Complexity: Oracles and the Polynomial Hierarchy
Antonis Antonopoulos
 
short course at CIRM, Bayesian Masterclass, October 2018
short course at CIRM, Bayesian Masterclass, October 2018short course at CIRM, Bayesian Masterclass, October 2018
short course at CIRM, Bayesian Masterclass, October 2018
Christian Robert
 
Quantum Algorithms and Lower Bounds in Continuous Time
Quantum Algorithms and Lower Bounds in Continuous TimeQuantum Algorithms and Lower Bounds in Continuous Time
Quantum Algorithms and Lower Bounds in Continuous Time
David Yonge-Mallo
 
A brief introduction to Hartree-Fock and TDDFT
A brief introduction to Hartree-Fock and TDDFTA brief introduction to Hartree-Fock and TDDFT
A brief introduction to Hartree-Fock and TDDFTJiahao Chen
 
20070823
2007082320070823
20070823neostar
 
Linear Discriminant Analysis and Its Generalization
Linear Discriminant Analysis and Its GeneralizationLinear Discriminant Analysis and Its Generalization
Linear Discriminant Analysis and Its Generalization
일상 온
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
The Statistical and Applied Mathematical Sciences Institute
 
Asymptotic Notations
Asymptotic NotationsAsymptotic Notations
Asymptotic Notations
NagendraK18
 
Representation formula for traffic flow estimation on a network
Representation formula for traffic flow estimation on a networkRepresentation formula for traffic flow estimation on a network
Representation formula for traffic flow estimation on a network
Guillaume Costeseque
 
Algorithm Design and Complexity - Course 5
Algorithm Design and Complexity - Course 5Algorithm Design and Complexity - Course 5
Algorithm Design and Complexity - Course 5Traian Rebedea
 
Variational Bayes: A Gentle Introduction
Variational Bayes: A Gentle IntroductionVariational Bayes: A Gentle Introduction
Variational Bayes: A Gentle Introduction
Flavio Morelli
 

What's hot (20)

Computational Complexity: Complexity Classes
Computational Complexity: Complexity ClassesComputational Complexity: Complexity Classes
Computational Complexity: Complexity Classes
 
Reductions
ReductionsReductions
Reductions
 
Chapter 24 aoa
Chapter 24 aoaChapter 24 aoa
Chapter 24 aoa
 
Chris Sherlock's slides
Chris Sherlock's slidesChris Sherlock's slides
Chris Sherlock's slides
 
Ma2520962099
Ma2520962099Ma2520962099
Ma2520962099
 
Algorithmics on SLP-compressed strings
Algorithmics on SLP-compressed stringsAlgorithmics on SLP-compressed strings
Algorithmics on SLP-compressed strings
 
Basic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusBasic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV Syllabus
 
Computational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityComputational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-Undecidability
 
Stochastic Processes Homework Help
Stochastic Processes Homework Help Stochastic Processes Homework Help
Stochastic Processes Homework Help
 
Computational Complexity: Oracles and the Polynomial Hierarchy
Computational Complexity: Oracles and the Polynomial HierarchyComputational Complexity: Oracles and the Polynomial Hierarchy
Computational Complexity: Oracles and the Polynomial Hierarchy
 
short course at CIRM, Bayesian Masterclass, October 2018
short course at CIRM, Bayesian Masterclass, October 2018short course at CIRM, Bayesian Masterclass, October 2018
short course at CIRM, Bayesian Masterclass, October 2018
 
Quantum Algorithms and Lower Bounds in Continuous Time
Quantum Algorithms and Lower Bounds in Continuous TimeQuantum Algorithms and Lower Bounds in Continuous Time
Quantum Algorithms and Lower Bounds in Continuous Time
 
A brief introduction to Hartree-Fock and TDDFT
A brief introduction to Hartree-Fock and TDDFTA brief introduction to Hartree-Fock and TDDFT
A brief introduction to Hartree-Fock and TDDFT
 
20070823
2007082320070823
20070823
 
Linear Discriminant Analysis and Its Generalization
Linear Discriminant Analysis and Its GeneralizationLinear Discriminant Analysis and Its Generalization
Linear Discriminant Analysis and Its Generalization
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
Asymptotic Notations
Asymptotic NotationsAsymptotic Notations
Asymptotic Notations
 
Representation formula for traffic flow estimation on a network
Representation formula for traffic flow estimation on a networkRepresentation formula for traffic flow estimation on a network
Representation formula for traffic flow estimation on a network
 
Algorithm Design and Complexity - Course 5
Algorithm Design and Complexity - Course 5Algorithm Design and Complexity - Course 5
Algorithm Design and Complexity - Course 5
 
Variational Bayes: A Gentle Introduction
Variational Bayes: A Gentle IntroductionVariational Bayes: A Gentle Introduction
Variational Bayes: A Gentle Introduction
 

Similar to Beamerpresentation

A theory of timed automata
A theory of timed automataA theory of timed automata
A theory of timed automatanico.pao
 
Mohammad Sabawi NTCCIT-2018 Presentation
Mohammad Sabawi NTCCIT-2018 PresentationMohammad Sabawi NTCCIT-2018 Presentation
Cs6503 theory of computation november december 2015 be cse anna university q...
Cs6503 theory of computation november december 2015  be cse anna university q...Cs6503 theory of computation november december 2015  be cse anna university q...
Cs6503 theory of computation november december 2015 be cse anna university q...
appasami
 
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemSolving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Ajay Bidyarthy
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920Karl Rudeen
 
RedisConf18 - CRDTs and Redis - From sequential to concurrent executions
RedisConf18 - CRDTs and Redis - From sequential to concurrent executionsRedisConf18 - CRDTs and Redis - From sequential to concurrent executions
RedisConf18 - CRDTs and Redis - From sequential to concurrent executions
Redis Labs
 
Some Results on Modified Metrization Theorems
Some Results on Modified Metrization TheoremsSome Results on Modified Metrization Theorems
Some Results on Modified Metrization Theorems
BRNSS Publication Hub
 
Math
MathMath
Dsp
DspDsp
Ch-2 final exam documet compler design elements
Ch-2 final exam documet compler design elementsCh-2 final exam documet compler design elements
Ch-2 final exam documet compler design elements
MAHERMOHAMED27
 
Wei Yang - 2015 - Sampling-based Alignment and Hierarchical Sub-sentential Al...
Wei Yang - 2015 - Sampling-based Alignment and Hierarchical Sub-sentential Al...Wei Yang - 2015 - Sampling-based Alignment and Hierarchical Sub-sentential Al...
Wei Yang - 2015 - Sampling-based Alignment and Hierarchical Sub-sentential Al...
Association for Computational Linguistics
 
Theory of Automata and formal languages unit 2
Theory of Automata and formal languages unit 2Theory of Automata and formal languages unit 2
Theory of Automata and formal languages unit 2
Abhimanyu Mishra
 
Machine Learning meets DevOps
Machine Learning meets DevOpsMachine Learning meets DevOps
Machine Learning meets DevOps
Pooyan Jamshidi
 
TIME-ABSTRACTING BISIMULATION FOR MARKOVIAN TIMED AUTOMATA
TIME-ABSTRACTING BISIMULATION FOR MARKOVIAN TIMED AUTOMATATIME-ABSTRACTING BISIMULATION FOR MARKOVIAN TIMED AUTOMATA
TIME-ABSTRACTING BISIMULATION FOR MARKOVIAN TIMED AUTOMATA
ijseajournal
 
Biosight: Quantitative Methods for Policy Analysis: Stochastic Dynamic Progra...
Biosight: Quantitative Methods for Policy Analysis: Stochastic Dynamic Progra...Biosight: Quantitative Methods for Policy Analysis: Stochastic Dynamic Progra...
Biosight: Quantitative Methods for Policy Analysis: Stochastic Dynamic Progra...
IFPRI-EPTD
 

Similar to Beamerpresentation (20)

A theory of timed automata
A theory of timed automataA theory of timed automata
A theory of timed automata
 
Mohammad Sabawi NTCCIT-2018 Presentation
Mohammad Sabawi NTCCIT-2018 PresentationMohammad Sabawi NTCCIT-2018 Presentation
Mohammad Sabawi NTCCIT-2018 Presentation
 
Cs6503 theory of computation november december 2015 be cse anna university q...
Cs6503 theory of computation november december 2015  be cse anna university q...Cs6503 theory of computation november december 2015  be cse anna university q...
Cs6503 theory of computation november december 2015 be cse anna university q...
 
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemSolving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
06_AJMS_225_19_RA.pdf
06_AJMS_225_19_RA.pdf06_AJMS_225_19_RA.pdf
06_AJMS_225_19_RA.pdf
 
06_AJMS_225_19_RA.pdf
06_AJMS_225_19_RA.pdf06_AJMS_225_19_RA.pdf
06_AJMS_225_19_RA.pdf
 
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
 
Project Paper
Project PaperProject Paper
Project Paper
 
RedisConf18 - CRDTs and Redis - From sequential to concurrent executions
RedisConf18 - CRDTs and Redis - From sequential to concurrent executionsRedisConf18 - CRDTs and Redis - From sequential to concurrent executions
RedisConf18 - CRDTs and Redis - From sequential to concurrent executions
 
Some Results on Modified Metrization Theorems
Some Results on Modified Metrization TheoremsSome Results on Modified Metrization Theorems
Some Results on Modified Metrization Theorems
 
Math
MathMath
Math
 
Dsp
DspDsp
Dsp
 
Ch-2 final exam documet compler design elements
Ch-2 final exam documet compler design elementsCh-2 final exam documet compler design elements
Ch-2 final exam documet compler design elements
 
Wei Yang - 2015 - Sampling-based Alignment and Hierarchical Sub-sentential Al...
Wei Yang - 2015 - Sampling-based Alignment and Hierarchical Sub-sentential Al...Wei Yang - 2015 - Sampling-based Alignment and Hierarchical Sub-sentential Al...
Wei Yang - 2015 - Sampling-based Alignment and Hierarchical Sub-sentential Al...
 
Theory of Automata and formal languages unit 2
Theory of Automata and formal languages unit 2Theory of Automata and formal languages unit 2
Theory of Automata and formal languages unit 2
 
Machine Learning meets DevOps
Machine Learning meets DevOpsMachine Learning meets DevOps
Machine Learning meets DevOps
 
TIME-ABSTRACTING BISIMULATION FOR MARKOVIAN TIMED AUTOMATA
TIME-ABSTRACTING BISIMULATION FOR MARKOVIAN TIMED AUTOMATATIME-ABSTRACTING BISIMULATION FOR MARKOVIAN TIMED AUTOMATA
TIME-ABSTRACTING BISIMULATION FOR MARKOVIAN TIMED AUTOMATA
 
Biosight: Quantitative Methods for Policy Analysis: Stochastic Dynamic Progra...
Biosight: Quantitative Methods for Policy Analysis: Stochastic Dynamic Progra...Biosight: Quantitative Methods for Policy Analysis: Stochastic Dynamic Progra...
Biosight: Quantitative Methods for Policy Analysis: Stochastic Dynamic Progra...
 
maths 12th.pdf
maths 12th.pdfmaths 12th.pdf
maths 12th.pdf
 

Recently uploaded

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 

Recently uploaded (20)

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 

Beamerpresentation

  • 1. Distributed Real Time Systems Rahul Wani Indian Institute of Technology,Bombay May 2, 2014 Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 1 / 59
  • 2. Outline 1 Basics Timed Run Untimed Words Timed Language Untimed Language Timed Constraints and Clock Interpretation Timed Transition Systems Timed Regular Language 2 Timed Automata Definition Checking Emptiness Restriction to integer constants Clock Region The Region Automaton The Untiming Construction Deterministic Timed Automaton Definition Example Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 2 / 59
  • 3. Outline 3 Distributed Timed Automaton Definition Example Semantics Timed Automaton with Independently Evolving Clocks Construction of icTA from DTA Universal Semantics Existential Symantics Weird Behaviour 4 Conclusion Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 3 / 59
  • 4. Basics Timed Run Definition A time sequence τ = τ1τ2 . . . is an infinite sequence of time values τi ∈ R with τi > 0, satisfying the following constraints: (1) Monotonicity: increases strictly monotonically;i.e., τi < τi+1 for all i ≥ 1. (2) Progress:For every t ∈ R, there is some i ≥ 1 such that τi > t. A timed word over an alphabet Σ is a pair (σ, τ) where σ = σ1σ2 . . . is an infinite word over Σ and σ is a time sequence. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 4 / 59
  • 5. Basics Timed Run Example The sequence (a, 3.4)(a, 4)(b, 5) . . . over Σ = {a, b} is a timed word as 3.4 < 4 < 5 < . . . Here a, b are also called actions. Similarlly a sequence (a, 3.4)(a, 4)(b, 5) is timed word if we consider finite sequences. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 5 / 59
  • 6. Basics Untimed Words Example Given a timed word (a, 3.4)(a, 4)(b, 5) . . . untimed word is just a word without having timestamps i.e. untimed word here is aab . . . . Similarlly if we consider only non-infinite timed words, then aab is an untimed word. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 6 / 59
  • 7. Basics Timed Language Definition A timed language over Σ is a set of timed words over Σ. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 7 / 59
  • 8. Example Consider the timed language over Σ = {a, b} where the second position is b and this b should only occur in between timestamp 1 and 2. L= {x | (a1, τ1)(a2, τ2)(a3, τ3)... ∈ x ∧ ∀i( i ≥ 1 ∧ τi < τ(i+1) ∧ ai ∈ Σ) ∧ a2 = b ∧ 1 ≤ τ2 ∧ τ2 ≤ 2} L= { (a,0)(b,1). . . , . . . , . . . , . . . , (a,1.999. . . )(b,2). . . , (b,0)(b,1). . . , . . . , . . . , . . . , (b,1.999. . . )(b,2). . . } Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 8 / 59
  • 9. Basics Untimed Language Definition For a timed language L over Σ, Untime(L) is the ω-language consisting of σ ∈ Σω such that (σ, τ) ∈ L for some time sequence τ. Example For the timed language given in the above example, the untimed language is (a + b)b(a + b)ω and the corresponding finite language is (a + b)b(a + b)∗ Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 9 / 59
  • 10. Basics Timed Constraints and Clock Interpretation Definition For a set X of clock variables, the set Φ(x) of clock constraints δ is defined inductively by δ := x ≤ c | c ≤ x | ¬δ | δ1 ∧ δ2 where x is a clock in X and c is constant in Q. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 10 / 59
  • 11. Basics Timed Constraints and Clock Interpretation Example Let X = {x, y} is the set of clock variables x, y.The clock constraints over these clock variables are defined as any valid combination of above specified atomic formulae. The atomic formulae are x ≤ c1 , x ≥ c2 , y ≤ c3 , y ≥ c4 where c1, c2, c3, c4 are constants in Q. The time constraints may be any valid combination of above atomic formulae with ¬ and ∧ operations. The valuation of clock is snapshot of the values of the clock variables at a certain point in time space. i.e. Lets say clock valuation is [x = 3, y = 4] at say global time 4 given that clock x is reseted at global time 1. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 11 / 59
  • 12. Basics Timed Transition Systems Definition A timed transition table A is a tuple Σ, S, S0, C, E , where Σ is a finite alphabet, S is a finite set of states, S0 ⊆ S is a set of start states, C is a finite set of clocks, and E ⊆ S × S × Σ × 2C × φ(C) gives the set of transitions. An edge s, s , a, λ, δ represents a transition from state s to state s on input symbol a. The set λ ⊆ C gives the clocks to be reset with this transition, and δ is a clock constraint over C. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 12 / 59
  • 13. Basics Timed Transition Systems Example Lets take example of a transition system- A = Σ, S, S0, C, E where Σ = {a, b} S = {q0, q1} S0 = {q0} C = {x, y} E = {(q0, q1, a, {x}, y ≥ 1 ∧ y ≤ 1), (q1, q0, b, {y}, x ≥ 1 ∧ x ≤ 1)} We will refer this example in further sections. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 13 / 59
  • 14. Basics Timed Regular Language Definition A run r, denoted by (´s, ´v) of a timed transition table Σ, S, S0, C, E over a timed word (σ, τ) is an infinite sequence of the form r : s0, v0 σ1 −→ τ1 s1, v1 σ2 −→ τ2 s2, v2 σ3 −→ τ3 . . . with si ∈ S and vi ∈ [C −→ R], for all i ≥ 0, satisfying the following requirements: Initialization: s0 ∈ S0, and v0(x) = 0 for all x ∈ C Consecution: for all i ≥ 1, there is an edge in E of the form si−1, si , σi , λi , δi such that (vi−1 + τi − τi−1) satisfies δi and vi equals [λi → 0](vi−1 + τi − τi−1) The set inf(r) consists of those states s ∈ S such that s = si for infinitely many i ≥ 0. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 14 / 59
  • 15. Basics Timed Regular Language Example In the transition system given in above example, the only infinite run possible is (q0, [0, 0]) −→ 1 (q0, [1, 1]) a −→ 1 (q1, [0, 1]) −→ 2 (q1, [1, 2]) b −→ 2 (q0, [1, 0]) −→ 3 (q0, [2, 1]) a −→ 3 (q1, [0, 1]) . . . Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 15 / 59
  • 16. Basics Timed Regular Language Definition A timed language L is a timed regular language iff L = L(A) for some TBA A. Example The timed language defined in above example is a timed regular language. As it is accepted by timed B¨uchi automata obtained from timed transition system defined above with one extension of defining any state in that automata as good state. In you consider non-infinite sense of TBA(TA), we will timed regular language as a timed language accepted by timed automata. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 16 / 59
  • 17. Timed Automata Definition Definition The timed B¨uchi automaton (in short TBA) is a tuple Σ, S, S0, C, E, F , where Σ, S, S0, C, E is a timed transition table, and F ⊆ S is a set of accepting states. A run r=(´s, ´v) of a TBA over a timed word (σ, τ) is called an accepting run iff inf (r) F = φ. For a TBA A, the language L(A) of timed words it accepts is defined to be the set {(σ, τ) | A has an acceptiing run over (σ, τ)}. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 17 / 59
  • 18. Timed Automata Definition Figure: 1.TBA Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 18 / 59
  • 19. Timed Automata Definition Example The figure 1 represents a TBA. A = Σ, S, S0, C, E, F where Σ = {a, b} S = {q0, q1} S0 = {q0} C = {x, y} E = {(q0, q1, a, {x}, y ≥ 1 ∧ y ≤ 1), (q1, q0, b, {y}, x ≥ 1 ∧ x ≤ 1)} F = {q0} The run (q0, [0, 0]) −→ 1 (q0, [1, 1]) a −→ 1 (q1, [0, 1]) −→ 2 (q1, [1, 2]) b −→ 2 (q0, [1, 0]) −→ 3 (q0, [2, 1]) a −→ 3 (q1, [0, 1]) . . . is accepting run as inf (r) = q0 ∩ F. The language containing these words (here only one) is the language accepted by TBA. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 19 / 59
  • 20. Checking Emptiness of Timed Automata Restriction to integer constants Lemma Consider a timed transition table A, a timed word (σ, τ), and t ∈ Q. (´s, ´v) is a run of A over (σ, τ) iff (´s, t.´v) is a run of A, over (σ, t.τ), where At is the timed transition table obtained by replacing each constant d in each clock constraint lebelling edges of A by t.d. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 20 / 59
  • 21. Checking Emptiness of Timed Automata Restriction to integer constants Example Lets take an example of run (σ, τ) (s, [1.2, 2.2]) −−→ 0.3 (s, [1.5, 2.5]) a −−→ 0.3 (s , [1.5, 2.5]) with transition (s, s , a, , x ≤ 1.5 ∧ y ≤ 2.5) ∈ E. Corresponding (σ, 10.τ) can be given as (s, [12, 22]) −→ 3 (s, [15, 25]) a −→ 3 (s , [15, 25]) with all transitions constraint rational constants multiplied by 10. The corresponding transition would be (s, s , a, {}, x ≤ 15 ∧ y ≤ 25) ∈ E . Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 21 / 59
  • 22. Checking Emptiness of Timed Automata Concept of Clock Region Definition For a timed transition table Σ, S, S0, C, E , an extended state is a pair s, v where s ∈ S and v is a clock interpretation for C. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 22 / 59
  • 23. Checking Emptiness of Timed Automata Concept of Clock Region Example Lets take example of a TBA given in figure 1- A = Σ, S, S0, C, E, F where Σ = {a, b} S = {q0, q1} S0 = {q0} C = {x, y} E = {(q0, q1, a, x, y ≥ 1 ∧ y ≤ 1), (q1, q0, b, y, x ≥ 1 ∧ x ≤ 1)} F = {q1} And a run associated with this (q0, [0, 0]) −→ 1 (q0, [1, 1]) a −→ 1 (q1, [0, 1]) −→ 2 (q1, [1, 2]) b −→ 2 (q0, [1, 0]) −→ 3 (q0, [2, 1]) a −→ 3 (q1, [0, 1]) . . . The extended states for this run are (q0, [0, 0]), . . . , (q0, [1, 1]), . . . , (q1, [0, 1]), . . . , (q1, [1, 2]), . . . , (q0, [1, 0]), . . . , (q0, [2, 1]), . . . , (q1, [0, 1]), . . . Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 23 / 59
  • 24. Checking Emptiness of Timed Automata Concept of Clock Region Definition Let A = Σ, S, S0, C, E be a timed transition table. For each x ∈ C,let cx be the largest integer c such that (x ≤ c) or (c ≤ x) is a subformula of some clock constraint appearing in E. The equivalence relation ∼ is defined over the set of all clock interpretations for C; v ∼ v iff all the following conditions hold: (1) For all x ∈ C, either v(x) and v (x) are the same, or both v(x) and v (x) are greater than cx (2) For all x, y ∈ C with v(x) ≤ cx and v(y) ≤ cy , fract(v(x)) ≤ fract(v(y)) iff fract(v (x)) ≤ fract(v (y)) (3) For all x ∈ C with v(x) ≤ cx , fract(v(x)) = 0 iff fract(v (x)) = 0 A clock region for A is an equivalence class of clock interpretations induced by ∼. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 24 / 59
  • 25. Checking Emptiness of Timed Automata Concept of Clock Region A region can be specified by:- 1 for every clock x,one clock constraint from the set {x = c | c = 0, 1, . . . , cx }∪{c −1 < x < c | c = 1, . . . , cx }∪{x > cx } 2 For every pair of clocks x and y such that c − 1 < x < c and d − 1 < y < d appear in (1) for some c,d, whether fract(x), is less than, equal to, or greater than fract(y). Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 25 / 59
  • 26. Checking Emptiness of Timed Automata Concept of Clock Region Figure: 2.Region Types Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 26 / 59
  • 27. Checking Emptiness of Timed Automata Concept of Region Automaton Definition A clock region α is a time-successor of a clock region α iff for each v ∈ α, there exists a positive t ∈ R such that v + t ∈ α . Example The triangular clock regions 1 and 2 defined in the above figure 3 are called adjacent regions. And region 2 is called successor of clock region 1 as region 2 can be reached here just by passing the time from the valuations in region 1. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 27 / 59
  • 28. Checking Emptiness of Timed Automata Concept of Region Automaton Figure: 3.Adjacency of Clock Regions Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 28 / 59
  • 29. Checking Emptiness of Timed Automata Concept of Region Automaton Definition For a timed transition table A = Σ, S, S0, C, E , the corresponding region automaton R(A) is a transition table over the alphabet Σ. The states of R(A) are of the form s, α where s ∈ S and α is a clock region. The initial states are of the form s0, [v0] where s0 ∈ S0 and v0(x) = 0 for all x ∈ C. R(A) has an edge s, α , s , α , a iff there is an edge s, s , a, λ, δ ∈ E and a region α“ such that (1) α is a time-successor of α, (2) α“ satisfies δ, and (3) α = [λ → 0]α . Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 29 / 59
  • 30. Checking Emptiness of Timed Automata Concept of Region Automaton Figure: 4. Another TBA Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 30 / 59
  • 31. Checking Emptiness of Timed Automata Concept of Region Automaton Figure: 5. Region Automaton Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 31 / 59
  • 32. Checking Emptiness of Timed Automata Concept of Region Automaton Example For the TBA A = (S, S0, Σ, C, E, F) where S = {S, P, Q, R} S0 = S Σ = {a, b} C = {x, y} E = {(S, P, a, {y}, φ), (P, Q, a, {x}, y ≤ 1), (Q, R, b, {y}, x ≤ 1), (R, P, a, {y}, φ)} F = {P} The TBA for this is given in the figure 4. The region automata for the same is given in figure 5. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 32 / 59
  • 33. Checking Emptiness of Timed Automata Concept of Region Automaton Definition For a run r = (´s, ´v) of A of the form r : s0, v0 σ1 −→ τ1 s1, v1 σ2 −→ τ2 s2, v2 σ3 −→ τ3 . . . define its projection [r] = (´s, [´v]) to be a sequence [r] : s0, [v0] σ1 −→ s1, [v1] σ2 −→ s2, [v2] σ3 −→ . . . Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 33 / 59
  • 34. Checking Emptiness of Timed Automata Concept of Region Automaton Example For the run (S, [0 0]) a −→ 0 (P, [0 0]) −−→ 0.35 (P, [0.35 0.35]) 0.35 −−→ a (Q, [0 0.35] −−→ 0.75 (Q, [0.4 0.75]) b −−→ 0.75 (R, [0.4 0]) −−→ 1.75 (R, [1.4 1]) a −−→ 1.75 (P, [1.4 0]) . . . . sequence of the projection on region automata is (S, {x = 0, y = 0}) a −→ (P, {x < 1, x > 0, y = 0}) a −→ (Q, {y < 1, y > 0, x = 0}) b −→ (R, {x < 1, y = 0}) a −→ (P, {x > 1, y = 0}) . . . . This example is also referenced further. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 34 / 59
  • 35. Checking Emptiness of Timed Automata Concept of Region Automaton Definition A run r = (´s, ˇα) of the region automaton R(A) of the form r : s0, α0 σ1 −→ s1, α1 σ2 −→ s2, α2 σ3 −→ . . . is progressive iff for each clock x ∈ C, there are infinitely many i ≥ 0 such that αi satisfies [(x = 0) ∨ (x > cx )]. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 35 / 59
  • 36. Checking Emptiness of Timed Automata Concept of Region Automaton Example The run in the above example is progressive as reset occurs in the states for each variable. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 36 / 59
  • 37. Checking Emptiness of Timed Automata Untiming Construction Theorem Given a TBA A = Σ, S, S0, C, E, F , there exists a B¨uchi automaton over Σ which accepts Untime[L(A)]. Proof. Given the timed automata we can construct corresponding TBA from that by using the above procedure. And it is clear from the above that for every accepting run on timed automata we can generate corresponding state sequence of TBA from that ending in the same final state. For TBA condition to satisfy we will consider only combination of final states as final state which occur infinitely often. It is also clear that TBA can only accept untimed words. So, the proof. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 37 / 59
  • 38. Checking Emptiness of Timed Automata Deterministic Timed Automata Definition A timed transition table Σ, S, S0, C, E is called deterministic iff (1) it has only one start state, | S0 |= 1, and (2) for all s ∈ S, for all a ∈ Σ, for every pair of edges of the form s, −, a, −, δ1 and s, −, a, −, δ2 , the clock constraints δ1 and δ2 are mutually exclusive (i.e. δ1 δ2 is unsatisfiable). A timed automaton is deterministic iff its timed transition table is deterministic. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 38 / 59
  • 39. Checking Emptiness of Timed Automata Deterministic Timed Automata Example The above example is of deterministic timed automata as there is only one possible move from a given state, with a given transition and given valuation. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 39 / 59
  • 40. Distributed Timed Automaton Definition Definition A distributed timed automaton (DTA) over the set of processes Proc is a structure D = ((Ap)p∈Proc, π) where Ap = (Sp, Σp, Zp, δp, Ip, ip, Fp) are timed automata such that the alphabets Σp are pairwise disjoint, and π is a (total) mapping from p∈Proc Zp to Proc such that, for each p ∈ Proc, we have Reset(Ap) ⊆ π−1(p) ⊆ Zp. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 40 / 59
  • 41. Distributed Timed Automaton Example Figure: 6.Distributed Timed Automata Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 41 / 59
  • 42. Distributed Timed Automaton Example Example Proc = {p, q} Consider the DTA as shown in the figure 6. It consists of two timed automatas Ap and Aq where Ap = (Sp, Σp, Zp, δp, Ip, ip, Fp), Aq = (Sq, Σq, Zq, δq, Iq, iq, Fq) Sp = {q1, q2, q3} and Sq = {q1 , q2 , q3 }, Σp = {a, b} and Σq = {a, b} Zp = {x, y} and Zq = {x, y} δp = {(q1, q2, a, φ, y ≤ 1), (q2, q3, c, φ, x > 1), (q3, q3, a, {x}, φ)} and δq = {(q1 , q2 , b, φ, x > 1), (q2 , q3 , b, φ, y ≤ 1), (q3 , q2 , d, φ, y ≥ 2)} Ip = φ and Iq = φ ,ip = {q1} and iq = {q1 } Fp = {q3} and Fq = {q3 } The DTA corresponding to these timed automatas is given by- D = (Ap, Aq, π) and π(x) = p and π(y) = q is the mapping function from clock variables to processes. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 42 / 59
  • 43. Distributed Timed Automaton Semantics τ = (τp)p∈Proc where τp : R≥0 → R≥0. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 43 / 59
  • 44. Distributed Timed Automaton Semantics Figure: 7.Behaviour of DTA with uniform linear rates Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 44 / 59
  • 45. Distributed Timed Automaton Semantics Figure: 8.Behaviour of DTA with nonuniform rates Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 45 / 59
  • 46. Distributed Timed Automaton IcTA Definition A timed automton with independently evolving clocks(icTA) over Proc is a tuple B = (S, Σ, Z, δ, I, i, F, π) where (S, Σ, Z, δ, I, i, F) is a timed automaton and π : Z → Proc maps each clock to a process. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 46 / 59
  • 47. Figure: 9.An icTA with independent clocks x,y Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 47 / 59
  • 48. Distributed Timed Automaton Construction of icTA from DTA For s = (sp)p∈Proc ∈ p∈Proc Sp and A ⊆ Σ with A = φ, we define the state invariants I(s, φ) = p∈Proc Ip(sp) and I(s, A) = z ≤ 0 ∧ p∈Proc Ip(sp). Morever we get i = ((ip)p∈Proc, φ), and F = ( p∈Proc Fp) × {φ}. Then transition in BD are of two types- Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 48 / 59
  • 49. Distributed Timed Automaton Construction of icTA from DTA (T1) The first type in an -move, which guesses the set of processes of the DTA that will move next and the transitions that each of them would perform. In addition it checks the guard that each of them must satisfy and resets the clocks as well. Thus,((s, φ), , ϕ, R, (s , A)) ∈ δ if there are some non-empty set P ⊆ Proc and transitions (¨sp, ap, ϕp, Rp,¨sp) ∈ δp, p ∈ P,such that sp = ¨sp and sp = ¨sp for all p ∈ P, and sq = sq for all q ∈ ProcP, ϕ = ∧p∈Pϕp, R = p∈P Rp ∪ {z}, and A = {ap|p ∈ P}{ }. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 49 / 59
  • 50. Distributed Timed Automaton Construction of icTA from DTA (T2) This move performs an action from its guessed set A and then removes it. ((s, A), a, true, ∅, (s, A{a})) ∈ δ for all s ∈ p∈Proc Sp, A ⊆ Σ and a ∈ A. This completes the definition of the icTA BD associated with DTA D. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 50 / 59
  • 51. Distributed Timed Automaton Construction of icTA from DTA Figure: 10.Part of icTA for DTA D Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 51 / 59
  • 52. Distributed Timed Automaton Construction of icTA from DTA Example The icTA for DTA in figure 6 is as shown in the figure 10. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 52 / 59
  • 53. Distributed Timed Automaton Universal Symantics Definition Let B = (S, Σ, Z, δ, I, i, F, π) be an icTA and τ ∈ Rates. The language of B wrt. τ denoted by L(B, τ), is the set of words w ∈ Σ∗ such that (B, τ) : i w −→ s for some s ∈ F. Morever, we define L∃(B) = τ∈Rates L(B, τ) to be the existential semantics and L∀(B) = τ∈Rates L(B, τ) to be the universal semantics of B. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 53 / 59
  • 54. Distributed Timed Automaton Universal Symantics Definition For a DTA D and τ ∈ Rates, we get L(D, τ) = L(BD, τ) to be the language of D wrt. τ. and we define L∃(D) = L∃(BD) as well as L∀(D) = L∀(BD) to obtain its existential and universal semantics, respectively. Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 54 / 59
  • 55. Distributed Timed Automaton Universal Symantics Example In the figure 9, the universal language i.e. the language accepted for all possible dynamic rates is L∀(A) = {a, ab} Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 55 / 59
  • 56. Distributed Timed Automaton Existential Symantics Example In the figure 9, the existential language i.e. union of the language accepted for possible dynamic rates is L∃(A) = {a, ab, b, c} Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 56 / 59
  • 57. Distributed Timed Automaton Weird Behaviour Figure: 11.An icTA with independent clocks x,y Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 57 / 59
  • 58. Conclusion 1 Timed Automata 2 Distributed Timed Automata 3 IcTA Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 58 / 59
  • 59. Thank you Rahul Wani (Indian Institute of Technology,Bombay)Distributed Real Time Systems May 2, 2014 59 / 59