RUMUR(1)
๐ RUMUR(1) โ General Commands Manual ๐
okay bestie, welcome to rumur โ literally yet another explicit state model checker โจ and no, we are not gonna be normal about it.
๐ธ NAME ๐ธ
rumur โ yet another explicit state model checker ๐ฆ
โจ SYNOPSIS โจ
rumur options --output FILE [FILE]
likeโฆ that's it. that's the whole vibe. options go brrr, --output FILE is mandatory-ish, and [FILE] is the input, sitting there in brackets like it knows something.
๐ DESCRIPTION ๐
So Rumur is a reimplementation of the model checker CMurphi, except it's got improved performance and a slightly different feature set. that's the entire description bestie, we keep it short and iconic here.
๐ OPTIONS ๐
get comfy, there's a lot of them, but honestly each one is lowkey doing something useful so stay with me ๐
--bound STEPSโ sets a limit for state space exploration. the verifier will stop checking beyond this depth, periodt. a bound of0(which is the default, by the way) means unlimited exploration โ like, the verifier just won't stop until it's expanded every single state it's ever seen. no cap, it goes until it's done.--colour [auto | off | on]โ turns ANSI colour codes in the verifier's output on or off. default isauto, which auto-detects based on whether the verifier'sstdoutis a TTY ๐. so like, pipes get no colour, terminals get the whole rainbow.--counterexample-trace [diff | full | off]โ decides how counterexample traces get printed when an error shows up during checking:diffโ the default! prints each state showing only the differences from the previous state. minimal, clean, slay.fullโ shows the entire contents of each state. everything. all of it. ๐ซถoffโ disables counterexample trace printing altogether. nothing to see here.
--deadlock-detection [off | stuck | stuttering]โ enables or disables deadlock detection. Rumur can generate a verifier that notices when there's no valid transition out of a state and raises an error in that scenario. the modes are:offโ no deadlock checks are performed. we're living dangerously ๐stuckโ a deadlock is reached when you arrive at a state from which there are no enabled transitions, and an error is signaled in this case.stutteringโ a deadlock is reached in the same circumstances asstuck, or additionally if there are enabled transitions but they all result in an identical state. for CMurphi users: this is the scenario CMurphi considers to be a deadlock.
This defaults to stuttering. BUT โ and this is the important bit โ whether such a deadlock actually represents a problem depends on the properties of the system you're modelling. so you might wanna change deadlock detection. your model, your rules โจ
--debugor-dโ enables debugging options in the generated verifier, which includes enabling runtime assertions. it'll also output debugging messages while generating the verifier. chatty and proud of it.--helpโ displays this information. hi, that's us. that's this page. ๐--max-errors COUNTโ number of errors the verifier should report before considering them fatal. by default this is1, meaning it exits as soon as an error is encountered. but if you want multiple error traces from a single run, bump it up bestie ๐--monopoliseโ assumes the machine the generated verifier will run on is the current host and that it will be the only process running. this flag causes the verifier to upfront allocate a seen set that will eventually occupy all of memory ๐ญ. it's the same as passing--set-expand-threshold 100and--set-capacitywith the total amount of physical memory available on the current machine. greedy. iconic. main character energy.--output FILEor-o FILEโ sets the path to write the generated C verifier's code to. this is where the โจmagicโจ lands.--output-format [machine-readable | human-readable]โ changes the format the verifier displays its output in. by default it useshuman-readable, which gives you progress output and then a final summary of the result.machine-readableinstead generates output in an XML format, suitable for consumption by a following tool in an I/O pipeline ๐ฅ.--pack-state [on | off]โ sets whether auxiliary state data is compressed in the generated verifier. compression (on, the default) saves memory at the expense of runtime โ so by default the verifier tries to minimise memory usage. if your model is small enough to comfortably fit in available memory, you may wanna set this tooffto speed up the checking process ๐ง.--pointer-bits [auto | BITS]โ number of relevant (non-zero) bits in a pointer on the target platform where the verifier will be compiled. you can use this to tune pointer compression, which saves memory when checking larger models. with the default,auto, 5-level paging is assumed for x86-64, meaning pointers can be compressed and stored in56bits. other platforms currently have no auto-detection and will store pointers uncompressed at their full width. if you know a certain number of high bits of pointers on your target platform are always zero, you can teach Rumur this with this option. for example: if you're compiling on an x86-64 platform you know is using 4-level paging, you can pass--pointer-bits 48to tell Rumur the upper16bits of a pointer will always be zero. knowledge is power ๐--quietor-qโ don't output any messages while generating the verifier. silent mode. stealth mode. ๐คซ--reorder-fields [on | off]โ controls whether access to state variables and record fields is optimised by reordering them. by default this ison, which causes the order of a model's state variables and fields within record types to be optimised to more likely result in naturally aligned memory accesses, which are assumed to be faster. you should never normally have cause to turn this off โ but this feature was buggy when first implemented, so this option exists for debugging purposes. vintage bug energy ๐--sandbox [on | off]โ controls whether the generated verifier uses your operating system's sandboxing facilities to limit its own operations. the verifier does not intentionally perform any malicious or dangerous operations, but at the end of the day it is a generated program that you are going to execute. to safeguard against a bug in the code generator, it's recommended to constrain the operations the verifier is allowed to perform if you're using a model you did not write yourself. by default this isoff.
ngl bestie, if you're running someone else's model, turn this on. fr fr.
--scalarset-schedules [on | off]โ enables or disables tracking of the permutation of scalarset values, for more comprehensible counterexample traces. the permuting of scalarset values performed during symmetry reduction leads to paths in the state space where a single scalarset identity does not have the same value throughout the trace. when this option ison(the default), Rumur tracks these permutations and takes them into account when printing scalarset values or reconstructing counterexample traces โ the result is more intuitive and easily understandable traces โจ. turning itoffmay gain runtime performance on models that use scalarsets, however counterexample traces will likely be confusing in this configuration, as scalarset variables will appear to have their values change arbitrarily ๐ญ.--set-capacity SIZEor-s SIZEโ the size of the initial set to allocate for storing seen states. given in bytes, and interpreted to mean the desired size of the set when it's completely full. that is, the initial allocation performed will be for a number of "state slots" that, when all occupied, will consume this much memory. default value for this is8MB๐.--set-expand-threshold PERCENTor-e PERCENTโ expand the state set when its occupancy exceeds this percentage. default is75, valid values are1-100. setting a value of100will result in the set only expanding when completely full. this may sound ideal, but will actually result in a much longer runtime. don't do it unless you love waiting ๐--symmetry-reduction [off | heuristic | exhaustive]โ enables or disables symmetry reduction. symmetry reduction is an optimisation that decreases the state space that must be searched by deriving a canonical representation of each state. while two states may not be directly equal, if their canonical representations are the same, only one of them need be expanded. to take advantage of this optimisation you must be using named scalarset types. the available options are:offโ do not use symmetry reduction. all scalarsets will be treated as if they were range types.heuristicโ use a symmetry reduction algorithm based on sorting the state data. this is not guaranteed to find a single, canonical representation for each equivalent state, but it's fast and performs reasonably well empirically. using this option you may explore more states than you need to, with the advantage that you'll process each individual state much faster than withexhaustive. this is the default ๐exhaustiveโ use a symmetry reduction algorithm based on exhaustive permutation of the state data. this is guaranteed to find a single, canonical representation for each equivalent state, but is typically very slow. use this if you want to minimise memory usage at the expense of runtime ๐
--threads COUNTor-t COUNTโ specifies the number of threads the verifier should use. if you don't specify this parameter or pass0, the number of threads will be chosen based on the available hardware threads on the platform on which you generate the model. parallel girlies rise up ๐ฅ--trace CATEGORYโ enables tracing of specific events while checking. this option is for debugging Rumur itself, and lets you generate a verifier that writes events tostderr. the available event categories are:handle_readsโ reads from variable handleshandle_writesโ writes to variable handlesmemory_usageโ summary of memory allocation during checkingqueueโ events relating to the pending state queuesetโ events relating to the seen state setsymmetry_reductionโ events related to the symmetry reduction optimisationallโ enable all of the above
more than one of these can be enabled at once by passing the --trace argument multiple times. note: enabling tracing will significantly slow the verifier and is only intended for debugging purposes ๐
โฆand that's where part 1 leaves us, bestie. more options are coming in the next part, so don't go anywhere ๐
--value-type TYPEโ okay so bestie, this one changes the C type used to represent scalar values in the generated verifier. Valid values areautoand the C fixed-width types:int8_t,uint8_t,int16_t,uint16_t,int32_t,uint32_t,int64_t, anduint64_t. The type you select is mapped to its fast equivalent (e.g.int_fast8_t) and then used in the verifier. The default isauto, which selects the narrowest type that can contain all the scalar types in use in your model. It is possible that your model does some arithmetic that temporarily exceeds the bound of any declared type in your model, in which case you will need to use this option to select a wider type. However, this is not a common case. ๐--verboseor-vโ output informational messages while generating the verifier. Like, it's yapping but make it useful. โจ--versionโ display version information and exit. Slay. ๐
โจ SMT OPTIONS โจ
If you have a Satisfiability Modulo Theories (SMT) solver installed, Rumur can use it to optimise your model while generating a verifier. This functionality is not enabled by default, but you can use the following options to configure Rumur to find and use your SMT solver. Some examples of solver configuration:
# for Z3 with a 5 second timeout
rumur --smt-path z3 --smt-arg=-smt2 --smt-arg=-in
--smt-arg=-t:5000 ...
# for CVC4 with a 5 second timeout
rumur --smt-path cvc4 --smt-prelude "(set-logic AUFLIA)"
--smt-arg=--lang=smt2 --smt-arg=--rewrite-divk
--smt-arg=--tlimit=5000 ...
For other solvers, consult their manpages or documentation to determine what command line parameters they accept. Then use the options described below to instruct Rumur how to use them. Note that Rumur can only use a single SMT solver and specifying the --smt-path option multiple times will only retain the last path given. ๐ซถ
--smt-arg ARGโ a command line argument to pass to the SMT solver. This option can be given multiple times and arguments are passed in the order listed. E.g. if you specify--smt-arg=--tlimit --smt-arg=5000the solver will be called with the command line arguments--tlimit 5000. ๐--smt-bitvectors [off | on]โ select whether simple types (enums, ranges, and scalarsets) are translated to bitvectors or unbounded integers when passed to the solver. By default, unbounded integers are used (--smt-bitvectors off). If you turn this option on, 64-bit vectors are used instead. Whether integers, bitvectors, or both are supported will depend on your solver as well as the SMT logic you are using. ๐--smt-budget MILLISECONDSโ total time allotted for running the SMT solver. That is, the time the solver will be allowed to run for over multiple executions. This defaults to30000, 30 seconds. So if the solver runs for 10 seconds the first time it is called, then 5 seconds the second time it is called, then 20 seconds the third time it is called, it will not be called again. Note that Rumur trusts the SMT solver to limit itself to a reasonable timeout per run, so its final run can exceed the budget. You may want to use the--smt-argoption to pass the SMT solver a timeout limit if it supports one. โณ--smt-path PATHโ command or path to the SMT solver. This will use your environment'sPATHvariable, so if the solver is in one of your system directories you can simply provide the name of its binary. Note that this option has no effect unless you also pass--smt-simplification on. ๐ฃ๏ธ--smt-prelude TEXTโ text to emit when communicating with the solver prior to sending the actual problem itself. You can use this to set a solver logic or other options. This option can be given multiple times and each argument will be passed to the solver on a separate line. ๐--smt-simplification [off | on]โ disable or enable using the SMT solver to simplify the input model. By default, this is automatic, in that it is turned on if you use any of the other SMT options or off if you do not use them. ๐ฎ
๐ AUTHOR ๐
All comments, questions and complaints should be directed to Matthew Fernandez <matthew.fernandez@gmail.com>. ๐
๐ LICENSE ๐
This is free and unencumbered software released into the public domain. ๐
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. ๐
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. ๐
THE SOFTWARE IS PROVIDED โAS ISโ, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. โ ๏ธ
For more information, please refer to <http://unlicense.org>. ๐ธ
And that's the page, bestie! RUMUR(1) โ that's the source and version, and the date is whatever the manpage footer says, but we're not copying the line. It's giving iconic manual energy, periodt. ๐ โจ
๐ฆ where this page comes from
- debian trixie: rumur 2025.02.02-1 ยท Unlicense
- ubuntu noble: rumur 2023.11.27-1 ยท Unlicense
- ubuntu resolute: rumur 2025.02.02-1 ยท Unlicense
- ubuntu stonking: rumur 2025.02.02-1 ยท Unlicense
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms