topological, automata-theoretic and logical characterizations of … · 2016-01-07 · topological,...

43
Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation for YR-CONCUR 2010 Who? Krishnendu Chatterjee & Nathana¨ el Fijalkow From? IST Austria (Institute of Science and Technology, Austria) When? September 4th, 2010

Upload: others

Post on 12-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Topological, Automata-Theoretic andLogical Characterizations of FinitaryLanguagesPresentation for YR-CONCUR 2010

Who? Krishnendu Chatterjee & Nathanael Fijalkow

From? IST Austria (Institute of Science and Technology, Austria)

When? September 4th, 2010

Page 2: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Introduction: system specification

non-terminating (e.g web server);

discrete time;

non-deterministic.

Page 3: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Introduction: system specification

non-terminating ;

discrete time;

non-deterministic.

a finite alphabetΣ represent propositions;(e.g ”available”, ”waiting”, ”critical error”)

Page 4: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Introduction: system specification

non-terminating ;

discrete time;

non-deterministic.

a finite alphabetΣ represent propositions;

runs are infinite words:w = w0 · w1 . . . wn . . . ∈ Σω;

specification given as a languageL ⊆ Σω;

Page 5: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Introduction: system specification

non-terminating ;

discrete time;

non-deterministic.

a finite alphabetΣ represent propositions;

runs are infinite words:w = w0 · w1 . . . wn . . . ∈ Σω;

specification given as a languageL ⊆ Σω;

ω-regular language: safety + liveness;

liveness properties: ”something good happens eventually”.

Page 6: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Outline

Motivations

Characterizations

Expressions

Page 7: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Classical liveness properties

A first example, Buchi:

a given set of propositions appears infinitely often;(e.g ”job done”)

Page 8: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Classical liveness properties

A first example, Buchi:

a given set of propositions appears infinitely often;

A second example, parity:

integers are assigned to propositions, representing apriority;

along an execution, some integers appear infinitely often;

parity specifies that the least priority appearing infinitelyoften is even.

Page 9: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

A drawback of classicalω-regularspecifications

v0 v1 v2 v3 v4

v5v6v7v8v9

v10 v11 v12 v13 . . .

Page 10: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

A drawback of classicalω-regularspecifications

v0 v1 v2 v3 v4

v5v6v7v8v9

v10 v11 v12 v13 . . .

Specification: Buchi withF = {v2k | k ∈ N}.

Page 11: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

A drawback of classicalω-regularspecifications

v0 v1 v2 v3 v4

v5v6v7v8v9

v10 v11 v12 v13 . . .

Specification: Buchi withF = {v2k | k ∈ N}.

Satisfied, but the time until something good happens maygrow unbounded!

Page 12: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

A stronger formulation of liveness: finitaryliveness [AH94]

Intuitively: there exists an unknown, fixed boundb suchthat something good happens withinb transitions.

Page 13: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

A stronger formulation of liveness: finitaryliveness [AH94]

Intuitively: there exists anunknown, fixed boundb suchthat something good happens withinb transitions.

unknown: retain independence from granularity.

Page 14: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

A stronger formulation of liveness: finitaryliveness [AH94]

Intuitively: there exists an unknown, fixed boundb suchthat something good happens withinb transitions.

It can be expressed as a finitary operator on languages:

fin(L) =⋃

{M | M closed andω-regular, M ⊆ L}

Page 15: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

A stronger formulation of liveness: finitaryliveness [AH94]

Intuitively: there exists an unknown, fixed boundb suchthat something good happens withinb transitions.

It can be expressed as a finitary operator on languages:

fin(L) =⋃

{M | M closed andω-regular, M ⊆ L}

closed: involves Cantor topology;

ω-regular: involvesω-regularity;

Page 16: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

A stronger formulation of liveness: finitaryliveness [AH94]

Intuitively: there exists an unknown, fixed boundb suchthat something good happens withinb transitions.

It can be expressed as a finitary operator on languages:

fin(L) =⋃

{M | M closed andω-regular, M ⊆ L}

closed: involves Cantor topology;

ω-regular: involvesω-regularity;

restriction operator: fin(L) ⊆ L.

Page 17: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Back to the example

Finitary Buchi:F = {v2k | k ∈ N}

v0 v1 v2 v3 v4

v5v6v7v8v9

v10 v11 v12 v13 . . .

Not satisfied!

Page 18: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Outline

Motivations

Characterizations

Expressions

Page 19: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Describing classical finitary objectives:Buchi

Let F ⊆ Σ,

Buchi(F) = {w | Inf(w) ∩ F 6= ∅}

Inf(w) is the set of propositions that appear infinitely oftenin w.

Page 20: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Describing classical finitary objectives:Buchi

Let F ⊆ Σ,

Buchi(F) = {w | Inf(w) ∩ F 6= ∅}

We define:

nextk(w, F) = inf{k′ − k | k′ ≥ k, wk′ ∈ F}

Page 21: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Describing classical finitary objectives:BuchiLet F ⊆ Σ,

Buchi(F) = {w | Inf(w) ∩ F 6= ∅}

We define:

nextk(w, F) = inf{k′ − k | k′ ≥ k, wk′ ∈ F}

w = v0 . . . vk vk+1 . . . vk′−1︸ ︷︷ ︸

/∈F

vk′︸︷︷︸

∈F

Page 22: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Describing classical finitary objectives:Buchi

Let F ⊆ Σ,

Buchi(F) = {w | Inf(w) ∩ F 6= ∅}

We define:

nextk(w, F) = inf{k′ − k | k′ ≥ k, wk′ ∈ F}

Lemma

fin(Buchi(F)) = {w | lim supk nextk(w, F) < ∞}

Page 23: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Describing classical finitary objectives:Buchi

Let F ⊆ Σ,

Buchi(F) = {w | Inf(w) ∩ F 6= ∅}

We define:

nextk(w, F) = inf{k′ − k | k′ ≥ k, wk′ ∈ F}

Lemma

fin(Buchi(F)) ={w | ∃B ∈ N,∃n ∈ N,∀k ≥ n, nextk(w, F) ≤ B}

Page 24: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Describing classical finitary objectives:parity

Let p : Σ → N a priority function,

Parity(p) = {w | min(p(Inf(w))) is even}

Page 25: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Describing classical finitary objectives:parity

Let p : Σ → N a priority function,

Parity(p) = {w | min(p(Inf(w))) is even}

We define:

distk(w, p) = inf{k′ − k |k′ ≥ k, p(wk′) even andp(wk′) ≤ p(wk)}

Page 26: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Describing classical finitary objectives:parity

Let p : Σ → N a priority function,

Parity(p) = {w | min(p(Inf(w))) is even}

We define:

distk(w, p) = inf{k′ − k |k′ ≥ k, p(wk′) even andp(wk′) ≤ p(wk)}

Lemmafin(Parity(p)) = {w | lim sup

kdistk(w, p) < ∞}

Page 27: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Topological characterization

Theorem Buchi(F) is Π2-complete.Parity lies in the boolean closure ofΣ2 andΠ2.

Page 28: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Topological characterization

Theorem Buchi(F) is Π2-complete.Parity lies in the boolean closure ofΣ2 andΠ2.

Theorem1 For all p : Σ → N, we havefin(Parity(p)) ∈ Σ2.

2 For all ∅ ⊂ F ⊂ Σ, we have thatfin(Buchi(F)) isΣ2-complete.

3 There exists p: Σ → N such thatfin(Parity(p)) isΣ2-complete.

Page 29: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Automata-theoretic characterization

We consider automata on infinite words, whose acceptanceconditions are finitary Buchi and finitary parity.

Page 30: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Automata-theoretic characterization

We consider automata on infinite words, whose acceptanceconditions are finitary Buchi and finitary parity.

{DN

}

·

F(finitary)

}

·

{B(Buchi)P(parity)

}

Page 31: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

DFB

DB

DFP

NFB = NFP

NB

Page 32: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Outline

Motivations

Characterizations

Expressions

Page 33: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

ω-regular expressions

Regular expressions defines regular languages over finitewords:

L := ∅ | ε | σ | L · L | L∗ | L + L; σ ∈ Σ

ω-regular languages are finite union ofL · L′ω, whereL andL′ are regular languages of finite words.

Page 34: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

The bound operatorB [BC06]

Lω = {u0 · u1 · . . . · uk . . . | u0, u1, . . . , uk, . . . ∈ L}

Page 35: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

The bound operatorB [BC06]

Lω = {u0 · u1 · . . . · uk . . . | u0, u1, . . . , uk, . . . ∈ L}

LB = {u0 · u1 · . . . · uk . . . |u0, u1, . . . , uk, . . . ∈ Land(|un|)n∈N is bounded

}

Page 36: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

The bound operatorB [BC06]

Lω = {u0 · u1 · . . . · uk . . . | u0, u1, . . . , uk, . . . ∈ L}

LB = {u0 · u1 · . . . · uk . . . |u0, u1, . . . , uk, . . . ∈ Land(|un|)n∈N is bounded

}

(complete definitions require the use of infinite sequencesof finite words)

Page 37: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Star-freeωB-regular expressions

Star-freeωB-regular languages are finite union ofL · Mω,where

L is a regular language over finite words;

M is a star-freeB-regular language over infinite words.

Page 38: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Star-freeωB-regular expressions

Star-freeωB-regular languages are finite union ofL · Mω,where

L is a regular language over finite words;

M is a star-freeB-regular language over infinite words.

Star-freeB-regular languages are described by thegrammar:

M := ∅ | ε | σ | M · M | MB | M + M; σ ∈ Σ

Page 39: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Star-freeωB-regular expressions

Star-freeωB-regular languages are finite union ofL · Mω,where

L is a regular language over finite words;

M is a star-freeB-regular language over infinite words.

Star-freeB-regular languages are described by thegrammar:

M := ∅ | ε | σ | M · M | MB | M + M; σ ∈ Σ

Theorem NFP (non-deterministic finitary parity) has exactly thesame expressive power as star-freeωB-regularexpressions.

Page 40: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Conclusion

finitary objectives is a refinment for specification purposes;

for ω-regular languages, topological, logical andautomata-theoretic characterizations were known;for finitary languages, all were missing; we established:

topological characterization;automata-theoretic characterization, comparison toω-regularlanguages, closure properties;logical characterization using byωB-regular expressions.

Page 41: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Conclusion

finitary objectives is a refinment for specification purposes;

for ω-regular languages, topological, logical andautomata-theoretic characterizations were known;for finitary languages, all were missing; we established:

topological characterization;automata-theoretic characterization, comparison toω-regularlanguages, closure properties;logical characterization using byωB-regular expressions.

Future work:

algorithmic issues: equivalence withωB-regularexpressions, emptiness problem of finitary automata;

a tool for finitary objectives...

Page 42: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

Bibliography

R. Alur and T.A. Henzinger.Finitary fairness.In LICS’94, pages 52–61. IEEE, 1994.

Mikolaj Bojanczyk and Thomas Colcombet.Bounds inω-regularity.In LICS’06, pages 285–296. IEEE, 2006.

Page 43: Topological, Automata-Theoretic and Logical Characterizations of … · 2016-01-07 · Topological, Automata-Theoretic and Logical Characterizations of Finitary Languages Presentation

The end

Thank you for your attention!