one thing Mark forgot to mention was there is also a difference between
DTMCs and MDPs due to the scheduling between modules. See:
http://www.prismmodelchecker.org/manual/ThePRISMLanguage/ParallelComposition
(which uses the example you used in your previous mail) for details on this.
Gethin
> Then, does simulation of dtmc give reliable results ?
It should at least simulate your models with the semantics that you
intended. Clearly, the issue with simulation is that it is not
verification -- there is no guarantee attached to the results. However,
as you increase the number of samples, the confidence in the answer
increases and it is unlikely to be far of the true probability. It
should give you a fairly good indication of the answer to your property.
Perhaps there are ways to reduce the state space of your original model
so that you can verify it. If you would be willing to post a model we
could have a look.
Kind regards,
Mark
> For a particular configuration of my model, I expect
> that the p=? [F my_condition] should return 1.0
>
> But, I'm getting value of 0.841 instead.
>
> What could be the reason ? When we get value of P
> as 1.0 ?
From a theoretical point of view, for any (finite) dtmc, with
probability 1 you eventually reach a bottom strongly connected component
of your state graph and stay there forever. That you get the value of
0.841 means that there must be some bottom strongly connected component
that can be reached from the initial state (with some non-zero
probability) and that has an empty intersection with my_condition. E.g.
you must have some reachable 'infinite loop' in your model in which
my_condition is never true.
> Do, we get value of P as 1.0 if ad only if the start state
> is a part of final state in dtmc ?
No, you get 1 if and only if from the initial state you can always reach
the final state with probability one.
> How does prism go about calculating values of P for a
> particular dtmc model ?
A good place to start reading up about this is
http://www.prismmodelchecker.org/lectures/02-dtmcs.pdf
I hope that helps,
Kind regards,
Mark