Personal tools

User manual/mcrl2i

From MCRL2

Jump to: navigation, search
User manual

Contents

Interpreter for the mCRL2 data language.

Contents

Synopsis

mcrl2i [OPTION]... [INFILE]

Short description

The mcrl2i tool provides a textual interface to experiment with data expressions. It evaluates mCRL2 data expressions via a text-based interface. If INFILE is present and if it contains an LPS or PBES, the data types of this specification may be used. If no input file is given, only the standard numeric datatypes are available. Stdin is ignored.

When mcrl2i is started a prompt is displayed. The following commands are available to manipulate mcrl2 data expressions. Essentially, there are commands to rewrite and type expressions, as well as generating the solutions for a boolean expression. The expressions can contain assigned or unassigned variables. Note that there are no bounds on the number of steps to evaluate or solve an expression, nor is the number of solutions bounded. Hence, the assign, eval solve commands can give rise to infinite loops.

h[elp]
print help message
q[uit]
quit mcrl2i
t[ype] EXPRESSION
print type of EXPRESSION
a[ssign] VAR=EXPRESSION
evaluate the EXPRESSION and assign it to the variable VAR.
v[ar] VARLIST
declare variables in VARLIST
r[ewriter] STRATEGY
use STRATEGY for rewriting (see rewrite strategies)
e[val] EXPRESSION
rewrite EXPRESSION and print result.
s[solve] <VARLIST> EXPRESSION
give all valuations of the variables in VARLIST that satisfy EXPRESSION

VARLIST is of the form x,y,...: S; ... v,w,...: T.

The interface has changed in svn revision 6088. For mcrl2i with revision number lower than 6088 the mcrl2i --help explains the old interface.

Options

OPTION can be any of the following:

-rNAME, --rewriter=NAME
use rewrite strategy NAME

Standard options:

-q, --quiet
do not display warning messages
-v, --verbose
display short intermediate messages
-d, --debug
display detailed intermediate messages
-h, --help
display help information
--version
display version information

Known Issues

Parsing of data expressions may lead to a new data specification which the rewriter knows nothing about. This could cause unexpected behaviour.

Author

Written by Muck van Weerdenburg. Changed by Jan Friso Groote (April 2009, revision 6088).

Bug reporting

Report bugs at our issue tracking system.



prev.gif mcrl2-gui pbesinst next.gif
This page was last modified on 30 August 2010, at 08:32. This page has been accessed 7,786 times.
Copyright © 2005-2012 Technische Universiteit Eindhoven.
Powered by MediaWiki