pub enum ModelOutcome {
Sat(Vec<(String, bool)>),
Unsat,
Unsupported,
}Expand description
The result of a satisfiability query over a propositional obligation.
Variants§
Sat(Vec<(String, bool)>)
Satisfiable, with a model over the source atoms (sorted by name). For a hardware
obligation these are the signal@t bindings of a witnessing trace.
Unsat
Unsatisfiable — no assignment satisfies the obligation.
Unsupported
Not a quantifier-free propositional formula over recognisable atoms, so the SAT engine cannot speak to it (the caller must escalate, e.g. bit-blast first).
Trait Implementations§
Source§impl Clone for ModelOutcome
impl Clone for ModelOutcome
Source§fn clone(&self) -> ModelOutcome
fn clone(&self) -> ModelOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelOutcome
impl Debug for ModelOutcome
Source§impl PartialEq for ModelOutcome
impl PartialEq for ModelOutcome
Source§fn eq(&self, other: &ModelOutcome) -> bool
fn eq(&self, other: &ModelOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ModelOutcome
impl StructuralPartialEq for ModelOutcome
Auto Trait Implementations§
impl Freeze for ModelOutcome
impl RefUnwindSafe for ModelOutcome
impl Send for ModelOutcome
impl Sync for ModelOutcome
impl Unpin for ModelOutcome
impl UnsafeUnpin for ModelOutcome
impl UnwindSafe for ModelOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more