pub struct CheckRes<'s> {
    pub okay: Set<&'s String>,
    pub cexs: Cexs<'s>,
}
Expand description

Aggregrates properties that are considered “ok” and properties that have been falsified.

This type is used by induction (both in base and step), and BMC. Hence, the meaning of “ok” depends on the context. For instance, a property is “ok”

  • in base if it holds in the initial states,
  • in step if it is inductive,
  • in BMC if no falsification has been found for it yet.

In one of these three contexts, a property “has been falsified” if it is not “ok”.

NB: A new CheckRes has all properties of the system considered “ok”.

Fields

okay: Set<&'s String>

Properties that are considered “ok”.

cexs: Cexs<'s>

Properties for which a counterexample has been found.

Implementations

Constructor.

Produces a CheckRes where all the POs are “ok”.

True if all POs have been falsified.

True if some POs have been falsified.

Registers a falsification.

Errors
  • when po does not belong to self.okay;
  • when a falsification for po has already been registered.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.