LTS and Simulations Flashcards

1
Q

What is a Labelled Transition System? (Mathematically)

A
(X, Σ, L)
where 
    X = states
    Σ = alphabet of actions
    L = X x Σ x X
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why are Labelled Transition Systems used?

A

To capture what can be observed about a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is internal no-determinism?

A

ND that is resolved by the scheduler.

“The machine chooses”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is external non-determinism?

A

ND that is influenced by the external environment.

E.g. a vending machine and a user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is trace equivalence?

A

2 states that have the same traces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a trace?

A

A sequence of observations from some state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Are traces always finite?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a simulation, formally?

A

A relation on a set R s.t:
whenever xRy and x -a-> x’, there exists y’ s.t. y -a-> y’ and (x’,y’) ∈ R.
If (x,y) ∈ R, we say that y simulates x.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does x<=y mean?

A

y simulates x.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does y<=x mean?

A

x simulates y.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the properties of simulation? (2)

A

The union of simulations are simulations.

The largest simulation is the similarity (union of all simulations).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the simulation game? (4)

A

Game starts at (x,y).

  1. Demon picks x-a->x’.
  2. We respond with y-a-> y’.
  3. Game repeats from new start point (x’,y’).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the terminating conditions of the simulation game? [Start=(x,y)] (3)

A

If we can’t move, we lose.
If the demon has a winning strategy, y does NOT simulate x.
If we win, y simulates x (x<=y).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is simulation equivalence?

A

If x<=y and y<=x, then x and y are simulation equivalent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the implications of simulation equivalence?

A

If x and y are simulation equivalent, x and y are also trace equivalent.
The converse is NOT true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is coarse and fine equivalence?

A

The amount something distinguishes about a system.

Fine equivalence distinguishes more than coarse equivalence.

17
Q

What is a bisimulation? (x~y)

A

A simulation that goes both ways.

R and its reverese are simulations.

18
Q

What is a bisimulation, formally?

A

A relation on states s.t:
if x -a-> x’, then there exists y’ s.t. y -a-> y’ and (x’,y’) ∈ R.
if y -a-> y’, then there exists x’ s.t. x-a-> x’ and (x’,y’) ∈ R.

19
Q

What are the properties of bisimulation?

A

The union of bisimulations is a bisimulation.

The largest bisimulation is the bisimilarity.

20
Q

What is the bisimulation game? (5)

A

Start at (x,y).

  1. Demon choses whether to start at x or y.
  2. If D choses x-a>x’, then we chose a y’ s.t y-a->y’.
  3. If D choses y-a-> y’, then we chose a x’ s.t. x-a->x’.
  4. Game restarts from new start position: (x’,y’).