Reachability analysis of first-order definable pushdown systems (= - - PowerPoint PPT Presentation

reachability analysis of first order definable pushdown
SMART_READER_LITE
LIVE PREVIEW

Reachability analysis of first-order definable pushdown systems (= - - PowerPoint PPT Presentation

Reachability analysis of first-order definable pushdown systems (= pushdown systems in sets with atoms) S awomir Lasota University of Warsaw joint work with Lorenzo Clemente builds on previous joint work with: Miko aj Boja czyk,


slide-1
SLIDE 1

Computability in Europe, Bucharest, 2015.07.02

joint work with Lorenzo Clemente builds on previous joint work with: Mikołaj Bojańczyk, Bartek Klin, Joanna Ochremiak, Szymon Toruńczyk Sławomir Lasota University of Warsaw

1

Reachability analysis

  • f

first-order definable pushdown systems (= pushdown systems in sets with atoms)

slide-2
SLIDE 2

Outline

2

slide-3
SLIDE 3

Outline

  • Re-interpreting models of computation in FO definable sets

2

slide-4
SLIDE 4

Outline

  • Re-interpreting models of computation in FO definable sets
  • FO definable PDA

2

slide-5
SLIDE 5

Outline

  • Re-interpreting models of computation in FO definable sets
  • FO definable PDA
  • Well-behaved case: oligomorphic and homogeneous atoms

2

slide-6
SLIDE 6

Outline

  • Re-interpreting models of computation in FO definable sets
  • FO definable PDA
  • Well-behaved case: oligomorphic and homogeneous atoms
  • Reachability in FO definable PDA over oligomorphic atoms

2

slide-7
SLIDE 7

Outline

  • Re-interpreting models of computation in FO definable sets
  • FO definable PDA
  • Well-behaved case: oligomorphic and homogeneous atoms
  • Reachability in FO definable PDA over oligomorphic atoms
  • Ill-behaved case: time atoms

2

slide-8
SLIDE 8

Atoms

Fix a countably infinite relational structure A over a finite vocabulary, and call it atoms. Atoms are a parameter in the following.

3

slide-9
SLIDE 9

Atoms

Fix a countably infinite relational structure A over a finite vocabulary, and call it atoms. Atoms are a parameter in the following.

atoms atom automorphisms

equality atoms (A, =) all bijections Q

3

slide-10
SLIDE 10

Atoms

Fix a countably infinite relational structure A over a finite vocabulary, and call it atoms. Atoms are a parameter in the following.

atoms atom automorphisms

equality atoms (A, =) all bijections total order atoms (Q, <) monotonic bijections

3

slide-11
SLIDE 11

Atoms

Fix a countably infinite relational structure A over a finite vocabulary, and call it atoms. Atoms are a parameter in the following.

atoms atom automorphisms

equality atoms (A, =) all bijections total order atoms (Q, <) monotonic bijections dense-time atoms (Q, <, +1) monotonic bijections preserving integer differences

3

slide-12
SLIDE 12

Atoms

Fix a countably infinite relational structure A over a finite vocabulary, and call it atoms. Atoms are a parameter in the following.

atoms atom automorphisms

equality atoms (A, =) all bijections total order atoms (Q, <) monotonic bijections dense-time atoms (Q, <, +1) monotonic bijections preserving integer differences ... ...

3

slide-13
SLIDE 13

FO definable sets

4

Consider subsets of described by first-order formulas φ(x₁, x₂, ..., xn) with constants or without constants.

A

n

slide-14
SLIDE 14

FO definable sets

4

Consider subsets of described by first-order formulas φ(x₁, x₂, ..., xn) with constants or without constants.

A

n

slide-15
SLIDE 15

Examples: x₁ = x₂ ≠ x₃ ∨ x₁ ≠ x₂ = x₃ x₁ < x₂ ≤ x₃

FO definable sets

4

Consider subsets of described by first-order formulas φ(x₁, x₂, ..., xn) with constants or without constants.

}

invariant under action

  • f automorphisms

A

n

x₁ < x₂ ≤ x₃ ≤ x₁+1+1

slide-16
SLIDE 16

Examples: x₁ = x₂ ≠ x₃ ∨ x₁ ≠ x₂ = x₃ x₁ < x₂ ≤ x₃

FO definable sets

4

Consider subsets of described by first-order formulas φ(x₁, x₂, ..., xn) with constants or without constants. x₁ < x₂ < 7 invariant under action of {7}-automorphisms

}

invariant under action

  • f automorphisms

A

n

x₁ < x₂ ≤ x₃ ≤ x₁+1+1

slide-17
SLIDE 17

Examples: x₁ = x₂ ≠ x₃ ∨ x₁ ≠ x₂ = x₃ x₁ < x₂ ≤ x₃

FO definable sets

4

Consider subsets of described by first-order formulas φ(x₁, x₂, ..., xn) with constants or without constants. x₁ < x₂ < 7 invariant under action of {7}-automorphisms

}

invariant under action

  • f automorphisms

A

n

x₁ < x₂ ≤ x₃ ≤ x₁+1+1

slide-18
SLIDE 18

Examples: x₁ = x₂ ≠ x₃ ∨ x₁ ≠ x₂ = x₃ x₁ < x₂ ≤ x₃

FO definable sets

4

Consider subsets of described by first-order formulas φ(x₁, x₂, ..., xn) with constants or without constants. FO definable sets are finite disjoint unions of such sets. x₁ < x₂ < 7 invariant under action of {7}-automorphisms

}

invariant under action

  • f automorphisms

A

n

x₁ < x₂ ≤ x₃ ≤ x₁+1+1

slide-19
SLIDE 19

Examples: x₁ = x₂ ≠ x₃ ∨ x₁ ≠ x₂ = x₃ x₁ < x₂ ≤ x₃

FO definable sets

4

Consider subsets of described by first-order formulas φ(x₁, x₂, ..., xn) with constants or without constants. FO definable sets are finite disjoint unions of such sets. Example: { (x₁, x₂, x₃) : x₁ < x₂ ≤ x₃ } ∪ { (x₁, x₂) : x₁ ≠ x₂ } x₁ < x₂ < 7 invariant under action of {7}-automorphisms

}

invariant under action

  • f automorphisms

A

n

different dimensions

x₁ < x₂ ≤ x₃ ≤ x₁+1+1

slide-20
SLIDE 20

Examples: x₁ = x₂ ≠ x₃ ∨ x₁ ≠ x₂ = x₃ x₁ < x₂ ≤ x₃

FO definable sets

4

Consider subsets of described by first-order formulas φ(x₁, x₂, ..., xn) with constants or without constants. FO definable sets are finite disjoint unions of such sets. Example: { (x₁, x₂, x₃) : x₁ < x₂ ≤ x₃ } ∪ { (x₁, x₂) : x₁ ≠ x₂ } x₁ < x₂ < 7 invariant under action of {7}-automorphisms

}

invariant under action

  • f automorphisms

Option: quantifier-free definable sets.

A

n

different dimensions

x₁ < x₂ ≤ x₃ ≤ x₁+1+1

slide-21
SLIDE 21

Relax finiteness to... FO definability

5

Instantiate widely accepted symbolic approach: instead of enumerating sets, represent them and process symbolically.

Simple idea

slide-22
SLIDE 22

FO definable NFA

  • alphabet A
  • states Q
  • transitions δ ⊆ Q × A × Q
  • I, F ⊆ Q

6

[Bojańczyk, Klin, L. 2011, 2014]

slide-23
SLIDE 23

FO definable NFA

  • alphabet A
  • states Q
  • transitions δ ⊆ Q × A × Q
  • I, F ⊆ Q

6

}

FO definable sets instead of finite ones

[Bojańczyk, Klin, L. 2011, 2014]

slide-24
SLIDE 24

FO definable NFA

  • alphabet A
  • states Q
  • transitions δ ⊆ Q × A × Q
  • I, F ⊆ Q

6

}

FO definable sets instead of finite ones

[Bojańczyk, Klin, L. 2011, 2014] Acceptance defined as for classical NFA.

slide-25
SLIDE 25

FO definable NFA

  • alphabet A
  • states Q
  • transitions δ ⊆ Q × A × Q
  • I, F ⊆ Q

6

}

FO definable sets instead of finite ones

DFA:

  • δ : Q × A → Q

[Bojańczyk, Klin, L. 2011, 2014] Acceptance defined as for classical NFA.

slide-26
SLIDE 26

language:

7

"exactly two different atoms appear" input alphabet: A = A states: transitions: accepting states: equality atoms (A, =) initial state:

slide-27
SLIDE 27

language:

7

Q = A⁰ ∪ A⁰ ∪ A¹ ∪ A² "exactly two different atoms appear" input alphabet: A = A states: transitions: accepting states: equality atoms (A, =)

number of registers may vary from one location to another

initial state:

slide-28
SLIDE 28

language:

7

Q = A⁰ ∪ A⁰ ∪ A¹ ∪ A² = {init, reject} ∪ A¹ ∪ A² "exactly two different atoms appear" input alphabet: A = A states: transitions: accepting states: equality atoms (A, =)

number of registers may vary from one location to another

initial state:

slide-29
SLIDE 29

language:

7

Q = A⁰ ∪ A⁰ ∪ A¹ ∪ A² = {init, reject} ∪ A¹ ∪ A² "exactly two different atoms appear" input alphabet: A = A states: transitions: accepting states: equality atoms (A, =)

number of registers may vary from one location to another

initial state: init A²

slide-30
SLIDE 30

language:

7

Q = A⁰ ∪ A⁰ ∪ A¹ ∪ A² = {init, reject} ∪ A¹ ∪ A² "exactly two different atoms appear" input alphabet: A = A δ : Q × A → Q states: transitions: accepting states: equality atoms (A, =)

number of registers may vary from one location to another

initial state: init A²

slide-31
SLIDE 31

language:

7

Q = A⁰ ∪ A⁰ ∪ A¹ ∪ A² = {init, reject} ∪ A¹ ∪ A² "exactly two different atoms appear" input alphabet: A = A δ : Q × A → Q states: transitions:

δ(init, a) = (a) a atom

accepting states: equality atoms (A, =)

number of registers may vary from one location to another

initial state: init A²

if in state init atom a is read, goto state (a)

slide-32
SLIDE 32

language:

7

Q = A⁰ ∪ A⁰ ∪ A¹ ∪ A² = {init, reject} ∪ A¹ ∪ A² "exactly two different atoms appear" input alphabet: A = A δ : Q × A → Q states: transitions:

δ(init, a) = (a) a atom δ((a), b) = (ab) a ≠ b

accepting states: equality atoms (A, =)

number of registers may vary from one location to another

initial state: init A²

if in state (a), atom b ≠ a is read, goto state (ab)

slide-33
SLIDE 33

language:

7

Q = A⁰ ∪ A⁰ ∪ A¹ ∪ A² = {init, reject} ∪ A¹ ∪ A² "exactly two different atoms appear" input alphabet: A = A δ : Q × A → Q states: transitions:

δ(init, a) = (a) a atom δ((a), b) = (ab) a ≠ b δ((a), b) = (a) a = b

accepting states: equality atoms (A, =)

number of registers may vary from one location to another

initial state: init A²

slide-34
SLIDE 34

language:

7

Q = A⁰ ∪ A⁰ ∪ A¹ ∪ A² = {init, reject} ∪ A¹ ∪ A² "exactly two different atoms appear" input alphabet: A = A δ : Q × A → Q states: transitions:

δ(init, a) = (a) a atom δ((a), b) = (ab) a ≠ b δ((a), b) = (a) a = b δ((ab), c) = reject c ≠ a, b

accepting states: equality atoms (A, =)

number of registers may vary from one location to another

initial state: init A²

slide-35
SLIDE 35

Over equality atoms, FO definable NFA slightly generalize register automata (aka finite-memory automata) of [Francez, Kaminsky 1994]: equality atoms (A, =)

8

Register automata?

slide-36
SLIDE 36
  • number of registers may vary from one control state to another

Over equality atoms, FO definable NFA slightly generalize register automata (aka finite-memory automata) of [Francez, Kaminsky 1994]: equality atoms (A, =)

8

Register automata?

slide-37
SLIDE 37
  • number of registers may vary from one control state to another
  • alphabet letters may contain more than one atom

Over equality atoms, FO definable NFA slightly generalize register automata (aka finite-memory automata) of [Francez, Kaminsky 1994]: equality atoms (A, =)

8

Register automata?

slide-38
SLIDE 38
  • number of registers may vary from one control state to another
  • alphabet letters may contain more than one atom
  • arbitrary FO constraints on register valuations and transitions

Over equality atoms, FO definable NFA slightly generalize register automata (aka finite-memory automata) of [Francez, Kaminsky 1994]: equality atoms (A, =)

8

Register automata?

slide-39
SLIDE 39
  • number of registers may vary from one control state to another
  • alphabet letters may contain more than one atom
  • arbitrary FO constraints on register valuations and transitions
  • instead of (finite set) × A, disjoint union A ∪ A ∪ ...

Over equality atoms, FO definable NFA slightly generalize register automata (aka finite-memory automata) of [Francez, Kaminsky 1994]: equality atoms (A, =)

8

Register automata?

slide-40
SLIDE 40

FO definable Turing machines

  • tape alphabet A
  • states Q
  • transitions δ ⊆ Q × A × Q × A × {←,→,↓}
  • I, F ⊆ Q

9

[Bojańczyk, Klin, L., Toruńczyk 2013] [Klin, L., Ochremiak, Toruńczyk 2014]

slide-41
SLIDE 41

FO definable Turing machines

  • tape alphabet A
  • states Q
  • transitions δ ⊆ Q × A × Q × A × {←,→,↓}
  • I, F ⊆ Q

9

}

FO definable sets instead of finite ones

[Bojańczyk, Klin, L., Toruńczyk 2013] [Klin, L., Ochremiak, Toruńczyk 2014]

slide-42
SLIDE 42

FO definable Turing machines

  • tape alphabet A
  • states Q
  • transitions δ ⊆ Q × A × Q × A × {←,→,↓}
  • I, F ⊆ Q

Acceptance defined as for classical Turing machines.

9

}

FO definable sets instead of finite ones

[Bojańczyk, Klin, L., Toruńczyk 2013] [Klin, L., Ochremiak, Toruńczyk 2014]

slide-43
SLIDE 43

Finite presentation

10

FO definable NFA, Turing machines, PDA, etc. can be finitely presented.

slide-44
SLIDE 44

Outline

  • Re-interpreting models of computation in FO definable sets
  • FO definable PDA
  • Well-behaved case: oligomorphic and homogeneous atoms
  • Reachability in FO definable PDA over oligomorphic atoms
  • Ill-behaved case: time atoms

11

slide-45
SLIDE 45

FO-definable PDA

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × (A∪{ε}) × Q × S*
  • I, F ⊆ Q

12

slide-46
SLIDE 46

FO-definable PDA

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × (A∪{ε}) × Q × S*
  • I, F ⊆ Q

12

}

FO definable sets instead of finite ones

slide-47
SLIDE 47

FO-definable PDA

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × (A∪{ε}) × Q × S*
  • I, F ⊆ Q

12

}

FO definable sets instead of finite ones

≤n

slide-48
SLIDE 48

FO-definable PDA

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × (A∪{ε}) × Q × S*
  • I, F ⊆ Q

Acceptance defined as for classical PDA, e.g. configurations = Q × S*

12

}

FO definable sets instead of finite ones

≤n

slide-49
SLIDE 49

language:

13

"ordered palindromes" input alphabet: A = Q states: stack alphabet: transitions: accepting state: initial state: total order atoms (Q, <)

slide-50
SLIDE 50

language:

13

Q = {init, finish, acc} "ordered palindromes" input alphabet: A = Q states: stack alphabet: transitions: accepting state: initial state: init acc total order atoms (Q, <)

slide-51
SLIDE 51

language:

13

Q = {init, finish, acc} "ordered palindromes" input alphabet: A = Q states: stack alphabet: transitions: accepting state: initial state: init acc total order atoms (Q, <) S = Q ∪ {⊥}

slide-52
SLIDE 52

language:

13

Q = {init, finish, acc} "ordered palindromes" input alphabet: A = Q δ ⊆ Q × S × (A ∪ {ε}) × Q × (S⁰ ∪ S¹ ∪ S²) states: stack alphabet: transitions: accepting state: initial state: init acc total order atoms (Q, <) S = Q ∪ {⊥}

slide-53
SLIDE 53

language:

13

Q = {init, finish, acc} "ordered palindromes" input alphabet: A = Q δ ⊆ Q × S × (A ∪ {ε}) × Q × (S⁰ ∪ S¹ ∪ S²) states: stack alphabet: transitions:

init, ⊥, a init, a⊥ a atom

accepting state: initial state: init acc total order atoms (Q, <) S = Q ∪ {⊥} if in state init, ⊥ is topmost on the stack and atom a is read, stay in state init and push a on the stack

slide-54
SLIDE 54

language:

13

Q = {init, finish, acc} "ordered palindromes" input alphabet: A = Q δ ⊆ Q × S × (A ∪ {ε}) × Q × (S⁰ ∪ S¹ ∪ S²) states: stack alphabet: transitions:

init, ⊥, a init, a⊥ a atom init, b, c init, cb b < c

accepting state: initial state: init acc total order atoms (Q, <) S = Q ∪ {⊥}

slide-55
SLIDE 55

language:

13

Q = {init, finish, acc} "ordered palindromes" input alphabet: A = Q δ ⊆ Q × S × (A ∪ {ε}) × Q × (S⁰ ∪ S¹ ∪ S²) states: stack alphabet: transitions:

init, ⊥, a init, a⊥ a atom init, b, c init, cb b < c init, b, ε finish, b b atom init, b, ε finish, ε b atom

accepting state: initial state: init acc total order atoms (Q, <) S = Q ∪ {⊥}

slide-56
SLIDE 56

language:

13

Q = {init, finish, acc} "ordered palindromes" input alphabet: A = Q δ ⊆ Q × S × (A ∪ {ε}) × Q × (S⁰ ∪ S¹ ∪ S²) states: stack alphabet: transitions:

init, ⊥, a init, a⊥ a atom init, b, c init, cb b < c init, b, ε finish, b b atom init, b, ε finish, ε b atom finish, b, c finish, ε b = c

accepting state: initial state: init acc total order atoms (Q, <) S = Q ∪ {⊥}

slide-57
SLIDE 57

language:

13

Q = {init, finish, acc} "ordered palindromes" input alphabet: A = Q δ ⊆ Q × S × (A ∪ {ε}) × Q × (S⁰ ∪ S¹ ∪ S²) states: stack alphabet: transitions:

init, ⊥, a init, a⊥ a atom init, b, c init, cb b < c init, b, ε finish, b b atom init, b, ε finish, ε b atom finish, b, c finish, ε b = c finish, ⊥, ε

acc, ε accepting state: initial state: init acc total order atoms (Q, <) S = Q ∪ {⊥}

slide-58
SLIDE 58

Over equality atoms, FO definable PDA slightly generalize pushdown register automata of [Murawski, Ramsay, Tzevelekos 2014], exactly like FO definable NFA slightly generalize register automata. equality atoms (A, =)

14

Pushdown register automata?

slide-59
SLIDE 59
  • rbit-finite !set !of !symbols !S

FO-definable context-free grammars

  • symbols S
  • terminal symbols A ⊆ S
  • an initial symbol
  • ρ ⊆ (S−A)×S*

15

}

FO definable sets instead of finite ones

slide-60
SLIDE 60
  • rbit-finite !set !of !symbols !S

Questions

16

slide-61
SLIDE 61
  • rbit-finite !set !of !symbols !S

Questions

16

  • are context-free grammars as expressive as PDA?
slide-62
SLIDE 62
  • rbit-finite !set !of !symbols !S

Questions

16

  • are context-free grammars as expressive as PDA?
  • is equivalence of two PDAs decidable?
slide-63
SLIDE 63
  • rbit-finite !set !of !symbols !S

Questions

16

  • are context-free grammars as expressive as PDA?
  • is equivalence of two PDAs decidable?
  • is reachability problem decidable for PDA?
slide-64
SLIDE 64
  • rbit-finite !set !of !symbols !S

Questions

16

Under what assumptions on atoms:

  • are context-free grammars as expressive as PDA?
  • is equivalence of two PDAs decidable?
  • is reachability problem decidable for PDA?
slide-65
SLIDE 65
  • rbit-finite !set !of !symbols !S

Expressiveness

17

Theorem: [Bojańczyk, Klin, L. 2014] The following models recognize the same languages:

  • FO definable context-free grammars
  • FO definable PDA
  • FO definable prefix rewriting systems,

when A is oligomorphic

slide-66
SLIDE 66
  • rbit-finite !set !of !symbols !S

Equivalence-checking

18

Theorem: [Murawski, Ramsay, Tzevelekos 2015] Bisimulation equivalence is undecidable for FO definable PDA over equality atoms.

slide-67
SLIDE 67
  • rbit-finite !set !of !symbols !S

Reachability

19

Assumption: From now on assume that FO satisfiability problem in A is decidable. Given: an FO formula over the vocabulary of A Question: is the formula satisfiable in A ?

slide-68
SLIDE 68
  • rbit-finite !set !of !symbols !S

Reachability

19

Fact: The reachability problem for FO definable NFA over dense-time atoms (Q, <, +1) is undecidable. Assumption: From now on assume that FO satisfiability problem in A is decidable. This is necessary but far not enough! Given: an FO formula over the vocabulary of A Question: is the formula satisfiable in A ?

slide-69
SLIDE 69

Outline

  • Re-interpreting models of computation in FO definable sets
  • FO definable PDA
  • Well-behaved case: oligomorphic and homogeneous atoms
  • Reachability in FO definable PDA over oligomorphic atoms
  • Ill-behaved case: time atoms

20

slide-70
SLIDE 70

Atom automorphisms

21

atoms atom automorphisms

equality atoms (A, =) all bijections total order atoms (Q, <) monotonic bijections dense-time atoms (Q, <, +1) monotonic bijections preserving integer differences discrete-time atoms (Z, <, +1) translations equivalence atoms (A, R, =) equivalence-preserving bijections random graph (V, E, =) random graph automorphisms ... ...

slide-71
SLIDE 71

Orbits

π π π

Atom automorphisms π act on thus splitting it into orbits.

A

n

22

slide-72
SLIDE 72

Orbits

Examples: x₁ = x₂ ≠ x₃ x₁ < x₂ < x₃

π π π

Atom automorphisms π act on thus splitting it into orbits.

A

n

22

x₁ < x₂ = x₃ < x₁+1

slide-73
SLIDE 73

Orbits

Examples: x₁ = x₂ ≠ x₃ x₁ < x₂ < x₃

π π π

Atom automorphisms π act on thus splitting it into orbits.

A

n

22

Non-examples: x₁ = x₂ ≠ x₃ ∨ x₁ ≠ x₂ = x₃ x₁ < x₂ ≤ x₃ x₁ < x₂ = x₃ < x₁+1 x₁ < x₂ ≤ x₃ ≤ x₁+1+1

slide-74
SLIDE 74

Oligomorphic structures

23

slide-75
SLIDE 75

Oligomorphic structures

23

A relational structure A is oligomorphic if

slide-76
SLIDE 76

Oligomorphic structures

23

A relational structure A is oligomorphic if for every n, is orbit-finite, i.e. splits into finitely many orbits.

A

n

slide-77
SLIDE 77

Oligomorphic structures

23

A relational structure A is oligomorphic if for every n, is orbit-finite, i.e. splits into finitely many orbits.

A

n

As a consequence, FO definable sets are orbit-finite.

slide-78
SLIDE 78

Example: (Q, <)

Oligomorphic structures

23

A relational structure A is oligomorphic if for every n, is orbit-finite, i.e. splits into finitely many orbits.

A

n

As a consequence, FO definable sets are orbit-finite.

slide-79
SLIDE 79

Example: (Q, <)

Oligomorphic structures

Q² has 3 orbits:

23

A relational structure A is oligomorphic if for every n, is orbit-finite, i.e. splits into finitely many orbits.

A

n

As a consequence, FO definable sets are orbit-finite.

slide-80
SLIDE 80

Example: (Q, <)

Oligomorphic structures

Q² has 3 orbits:

  • { (x, y) : x < y }
  • { (x, y) : x = y }
  • { (x, y) : x > y }

23

A relational structure A is oligomorphic if for every n, is orbit-finite, i.e. splits into finitely many orbits.

A

n

As a consequence, FO definable sets are orbit-finite.

slide-81
SLIDE 81

Example: (Q, <)

Oligomorphic structures

Q² has 3 orbits:

  • { (x, y) : x < y }
  • { (x, y) : x = y }
  • { (x, y) : x > y }

Q³ has 13 orbits

23

A relational structure A is oligomorphic if for every n, is orbit-finite, i.e. splits into finitely many orbits.

A

n

As a consequence, FO definable sets are orbit-finite.

slide-82
SLIDE 82

24

Homogeneous structures

slide-83
SLIDE 83

A relational structure A is homogeneous if

24

Homogeneous structures

slide-84
SLIDE 84

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure.

24

Homogeneous structures

slide-85
SLIDE 85

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure. Example: (Q, ≤)

24

Homogeneous structures

slide-86
SLIDE 86

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure. Example: (Q, ≤)

24

Homogeneous structures

slide-87
SLIDE 87

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure. Example: (Q, ≤)

24

Homogeneous structures

slide-88
SLIDE 88

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure. Example: (Q, ≤)

24

Homogeneous structures

slide-89
SLIDE 89

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure. Example: (Q, ≤)

24

Homogeneous structures

slide-90
SLIDE 90

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure. Example: (Q, ≤)

24

Homogeneous structures

slide-91
SLIDE 91

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure. Example: (Q, ≤)

24

Homogeneous structures

slide-92
SLIDE 92

A relational structure A is homogeneous if every isomorphism of finite induced substructures of A extends to an automorphism of the whole structure. Example: (Q, ≤)

24

Homogeneous structures

Theorem: [Freisse 1953] A homogeneous structure is uniquely determined by its finite induced substructures (age).

slide-93
SLIDE 93

25

Homogeneous structures

slide-94
SLIDE 94

25

Homogeneous structures

equality atoms (A, =) total order atoms (Q, <) dense-time atoms (Q, <, +1) Z

slide-95
SLIDE 95

25

Homogeneous structures

equality atoms (A, =) total order atoms (Q, <) dense-time atoms (Q, <, +1) Z

slide-96
SLIDE 96

25

Homogeneous structures

equality atoms (A, =) total order atoms (Q, <) dense-time atoms (Q, <, +1) discrete-time atoms (Z, <, +1)

slide-97
SLIDE 97

25

Homogeneous structures

equality atoms (A, =) total order atoms (Q, <) dense-time atoms (Q, <, +1) discrete-time atoms (Z, <, +1) equivalence atoms universal (random) graph universal partial order universal directed graph universal tournament ...

slide-98
SLIDE 98

Homogeneous is oligomorphic

Theorem: Every homogeneous relational structure is oligomorphic

26

slide-99
SLIDE 99

Homogeneous is oligomorphic

Theorem: Every homogeneous relational structure is oligomorphic

26

Proof:

slide-100
SLIDE 100

Homogeneous is oligomorphic

Theorem: Every homogeneous relational structure is oligomorphic

26

Proof: Theorem: Homogeneous = oligomorphic + quantifier elimination

slide-101
SLIDE 101

Homogeneous is oligomorphic

Theorem: Every homogeneous relational structure is oligomorphic

26

Proof: Theorem: Homogeneous = oligomorphic + quantifier elimination Corollary: When A is a homogeneous structure, FO definable = quantifier-free definable

slide-102
SLIDE 102

Outline

  • Re-interpreting models of computation in FO definable sets
  • FO definable PDA
  • Well-behaved case: oligomorphic and homogeneous atoms
  • Reachability in FO definable PDA over oligomorphic atoms
  • Ill-behaved case: time atoms

27

slide-103
SLIDE 103

28

Assumptions and simplifications

slide-104
SLIDE 104

28

From now on assume that

  • FO satisfiability in A is decidable
  • A is oligomorphic

Assumptions and simplifications

slide-105
SLIDE 105

28

From now on assume that

  • FO satisfiability in A is decidable
  • A is oligomorphic

Ignore input alphabet: ρ(q, s, q’, s’s’’) iff ∃a ρ(q, s, a, q’, s’s’’) ∨ (q, s, ε, q’, s’s’’)

Assumptions and simplifications

slide-106
SLIDE 106

28

From now on assume that

  • FO satisfiability in A is decidable
  • A is oligomorphic

Ignore input alphabet: ρ(q, s, q’, s’s’’) iff ∃a ρ(q, s, a, q’, s’s’’) ∨ (q, s, ε, q’, s’s’’)

  • Wlog. assume that transitions of PDA partition into:

push ⊆ Q × S × Q × S² and pop ⊆ Q × S × Q

Assumptions and simplifications

slide-107
SLIDE 107

29

Oligomorphic atoms: decidability

Theorem: Reachability problem for FO definable PDA is decidable

slide-108
SLIDE 108

29

Oligomorphic atoms: decidability

  • FO definable PDA B, with states Q and stack alphabet S

Theorem: Reachability problem for FO definable PDA is decidable

slide-109
SLIDE 109

29

Oligomorphic atoms: decidability

  • FO definable PDA B, with states Q and stack alphabet S
  • Configurations of B: Q × S*

Theorem: Reachability problem for FO definable PDA is decidable

slide-110
SLIDE 110

29

Oligomorphic atoms: decidability

  • FO definable PDA B, with states Q and stack alphabet S
  • Configurations of B: Q × S*
  • FO-definable NFA A with states Q and input alphabet S

Theorem: Reachability problem for FO definable PDA is decidable

slide-111
SLIDE 111

29

Oligomorphic atoms: decidability

  • FO definable PDA B, with states Q and stack alphabet S
  • Configurations of B: Q × S*
  • FO-definable NFA A with states Q and input alphabet S
  • L(A) = { (q, w) : A accepts w from state q }

Theorem: Reachability problem for FO definable PDA is decidable

slide-112
SLIDE 112

29

Oligomorphic atoms: decidability

Theorem: Pre*(regular set) is regular for FO definable PDA, and may be effectively computed

  • FO definable PDA B, with states Q and stack alphabet S
  • Configurations of B: Q × S*
  • FO-definable NFA A with states Q and input alphabet S
  • L(A) = { (q, w) : A accepts w from state q }

Theorem: Reachability problem for FO definable PDA is decidable

slide-113
SLIDE 113

29

Oligomorphic atoms: decidability

Theorem: Pre*(regular set) is regular for FO definable PDA, and may be effectively computed Corollary: Configuration-to-configuration reachability of FO definable PDA is decidable

  • FO definable PDA B, with states Q and stack alphabet S
  • Configurations of B: Q × S*
  • FO-definable NFA A with states Q and input alphabet S
  • L(A) = { (q, w) : A accepts w from state q }

Theorem: Reachability problem for FO definable PDA is decidable

slide-114
SLIDE 114

No proof idea!

30

Saturate transitions δ ⊆ Q × S × Q of NFA A: δ’ := δ ∪ pop repeat δ’ := δ ∪ forced(δ’) until forced(δ’) ⊆ δ’

slide-115
SLIDE 115

No proof idea!

30

Saturate transitions δ ⊆ Q × S × Q of NFA A: δ’ := δ ∪ pop repeat δ’ := δ ∪ forced(δ’) until forced(δ’) ⊆ δ’ Outcome: δ’(p, s, q) in NFA A iff (p, s) →* (q, ε) in PDA B

slide-116
SLIDE 116

No proof idea!

30

Saturate transitions δ ⊆ Q × S × Q of NFA A: (p, s, q) ∈ forced(δ’) iff PDA B has a push transition (p, s, q₂, s₂s₁) such that (q₂, s₂, q₁), (q₁, s₁, q) ∈ δ’, for some q₁ ∈ Q δ’ := δ ∪ pop repeat δ’ := δ ∪ forced(δ’) until forced(δ’) ⊆ δ’ p q

s

q₂ q₁

s₂ s₁

Outcome: δ’(p, s, q) in NFA A iff (p, s) →* (q, ε) in PDA B

slide-117
SLIDE 117

No proof idea!

30

Saturate transitions δ ⊆ Q × S × Q of NFA A: (p, s, q) ∈ forced(δ’) iff PDA B has a push transition (p, s, q₂, s₂s₁) such that (q₂, s₂, q₁), (q₁, s₁, q) ∈ δ’, for some q₁ ∈ Q δ’ := δ ∪ pop repeat δ’ := δ ∪ forced(δ’) until forced(δ’) ⊆ δ’ p q

s

q₂ q₁

s₂ s₁

computable due to decidability of FO satisfiability

Outcome: δ’(p, s, q) in NFA A iff (p, s) →* (q, ε) in PDA B

slide-118
SLIDE 118

No proof idea!

30

Saturate transitions δ ⊆ Q × S × Q of NFA A: (p, s, q) ∈ forced(δ’) iff PDA B has a push transition (p, s, q₂, s₂s₁) such that (q₂, s₂, q₁), (q₁, s₁, q) ∈ δ’, for some q₁ ∈ Q δ’ := δ ∪ pop repeat δ’ := δ ∪ forced(δ’) until forced(δ’) ⊆ δ’ p q

s

q₂ q₁

s₂ s₁

computable due to decidability of FO satisfiability termination due to

  • ligomorphicity!

Outcome: δ’(p, s, q) in NFA A iff (p, s) →* (q, ε) in PDA B

slide-119
SLIDE 119

31

From now on assume that

  • the induced substructure problem for A is decidable
  • A is homogeneous

Given: a finite relational structure

  • ver the vocabulary of A

Question: is the structure an induced substructure of A ? (Does the structure belong to age of A ?)

Further assumptions

slide-120
SLIDE 120

32

Homogeneous atoms: complexity

Theorem: Reachability problem for FO definable PDA is EXPTIME-complete, roughly speaking

slide-121
SLIDE 121

32

Homogeneous atoms: complexity

Theorem: Reachability problem for FO definable PDA is EXPTIME-complete, roughly speaking Complexity is:

slide-122
SLIDE 122

32

Homogeneous atoms: complexity

Theorem: Reachability problem for FO definable PDA is EXPTIME-complete, roughly speaking Complexity is:

  • dependent on the complexity of the induced substructure

problem for A

slide-123
SLIDE 123

32

Homogeneous atoms: complexity

Theorem: Reachability problem for FO definable PDA is EXPTIME-complete, roughly speaking Complexity is:

  • dependent on the complexity of the induced substructure

problem for A

  • polynomial in the size of input
slide-124
SLIDE 124

32

Homogeneous atoms: complexity

Theorem: Reachability problem for FO definable PDA is EXPTIME-complete, roughly speaking Complexity is:

  • dependent on the complexity of the induced substructure

problem for A

  • polynomial in the size of input
  • exponential in the dimension of input

greatest number n of vars φ(x₁, x₂, ..., xn)

slide-125
SLIDE 125

32

Homogeneous atoms: complexity

Theorem: Reachability problem for FO definable PDA is EXPTIME-complete, roughly speaking Complexity is:

  • dependent on the complexity of the induced substructure

problem for A

  • polynomial in the size of input
  • exponential in the dimension of input

Corollary: Reachability problem for FO definable PDA is fixed-parameter tractable wrt. the dimension

greatest number n of vars φ(x₁, x₂, ..., xn)

slide-126
SLIDE 126

33

Theorem: [Murawski, Ramsay, Tzevelekos 2014] Reachability problem for pushdown register automata is EXPTIME-complete.

slide-127
SLIDE 127

33

Theorem: [Murawski, Ramsay, Tzevelekos 2014] Reachability problem for pushdown register automata is EXPTIME-complete. We generalize EXPTIME-completeness to arbitrary homogeneous atoms whose induced substructure problem is in polynomial time.

slide-128
SLIDE 128

34

Arbitrarily high complexity

Theorem: Even when A is homogeneous, the reachability problem for FO definable PDA can have arbitrary high complexity.

slide-129
SLIDE 129

35

Highlights

slide-130
SLIDE 130

35

Highlights

We proposed no new algorithm, but re-implemented an existing one!

slide-131
SLIDE 131

35

Highlights

The result applies to various structures of atoms:

  • equality atoms
  • total-order atoms
  • equivalence atoms (A, R, =), isomorphic to the wreath product

(A, =) ⊗ (A, =)

  • nested equality atoms (A, R₁, R₂, R₃, ..., =)
  • ...

but not to time atoms! We proposed no new algorithm, but re-implemented an existing one!

slide-132
SLIDE 132

35

Highlights

The result applies to various structures of atoms:

  • equality atoms
  • total-order atoms
  • equivalence atoms (A, R, =), isomorphic to the wreath product

(A, =) ⊗ (A, =)

  • nested equality atoms (A, R₁, R₂, R₃, ..., =)
  • ...

but not to time atoms! Potential application to infinite-state abstractions in analysis of recursive program. We proposed no new algorithm, but re-implemented an existing one!

slide-133
SLIDE 133

Outline

  • Re-interpreting models of computation in FO definable sets
  • FO definable PDA
  • Well-behaved case: oligomorphic and homogeneous atoms
  • Reachability in FO definable PDA over oligomorphic atoms
  • Ill-behaved case: time atoms

36

slide-134
SLIDE 134

37

Time atoms are ill-behaved

Dense-time atoms (Q, <, +1) or discrete-time atoms (Z, <, +1):

slide-135
SLIDE 135

37

Time atoms are ill-behaved

Dense-time atoms (Q, <, +1) or discrete-time atoms (Z, <, +1): Fact: A subset of Q is orbit-finite iff it has bounded span.

n

span of ( ) is max{ } - min{ }

n

t₁ ... t

n

t₁ ... t

n

t₁ ... t

slide-136
SLIDE 136

37

Time atoms are ill-behaved

Dense-time atoms (Q, <, +1) or discrete-time atoms (Z, <, +1): Fact: A subset of Q is orbit-finite iff it has bounded span.

n

Dense-time atoms are ill-behaved: span of ( ) is max{ } - min{ }

n

t₁ ... t

n

t₁ ... t

n

t₁ ... t

slide-137
SLIDE 137

37

Time atoms are ill-behaved

  • non-oligomorphic: Q² is orbit-infinite

Dense-time atoms (Q, <, +1) or discrete-time atoms (Z, <, +1): Fact: A subset of Q is orbit-finite iff it has bounded span.

n

Dense-time atoms are ill-behaved: span of ( ) is max{ } - min{ }

n

t₁ ... t

n

t₁ ... t

n

t₁ ... t

slide-138
SLIDE 138

37

Time atoms are ill-behaved

  • non-oligomorphic: Q² is orbit-infinite
  • definable sets are not necessarily orbit-finite

Dense-time atoms (Q, <, +1) or discrete-time atoms (Z, <, +1): Fact: A subset of Q is orbit-finite iff it has bounded span.

n

Dense-time atoms are ill-behaved: span of ( ) is max{ } - min{ }

n

t₁ ... t

n

t₁ ... t

n

t₁ ... t

slide-139
SLIDE 139

37

Time atoms are ill-behaved

  • non-oligomorphic: Q² is orbit-infinite
  • definable sets are not necessarily orbit-finite
  • reachability is undecidable already for FO definable NFA

Dense-time atoms (Q, <, +1) or discrete-time atoms (Z, <, +1): Fact: A subset of Q is orbit-finite iff it has bounded span.

n

Dense-time atoms are ill-behaved: span of ( ) is max{ } - min{ }

n

t₁ ... t

n

t₁ ... t

n

t₁ ... t

slide-140
SLIDE 140

Patch for time atoms?

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × Q × S*
  • I, F ⊆ Q

38

}

FO definable

slide-141
SLIDE 141

Patch for time atoms?

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × Q × S*
  • I, F ⊆ Q

38

}

FO definable

}

  • rbit-finite?
slide-142
SLIDE 142

Patch for time atoms?

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × Q × S*
  • I, F ⊆ Q

38

}

FO definable

}

  • rbit-finite?

Theorem: Reachability problem is still undecidable This works for NFA [Bojańczyk, L. 2012], but not for PDA:

slide-143
SLIDE 143

Another attempt

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × Q × S*
  • I, F ⊆ Q

39

}

FO definable

slide-144
SLIDE 144

Another attempt

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ Q × S × Q × S*
  • I, F ⊆ Q

39

}

FO definable

}

  • rbit-finite?

Too strong restriction! Span of transitions is bounded

slide-145
SLIDE 145

Right choice: orbit-finite PDA

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ (Q × S) × (Q × S*)
  • I, F ⊆ Q

40

}

FO definable

}

  • rbit-finite
slide-146
SLIDE 146

Right choice: orbit-finite PDA

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ (Q × S) × (Q × S*)
  • I, F ⊆ Q

40

}

FO definable

}

  • rbit-finite

}

  • rbit-finite

}

  • rbit-finite
slide-147
SLIDE 147

Right choice: orbit-finite PDA

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ (Q × S) × (Q × S*)
  • I, F ⊆ Q

40

}

FO definable

}

  • rbit-finite

}

  • rbit-finite

}

  • rbit-finite

Theorem: Reachability problem is in NEXPTIME

slide-148
SLIDE 148

Right choice: orbit-finite PDA

  • alphabet A
  • states Q
  • stack alphabet S
  • ρ ⊆ (Q × S) × (Q × S*)
  • I, F ⊆ Q

40

}

FO definable

}

  • rbit-finite

}

  • rbit-finite

}

  • rbit-finite

Theorem: Reachability problem is in NEXPTIME Proof idea: Reduction to equations over sets of integers.

slide-149
SLIDE 149

PDA

  • rbit-finite PDA

CFG PDA with timeless stack dense-timed PDA with uninitialized clocks

41

Expressiveness

[Abdulla, Atig, Stenman 2012]

slide-150
SLIDE 150

PDA

  • rbit-finite PDA

CFG PDA with timeless stack dense-timed PDA with uninitialized clocks

EXPTIME-c. in NEXPTIME undecidable EXPTIME-c.

42

Complexity of reachability

[Abdulla, Atig, Stenman 2012]

slide-151
SLIDE 151

43

thank you!

visit our blog