pub struct Plan {Show 17 fields
pub code: Code,
pub vars: Vec<String>,
pub init: Vec<Action>,
pub next: Vec<Action>,
pub invariants: Vec<Check>,
pub constraints: Vec<Check>,
pub action_constraints: Vec<Check>,
pub implied_inits: Vec<Check>,
pub implied_actions: Vec<Check>,
pub check_deadlock: bool,
pub symmetry: Option<Symmetry>,
pub effects: Effects,
pub view: Option<Check>,
pub stats: CompileStats,
pub bound_preset: Vec<(u32, Handle)>,
pub startup_assumptions: Vec<DefId>,
pub startup_assumption_false: Option<DefId>,
}Expand description
The compiled specification.
Fields§
§code: CodeThe node arrays.
vars: Vec<String>State variable names, by index.
init: Vec<Action>The initial predicates.
next: Vec<Action>The next-state actions, in TLC’s order.
invariants: Vec<Check>INVARIANTs.
constraints: Vec<Check>CONSTRAINTs.
action_constraints: Vec<Check>ACTION_CONSTRAINTs.
implied_inits: Vec<Check>Implied initial predicates (PROPERTY parts checked on the initial
states).
implied_actions: Vec<Check>Implied actions ([A]_v of [][A]_v in PROPERTYs), step
predicates.
check_deadlock: boolWhether deadlock is checked.
symmetry: Option<Symmetry>SYMMETRY: states are keyed by their canonical image.
effects: EffectsThe plan’s effects: the engine then runs one worker, in TLC’s order.
view: Option<Check>VIEW: its value, the one conjunct, keys the state.
stats: CompileStatsCompile statistics.
bound_preset: Vec<(u32, Handle)>The frame slots a bound optional atom’s role binds
(crate::compile::compile_bound_test: \E variables and inlined
parameters of its scope), with their values, which the caller
installs after entering the check’s frame; empty otherwise.
startup_assumptions: Vec<DefId>The pure ASSUMEs (crate::compile::Handoff::assumptions) the
compiler evaluated to TRUE, in order.
startup_assumption_false: Option<DefId>The pure ASSUME after Self::startup_assumptions that the
compiler evaluated to FALSE, where it stopped; None when it found
them all TRUE or stopped at one it did not evaluate to a Boolean.