MCRL22LPS(1)

πŸ“¦ version 202507, in nixos 26.05, nixpkgs unstable

πŸ’… mcrl22lps(1) β€” translate an mCRL2 specification to an LPS ✨

okay bestie, this is the mcrl22lps page from the mCRL2 toolset, hanging out in the User Commands manual πŸ’– it linearises your mCRL2 spec and gives you an LPS, and it is lowkey iconic.


🌸 NAME 🌸

mcrl22lps β€” translate an mCRL2 specification to an LPS πŸ¦‹

✨ SYNOPSIS ✨

mcrl22lps [OPTION]... [INFILE [OUTFILE]]

πŸŽ€ DESCRIPTION πŸŽ€

Linearises the mCRL2 specification in INFILE and writes the resulting LPS to OUTFILE. If OUTFILE is not present, stdout is used. If INFILE is not present, stdin is used.

πŸ‘‘ OPTIONS πŸ‘‘

OPTION can be any of the following:

  • --balance-summands β€” transform input expressions p1 + ... + pn into a balanced tree before linearising. Sometimes helpful in preventing stack overflow. 🌳
  • -b, --binary β€” when clustering use binary case functions instead of n-ary; in the presence of -w/--newstate, state variables are encoded by a vector of boolean variables.
  • -e, --check-only β€” check syntax and static semantics; do not linearise. πŸ•΅οΈβ€β™€οΈ
  • -c, --cluster β€” all actions in the final LPS are clustered. Clustering means that summands with the same action labels are grouped together. For instance, a(f1) . P(g1) + a(f2) . P(g2) is replaced by sum b: Bool . a(if(b, f1, f2)) . P(if(b, f2, g2)). The advantage is that the number of summands can be reduced substantially in this way. The disadvantage is that sum operators are introduced and new data sorts with auxiliary functions are generated. In order to avoid the generation of new sorts, the option -b/--binary can be used.
  • -D, --delta β€” add true->delta summands to each state in each process; these delta's subsume all other conditional timed delta's, effectively reducing the number of delta summands drastically in the resulting linear process; speeds up linearisation. This is the default, but it does not deal correctly with time. ⏰
  • -lNAME, --lin-method=NAME β€” use linearisation method NAME:
    • 'regular' β€” for generating an LPS in regular form (specification should be regular) (default)
    • 'regular2' β€” a variant of 'regular' that uses more data variables (useful when 'regular' does not work)
    • 'stack' β€” for using stack data types (useful when 'regular' and 'regular2' do not work)
  • -w, --newstate β€” state variables are encoded using enumerated types instead of positive natural numbers (Pos). By using this option new finite sorts named Enumk are generated where k is the size of the domain. Also, auxiliary case functions and equalities are defined. In combination with the option --binary the finite sorts are encoded by booleans. (requires linearisation method 'regular' or 'regular2'). 🧚
  • -z, --no-alpha β€” alphabet reductions are not applied. By default mcrl22lps attempts to distribute communication, hiding and allow operators over the parallel composition operator as this reduces the size of intermediate linear processes. By using this option, this step can be avoided. The name stems from the alphabet axioms in process algebra.
  • -n, --no-cluster β€” the actions in intermediate LPSs are not clustered before they are put in parallel. By default these processes are clustered to avoid a blow-up in the number of summands when transforming two parallel linear processes into a single linear process. If a linear process with M summands is put in parallel with a linear process with N summands the resulting process has MΓ—N + M + N summands. Both M and N can be substantially reduced by clustering at the cost of introducing new sorts and functions. See -c/--cluster, esp. for a short explanation of the clustering process.
  • --no-constelm β€” do not try to apply constant elimination when generating a linear process.
  • -g, --no-deltaelm β€” avoid removing spurious delta summands. Due to the existence of time, delta summands cannot be omitted. Due to the presence of multi-actions the number of summands can be huge. The algorithm for removing delta summands simply works by comparing each delta summand with each other summand to see whether the condition of the one implies the condition of the other. Clearly, this has quadratic complexity, and can take a long time. 😭
  • -f, --no-globvars β€” instantiate don't care values with arbitrary constants, instead of modelling them by global variables. This has no effect on global variables that are declared in the specification.
  • -o, --no-rewrite β€” do not rewrite data terms while linearising; useful when the rewrite system does not terminate. This option also switches off the application of constant elimination.
  • -m, --no-sumelm β€” avoid applying sum elimination in parallel composition.
  • -QNUM, --qlimit=NUM β€” limit enumeration of universal and existential quantifiers in data expressions to NUM iterations (default NUM=10, NUM=0 for unlimited).
  • -rNAME, --rewriter=NAME β€” use rewrite strategy NAME:
    • 'jitty' β€” jitty rewriting (default)
    • 'jittyc' β€” compiled jitty rewriting
    • 'jittyp' β€” jitty rewriting with prover
  • -a, --statenames β€” the name of the variable encoding the state of a parallel process has the shape "si", with i an optional number. Using this flag this name is "Pi", where P is the name of the process. This makes it easier to determine to which process the state variable belongs from. πŸŽ€
  • -T, --timed β€” translate the process to linear form preserving all timed information. In parallel processes the number of possible time constraints can be large, slowing down linearisation. Confer the --delta option which yields a much faster translation that does not preserve timing correctly.
  • --timings[=FILE] β€” append timing measurements to FILE. Measurements are written to standard error if no FILE is provided.

🌈 Standard options 🌈

  • -q, --quiet β€” do not display warning messages.
  • -v, --verbose β€” display short log messages.
  • -d, --debug β€” display detailed log messages.
  • --log-level=LEVEL β€” display log messages up to and including level; either warn, verbose, debug or trace.
  • -h, --help β€” display help information.
  • --version β€” display version information.
  • --help-all β€” display help information, including hidden and experimental options.

🌟 AUTHOR 🌟

Written by Jan Friso Groote. ✨

πŸ› REPORTING BUGS πŸ›

Report bugs at http://www.mcrl2.org/issuetracker. πŸ’Œ

Copyright Β© 2025 Technische Universiteit Eindhoven.

This is free software. You may redistribute copies of it under the terms of the Boost Software License http://www.boost.org/LICENSE_1_0.txt. There is NO WARRANTY, to the extent permitted by law.

πŸ“– SEE ALSO πŸ“–

See also the manual at http://www.mcrl2.org/web/user_manual/tools/release/mcrl22lps.html. πŸ¦‹


This page is from mcrl22lps mCRL2 toolset 202507..., dated October 2026 πŸ’–βœ¨ periodt.

πŸ“¦ where this page comes from