Executability Hierarchy of RTMs with Infinite Alphabets Bas Luttik - - PowerPoint PPT Presentation

executability hierarchy of rtms with infinite alphabets
SMART_READER_LITE
LIVE PREVIEW

Executability Hierarchy of RTMs with Infinite Alphabets Bas Luttik - - PowerPoint PPT Presentation

Executability Hierarchy of RTMs with Infinite Alphabets Bas Luttik Fei Yang November 17, 2016 Where innovation starts Outline 2/25 Finite Version of the Theory of Executability Infinitary Reactive Turing Machines RTM with Atoms


slide-1
SLIDE 1

Where innovation starts

Executability Hierarchy of RTMs with Infinite Alphabets

Bas Luttik Fei Yang

November 17, 2016

slide-2
SLIDE 2

2/25

Outline

Finite Version of the Theory of Executability Infinitary Reactive Turing Machines RTM with Atoms Executability Hierarchy

slide-3
SLIDE 3

3/25

Outline

Finite Version of the Theory of Executability Infinitary Reactive Turing Machines RTM with Atoms Executability Hierarchy

slide-4
SLIDE 4

4/25

Reactive Turing Machines

A reactive Turing machine M is defined by (S, Aτ, D, ↑, Move, − →), where:

  • 1. A is a finite set of actions, τ is an internal action, and Aτ = A∪{τ};
  • 2. S is a finite set of control states;
  • 3. D is a finite set of data symbols, is a special blank symbol, and

D = D ∪ ;

  • 4. ↑∈ S is an initial state;
  • 5. Move = {L, R};
  • 6. −

→ ⊆ S × D × Aτ × D × Move × S is a finite transition relation.

slide-5
SLIDE 5

5/25

Executability

◮ Labelled transition system semantics of RTMs

We associate with every configuration (control state, tape instance) a state, and associate with every execution step a labelled transition.

slide-6
SLIDE 6

5/25

Executability

◮ Labelled transition system semantics of RTMs

We associate with every configuration (control state, tape instance) a state, and associate with every execution step a labelled transition.

◮ Executability

A transition system is called executable if it is behaviourally equivalent to the transition system of an RTM.

slide-7
SLIDE 7

6/25

Evaluating Expressiveness

slide-8
SLIDE 8

6/25

Evaluating Expressiveness

  • 1. Can we specify every executable LTS by the LTS associated with P?

(reactive Turing powerfulness)

slide-9
SLIDE 9

6/25

Evaluating Expressiveness

  • 1. Can we specify every executable LTS by the LTS associated with P?

(reactive Turing powerfulness)

  • 2. Is every LTS associated with the process specifiable by P

executable? (executability)

slide-10
SLIDE 10

7/25

Some Theorems

Theorem

  • 1. For every finite set Aτ and every boundedly branching computable

Aτ-labelled transition system T, there exists an RTM M such that T ↔

b T (M).

slide-11
SLIDE 11

7/25

Some Theorems

Theorem

  • 1. For every finite set Aτ and every boundedly branching computable

Aτ-labelled transition system T, there exists an RTM M such that T ↔

b T (M).

  • 2. For every finite set Aτ and every effective Aτ-labelled transition

system T there exists an RTM M such that T ↔b T (M).

slide-12
SLIDE 12

8/25

Limitation of Finite Sets

Many process calculi use infinite sets of action labels.

slide-13
SLIDE 13

8/25

Limitation of Finite Sets

Many process calculi use infinite sets of action labels.

◮ π-calculus ◮ ψ-calculus ◮ Value passing calculus ◮ mCRL2

slide-14
SLIDE 14

8/25

Limitation of Finite Sets

Many process calculi use infinite sets of action labels.

◮ π-calculus ◮ ψ-calculus ◮ Value passing calculus ◮ mCRL2

We need a more general notion of executability!

slide-15
SLIDE 15

9/25

Outline

Finite Version of the Theory of Executability Infinitary Reactive Turing Machines RTM with Atoms Executability Hierarchy

slide-16
SLIDE 16

10/25

Allowing Infinite Sets

An RTM M is defined by (S, Aτ, D, ↑, Move, − →).

slide-17
SLIDE 17

10/25

Allowing Infinite Sets

An RTM M is defined by (S, Aτ, D, ↑, Move, − →). An infinite set of action labels Aτ is necessary.

slide-18
SLIDE 18

10/25

Allowing Infinite Sets

An RTM M is defined by (S, Aτ, D, ↑, Move, − →). An infinite set of action labels Aτ is necessary. The following lemma shows that we also need infinite sets of control states S and/or data symbols D.

Lemma

There does not exist an RTM with infinitely many actions but finitely many states and data symbols that simulates the π-term P = x(y).¯ y.0 modulo branching bisimilarity.

slide-19
SLIDE 19

11/25

Infinitary RTMs

An infinitary reactive Turing machine (RTM∞) (S, Aτ, D, ↑, Move, − →), where:

  • 1. A is a countable set of actions, τ is an internal action, and

Aτ = A ∪ {τ};

  • 2. S is a countable set of control states;
  • 3. D is a countable set of data symbols, is a special blank symbol,

and D = D ∪ ;

  • 4. ↑∈ S is an initial state;
  • 5. Move = {L, R};
  • 6. −

→ ⊆ S × D × Aτ × D × Move × S is a countable transition relation.

slide-20
SLIDE 20

11/25

Infinitary RTMs

An infinitary reactive Turing machine (RTM∞) (S, Aτ, D, ↑, Move, − →), where:

  • 1. A is a countable set of actions, τ is an internal action, and

Aτ = A ∪ {τ};

  • 2. S is a countable set of control states;
  • 3. D is a countable set of data symbols, is a special blank symbol,

and D = D ∪ ;

  • 4. ↑∈ S is an initial state;
  • 5. Move = {L, R};
  • 6. −

→ ⊆ S × D × Aτ × D × Move × S is a countable transition relation. A transition system is executable by an RTM∞ if it is behaviourally equivalent to a transition system associated with some RTM∞.

slide-21
SLIDE 21

12/25

Theorem for RTM∞

Theorem

For every infinite set Aτ and every countable Aτ-labelled transition system T, there exists an RTM∞ M such that T ↔

b T (M).

slide-22
SLIDE 22

12/25

Theorem for RTM∞

Theorem

For every infinite set Aτ and every countable Aτ-labelled transition system T, there exists an RTM∞ M such that T ↔

b T (M).

Proof.

T = (ST, − →T, ↑T) φ : ST → N

slide-23
SLIDE 23

12/25

Theorem for RTM∞

Theorem

For every infinite set Aτ and every countable Aτ-labelled transition system T, there exists an RTM∞ M such that T ↔

b T (M).

Proof.

T = (ST, − →T, ↑T) φ : ST → N

◮ S = {s, t, ↑}. ◮ −

→ consists of the following transitions:

  • 1. ↑

τ[/φ(↑T )]R

− → s

  • 2. s

τ[/]L

− → t

  • 3. t

a[φ(s1)/φ(s2)]R

− → s if there is a transition s1

a

− → s2 for states s1, s2 ∈ ST.

slide-24
SLIDE 24

13/25

Some Corollaries

We restrict the transition relation − → to be effective or computable and get the following corollaries.

Corollary

  • 1. For every infinite set Aτ and every effective Aτ-labelled transition

system T, there exists an RTM∞ M with an effective transition relation such that T ↔

b T (M).

  • 2. For every infinite set Aτ and every computable Aτ-labelled

transition system T, there exists an RTM∞ M with a computable transition relation such that T ↔

b T (M).

slide-25
SLIDE 25

14/25

Outline

Finite Version of the Theory of Executability Infinitary Reactive Turing Machines RTM with Atoms Executability Hierarchy

slide-26
SLIDE 26

15/25

Sets with Atoms

A: a countably infinite set; we call its elements atoms. An atom automorphism: an bijection (permutation) on A. A set with atoms: a set that can contain atoms or other sets with atoms.

slide-27
SLIDE 27

15/25

Sets with Atoms

A: a countably infinite set; we call its elements atoms. An atom automorphism: an bijection (permutation) on A. A set with atoms: a set that can contain atoms or other sets with atoms. Examples of sets with atoms may include:

◮ any set without atoms, ◮ an atom a, or an ordered pair of atoms (a,b), encoded by

{{a}, {a, b}}

◮ A, An, A∗

slide-28
SLIDE 28

16/25

Legality

X: a set with atoms π: an atom automorphism π(X): the set obtained by application of π to every atom contained in the elements of X, recursively

slide-29
SLIDE 29

16/25

Legality

X: a set with atoms π: an atom automorphism π(X): the set obtained by application of π to every atom contained in the elements of X, recursively S ⊆ A S-automorphism: an atom automorphism π is the identity on S.

slide-30
SLIDE 30

16/25

Legality

X: a set with atoms π: an atom automorphism π(X): the set obtained by application of π to every atom contained in the elements of X, recursively S ⊆ A S-automorphism: an atom automorphism π is the identity on S. S supports a set with atoms X if X = π(X) for every S-automorphism π. A set with atoms is called legal if it has a finite support, each of its elements has a finite support, and so on recursively.

slide-31
SLIDE 31

17/25

Legal sets

Let A be the set of natural numbers, consider the following sets:

  • 1. {3}
slide-32
SLIDE 32

17/25

Legal sets

Let A be the set of natural numbers, consider the following sets:

  • 1. {3}
  • 2. {3, {3, 5}}
slide-33
SLIDE 33

17/25

Legal sets

Let A be the set of natural numbers, consider the following sets:

  • 1. {3}
  • 2. {3, {3, 5}}
  • 3. {x | x < 3, x is a natural number}
slide-34
SLIDE 34

17/25

Legal sets

Let A be the set of natural numbers, consider the following sets:

  • 1. {3}
  • 2. {3, {3, 5}}
  • 3. {x | x < 3, x is a natural number}
  • 4. {x | x > 3, x is a natural number}
slide-35
SLIDE 35

17/25

Legal sets

Let A be the set of natural numbers, consider the following sets:

  • 1. {3}
  • 2. {3, {3, 5}}
  • 3. {x | x < 3, x is a natural number}
  • 4. {x | x > 3, x is a natural number}
  • 5. {x | x = 2k, k is a natural number}
slide-36
SLIDE 36

18/25

Orbit-finiteness

X: a set with atoms x ∈ X x-orbit: {y | y ∈ X, y = π(x) for some atom automorphism π}

slide-37
SLIDE 37

18/25

Orbit-finiteness

X: a set with atoms x ∈ X x-orbit: {y | y ∈ X, y = π(x) for some atom automorphism π} A set with atoms X is partitioned into disjoint orbits. The elements x and y are in the same orbit if π(x) = y for some atom automorphism π. A set with atoms that is partitioned into finitely many orbits is called an

  • rbit-finite set.
slide-38
SLIDE 38

18/25

Orbit-finiteness

X: a set with atoms x ∈ X x-orbit: {y | y ∈ X, y = π(x) for some atom automorphism π} A set with atoms X is partitioned into disjoint orbits. The elements x and y are in the same orbit if π(x) = y for some atom automorphism π. A set with atoms that is partitioned into finitely many orbits is called an

  • rbit-finite set.

Consider the following sets:

  • 1. {1, 2, 3}
slide-39
SLIDE 39

18/25

Orbit-finiteness

X: a set with atoms x ∈ X x-orbit: {y | y ∈ X, y = π(x) for some atom automorphism π} A set with atoms X is partitioned into disjoint orbits. The elements x and y are in the same orbit if π(x) = y for some atom automorphism π. A set with atoms that is partitioned into finitely many orbits is called an

  • rbit-finite set.

Consider the following sets:

  • 1. {1, 2, 3}
  • 2. A
slide-40
SLIDE 40

18/25

Orbit-finiteness

X: a set with atoms x ∈ X x-orbit: {y | y ∈ X, y = π(x) for some atom automorphism π} A set with atoms X is partitioned into disjoint orbits. The elements x and y are in the same orbit if π(x) = y for some atom automorphism π. A set with atoms that is partitioned into finitely many orbits is called an

  • rbit-finite set.

Consider the following sets:

  • 1. {1, 2, 3}
  • 2. A
  • 3. A2
slide-41
SLIDE 41

18/25

Orbit-finiteness

X: a set with atoms x ∈ X x-orbit: {y | y ∈ X, y = π(x) for some atom automorphism π} A set with atoms X is partitioned into disjoint orbits. The elements x and y are in the same orbit if π(x) = y for some atom automorphism π. A set with atoms that is partitioned into finitely many orbits is called an

  • rbit-finite set.

Consider the following sets:

  • 1. {1, 2, 3}
  • 2. A
  • 3. A2
  • 4. A∗
slide-42
SLIDE 42

19/25

RTM with Atoms

A reactive Turing machine with atoms (RTMA) M is defined by (S, Aτ, D, ↑, Move, − →), where:

  • 1. A is a legal and orbit-finite set of actions, τ is an internal action,

and Aτ = A ∪ {τ};

  • 2. S is a legal and orbit-finite set of control states;
  • 3. D is a legal and orbit-finite set of data symbols, is a special blank

symbol, and D = D ∪ ;

  • 4. ↑∈ S is an initial state;
  • 5. Move = {L, R};
  • 6. −

→ ⊆ S × D × Aτ × D × Move × S is a legal and orbit-finite transition relation.

slide-43
SLIDE 43

19/25

RTM with Atoms

A reactive Turing machine with atoms (RTMA) M is defined by (S, Aτ, D, ↑, Move, − →), where:

  • 1. A is a legal and orbit-finite set of actions, τ is an internal action,

and Aτ = A ∪ {τ};

  • 2. S is a legal and orbit-finite set of control states;
  • 3. D is a legal and orbit-finite set of data symbols, is a special blank

symbol, and D = D ∪ ;

  • 4. ↑∈ S is an initial state;
  • 5. Move = {L, R};
  • 6. −

→ ⊆ S × D × Aτ × D × Move × S is a legal and orbit-finite transition relation. A transition system is executable by an RTMA if it is behaviourally equivalent to a transition system associated with some RTMA.

slide-44
SLIDE 44

20/25

Legal LTS with Atoms

Let K ⊂ A. A labelled transition system T = (ST, − →T, ↑T) is K-supported, if it satisfies the following conditions:

slide-45
SLIDE 45

20/25

Legal LTS with Atoms

Let K ⊂ A. A labelled transition system T = (ST, − →T, ↑T) is K-supported, if it satisfies the following conditions:

  • 1. ST, −

→T are sets with atoms with support K; and

slide-46
SLIDE 46

20/25

Legal LTS with Atoms

Let K ⊂ A. A labelled transition system T = (ST, − →T, ↑T) is K-supported, if it satisfies the following conditions:

  • 1. ST, −

→T are sets with atoms with support K; and

  • 2. for every (s, a, t) ∈ −

→T and for every K-automorphism πK, πK(s, a, t) ∈ − →T, where πK(s, a, t) = (πK(s), πK(a), πK(t)).

slide-47
SLIDE 47

20/25

Legal LTS with Atoms

Let K ⊂ A. A labelled transition system T = (ST, − →T, ↑T) is K-supported, if it satisfies the following conditions:

  • 1. ST, −

→T are sets with atoms with support K; and

  • 2. for every (s, a, t) ∈ −

→T and for every K-automorphism πK, πK(s, a, t) ∈ − →T, where πK(s, a, t) = (πK(s), πK(a), πK(t)). We say that T is a legal transition system with atoms if there exists a finite set K ⊂ A such that T is K-supported.

slide-48
SLIDE 48

21/25

Theorem for RTMA

Theorem

A transition system T is executable by an RTMA modulo ↔b iff there exists a legal and orbit-finite set Aτ and an effective legal Aτ-labelled transition system with atoms T ′, and T ↔b T ′.

slide-49
SLIDE 49

22/25

Outline

Finite Version of the Theory of Executability Infinitary Reactive Turing Machines RTM with Atoms Executability Hierarchy

slide-50
SLIDE 50

23/25

A conclusion of Theorems

  • 1. The class of executable transition systems by RTMs modulo ↔

b is

the boundedly branching computable transition system with a finite set of labels.

  • 2. The class of executable transition systems by RTMs modulo ↔b is

the effective transition system with a finite set of labels.

  • 3. The class of executable transition systems by RTMAs modulo ↔b is

the effective legal transition system with atoms.

  • 4. The class of executable transition systems by RTM∞s with a

computable transition relation modulo ↔

b is the computable

transition system.

  • 5. The class of executable transition systems by RTM∞s with an

effective transition relation modulo ↔

b is the effective transition

system.

  • 6. The class of executable transition systems by RTM∞s modulo ↔

b is

the countable transition system.

slide-51
SLIDE 51

24/25

A Hierarchy

RTM ↔

b

RTM ↔b RTMA ↔b Computable RTM∞ ↔

b

Effective RTM∞ ↔

b

RTM∞ ↔

b

Figure: A Hierarchy of Executability

slide-52
SLIDE 52

25/25

Thank You!