Refinement & Models · Page 3 of 5
Symmetry, Constraints & Slicing
Real state spaces grow exponentially with the number of nodes or processes.
Model gives you four precision tools to keep checking fast and sound:
Symmetry(S): tells the checker that permuting a set ofModelValues maps behaviours to behaviours (TLC'sSYMMETRY), collapsing symmetric states into one. Because symmetry reduction is unsound for liveness, it is automatically dropped (with asymmetry-droppedwarning) when a model checks anyPropertyorRefines.- Slicing: pass
actions=(...),invariants=(...), orproperties=()to check a subset by name — e.g., a fast safety-only model withSymmetryalongside a full liveness model! state_constraint/action_constraint: bound otherwise-infinite state spaces (verdicts explicitly note the constraint).check_deadlock=False: allow valid terminating states.
Try it: Click Check to compare
full_model
(8 states) against safety_model (4 states under symmetry!). Now delete
properties=(), from safety_model and click Check
to see the WARN [symmetry-dropped] diagnostic!