Presentation is loading. Please wait.

Presentation is loading. Please wait.

Expressiveness and Closure Properties for Quantitative Languages Krishnendu Chatterjee, IST Austria Laurent Doyen, ULB Belgium Tom Henzinger, EPFL Switzerland.

Similar presentations


Presentation on theme: "Expressiveness and Closure Properties for Quantitative Languages Krishnendu Chatterjee, IST Austria Laurent Doyen, ULB Belgium Tom Henzinger, EPFL Switzerland."— Presentation transcript:

1 Expressiveness and Closure Properties for Quantitative Languages Krishnendu Chatterjee, IST Austria Laurent Doyen, ULB Belgium Tom Henzinger, EPFL Switzerland LICS 2009

2 Model-Checking Property/ Specification Yes / No Satisfaction Relation Program/ System -perhaps a proof -perhaps some counterexamples

3 Model-Checking Property/ Specification Yes/No Trace inclusion Program/ System Formula Every request is followed by a grant Finite automaton

4 Model-Checking Property/ Specification Yes/No Trace inclusion Program/ System Finite automaton Model-checking is boolean Formula Every request is followed by a grant - a trace is either good or bad

5 Quantitative Analysis Property/ Specification Value (R) Quantitative Analysis Program/ System Finite automaton Formula Every request is followed by a grant -Measure of “fit” between system and spec -e.g. average number of requests immediately granted

6 Distance (R) Quantitative Analysis Program/ System #1 Finite automaton - Comparing two implementations e.g. cost or quality measure Program/ System #2 Every request is followed by a grant

7 Quantitative Model-checking Is there a Quantitative Framework with - an appealing mathematical formulation, - useful expressive power, and - good algorithmic properties ? (Like the boolean theory of  -regularity.) Note: “Quantitative” is more than “timed” and “probabilistic”

8 A language is a boolean function: Quantitative languages A quantitative language is a function: L(w) can be interpreted as: the amount of some resource needed by the system to produce w (power, energy, time consumption), a reliability measure (the average number of “faults” in w).

9 Outline Weighted automata Expressive power Closure properties

10 Weighted automata Quantitative languages are generated by weighted automata. Weight function

11 Weighted automata Quantitative languages are generated by weighted automata. Weight function Value of a word w: max of {values of the runs r over w} Value of a run r: Val(r) where is a value function

12 Some value functions (reachability) (Büchi) (coBüchi) (v i  {0,1})

13 Some value functions (reachability) (Büchi) (coBüchi) (v i  {0,1})

14 Outline Weighted automata Expressive power Closure properties

15 Reducibility A class C of weighted automata can be reduced to a class C’ of weighted automata if for all A  C, there is A’  C’ such that L A = L A’.

16 Reducibility A class C of weighted automata can be reduced to a class C’ of weighted automata if for all A  C, there is A’  C’ such that L A = L A’. E.g. for boolean languages: Nondet. coBüchi can be reduced to nondet. Büchi Nondet. Büchi cannot be reduced to det. Büchi (nondet. Büchi cannot be determinized)

17 cannot be determinized. Some known facts (CSL’08) cannot be reduced to

18 Reducibility relations

19 Cut-point languages Words with value above some threshold: ω-regular for Sup, LimSup, LimInf can be non-ω-regular for LimAvg and Discounted

20 Cut-point languages LimAvg: «average number of a’s = 1» is not ω-regular A deterministic automaton for would accept (a n b) ω for some n

21 Cut-point languages Disc: «disc. sum of a’s ≥ 1» is not ω-regular ambiguous word 1 p1p1 p2p2

22 Cut-point languages Disc: «disc. sum of a’s ≥ 1» is not ω-regular ambiguous word 1 From any two positions p 1 and p 2, there is a continuation accepted from p 1 but not from p 2 p1p1 p2p2

23 Cut-point Languages Cut-point languages for deterministic LimAvg-automata are studied in [Alur/Degorre/Maler/Weiss’09] Cut-point languages of LimAvg and Discounted can be non-ω-regular Cut-point languages are not robust w.r.t. transition weights.

24 Cut-point Languages isolated cut-point Isolated cut-point languages are robust Isolated cut-point languages are ω-regular (for deterministic automata)

25 Cut-point Languages Each s.c.c. defines an interval of values. Make accepting those s.c.c. with interval above LimAvg: s.c.c. decomposition

26 Either value is, then accept or value is, the reject Cut-point Languages Disc: after sufficiently long prefix, decision can be taken

27 is reducible to. Expressive power of {0,1}-automata is not reducible to.

28 is reducible to. Expressive power of {0,1}-automata Store the value A B

29 is reducible to. Expressive power of {0,1}-automata A B can take finitely many different values. Store the value

30 is reducible to. Expressive power of {0,1}-automata A B

31 is reducible to. Expressive power of {0,1}-automata A B

32 is reducible to. Expressive power of {0,1}-automata A B

33 is reducible to. Expressive power of {0,1}-automata B A

34 Therefore for is reducible to. Expressive power of {0,1}-automata AB for all

35 Outline Weighted automata Expressive power Closure properties

36 Operations Operations on quantitative languages: shift(L 1,c)(w) = L 1 (w) + c scale(L 1,c)(w) = c·L 1 (w) (c>0)

37 Operations Operations on quantitative languages: shift(L 1,c)(w) = L 1 (w) + c scale(L 1,c)(w) = c·L 1 (w) (c>0) max(L 1,L 2 )(w) = max(L 1 (w),L 2 (w)) min(L 1,L 2 )(w) = min(L 1 (w),L 2 (w)) complement(L 1 )(w) = 1-L 1 (w)

38 Operations Operations on quantitative languages: shift(L 1,c)(w) = L 1 (w) + c scale(L 1,c)(w) = c·L 1 (w) (c>0) max(L 1,L 2 )(w) = max(L 1 (w),L 2 (w)) min(L 1,L 2 )(w) = min(L 1 (w),L 2 (w)) complement(L 1 )(w) = 1-L 1 (w) sum(L 1,L 2 )(w) = L 1 (w) + L 2 (w)

39 Closure properties All classes of weighted automata are closed under shift and scale. All classes of nondeterministic weighted automata are closed under max.

40 Closure properties

41 Analogous results for boolean languages.

42 Closure properties There is no nondeterministic LimAvg automaton for the language L m = min(L a,L b ).

43 Closure properties There is no nondeterministic LimAvg automaton for the language L m = min(L a,L b ). Assume that L is definable by a LimAvg automaton C.

44 Closure properties There is no nondeterministic LimAvg automaton for the language L m = min(L a,L b ). Assume that L is definable by a LimAvg automaton C. Then, some a-cycle or b-cycle in C has average weight >0. (consider the word for large)

45 Closure properties Assume that L is definable by a LimAvg automaton C. Then, some a-cycle or b-cycle in C has average weight >0. Then, some word gets value >0… There is no nondeterministic LimAvg automaton for the language L m = min(L a,L b ).

46 Closure properties There is no nondeterministic LimAvg automaton for the language L m = min(L a,L b ). There is no nondeterministic Discounted automaton for the language L m = min(L a,L b ). Proof: analogous argument.

47 Closure properties

48 min(L 1,L 2 ) = 1-max(1-L 1,1-L 2 )

49 Closure properties By analogous arguments (analysis of cycles).

50 Conclusion Quantitative generalization of languages to model programs/systems more accurately. Expressive power: Cut-point languages; {0,1} automata. Closure properties. Outlook: other/equivalent formalisms for quantitative specification ?

51 Thank you ! Questions ? The end

52


Download ppt "Expressiveness and Closure Properties for Quantitative Languages Krishnendu Chatterjee, IST Austria Laurent Doyen, ULB Belgium Tom Henzinger, EPFL Switzerland."

Similar presentations


Ads by Google