Skip to main content

CheckResult

Struct CheckResult 

Source
pub struct CheckResult {
Show 21 fields pub symmetry_liveness: Option<SymmetryLivenessResolution>, pub seen: Option<SeenUsage>, pub frontier: FrontierUsage, pub predecessor: PredecessorUsage, pub verdict: Verdict, pub binding_model_error: bool, pub stats: Option<Stats>, pub tlc_prints_stats: bool, pub counterexample: Option<Counterexample>, pub diagnostic_witness: Option<DiagnosticWitness>, pub collision: Option<Collision>, pub store: StoreMode, pub fp_index: Option<usize>, pub tlc_fingerprints: bool, pub var_names: Vec<String>, pub tlc_var_order: Vec<usize>, pub output: Vec<String>, pub warnings: Vec<(u32, String)>, pub notes: Vec<String>, pub workers: Workers, pub elapsed: Duration,
}
Expand description

The result of a check.

Fields§

§symmetry_liveness: Option<SymmetryLivenessResolution>

Original declared symmetry and effective temporal policy after binding. None means no model was successfully bound.

§seen: Option<SeenUsage>

Opt-in transient disk seen-state operation and explicit cleanup facts.

§frontier: FrontierUsage

Frontier-only encoded/disk retention and cleanup evidence.

§predecessor: PredecessorUsage

Predecessor storage evidence; not a bound on total search memory.

§verdict: Verdict

The verdict.

§binding_model_error: bool

Whether a model error originated during binding or symmetry preparation, before the engine started. Engine model errors leave this false.

§stats: Option<Stats>

Statistics at the stop, when the search started.

§tlc_prints_stats: bool

Whether TLC prints statistics for this result. TLC prints none for a stop while generating initial states (ModelChecker.java:152-160, probe InitViolation) or before the search.

§counterexample: Option<Counterexample>

The counterexample, for violations, deadlock and errors in a state.

§diagnostic_witness: Option<DiagnosticWitness>

Separate complete initial diagnostic context; never a behavior word.

§collision: Option<Collision>

Collision figures (fingerprint mode, on success).

§store: StoreMode

The store used.

§fp_index: Option<usize>

The fingerprint polynomial index (fingerprint mode).

§tlc_fingerprints: bool

Whether the fingerprints are TLC’s own (--compat=tlc) or dive’s.

§var_names: Vec<String>

The variable names, by VarId.

§tlc_var_order: Vec<usize>

TLC’s variable order, as VarId indices: states print in it.

§output: Vec<String>

Print/PrintT output, in order (start-up, assumptions, search).

§warnings: Vec<(u32, String)>

TLC’s warnings while processing the model: code and text.

§notes: Vec<String>

Notes for the user: anything that qualifies the result.

§workers: Workers

The worker threads requested and used. Thread fields: the only part of a result, with CheckResult::elapsed, that may differ between worker counts.

§elapsed: Duration

Wall-clock time of the check (binding and search).

Trait Implementations§

Source§

impl Clone for CheckResult

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CheckResult

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.