NOVEMBER, 2023
Outline
- Introduction
- Linear Temporal Logic
- Timed Automata
- Probabilistic Semantics
- Topological Semantics
- Correspondence of the two Semantics
- Model Checking Hardness
Introduction
Timed Automata are really nice (=
They let us describe systems with real-time constraints but still satisfy a lot of nice properties like reachability, safety properties, etc ,etc.
But
Timed Automata are too nice )=
Like most mathematical objects, they several assumptions made about them like infinite precision, instantaneous events which are unrealistic
So we discuss two semantics for Linear Time Logic using timed automata that let us model check ignoring cases that are too unlikely/extreme a topological and a probabilistic one.
Linear Temporal Logic
Temporal Logics introduce operators that describe how the world changes without explicitly referring to time. This helps us guarantee properties like
- Safety: Anything bad will not happen
- Liveness: Something good will happen
- Fairness: Evolution of subsystems
— Linear Temporal Logic introduces operators with the assumption that there is one execution path in time. That is, we sort of know what how the evolution of the system will be.
Syntax
We have a set of Atomic proposition and the formulae satisfy the following grammar.
— where the 4 temporal operators are
- : is true in the next state
- : will be true in all future states
- : is true in some future state
- : will be true in some state in the future, is true in each state until then
And
Semantics
The idea is to model a world, that evolves with time, and at every evolution(discrete) some statements are true. We do logic at a particular time in the world and we need to make relations between statements across time.
To give the semantics, we define a satisfactory relation of the type .
We define the boolean operators in the usual manner, for the rest of the operators
—
Propositions
—
Next
—
Henceforth
—
Until
where
-
- will happen
-
- keeps happening
Timed Automata
Now we can formally define Timed Automata
We define a timed automaton as the tuple
—
- : Location / States
- : Clocks
- : Edges
- State + Guard + Resets → State
- : Invariant
-
- is a finite set of atomic propositions
- Assignment of a logical proposition to each location.
— Semantics of a Timed Automata is given by a labelled Transition system
- is a set of states/symbolic states
- The clock valuations need to respect the state invariant
- We gave 2 kinds of transtions
- Discrete transitions
- Delay transitions
- And in both cases state invariants should be respected at all times
—
is said to be non-blocking if for all .
We define a symbolic path as a state, followed by a sequence of edges, such that the delay transitions follow a certain constraint

Example
Region Automata
Here, we will modify the region automaton to be a timed automaton. The goal is to use this, as a more well behaved and easy to work version of the original automaton, that satisfies some strong properties which will be discussed later.
— Let be the set of regions in , then the region automata is such that
- is the same set of clocks
- , so exists if
we can recover the usual region automata by getting rid of time constraints and clocks.
—
Important Property
Path correspondence: every finite path in has a finite set of corresponding paths in . Each path in the set represents the choice of regions and delays taken while traversing the above path in
Also, if is non-blocking, so is
Probabilistic Semantics
We will now build some machinery to give probabilistic semantics for LTL formulae
We define a probability measure for and a probability measure on the set of enabled transitions. Extending this will give a probability measure on runs.
Probability measure on and edges
Our probability measure need to satisfy the following propeties
- given the Lebesgue measure if is not finite, should be equivalent to , otherwise it is uniform over the points
- Given any , we also define a probability measure on the set of enabled edges
—
Example
- Uniform Distribution over if it is finite.
- Lebesgue Measure normalised to have a probability measure if is a finite set of bounded intervals.
- Exponential distribution if contains an unbounded interval.
The exact measure does note matter as the property we desire are qualitative.
Probability measure on Finite Paths
Given a finite path , we can define the probability measure on the path as
This gives a probability distribution on
Sanity Check!
- Ignore the for now
- Its the probability of that is picked and the rest of the path can be traversed, given that time has elapsed.
- Integrate that over all
- For this situation, summing the probabilities of all paths of length is
- is just the normalisation factor such that now the total probability of a path of any length is
—
Example
Similar measures on and
We assume that for every state this is possible because we have that If is distributed over edges in , we assume that for every state in and
This also gives us that probability of a path in is the same as probability of its projection in .
Probabilistic Semantics for LTL
We consider runs of a timed automaton as sequences of worlds over which we give semantics for our LTL formulae.
Here we see begin used for the very first time. This is like the function which assigns worlds atomic proposition.
Probability on LTL Formulae
Since satisfiability only depends on states, either all, or none of the runs in a path satisfy the formula. Hence we give probability to an LTL formula from as
Which is the total probability of all paths that satisfy .
Satisfying LTL formulae
We say that almost surely satisfies from wrt and write iff .
And because of the earlier claim we have.