IsSimulation and Similarity #
A simulation is a binary relation on the states of two LTSs: if two states s₁ and s2 are
related by a simulation, then s2 can mimic all transitions of s₁ in their respective LTSs.
Furthermore, the derivatives reaches through these transitions remain related by the simulation.
Similarity is the largest simulation: given an LTS, it relates any two states that are related
by a simulation for that LTS.
The module provides abbreviations for the homogeneous case of comparing states in the same LTS.
For an introduction to theory of simulation, we refer to [San].
Main definitions #
IsSimulation lts₁ lts₂ r: the relationron the states oflts₁andlts₂is a simulation.IsSimulationMap lts₁ lts₂ f: the mapffrom the states oflts₁to those oflts₂sends transitions to transitions.Similarity lts₁ lts₂is the binary relation that relates any two states related by some simulation onlts₁andlts₂.SimulationEquiv lts₁ lts₂is the binary relation on the states oflts₁andlts₂that relates any two states similar to each other.
Notations #
s₁ ≤[lts₁, lts₂] s₂: the statess₁ands2are similar underlts₁andlts₂.s₁ ≤≥[lts₁, lts₂] s2: the statess₁ands2are simulation equivalent underlts₁andlts₂.
Main statements #
HomSimulationEquiv.eqv: homogeneous simulation equivalence is an equivalence relation.
A relation is a simulation if, whenever it relates two states in an lts, any transition originating from the first state is mimicked by a transition from the second state and the reached derivatives are themselves related.
Notation for similarity.
Differently from standard pen-and-paper presentations, we require the lts to be mentioned explicitly.
Homogeneous similarity is reflexive.
The composition of two simulations is a simulation.
Similarity is transitive.
The graph of a simulation map is a simulation.
A simulation map sends multistep transitions to multistep transitions.
Notation for homogeneous simulation equivalence.
Homogeneous simulation equivalence is reflexive.
Simulation equivalence is symmetric.
Simulation equivalence is transitive.
Homogeneous simulation equivalence is an equivalence relation.
Helper for following a transition by the first state in a pair of a simulation.
Utility theorem for following internal transitions along a saturated lts.
If the right-hand lts is saturated, a simulation lifts along saturating the left-hand lts.
Simulation is preserved by removing transitions on the left, and adding transitions on the right.
When a deterministic state matches a transition in a simulation, then the derivatives are still in the simulation.
If a state is deterministic for μ, then any transition made by a related state in a
simulation is matched by a unique transition.