+ All Categories
Home > Documents > Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf ·...

Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf ·...

Date post: 22-Aug-2019
Category:
Upload: phambao
View: 213 times
Download: 0 times
Share this document with a friend
75
MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verifier Giuseppe Della Penna Benedetto Intrigila Igor Melatti Dip. di Informatica, Universit ` a di L’Aquila Enrico Tronci Marisa Venturini Zilli Dip. di Informatica, Universit ` a di Roma “La Sapienza” Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur Verifier –1–
Transcript
Page 1: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003

Finite Horizon Analysis of Markov Chains with the Mur � Verifier

Giuseppe Della Penna Benedetto Intrigila Igor Melatti

Dip. di Informatica, Universita di L’Aquila

Enrico Tronci Marisa Venturini Zilli

Dip. di Informatica, Universita di Roma “La Sapienza”

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –1–

Page 2: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Probabilistic Model Checking

Markov Chain analysis

Given the description of a Markov Chain, it verifies a PCTL property

PCTL: Probabilistic CTL

– true

– true

Very few available probabilistic model checkers

– PRISM

– Two Towers

– FHP-Mur (new)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –2–

Page 3: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Probabilistic Model Checking� Markov Chain analysis

Given the description of a Markov Chain, it verifies a PCTL property

PCTL: Probabilistic CTL

– true

– true

Very few available probabilistic model checkers

– PRISM

– Two Towers

– FHP-Mur (new)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –2-a–

Page 4: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Probabilistic Model Checking� Markov Chain analysis

� Given the description of a Markov Chain, it verifies a PCTL property

PCTL: Probabilistic CTL

– true

– true

Very few available probabilistic model checkers

– PRISM

– Two Towers

– FHP-Mur (new)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –2-b–

Page 5: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Probabilistic Model Checking� Markov Chain analysis

� Given the description of a Markov Chain, it verifies a PCTL property

� PCTL: Probabilistic CTL

– � � � ��� true � �– � � � � true �� �� �

Very few available probabilistic model checkers

– PRISM

– Two Towers

– FHP-Mur (new)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –2-c–

Page 6: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Probabilistic Model Checking� Markov Chain analysis

� Given the description of a Markov Chain, it verifies a PCTL property

� PCTL: Probabilistic CTL

– � � � ��� true � �– � � � � true �� �� �

� Very few available probabilistic model checkers

– PRISM

– Two Towers

– FHP-Mur (new)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –2-d–

Page 7: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Probabilistic Model Checking� Markov Chain analysis

� Given the description of a Markov Chain, it verifies a PCTL property

� PCTL: Probabilistic CTL

– � � � ��� true � �– � � � � true �� �� �

� Very few available probabilistic model checkers

– PRISM

– Two Towers

– FHP-Mur (new)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –2-e–

Page 8: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Probabilistic Model Checking� Markov Chain analysis

� Given the description of a Markov Chain, it verifies a PCTL property

� PCTL: Probabilistic CTL

– � � � ��� true � �– � � � � true �� �� �

� Very few available probabilistic model checkers

– PRISM

– Two Towers

– FHP-Mur (new)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –2-f–

Page 9: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Probabilistic Model Checking� Markov Chain analysis

� Given the description of a Markov Chain, it verifies a PCTL property

� PCTL: Probabilistic CTL

– � � � ��� true � �– � � � � true �� �� �

� Very few available probabilistic model checkers

– PRISM

– Two Towers

– FHP-Mur � (new)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –2-g–

Page 10: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM

PRISM Probabilistic Symbolic Model Checker

State-of-the-art probabilistic model checker

Implicit verification algorithm (MTBDD-based)

It allows to verify three types of Markov Chains:

DTMC, with PCTL are the “classic” ones, here we will deal with these

only

MDP, with PCTL non-determinism added

CTMC, with CSL continuous time managed

Three verification modalities:

– totally MTBDD-based (calculating fix points)

– algebraic (on the Markov Chain transition matrix)

– an hybrid modality between the two previous ones

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –3–

Page 11: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM

PRISM Probabilistic Symbolic Model Checker

� State-of-the-art probabilistic model checker

Implicit verification algorithm (MTBDD-based)

It allows to verify three types of Markov Chains:

DTMC, with PCTL are the “classic” ones, here we will deal with these

only

MDP, with PCTL non-determinism added

CTMC, with CSL continuous time managed

Three verification modalities:

– totally MTBDD-based (calculating fix points)

– algebraic (on the Markov Chain transition matrix)

– an hybrid modality between the two previous ones

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –3-a–

Page 12: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM

PRISM Probabilistic Symbolic Model Checker

� State-of-the-art probabilistic model checker

� Implicit verification algorithm (MTBDD-based)

It allows to verify three types of Markov Chains:

DTMC, with PCTL are the “classic” ones, here we will deal with these

only

MDP, with PCTL non-determinism added

CTMC, with CSL continuous time managed

Three verification modalities:

– totally MTBDD-based (calculating fix points)

– algebraic (on the Markov Chain transition matrix)

– an hybrid modality between the two previous ones

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –3-b–

Page 13: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM

PRISM Probabilistic Symbolic Model Checker

� State-of-the-art probabilistic model checker

� Implicit verification algorithm (MTBDD-based)

� It allows to verify three types of Markov Chains:

DTMC, with PCTL are the “classic” ones, here we will deal with these

only

MDP, with PCTL non-determinism added

CTMC, with CSL continuous time managed

Three verification modalities:

– totally MTBDD-based (calculating fix points)

– algebraic (on the Markov Chain transition matrix)

– an hybrid modality between the two previous ones

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –3-c–

Page 14: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM

PRISM Probabilistic Symbolic Model Checker

� State-of-the-art probabilistic model checker

� Implicit verification algorithm (MTBDD-based)

� It allows to verify three types of Markov Chains:

DTMC, with PCTL are the “classic” ones, here we will deal with these

only

MDP, with PCTL non-determinism added

CTMC, with CSL continuous time managed

� Three verification modalities:

– totally MTBDD-based (calculating fix points)

– algebraic (on the Markov Chain transition matrix)

– an hybrid modality between the two previous ones

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –3-d–

Page 15: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur �

� FiniteHorizonProbabilistic-Mur �

Explicit probabilistic model checker

– symbolic and explicit verification are not comparable in non-probabilistic

model checking

– we will show that this holds also for probabilistic model checking

Mur modified in the input language and in the verification algorithm

Specialized in verifying a particular type of PCTL properties

– true Path

– is a boolean function defined on states

– If models an error, we are asking if the error probability is acceptable

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –4–

Page 16: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur �

� FiniteHorizonProbabilistic-Mur �

� Explicit probabilistic model checker

– symbolic and explicit verification are not comparable in non-probabilistic

model checking

– we will show that this holds also for probabilistic model checking

Mur modified in the input language and in the verification algorithm

Specialized in verifying a particular type of PCTL properties

– true Path

– is a boolean function defined on states

– If models an error, we are asking if the error probability is acceptable

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –4-a–

Page 17: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur �

� FiniteHorizonProbabilistic-Mur �

� Explicit probabilistic model checker

– symbolic and explicit verification are not comparable in non-probabilistic

model checking

– we will show that this holds also for probabilistic model checking

Mur modified in the input language and in the verification algorithm

Specialized in verifying a particular type of PCTL properties

– true Path

– is a boolean function defined on states

– If models an error, we are asking if the error probability is acceptable

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –4-b–

Page 18: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur �

� FiniteHorizonProbabilistic-Mur �

� Explicit probabilistic model checker

– symbolic and explicit verification are not comparable in non-probabilistic

model checking

– we will show that this holds also for probabilistic model checking

Mur modified in the input language and in the verification algorithm

Specialized in verifying a particular type of PCTL properties

– true Path

– is a boolean function defined on states

– If models an error, we are asking if the error probability is acceptable

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –4-c–

Page 19: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur �

� FiniteHorizonProbabilistic-Mur �

� Explicit probabilistic model checker

– symbolic and explicit verification are not comparable in non-probabilistic

model checking

– we will show that this holds also for probabilistic model checking

� Mur � modified in the input language and in the verification algorithm

Specialized in verifying a particular type of PCTL properties

– true Path

– is a boolean function defined on states

– If models an error, we are asking if the error probability is acceptable

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –4-d–

Page 20: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur �

� FiniteHorizonProbabilistic-Mur �

� Explicit probabilistic model checker

– symbolic and explicit verification are not comparable in non-probabilistic

model checking

– we will show that this holds also for probabilistic model checking

� Mur � modified in the input language and in the verification algorithm

� Specialized in verifying a particular type of PCTL properties

– �� � true � � � ��� � � � ��� � ��� � ��� � � � � � � � � Path � � � ��

– � is a boolean function defined on states

– If models an error, we are asking if the error probability is acceptable

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –4-e–

Page 21: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur �

� FiniteHorizonProbabilistic-Mur �

� Explicit probabilistic model checker

– symbolic and explicit verification are not comparable in non-probabilistic

model checking

– we will show that this holds also for probabilistic model checking

� Mur � modified in the input language and in the verification algorithm

� Specialized in verifying a particular type of PCTL properties

– �� � true � � � ��� � � � ��� � ��� � ��� � � � � � � � � Path � � � ��

– � is a boolean function defined on states

– If � models an error, we are asking if the error probability is acceptable

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –4-f–

Page 22: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s input language� We added finite precision real numbers and probabilities:

– on the initial states (initial probability distribution)

initial states with probability

has always to hold

– on the rules (they now define a Markov Chain transition function)

successor states of with probability

has always to hold

– on the invariant to be verified

property to be verified: is the probability of the event “an error state

(i.e., not satisfying the invariant) is reachable within a given number of

steps” less than a given ?

i.e., does is a Markov Chain path

hold?

equivalent to the PCTL formula true

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –5–

Page 23: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s input language� We added finite precision real numbers and probabilities:

– on the initial states (initial probability distribution)

! " initial states with probability #$ %'& & & % #(

! ( )* $ # ),+ - has always to hold

– on the rules (they now define a Markov Chain transition function)

successor states of with probability

has always to hold

– on the invariant to be verified

property to be verified: is the probability of the event “an error state

(i.e., not satisfying the invariant) is reachable within a given number of

steps” less than a given ?

i.e., does is a Markov Chain path

hold?

equivalent to the PCTL formula true

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –5-a–

Page 24: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s input language� We added finite precision real numbers and probabilities:

– on the initial states (initial probability distribution)

! " initial states with probability #$ %'& & & % #(

! ( )* $ # ),+ - has always to hold

– on the rules (they now define a Markov Chain transition function)

! .$ %'& & & % .( successor states of . with probability # $ %'& & & % #(

! ( )* $ # ),+ - has always to hold

– on the invariant to be verified

property to be verified: is the probability of the event “an error state

(i.e., not satisfying the invariant) is reachable within a given number of

steps” less than a given ?

i.e., does is a Markov Chain path

hold?

equivalent to the PCTL formula true

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –5-b–

Page 25: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s input language� We added finite precision real numbers and probabilities:

– on the initial states (initial probability distribution)

! " initial states with probability #$ %'& & & % #(

! ( )* $ # ),+ - has always to hold

– on the rules (they now define a Markov Chain transition function)

! .$ %'& & & % .( successor states of . with probability # $ %'& & & % #(

! ( )* $ # ),+ - has always to hold

– on the invariant to be verified

! property to be verified: is the probability of the event “an error state

(i.e., not satisfying the invariant) is reachable within a given number of

steps” less than a given ?

! i.e., does � � ��� � � � / � ��� � � � � �� is a Markov Chain path � �

hold?

! equivalent to the PCTL formula �� � true �� � � �

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –5-c–

Page 26: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

Initially,

is incremented whenever a state is reached such that holds

in

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –6–

Page 27: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

� Initially, 01 1 2 1 34 + 5

is incremented whenever a state is reached such that holds

in

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –6-a–

Page 28: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

� Initially, 01 1 2 1 34 + 5

� 01 1 2 1 34 is incremented whenever a state . is reached such that � holds

in .

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –6-b–

Page 29: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

� Initially, 01 1 2 1 34 + 5

� 01 1 2 1 34 is incremented whenever a state . is reached such that � holds

in .6 7

6 86 9

6 :

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –6-c–

Page 30: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

� Initially, 01 1 2 1 34 + 5

� 01 1 2 1 34 is incremented whenever a state . is reached such that � holds

in .6 7

6 86 9

6 :

ErrProb=ErrProb +; <>= 8 ?= 8

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –7–

Page 31: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

� Initially, 01 1 2 1 34 + 5

� 01 1 2 1 34 is incremented whenever a state . is reached such that � holds

in .6 7

6 86 9

6 :

ErrProb=ErrProb +; <>= 8 ? +; <>= 9 ?

= 9= 8

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –8–

Page 32: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

� Initially, 01 1 2 1 34 + 5

� 01 1 2 1 34 is incremented whenever a state . is reached such that � holds

in .6 7

6 86 9

6 :

ErrProb=ErrProb +; <>= 8 ? +; <>= 9 ? +; <>= : ?

= 9= 8 = :

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –9–

Page 33: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

� Initially, 01 1 2 1 34 + 5

� 01 1 2 1 34 is incremented whenever a state . is reached such that � holds

in .6 7

6 86 9

6 :

ErrProb=ErrProb +; <>= 8 ? +; <>= 9 ? +; <>= : ? +; <>= @ ?

= 9= 8 = :

= @

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –10–

Page 34: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� Let 01 12 1 34 be the probability of true � � � �

� Initially, 01 1 2 1 34 + 5

� 01 1 2 1 34 is incremented whenever a state . is reached such that � holds

in .6 7

6 86 9

6 : ErrProb=ErrProb+; <A ?

ErrProb=ErrProb +; <>= 8 ? +; <>= 9 ? +; <>= : ? +; <>= @ ?

A= 9

= 8 = := @

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –11–

Page 35: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� 01 1 2 1 34 + 01 12 1 34 B # where # is the probability to reach . from the

initial states

– If there are C paths to . , # is the sum of the probabilities of these C

paths

Already visited states are not to be discarded, since they can be reached

via different paths

It is necessary to compute paths probabilities

– The initial states are reached with a given probability

– If is reached with probability , and goes to with probability , then

is reached with probability

– The additive property for holds for every reachable state

The reachability analysis is stopped after the -th step

States that satisfy are not expanded

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –12–

Page 36: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� 01 1 2 1 34 + 01 12 1 34 B # where # is the probability to reach . from the

initial states

– If there are C paths to . , # is the sum of the probabilities of these C

paths

� Already visited states are not to be discarded, since they can be reached

via different paths

It is necessary to compute paths probabilities

– The initial states are reached with a given probability

– If is reached with probability , and goes to with probability , then

is reached with probability

– The additive property for holds for every reachable state

The reachability analysis is stopped after the -th step

States that satisfy are not expanded

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –12-a–

Page 37: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� 01 1 2 1 34 + 01 12 1 34 B # where # is the probability to reach . from the

initial states

– If there are C paths to . , # is the sum of the probabilities of these C

paths

� Already visited states are not to be discarded, since they can be reached

via different paths

� It is necessary to compute paths probabilities

– The initial states are reached with a given probability

– If is reached with probability , and goes to with probability , then

is reached with probability

– The additive property for holds for every reachable state

The reachability analysis is stopped after the -th step

States that satisfy are not expanded

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –12-b–

Page 38: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� 01 1 2 1 34 + 01 12 1 34 B # where # is the probability to reach . from the

initial states

– If there are C paths to . , # is the sum of the probabilities of these C

paths

� Already visited states are not to be discarded, since they can be reached

via different paths

� It is necessary to compute paths probabilities

– The initial states are reached with a given probability

– If is reached with probability , and goes to with probability , then

is reached with probability

– The additive property for holds for every reachable state

The reachability analysis is stopped after the -th step

States that satisfy are not expanded

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –12-c–

Page 39: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� 01 1 2 1 34 + 01 12 1 34 B # where # is the probability to reach . from the

initial states

– If there are C paths to . , # is the sum of the probabilities of these C

paths

� Already visited states are not to be discarded, since they can be reached

via different paths

� It is necessary to compute paths probabilities

– The initial states are reached with a given probability

– If . is reached with probability # , and . goes to D with probability E , then

D is reached with probability # E

– The additive property for holds for every reachable state

The reachability analysis is stopped after the -th step

States that satisfy are not expanded

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –12-d–

Page 40: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� 01 1 2 1 34 + 01 12 1 34 B # where # is the probability to reach . from the

initial states

– If there are C paths to . , # is the sum of the probabilities of these C

paths

� Already visited states are not to be discarded, since they can be reached

via different paths

� It is necessary to compute paths probabilities

– The initial states are reached with a given probability

– If . is reached with probability # , and . goes to D with probability E , then

D is reached with probability # E

– The additive property for 01 12 1 34 holds for every reachable state

The reachability analysis is stopped after the -th step

States that satisfy are not expanded

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –12-e–

Page 41: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� 01 1 2 1 34 + 01 12 1 34 B # where # is the probability to reach . from the

initial states

– If there are C paths to . , # is the sum of the probabilities of these C

paths

� Already visited states are not to be discarded, since they can be reached

via different paths

� It is necessary to compute paths probabilities

– The initial states are reached with a given probability

– If . is reached with probability # , and . goes to D with probability E , then

D is reached with probability # E

– The additive property for 01 12 1 34 holds for every reachable state

� The reachability analysis is stopped after the� -th step

States that satisfy are not expanded

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –12-f–

Page 42: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm� 01 1 2 1 34 + 01 12 1 34 B # where # is the probability to reach . from the

initial states

– If there are C paths to . , # is the sum of the probabilities of these C

paths

� Already visited states are not to be discarded, since they can be reached

via different paths

� It is necessary to compute paths probabilities

– The initial states are reached with a given probability

– If . is reached with probability # , and . goes to D with probability E , then

D is reached with probability # E

– The additive property for 01 12 1 34 holds for every reachable state

� The reachability analysis is stopped after the� -th step

� States that satisfy � are not expandedIgor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –12-g–

Page 43: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm

F 8 :F 8 9

F 8 8F 8 7

F GF H

F IF J

F K

F 9F :

F @

F 8

Uniform probability

. L % . M % . N % .$ N are the states in which � holds (error states)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –13–

Page 44: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm

F 8 :F 8 9

F 8 8F 8 7

F GF H

F IF J

F K

F 9F :

F @

F 8

Uniform probability

. L % . M % . N % .$ N are the states in which � holds (error states)

� [ true �� L � ] + $ N$ N B $ N$ N B $ N$ N B $ N$ L B $ N$ L B $ N$ O + NOIgor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –14–

Page 45: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s verification algorithm

F 8 :

F 9F :

F JF G

F 8 :

F 9F : F :

F 9

F 8 9F 8 8

F 8 7F H

F IF K

F 8

F @ F @ F 8 9F 8 8

F 8 7

F 8

If . is such that � � . � holds then the Markov Chain starting from . is forced

to cycle on .

� [ true �� L � �+ $ N - B $ N - B $ N$ O + NO againIgor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –15–

Page 46: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s BFS

...

Queue

s , qs’, q’

rear

front

. : state to be expanded

E : probability of reaching . in P�Q - levels

.SR next state to be expanded

State explosion virtually never occurs: if the queue grows too much, disk

storage is used

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –16–

Page 47: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s BFS

...

Queue

s , qs’, q’

rear

front

. . . . .

T UsT V

W UW V

. : state to be expanded

#$ %'& & & % #( : rules whose probability is strictly positive in .

X �& # ) � 5 % - �

( )* $ # ),+ -Y

Z[

Conditions to have a Markov Chain

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –17–

Page 48: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s BFS

... ...

Cache Queue

fronts , qs’, q’

rear. . . . .

T UsT V

W UW V \ ]\ V

Cache: limits the number of states enqueued more than once

X �& ^ ) is empty or stores a pair (state, probability)

.`_$ %'& & & % .�_ a , # _$ %'& % # _ a states among the . ) in which � holds (error states)

and their transition probabilities

.cb _$ %'& & & % .cb _(ed a , # b _$ %'& % # b _(ed a “correct” states (all the other ones) and their

transition probabilitiesIgor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –18–

Page 49: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s BFS

... ...

Cache Queue

fronts , qs’, q’

rear. . . . .

T UsT V

W UW V \ ]\ V

.f_$ %'& & & % .f_(ed a update ErrProb B + ) # _ ) EAt the end of the . expansion X �& � g ) / ^ hi + � .jb _) % E ) �

X �& E )+k

l m

# b _) E if .jb _) was not in the Cache

# b _) E B Cache[ n � . b _) � ].prob otherwise

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –19–

Page 50: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 FHP-Mur � ’s BFS

...

...

...

Cache Queue

rear

s , qs’, q’

. . . . .T UsT V

W V W U \ ]\ V

\ o 8\ o p

front

swap All non-empty cache entries ( ^ qi ) are enqueued

All cache entries will now result empty

.SR next state to be expanded after the enqueue of . b _a

BFS levels as before; each level changing is always preceeded by a swap

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –20–

Page 51: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results

Probabilistic dining philosophers Pnueli-Zuck (PZ) and Lehmann-Rabin

(LR) protocols

PZ is there a positive probability that a philosopher

become hungry

choose the left fork first

LR the same as PZ, but

is there a positive probability that a philosopher puts down the left fork

first

no philosopher will never wait more than a fixed number (N) of actions

made by the other philosopher before making an action himself

Hybrid systems Verification of a turbogas control system, assuming a

probability distribution on the user demand

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –21–

Page 52: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results

Probabilistic dining philosophers Pnueli-Zuck (PZ) and Lehmann-Rabin

(LR) protocols

PZ is there a positive probability that a philosopher

become hungry

choose the left fork first

LR the same as PZ, but

is there a positive probability that a philosopher puts down the left fork

first

no philosopher will never wait more than a fixed number (N) of actions

made by the other philosopher before making an action himself

Hybrid systems Verification of a turbogas control system, assuming a

probability distribution on the user demand

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –21-a–

Page 53: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results

Probabilistic dining philosophers Pnueli-Zuck (PZ) and Lehmann-Rabin

(LR) protocols

PZ is there a positive probability that a philosopher

� become hungry

� choose the left fork first

LR the same as PZ, but

is there a positive probability that a philosopher puts down the left fork

first

no philosopher will never wait more than a fixed number (N) of actions

made by the other philosopher before making an action himself

Hybrid systems Verification of a turbogas control system, assuming a

probability distribution on the user demand

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –21-b–

Page 54: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results

Probabilistic dining philosophers Pnueli-Zuck (PZ) and Lehmann-Rabin

(LR) protocols

PZ is there a positive probability that a philosopher

� become hungry

� choose the left fork first

LR the same as PZ, but

� is there a positive probability that a philosopher puts down the left fork

first

� no philosopher will never wait more than a fixed number (N) of actions

made by the other philosopher before making an action himself

Hybrid systems Verification of a turbogas control system, assuming a

probability distribution on the user demand

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –21-c–

Page 55: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results

Probabilistic dining philosophers Pnueli-Zuck (PZ) and Lehmann-Rabin

(LR) protocols

PZ is there a positive probability that a philosopher

� become hungry

� choose the left fork first

LR the same as PZ, but

� is there a positive probability that a philosopher puts down the left fork

first

� no philosopher will never wait more than a fixed number (N) of actions

made by the other philosopher before making an action himself

Hybrid systems Verification of a turbogas control system, assuming a

probability distribution on the user demand

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –21-d–

Page 56: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: PZ protocol

NPHIL MAX WAIT Probability Mur � Memory (MB) PRISM Memory (MB) Mur � Time PRISM Time

3 3 7.335194164e-05 200 0.9057 51.970 s 1.487 s

3 4 6.883132778e-10 200 1.6844 52.610 s 2.507 s

4 3 1.88985976e-06 200 28.1066 4 min 28.72 s

4 4 2.910383046e-12 200 66.2659 4 min 1 min

5 3 9.164495139e-08 200 916.8246 23 min 17 min

5 4 4.194304e-14 200 N/A 23 min N/A

8 3 1.210429649e-10 1000 N/A 2 89 days N/A

�� $r s [true �� L s a philosopher has waited for MAX WAIT transitions]

Results on a 2-processors (both INTEL Pentium III 500Mhz) computer with

2GB of RAM

NPHIL: number of philosophers

MAX WAIT: max waiting time for every philosopher

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –22–

Page 57: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: an explanation

Implicit vs Explicit sometimes the former performs better than the latter,

sometimes not

Probabilistic verification We showed that this holds for probabilistic

verification

Termination is not all, also time is important

PRISM, if terminates, terminates faster than FHP-Mur

FHP-Mur virtually always terminates (thanks to the disk storage of the

queue), but it could require too much time

– if the horizon is too much long, the verification will take a great amount

of time

– PRISM execution time is not dependent from the horizon

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –23–

Page 58: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: an explanation

Implicit vs Explicit sometimes the former performs better than the latter,

sometimes not

Probabilistic verification We showed that this holds for probabilistic

verification

Termination is not all, also time is important

PRISM, if terminates, terminates faster than FHP-Mur

FHP-Mur virtually always terminates (thanks to the disk storage of the

queue), but it could require too much time

– if the horizon is too much long, the verification will take a great amount

of time

– PRISM execution time is not dependent from the horizon

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –23-a–

Page 59: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: an explanation

Implicit vs Explicit sometimes the former performs better than the latter,

sometimes not

Probabilistic verification We showed that this holds for probabilistic

verification

Termination is not all, also time is important

PRISM, if terminates, terminates faster than FHP-Mur

FHP-Mur virtually always terminates (thanks to the disk storage of the

queue), but it could require too much time

– if the horizon is too much long, the verification will take a great amount

of time

– PRISM execution time is not dependent from the horizon

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –23-b–

Page 60: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: an explanation

Implicit vs Explicit sometimes the former performs better than the latter,

sometimes not

Probabilistic verification We showed that this holds for probabilistic

verification

Termination is not all, also time is important

PRISM, if terminates, terminates faster than FHP-Mur

FHP-Mur virtually always terminates (thanks to the disk storage of the

queue), but it could require too much time

– if the horizon is too much long, the verification will take a great amount

of time

– PRISM execution time is not dependent from the horizon

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –23-c–

Page 61: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: an explanation

Implicit vs Explicit sometimes the former performs better than the latter,

sometimes not

Probabilistic verification We showed that this holds for probabilistic

verification

Termination is not all, also time is important

� PRISM, if terminates, terminates faster than FHP-Mur �

FHP-Mur virtually always terminates (thanks to the disk storage of the

queue), but it could require too much time

– if the horizon is too much long, the verification will take a great amount

of time

– PRISM execution time is not dependent from the horizon

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –23-d–

Page 62: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: an explanation

Implicit vs Explicit sometimes the former performs better than the latter,

sometimes not

Probabilistic verification We showed that this holds for probabilistic

verification

Termination is not all, also time is important

� PRISM, if terminates, terminates faster than FHP-Mur �

� FHP-Mur � virtually always terminates (thanks to the disk storage of the

queue), but it could require too much time

– if the horizon is too much long, the verification will take a great amount

of time

– PRISM execution time is not dependent from the horizon

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –23-e–

Page 63: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: an explanation

Implicit vs Explicit sometimes the former performs better than the latter,

sometimes not

Probabilistic verification We showed that this holds for probabilistic

verification

Termination is not all, also time is important

� PRISM, if terminates, terminates faster than FHP-Mur �

� FHP-Mur � virtually always terminates (thanks to the disk storage of the

queue), but it could require too much time

– if the horizon is too much long, the verification will take a great amount

of time

– PRISM execution time is not dependent from the horizon

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –23-f–

Page 64: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Experimental results: an explanation

Implicit vs Explicit sometimes the former performs better than the latter,

sometimes not

Probabilistic verification We showed that this holds for probabilistic

verification

Termination is not all, also time is important

� PRISM, if terminates, terminates faster than FHP-Mur �

� FHP-Mur � virtually always terminates (thanks to the disk storage of the

queue), but it could require too much time

– if the horizon is too much long, the verification will take a great amount

of time

– PRISM execution time is not dependent from the horizon

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –23-g–

Page 65: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM or FHP-Mur � ?

Not comparable There are cases in which Mur is better, other in which

PRISM is

PCTL formulas Only of a certain type in FHP-Mur

FHP-Mur better when

the transition function is based on (complex) mathematical operations

the horizon is not too long

PRISM better in the other cases

FHP-Mur is however a probabilistic model checker to be taken into account

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –24–

Page 66: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM or FHP-Mur � ?

Not comparable There are cases in which Mur � is better, other in which

PRISM is

PCTL formulas Only of a certain type in FHP-Mur

FHP-Mur better when

the transition function is based on (complex) mathematical operations

the horizon is not too long

PRISM better in the other cases

FHP-Mur is however a probabilistic model checker to be taken into account

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –24-a–

Page 67: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM or FHP-Mur � ?

Not comparable There are cases in which Mur � is better, other in which

PRISM is

PCTL formulas Only of a certain type in FHP-Mur �

FHP-Mur better when

the transition function is based on (complex) mathematical operations

the horizon is not too long

PRISM better in the other cases

FHP-Mur is however a probabilistic model checker to be taken into account

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –24-b–

Page 68: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM or FHP-Mur � ?

Not comparable There are cases in which Mur � is better, other in which

PRISM is

PCTL formulas Only of a certain type in FHP-Mur �

FHP-Mur � better when

� the transition function is based on (complex) mathematical operations

� the horizon is not too long

PRISM better in the other cases

FHP-Mur is however a probabilistic model checker to be taken into account

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –24-c–

Page 69: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM or FHP-Mur � ?

Not comparable There are cases in which Mur � is better, other in which

PRISM is

PCTL formulas Only of a certain type in FHP-Mur �

FHP-Mur � better when

� the transition function is based on (complex) mathematical operations

� the horizon is not too long

PRISM better in the other cases

FHP-Mur is however a probabilistic model checker to be taken into account

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –24-d–

Page 70: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 PRISM or FHP-Mur � ?

Not comparable There are cases in which Mur � is better, other in which

PRISM is

PCTL formulas Only of a certain type in FHP-Mur �

FHP-Mur � better when

� the transition function is based on (complex) mathematical operations

� the horizon is not too long

PRISM better in the other cases

FHP-Mur � is however a probabilistic model checker to be taken into account

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –24-e–

Page 71: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Future works

More features for FHP-Mur � and then comparison with PRISM

Handling of PCTL formulas like true

Infinite horizon

– Some precomputations will be necessary in these two cases

Continuous Markov Chains

– Approximable to Discrete Time Markov Chain with an exponential

distribution

– The smaller the sampling step

the lowest the approximation error

the higher the execution time

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –25–

Page 72: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Future works

More features for FHP-Mur � and then comparison with PRISM

� Handling of PCTL formulas like � � � tu � true �� � � �

Infinite horizon

– Some precomputations will be necessary in these two cases

Continuous Markov Chains

– Approximable to Discrete Time Markov Chain with an exponential

distribution

– The smaller the sampling step

the lowest the approximation error

the higher the execution time

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –25-a–

Page 73: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Future works

More features for FHP-Mur � and then comparison with PRISM

� Handling of PCTL formulas like � � � tu � true �� � � �

� Infinite horizon

– Some precomputations will be necessary in these two cases

Continuous Markov Chains

– Approximable to Discrete Time Markov Chain with an exponential

distribution

– The smaller the sampling step

the lowest the approximation error

the higher the execution time

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –25-b–

Page 74: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Future works

More features for FHP-Mur � and then comparison with PRISM

� Handling of PCTL formulas like � � � tu � true �� � � �

� Infinite horizon

– Some precomputations will be necessary in these two cases

� Continuous Markov Chains

– Approximable to Discrete Time Markov Chain with an exponential

distribution

– The smaller the sampling step

! the lowest the approximation error

! the higher the execution time

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –25-c–

Page 75: Verier Finite Horizon Analysis of Markov Chains with the Murmelatti/relazioni/MEFISTO2003.pdf · MEFISTO- 11/2003 Finite Horizon Analysis of Markov Chains with the Mur Verier Giuseppe

MEFISTO- 11/2003 Publicationsv G. Della Penna, B. Intrigila, I. Melatti, E. Tronci, and M. V. Zilli Finite Horizon Verification of

Markov Chains with the Mur w Verifier, CHARME, L’Aquila, 2003

v G. Della Penna, B. Intrigila, I. Melatti, E. Tronci, and M. V. Zilli Integrating RAM and Disk

based Verification within the Mur w Verifier, CHARME, L’Aquila, 2003

v G. Della Penna, B. Intrigila, I. Melatti, E. Tronci, and M. V. Zilli Finite Horizon Verification of

Stochastic Process with the Mur w Verifier, ICTCS, Bertinoro (FC), 2003

v G. Della Penna, B. Intrigila, I. Melatti, M. Minichino, E. Ciancamerla, A. Parisse, E. Tronci,

and M. V. Zilli Automatic Verification of a Turbogas Control System with the Mur w Verifier,

HSCC, Prague, 2003

v G. Della Penna, B. Intrigila, E. Tronci, and M. Venturini Zilli Exploiting Transition Locality in

the Disk based Mur w Verifier, FMCAD, Portland 2002

v E. Tronci, G. Della Penna, B. Intrigila, and M. Venturini Zilli Exploiting Transition Locality in

Automatic Verification, CHARME, Edinburgh 2001

v http://www.dsi.uniroma1.it/ x tronci/cached.murphi.html

v http://vv.cs.byu.edu/mug (Mur w users group)

Igor Melatti, Finite Horizon Analysis of Markov Chains with the Mur � Verifier –26–


Recommended