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

limit deterministic b chi automata for probabilistic
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Limit-Deterministic Büchi Automata for Probabilistic Model Checking

Technische Universität München

Javier Esparza Jan Křetínský Salomon Sickert Stefan Jaax

slide-2
SLIDE 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?
slide-3
SLIDE 3

LIMIT-DETERMINISTIC BÜCHI AUTOMATA

Initial Component Accepting Component

(possibly) non-deterministic deterministic

“Jumps”

slide-4
SLIDE 4

QUALITATIVE

  • PROB. MODEL CHECKING

MDP Limit-det. Büchi LTL

  • Nondet. Büchi

Product Prob=1? Yes/No

Vardi [85] Courcoubetis,and Yannakakis [88,95] Vardi [85] Courcoubetis, and Yannakakis [88,95]

  • Non-optimal: double exponential
  • Other algorithms with single

exponential complexity

slide-5
SLIDE 5

Safra [89]

MDP

  • Det. Rabin

LTL

  • Nondet. Büchi

Product P≥0,7? Yes/No

QUANTITATIVE

  • PROB. MODEL CHECKING
  • In practice large automata
  • Hard to implement efficiently
  • Rise of “safraless” approaches:
  • Acacia, ltl3dra, Rabinizer, …
  • Asymp. optimal: double exponential
slide-6
SLIDE 6

QUANTITATIVE PROB. MODEL CHECKING

Our Construction

MDP Limit-det. Büchi LTL Product P≥0.7? Yes/No

  • Optimal: 22O(n)
  • Simpler construction
  • Smaller automata
  • Same MC algorithm as for
  • det. automata
slide-7
SLIDE 7

LIMIT-DETERMINISM

Initial Component Accepting Component

non-deterministic deterministic

“Jumps”

In our construction: deterministic Every runs „uses“ nondeterminism at most once

slide-8
SLIDE 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

slide-9
SLIDE 9

FIRST STEP: A DETERMINISTIC „TRACKING“ AUTOMATON

tt

  • The automaton „tracks“ the

property that must hold now for the original property to hold at the beginning

  • Formulas with , , : ✔
  • Formulas with : not good

enough.

  • ff
  • ,
  • ,
slide-10
SLIDE 10
  • SUBFORMULAS
  • Fix a formula

and a word Let be a

  • subformula of

.

  • Informally: while reading the word

, the set of

  • subformulas that hold cannot decrease, and

eventually stabilizes to a set

  • ρ

ρ ρ ρ ρ …

c b a b a b c c

slide-11
SLIDE 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

  • f
  • subformulas of

.

  • „Meaning“ of a
  • jump at state

: The automaton „guesses“ that the rest of the word satisfies

1.

(every formula of ), and

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.

slide-12
SLIDE 12

SECOND STEP: JUMPING

  • iff the automaton can make a right guess.
  • Right guess before suffix
  • (tracking!)
  • for

some suffix jump before with satisfies 1. and 2.

  • „Meaning“ of the
  • jump at state

: The automaton „guesses“ that the rest of the run satisfies

1.

(every formula of ), and

2.

even if no other -subformula of ever becomes true.

slide-13
SLIDE 13

A DBA THAT CHECKS 1. & 2.

  • Since DBA are closed under intersection, it

suffices to construct two DBAs for 1. and 2.

slide-14
SLIDE 14

CHECKING 2.

  • Example:

reduces to checking

holds even if no other

  • subformula of

ever becomes true”

  • Reduces to checking the
  • free formula

\ tt ,

  • Since the formula is
  • free, use the tracking automaton.
slide-15
SLIDE 15

CHECKING 1.

  • Example:

reduces to checking

holds even if no other

  • subformula of

ever becomes true”

  • Reduces to checking a formula

where is

  • free.
slide-16
SLIDE 16

Tracking automaton for

X

Automaton for ∨

Guess

ε

∨ ∧ ∨

?

tt

  • ff
  • ,
  • We use the well-known breakpoint construction.
slide-17
SLIDE 17

A DBA FOR

c b 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”
slide-18
SLIDE 18

DBA FOR

slide-19
SLIDE 19

COMPLETE LDBS FOR

1.Tracking DBA for (abbr. ≔ ∨

  • 2. For every set add a
  • jump to the product
  • f the automata

checking and the –remainder

slide-20
SLIDE 20

LDBA SIZE FOR A FORMULA OF LENGTH N

Part Size

Initial Component

22n

G-Monitor

22n+1

Accepting Component

22O(n)

Total

22O(n)

slide-21
SLIDE 21

SIZES OF AUTOMATA

LDBA Safra (spot+ltl2dstar) Rabinizer

slide-22
SLIDE 22

IscasMC explicit, transition-based PRISM+Rabinizer symbolic, state-based PRISM symbolic, state-based

MODEL CHECKING RUNTIME PNUELI-ZUCK MUTEX PROTOCOL

Our Implementation explicit, transition-based

#Clients

slide-23
SLIDE 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/