Decidable Nicolas Mazzocchi Jean-Fran cois Raskin Weighted - - PowerPoint PPT Presentation

decidable
SMART_READER_LITE
LIVE PREVIEW

Decidable Nicolas Mazzocchi Jean-Fran cois Raskin Weighted - - PowerPoint PPT Presentation

Emmanuel Filiot Decidable Nicolas Mazzocchi Jean-Fran cois Raskin Weighted Expressions with Presburger Universit e libre de Bruxelles Combinators FCT 2017 - Bordeaux Boolean vs Quantitative Languages L : ! { 0 , 1 }


slide-1
SLIDE 1

Decidable Weighted Expressions with Presburger Combinators

Emmanuel Filiot Nicolas Mazzocchi Jean-Fran¸ cois Raskin

Universit´ e libre de Bruxelles FCT 2017 - Bordeaux

slide-2
SLIDE 2

Boolean vs Quantitative Languages

L : Σ⇤ ! {0, 1}

Classical decision problems

Emptiness 9u.f (u) 1 Universality 8u.f (u) 1 Inclusion 8u.f (u) g(u) Equivalence 8u.f (u) = g(u)

slide-3
SLIDE 3

Boolean vs Quantitative Languages

L : Σ⇤ !

  • {0, 1} Z [ {1}

Classical quantitative decision problems

Emptiness 9u.f (u) 1 ν for some threshold ν Universality 8u.f (u) 1 ν for some threshold ν Inclusion 8u.f (u) g(u) Equivalence 8u.f (u) = g(u)

slide-4
SLIDE 4

Classical Model: Weighted Automata

(max,+) WA

Transition sequence

a | x b | y a · b | x + y

Non-determinism

u | x u | y u | max{x, y}

slide-5
SLIDE 5

Classical Model: Weighted Automata

(max,+) WA

Transition sequence

a | x b | y a · b | x + y

Non-determinism

u | x u | y u | max{x, y}

Undecidability [Krob 1994]

Quantitative language-inclusion is undecidable for (max,+) WA Even for linearly ambiguous automata [Colcombet 2010]

slide-6
SLIDE 6

Decidable Formalisms: Restriction

Finitely ambiguous (max,+) WA [Filiot et al. 2012]

Define functions of the form, u 7! max{A1(u), . . . , Ak(u)} Ai : Unambiguous WA

, Quantitative decision problems are Decidable , Closed under max and sum / Limited expressive power (min, minus, . . . )

slide-7
SLIDE 7

Decidable Formalisms: New model

Mean-payoff expressions [Chatterjee et al. 2010]

E ::= A | max(E, E) | min(E, E) | E + E | E A : Deterministic WA

, Quantitative decision problems are PSpace-Complete [Velner 2012] , Closed under max, min, sum and minus / Determinism (define Lipschitz continuous functions) / Does not contain all finitely ambiguous (max,+) WA / Monolithism (apply on the whole word)

slide-8
SLIDE 8

Contributions

1 Simple expressions

E ::= A | φ(E, E) A : Unambiguous WA φ : 9FO[, +, 0, 1] formula defining function with arity two

Example

A a 1 b B a b 1

E = max(A B, B A) u 7! |A(u) B(u)|

slide-9
SLIDE 9

Contributions

1 Simple expressions

E ::= A | φ(E, E) A : Unambiguous WA φ : 9FO[, +, 0, 1] formula defining function with arity two

, Quantitative decision problems are PSpace-Complete , Closed under Presburger definable functions , Contain all finitely ambiguous (max,+) WA / Monolithism (apply on the whole word)

slide-10
SLIDE 10

Contributions

2 Iterable expressions

E ::= A | φ(E, E) | E ~ Sum arbitrarily many factors Unique decomposition required u u1 un E ~(u) E(u1) + · · · + E(un)

Examples

E ~ u1 u2 . . . un 7! Pn

i=1 E(ui)

φ(E ~, F ~) u 7! φ nPn

i=1 E(ui) , Pm j=1 F(vi)

slide-11
SLIDE 11

Results

Theorem (Iterable Expressions)

Quantitative decision problems are Undecidable u E ~(u) E + E F ~(u) F + F + F

slide-12
SLIDE 12

Results

Theorem (Iterable Expressions)

Quantitative decision problems are Undecidable

Theorem (Synchronised Iterable Expressions)

Quantitative decision problems are Decidable u E ~(u) E + E + E + E F ~(u) F + F + F + F

slide-13
SLIDE 13

Results

Theorem (Iterable Expressions)

Quantitative decision problems are Undecidable

Theorem (Synchronised Iterable Expressions)

Quantitative decision problems are Decidable Synchronisation property is PTime

~ ~ ~

slide-14
SLIDE 14

Weighted Chop Automata

C ? | ? ? | ?

New model

Generalise unambiguous WA Recursive definition

slide-15
SLIDE 15

Weighted Chop Automata

C {a, b}⇤ | ? {a, b}⇤ | ? Regular language

New model

Generalise unambiguous WA Recursive definition

slide-16
SLIDE 16

Weighted Chop Automata

C {a, b}⇤ | φ(C1, C2) {a, b}⇤ | C0 Presburger formula use sub-WCA Regular language

New model

Generalise unambiguous WA Recursive definition

slide-17
SLIDE 17

Weighted Chop Automata

C {a, b}⇤ | φ(C1, C2) {a, b}⇤ | C0 Presburger formula use sub-WCA Regular language

New model

Generalise unambiguous WA Recursive definition

Example

C(aab baa ) = φ (C1(aab ), C2(aab )) + C0(baa )

slide-18
SLIDE 18

Weighted Chop Automata

C {a, b}⇤ | φ(C1, C2) {a, b}⇤ | C0 Presburger formula use sub-WCA Regular language

New model

Generalise unambiguous WA Recursive definition

Example

C(aab baa ) = φ (C1(aab ), C2(aab )) + C0(baa )

Operators for expressiveness equivalence

E F : u1u2 7! E(u1) + F(u2) E ⇤ F : u 7! if u 2 dom(E) then E(u) else F(u)

  • [Alur 2014]
slide-19
SLIDE 19

Conclusion

Summary

Simple expressions: PSpace-Complete Sum-iterable expressions: Undecidable Synchronised sum-iterable expressions: Decidable

Perspective

Iterate other operations (max, Presburger definable functions, . . . )

Thanks!

slide-20
SLIDE 20

Conclusion

Summary

Simple expressions: PSpace-Complete Sum-iterable expressions: Undecidable Synchronised sum-iterable expressions: Decidable

Perspective

Iterate other operations (max, Presburger definable functions, . . . ) r r r r g r r r r r r r g . . . r r r r r g 4 7 rng 7! n 5 iterate max

Thanks!