Struct mikino_api::check::BaseRes
source · [−]pub struct BaseRes<'sys> { /* private fields */ }
Expand description
Result of a base check, simply wraps a CheckRes.
Implementations
sourceimpl<'sys> BaseRes<'sys>
impl<'sys> BaseRes<'sys>
sourcepub fn merge_base_with_step(&self, step: &StepRes<'sys>) -> Res<BmcRes<'sys>>
pub fn merge_base_with_step(&self, step: &StepRes<'sys>) -> Res<BmcRes<'sys>>
Merges a base result with a step result for BMC.
The result res
is such that
okay
contains POs that are inself.okay ⧵ step.okay
, andcexs
is empty.
That is, the result only contains POs that
- hold in the initial states, and
- are not inductive.
Errors
- when the two results mention inconsistent POs.
Methods from Deref<Target = CheckRes<'sys>>
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<'sys> RefUnwindSafe for BaseRes<'sys>
impl<'sys> Send for BaseRes<'sys>
impl<'sys> Sync for BaseRes<'sys>
impl<'sys> Unpin for BaseRes<'sys>
impl<'sys> UnwindSafe for BaseRes<'sys>
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