pub trait BvSolver {
// Required methods
fn name(&self) -> &'static str;
fn assert(&mut self, cond: &Bool);
fn check(&mut self) -> CheckOutcome;
fn value(&self, var: &BV) -> Option<u128>;
}Expand description
The thin solver interface: assert boolean terms, check once, read the
model back on Sat. One instance = one query (no incremental solving —
synth’s translation-validation fragment is one-shot by design).
Required Methods§
Sourcefn check(&mut self) -> CheckOutcome
fn check(&mut self) -> CheckOutcome
Decide satisfiability of the asserted conjunction.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".