Version 11 (modified by Dr. Ivan S. Zapreev, 10 years ago) (diff)
  1. now we can have a local list of content 2. We have to make images look smaller as "thumbnails"


Welcome to the Markov Reward Model Checker


  1. What is MRMC?
  2. A Command-line tool
  3. ETMCC as a predecessor
  4. MRMC Tool Architecture
  5. Implemented Algorithms
  6. Getting MRMC models

What is MRMC?

MRMC is a model checker for discrete-time and continuous-time Markov reward models. It supports reward extensions of PCTL and CSL (PRCTL and CSRL), and allows for the automated verification of properties concerning long-run and instantaneous rewards as well as cumulative rewards. In particular, it supports to check the reachability of a set of goal states (by only visiting legal states before) under a time and an accumulated reward constraint.

A Command-line tool

MRMC is a command-line tool written in C-language. Which allows MRMC to be small and fast. Currently we support Windows, Linux and Mac OS X platforms. The tool is distributed under the GNU General Public License (GPL).

An example of the tool usage may be found below:

ETMCC as a predecessor

MRMC is a successor of a well known tool called ETMCC (Erlangen-Twente Markov Chain Checker) . Which is a prototype implementation of a model checker for continuous time Markov chains. ETMCC supports verification techniques to check CSL and aCSL (action based CSL) properties.

For details on ETMCC consider reading HermansKMS_IJSTTT03?.

MRMC Tool Architecture

MRMC is a command-line tool, and expects four input files: a .tra-file describing the probability or rate matrix, a .lab-file indicating the state-labeling with atomic propositions, a .rew-file specifying the state reward structure, and a .rewi-file specifying the impulse reward structure. For CSL and PCTL verification, the latter two files may be omitted.

A sketch of the tool architecture can be found below (ToDo?: Add the current MRMC architecture!!):

No image "mrmc_arch.jpg" attached to WikiStart

Implemented Algorithms

MRMC supports

  • Two algorithms for time- and reward bounded until-formulae. One is based on discretization TijmsV_99?, the other on uniformization and path truncation QureshiS_ISFTC96?. This includes state- and impulse rewards. For details on these algorithms we refer to BaierHHK_ICALP00?, ClothKKP_DSN05?, HaverkortCHKB_DSN02?.
  • Safe on-the-fly steady-state detection for time-bounded reachability (see time bounded until operator of CSL logic). PDF? BibTex?
  • Bisimulation minimisation for PCTL, CSL, PRCTL and CSRL logics, for the latter two in case without impulse rewards. PDF? BibTex?

Getting MRMC models

MRMC models can be generated from Prism models, using the command line Prism starting from the version 3.0.

The required options of "prism" are listed here and were obtained by running "prism -help":

*-exportmrmc .................... When exporting matrices/vectors/labels, use MRMC format

*-exportlabels <file> ........... Export the list of labels and satisfying states to a file

*-exporttrans <file> ............ Export the transition matrix to a file

*-exportstaterewards <file> ..... Export the state rewards vector to a file

*-exporttransrewards <file> ...... Export the transition rewards matrix to a file

NOTE: The "transition rewards" are what we refer to as "impulse rewards".

A typical example of generating MRMC model from the Prism model would be:

$ prism model.csl -exportmrmc -exportlabels model.lab -exporttrans model.tra -exportstaterewards model.rew -exporttransrewards model.rewi

The resulting model.tra model.lab model.rew model.rewi files can be immediately consumed by MRMC.

Some more information on generating MRMC models using Prism can be found here.

Attachments (1)

Download all attachments as: .zip