PRISM tutorial
This tutorial introduces PRISM using a selection of example models. If you are new to the tool, start by working through the first part (Knuth's die algorithm) to see the basics. After that, you can look at the remaining parts in any order, depending on which models or applications interest you. If anything is unclear, the best place to look for answers is the PRISM manual.
Start here
A randomised algorithm, due to Knuth, for modelling a 6-sided die with a fair coin. Introduces the basics of the PRISM modelling language and the PRISM tool.
-
Another simple randomised algorithm, a self-stabilisation protocol due to Herman, introducing more features of PRISM's modelling and property languages.
-
A robot navigating through an uncertain environment, using Markov decision processes to generate control policies from temporal logic specifications.
-
An autonomous drone, using interval MDPs to add epistemic uncertainty about the precise values of transition probabilities.
-
A controller for a dynamic power management system, as a multi-component system in continuous time.
-
A biological system, the circadian clock, studied with PRISM.
-
A case study from computer security, the EGL contract signing protocol.
-
Verifying a simple distributed randomised algorithm, the dining philosophers problem.