#[non_exhaustive]pub struct Report {Show 19 fields
pub elinvar: u32,
pub command: &'static str,
pub name: String,
pub verdict: Option<Verdict>,
pub scope: Sizes,
pub shrunk_to: Option<Sizes>,
pub fully_shrunk: bool,
pub instance: Option<Instance>,
pub trace: Option<TraceReport>,
pub broken_at: Option<usize>,
pub broken_witness: Vec<(String, String)>,
pub expect: Option<u64>,
pub expect_met: Option<bool>,
pub note: Option<String>,
pub errors: Vec<Error>,
pub warnings: Vec<Error>,
pub stats: Stats,
pub core: Option<HoldsCore>,
pub story: String,
}Expand description
The result of a command (LOGIC.md 14.1).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.elinvar: u32The schema version.
command: &'static strrun or check.
name: StringThe command’s name.
verdict: Option<Verdict>The verdict; None when there are errors.
scope: SizesThe scope searched.
shrunk_to: Option<Sizes>For a counterexample, the scope it was shrunk to.
fully_shrunk: boolWhether shrinking finished within its budget.
instance: Option<Instance>The instance, without changing relations.
trace: Option<TraceReport>The trace, with changing relations.
broken_at: Option<usize>For a counterexample to always P, the first state where P fails.
broken_witness: Vec<(String, String)>For a counterexample to always all x: S | ..., the first variable
bindings (name, atom) at broken_at that falsify the body (W9).
expect: Option<u64>The command’s expect 0 or expect 1 annotation when present (W16).
expect_met: Option<bool>Whether the verdict met expect (None when unknown or no expect).
note: Option<String>For unknown, which budget ran out and what is known.
errors: Vec<Error>Every error.
warnings: Vec<Error>Non-fatal warnings about the model or command (such as wrapped integer literals or step predicates leaving changing relations unconstrained).
stats: StatsStatistics.
core: Option<HoldsCore>When requested on a holds or vacuous check, or a run with no
instance, which named rules formed the minimal unsatisfiable core
(REQUIREMENTS.md section 8).
story: StringThe text, made from the fields above.