Struct mikino_api::check::CheckRes
source · [−]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
sourceimpl<'s> CheckRes<'s>
impl<'s> CheckRes<'s>
sourcepub fn all_falsified(&self) -> bool
pub fn all_falsified(&self) -> bool
True if all POs have been falsified.
sourcepub fn has_falsifications(&self) -> bool
pub fn has_falsifications(&self) -> bool
True if some POs have been falsified.
Trait Implementations
Auto Trait Implementations
impl<'s> RefUnwindSafe for CheckRes<'s>
impl<'s> Send for CheckRes<'s>
impl<'s> Sync for CheckRes<'s>
impl<'s> Unpin for CheckRes<'s>
impl<'s> UnwindSafe for CheckRes<'s>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more