limit deterministic b chi automata for probabilistic
play

Limit-Deterministic Bchi Automata for Probabilistic Model Checking - PowerPoint PPT Presentation

Limit-Deterministic Bchi Automata for Probabilistic Model Checking Javier Esparza Jan K etnsk Stefan Jaax Salomon Sickert Technische Universitt Mnchen PROBABILISTIC MODEL CHECKING Markov Decision Process (MDP) . At each


  1. Limit-Deterministic Büchi Automata for Probabilistic Model Checking Javier Esparza Jan K ř etínský Stefan Jaax Salomon Sickert Technische Universität München

  2. PROBABILISTIC MODEL CHECKING • Markov Decision Process (MDP) . At each state, a scheduler chooses a probability distribution, and then the next state is chosen stochastically according to the distribution. Fixed scheduler: MDP → Markov chain • Qualitative Model Checking: • Input: MDP, LTL formula • Does the formula hold for all schedulers with probability 1? • Quantitative Model Checking: • Input: MDP, LTL formula, threshold c • Does the formula hold for all schedulers with probability at least c?

  3. LIMIT-DETERMINISTIC BÜCHI AUTOMATA Initial Accepting Component Component “Jumps” (possibly) deterministic non-deterministic

  4. QUALITATIVE PROB. MODEL CHECKING MDP LTL • Non-optimal: double exponential Nondet. Büchi • Other algorithms with single Vardi [85] exponential complexity Courcoubetis, and Yannakakis [88,95] Product Limit-det. Büchi Vardi [85] Courcoubetis,and Yannakakis [88,95] Prob=1? Yes/No

  5. QUANTITATIVE PROB. MODEL CHECKING MDP LTL Nondet. Büchi Asymp. optimal: double exponential Safra [89] • In practice large automata Product Det. Rabin • Hard to implement efficiently • Rise of “safraless” approaches: • Acacia, ltl3dra, Rabinizer, … P ≥ 0,7? Yes/No

  6. QUANTITATIVE PROB. MODEL CHECKING MDP LTL • Optimal: 2 2O(n) • Simpler construction Our • Smaller automata Construction • Same MC algorithm as for det. automata Product Limit-det. Büchi P ≥ 0.7? Yes/No

  7. LIMIT-DETERMINISM In our construction: Initial Accepting Component Component “Jumps” non-deterministic deterministic deterministic Every runs „uses“ nondeterminism at most once

  8. PRELIMINARIES • Linear Temporal Logic in Negation Normal Form Only liveness operator. • Monotonicity of NNF: if � satisfies � � � satisfies all the subformulas of � satisfied by � , and perhaps more then � � satisfies �

  9. FIRST STEP: A DETERMINISTIC „TRACKING“ AUTOMATON �, � The automaton „tracks“ the • property that must hold now for ��� the original property to hold at the beginning �, � � Formulas with �, �, � : ✔ • � �� ff Formulas with � : not good • � � � enough. � �� ∧ �� ∧ tt �� ��� �� �

  10. -SUBFORMULAS Fix a formula and a word • Let be a -subformula of . �ρ … �ρ �ρ �ρ �ρ �� … �� �� �� �� �� �� … a c c c b b a b � Informally: while reading the word , the set of • -subformulas that hold cannot decrease, and eventually stabilizes to a set

  11. SECOND STEP: JUMPING We modify the tracking automaton so that at any moment it • can nondeterministically jump to an accepting component. From each state we add a jump for every set of • -subformulas of . „Meaning“ of a -jump at state : The automaton „guesses“ • that the rest of the word satisfies (every formula of ), and 1. 2. even if no other -subformula of ever becomes true. After the jump, the task of the accepting component is to • „check that the guess is correct“, i.e., accept iff the guess is correct.

  12. SECOND STEP: JUMPING „Meaning“ of the -jump at state : The automaton • „guesses“ that the rest of the run satisfies (every formula of ), and 1. 2. even if no other � -subformula of � ever becomes true. iff the automaton can make a right guess. • � � Right guess before suffix • (tracking!) for some suffix • jump before with satisfies 1. and 2.

  13. A DBA THAT CHECKS 1. & 2. Since DBA are closed under intersection, it • suffices to construct two DBAs for 1. and 2.

  14. CHECKING 2. „ holds even if no other -subformula of • ever becomes true” Reduces to checking the -free formula • \ tt , Example: • reduces to checking Since the formula is -free, use the tracking automaton. •

  15. CHECKING 1. „ holds even if no other -subformula of ever • becomes true” Reduces to checking a formula where is -free. • Example: • reduces to checking

  16. Guess �� ∨ ��� �� �, � � ε ? X � � tt ff ��� ∨ ��� ∧ Tracking automaton Automaton ��� ∨ ��� for �� for ��� ∨ ��� We use the well-known breakpoint construction. •

  17. A DBA FOR ��� ∨ ��� b c a b � ∨ �� tt tt tt tt � ∨ �� �� �� tt � ∨ �� tt tt � ∨ �� tt • Put new goals on hold while tracking current goal � ∨ �� • Accept if infinitely often the current goal is proven • “Breakpoint Construction”

  18. DBA FOR

  19. COMPLETE LDBS FOR 1.Tracking DBA for � (abbr. � ≔ � ∨ ��� 2. For every set � add a � -jump to the product of the automata checking � and the � –remainder

  20. LDBA SIZE FOR A FORMULA OF LENGTH N Part Size 2 2n Initial Component 2 2n+1 G-Monitor 2 2O(n) Accepting Component 2 2O(n) Total

  21. SIZES OF AUTOMATA Rabinizer Safra LDBA (spot+ltl2dstar)

  22. MODEL CHECKING RUNTIME PNUELI-ZUCK MUTEX PROTOCOL Our Implementation PRISM symbolic, PRISM+Rabinizer IscasMC explicit, transition-based state-based symbolic, state-based explicit, transition-based #Clients

  23. CONCLUSION • We have presented a translation from LTL to LDBA that • uses formulas as states • is modular • optimisations of any module helps to reduce state space! • yields in practice small ω - automata • is usable for quantitative prob. model checking without changing the algorithm! • Website: https://www7.in.tum.de/~sickert/projects/ltl2ldba/

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend