Two-way cost automata and cost logi c s o v er infinite trees Achim - - PowerPoint PPT Presentation

two way cost automata and cost logi c s o v er infinite
SMART_READER_LITE
LIVE PREVIEW

Two-way cost automata and cost logi c s o v er infinite trees Achim - - PowerPoint PPT Presentation

Two-way cost automata and cost logi c s o v er infinite trees Achim Blumens a th 1 , T hom a s C ol c om b et 2 , D enis K uper b erg 3 , Pa wel Pa rys 3 , a nd M i c h a el Va nden B oom 4 1 TU Da rmst a dt, 2 U niversit e Pa ris D iderot, 3 U


slide-1
SLIDE 1

Two-way cost automata and cost logics

  • ver infinite trees

Achim Blumensath1, Thomas Colcombet2, Denis Kuperberg3, Pawel Parys3, and Michael Vanden Boom4

1TU Darmstadt, 2Universit´

e Paris Diderot,

3University of Warsaw, 4University of Oxford

CSL-LICS 2014 Vienna, Austria

1 / 14

slide-2
SLIDE 2

Boundedness questions

Finite power property [Simon ’78, Hashiguchi ’79] given regular language L of finite words, is there n ∈ N such that L∗ = {є} ∪ L1 ∪ L2 ∪ ⋯ ∪ Ln? Star-height problem [Hashiguchi ’88, Kirsten ’05] given regular language L of finite words and n ∈ N, is there a regular expression for L with at most n nestings of Kleene star? Fixpoint closure boundedness [Blumensath+Otto+Weyer ’09] given an MSO formula φ(x, X) positive in X, is there n ∈ N such that the least fixpoint of φ over finite words is always reached within n iterations?

2 / 14

slide-3
SLIDE 3

Boundedness questions

The theory of regular cost functions is an extension of the theory of regular languages that can be used to solve these boundedness questions in a uniform way.

3 / 14

slide-4
SLIDE 4

Boundedness questions

The theory of regular cost functions is an extension of the theory of regular languages that can be used to solve these boundedness questions in a uniform way. Boundedness problem Instance: function f ∶ D → N ∪ {∞}

(D is set of words or trees over some fixed finite alphabet A)

Question: Is there n ∈ N such that for all structures s ∈ D, f(s) ≤ n?

3 / 14

slide-5
SLIDE 5

Cost functions over finite words [Colcombet’09]

nondeterministic cost automata cost MSO BS expressions stabilization monoids Regular Cost Functions

Boundedness decidable

[Colcombet’09, Boja´ nczyk+Colcombet’06]

4 / 14

slide-6
SLIDE 6

Cost functions over finite words

Cost monadic second-order logic (CMSO) Atomic formulas: a(x) x ∈ X ∣X∣ ≤ N

  • must occur

positively

Constructors: ∧, ∨, ¬

  • Boolean

connectives

∃x

  • first-order

quantification

∃X

  • monadic

second-order quantification

5 / 14

slide-7
SLIDE 7

Cost functions over finite words

Cost monadic second-order logic (CMSO) Atomic formulas: a(x) x ∈ X ∣X∣ ≤ N

  • must occur

positively

Constructors: ∧, ∨, ¬

  • Boolean

connectives

∃x

  • first-order

quantification

∃X

  • monadic

second-order quantification

Semantics φ ∶ A∗ → N ∪ {∞} φ(u) ∶= inf {n ∶ u ⊧ φ[n/N]}

5 / 14

slide-8
SLIDE 8

Cost functions over finite words

Cost monadic second-order logic (CMSO) Atomic formulas: a(x) x ∈ X ∣X∣ ≤ N

  • must occur

positively

Constructors: ∧, ∨, ¬

  • Boolean

connectives

∃x

  • first-order

quantification

∃X

  • monadic

second-order quantification

Semantics φ ∶ A∗ → N ∪ {∞} φ(u) ∶= inf {n ∶ u ⊧ φ[n/N]} Example If φ is in MSO, then φ(u) ∶= {0 if u ⊧ φ ∞

  • therwise

5 / 14

slide-9
SLIDE 9

Cost functions over finite words

Cost monadic second-order logic (CMSO) Atomic formulas: a(x) x ∈ X ∣X∣ ≤ N

  • must occur

positively

Constructors: ∧, ∨, ¬

  • Boolean

connectives

∃x

  • first-order

quantification

∃X

  • monadic

second-order quantification

Semantics φ ∶ A∗ → N ∪ {∞} φ(u) ∶= inf {n ∶ u ⊧ φ[n/N]} Example Maximum length of a block of a’s φ ∶= ∀X ((block(X) ∧ ∀x(x ∈ X → a(x)) → ∣X∣ ≤ N)

5 / 14

slide-10
SLIDE 10

Cost functions over finite words [Colcombet’09]

nondeterministic cost automata cost MSO BS expressions stabilization monoids Regular Cost Functions

Boundedness decidable

[Colcombet’09, Boja´ nczyk+Colcombet’06]

6 / 14

slide-11
SLIDE 11

Cost functions over finite words [Colcombet’09]

nondeterministic cost automata cost MSO BS expressions stabilization monoids Regular Cost Functions

Boundedness decidable

[Colcombet’09, Boja´ nczyk+Colcombet’06]

language universality, inclusion, and emptiness decidable

6 / 14

slide-12
SLIDE 12

Cost functions over finite words [Colcombet’09]

nondeterministic cost automata cost MSO BS expressions stabilization monoids Regular Cost Functions

Boundedness decidable

[Colcombet’09, Boja´ nczyk+Colcombet’06]

language universality, inclusion, and emptiness decidable finite power property, star height problem, fixpoint closure boundedness, ... decidable

6 / 14

slide-13
SLIDE 13

Theory of regular cost functions

The theory of regular cost functions is a robust decidable extension of the theory of regular languages over:

✓ finite words [Colcombet ’09, Bojanczyk+Colcombet ’06] ✓ infinite words [Kuperberg+VB’12, Colcombet unpublished] ✓ finite trees [Colcombet+L¨

  • ding ’10]

7 / 14

slide-14
SLIDE 14

Theory of regular cost functions

The theory of regular cost functions is a robust decidable extension of the theory of regular languages over:

✓ finite words [Colcombet ’09, Bojanczyk+Colcombet ’06] ✓ infinite words [Kuperberg+VB’12, Colcombet unpublished] ✓ finite trees [Colcombet+L¨

  • ding ’10]

? infinite trees

7 / 14

slide-15
SLIDE 15

Motivating open problem

Mostowski index problem Instance: regular language L of infinite trees, and set {i, i + 1, . . . , j} Question: Is there a nondeterministic parity automaton A using only priorities {i, i + 1, . . . , j} such that L = L(A)?

8 / 14

slide-16
SLIDE 16

Motivating open problem

Mostowski index problem Instance: regular language L of infinite trees, and set {i, i + 1, . . . , j} Question: Is there a nondeterministic parity automaton A using only priorities {i, i + 1, . . . , j} such that L = L(A)? Reduced to deciding boundedness for certain cost functions over infinite trees [Colcombet+L¨

  • ding ’08]

8 / 14

slide-17
SLIDE 17

Cost functions over infinite trees

Regular Cost Functions

alternating cost-parity automata weak cost automata WCMSO

QW Cost Functions

quasi-weak cost automata

special case

  • f Mostowski

index problem

Boundedness decidable

[Kuperberg+VB’11]

9 / 14

slide-18
SLIDE 18

Cost functions over infinite trees

Regular Cost Functions

alternating cost-parity automata weak cost automata WCMSO

QW Cost Functions

quasi-weak cost automata QWCMSO

special case

  • f Mostowski

index problem

Boundedness decidable

[Kuperberg+VB’11]

9 / 14

slide-19
SLIDE 19

Cost functions over infinite trees

Regular Cost Functions

alternating 2-way/1-way cost-parity automata weak cost automata WCMSO

QW Cost Functions

2-way/1-way qw cost automata QWCMSO

special case

  • f Mostowski

index problem

Boundedness decidable

[Kuperberg+VB’11]

9 / 14

slide-20
SLIDE 20

Cost parity automata on infinite trees

A = ⟨A, Q, q0, δ, Ω⟩

δ describes possible moves for Eve and Adam, and associated counter actions (increment, reset, leave unchanged) Ω ∶ Q → P for a finite set of priorities P

n-acceptance game A × t

▶ Positions in the game are Q × dom(t). ▶ Eve and Adam select the next position in the play based on δ. ▶ Eve is trying to ensure the play has counter value at most n and the

maximum priority occurring infinitely often in the play is even. Semantics A(t) ∶= inf {n ∶ Eve wins the n-acceptance game A × t}

10 / 14

slide-21
SLIDE 21

Weak cost automata and logic over infinite trees

Weak cost automaton alternating cost-parity automaton such that no cycle visits both even and odd priorities 1 2

11 / 14

slide-22
SLIDE 22

Weak cost automata and logic over infinite trees

Weak cost automaton alternating cost-parity automaton such that no cycle visits both even and odd priorities 1 2 Weak cost monadic second-order logic (WCMSO) Syntax like CMSO, but interpret second-order quantification over finite sets

11 / 14

slide-23
SLIDE 23

Weak cost automata and logic over infinite trees

Weak cost automaton alternating cost-parity automaton such that no cycle visits both even and odd priorities 1 2 Weak cost monadic second-order logic (WCMSO) Syntax like CMSO, but interpret second-order quantification over finite sets

11 / 14

slide-24
SLIDE 24

Quasi-weak cost automata and logic over infinite trees

Quasi-weak cost automaton alternating cost-parity automaton such that in any cycle with both even and odd priorities, there is a counter which is incremented but not reset 1 2 I

12 / 14

slide-25
SLIDE 25

Quasi-weak cost automata and logic over infinite trees

Quasi-weak cost automaton alternating cost-parity automaton such that in any cycle with both even and odd priorities, there is a counter which is incremented but not reset 1 2 I Quasi-weak cost monadic second-order logic (QWCMSO) Add bounded expansion operator to WCMSO: z ∈ µNY. {x ∶ φ(x, Y)} where Y occurs positively in φ(x, Y), and this operator occurs positively in the enclosing formula.

12 / 14

slide-26
SLIDE 26

Quasi-weak cost automata and logic over infinite trees

Quasi-weak cost automaton alternating cost-parity automaton such that in any cycle with both even and odd priorities, there is a counter which is incremented but not reset 1 2 I Quasi-weak cost monadic second-order logic (QWCMSO) Add bounded expansion operator to WCMSO: z ∈ µNY. {x ∶ φ(x, Y)} where Y occurs positively in φ(x, Y), and this operator occurs positively in the enclosing formula. Example Maximal size of block of a’s on a branch starting at the root: ∃w[root(w) ∧ w ∈ µNX.{x ∶ ∃yz[b(x, y, z) ∨ (a(x, y, z) ∧ y ∈ X ∧ z ∈ X)]}]

12 / 14

slide-27
SLIDE 27

Bounded expansion operator and 2-way automata

Game for testing z ∈ µNY.{x ∶ φ(x, Y)} for n ∈ N. Initial position x ∶= z. Game from position x:

▶ Eve chooses set Y such that

φ(x, Y) holds (if it is not possible, she loses).

▶ Adam chooses some new y ∈ Y

(if it is not possible, he loses).

▶ Game continues in next round

with x ∶= y If the game exceeds n rounds, Adam wins.

13 / 14

slide-28
SLIDE 28

Bounded expansion operator and 2-way automata

Game for testing z ∈ µNY.{x ∶ φ(x, Y)} for n ∈ N. Initial position x ∶= z. Game from position x:

▶ Eve chooses set Y such that

φ(x, Y) holds (if it is not possible, she loses).

▶ Adam chooses some new y ∈ Y

(if it is not possible, he loses).

▶ Game continues in next round

with x ∶= y If the game exceeds n rounds, Adam wins.

13 / 14

slide-29
SLIDE 29

Bounded expansion operator and 2-way automata

Game for testing z ∈ µNY.{x ∶ φ(x, Y)} for n ∈ N. Initial position x ∶= z. Game from position x:

▶ Eve chooses set Y such that

φ(x, Y) holds (if it is not possible, she loses).

▶ Adam chooses some new y ∈ Y

(if it is not possible, he loses).

▶ Game continues in next round

with x ∶= y If the game exceeds n rounds, Adam wins.

13 / 14

slide-30
SLIDE 30

Bounded expansion operator and 2-way automata

Game for testing z ∈ µNY.{x ∶ φ(x, Y)} for n ∈ N. Initial position x ∶= z. Game from position x:

▶ Eve chooses set Y such that

φ(x, Y) holds (if it is not possible, she loses).

▶ Adam chooses some new y ∈ Y

(if it is not possible, he loses).

▶ Game continues in next round

with x ∶= y If the game exceeds n rounds, Adam wins.

13 / 14

slide-31
SLIDE 31

Bounded expansion operator and 2-way automata

Game for testing z ∈ µNY.{x ∶ φ(x, Y)} for n ∈ N. Initial position x ∶= z. Game from position x:

▶ Eve chooses set Y such that

φ(x, Y) holds (if it is not possible, she loses).

▶ Adam chooses some new y ∈ Y

(if it is not possible, he loses).

▶ Game continues in next round

with x ∶= y If the game exceeds n rounds, Adam wins.

13 / 14

slide-32
SLIDE 32

Bounded expansion operator and 2-way automata

Game for testing z ∈ µNY.{x ∶ φ(x, Y)} for n ∈ N. Initial position x ∶= z. Game from position x:

▶ Eve chooses set Y such that

φ(x, Y) holds (if it is not possible, she loses).

▶ Adam chooses some new y ∈ Y

(if it is not possible, he loses).

▶ Game continues in next round

with x ∶= y If the game exceeds n rounds, Adam wins.

13 / 14

slide-33
SLIDE 33

Summary

Regular Cost Functions

alternating 2-way/1-way cost-parity automata cost µ-calculus weak cost automata WCMSO

QW Cost Functions

2-way/1-way qw cost automata alternation-free cost µ-calculus QWCMSO Boundedness decidable

14 / 14