pub struct SuggestionSolver<T: Types> {
session: Z3Subprocess,
env: ConstraintGlobalEnv<T>,
}Fields§
§session: Z3Subprocess§env: ConstraintGlobalEnv<T>Implementations§
Source§impl<T: Types> SuggestionSolver<T>
impl<T: Types> SuggestionSolver<T>
pub fn new( global_consts: &[ConstDecl<T>], funs: &[FunDef<T>], datatype_decls: Vec<DataDecl<T>>, ) -> Result<Self, SuggestionSolverError>
pub(crate) fn check_validity( &mut self, constraint: &FlatConstraint<T>, ) -> Result<bool, SuggestionSolverError>
pub(crate) fn qe_and_simplify( &mut self, constraint: &FlatConstraint<T>, binder_consts: &[ConstDecl<T>], ) -> Result<Expr<T>, SuggestionSolverError>
fn qe_and_simplify_in_context( session: &mut Z3Subprocess, env: &ConstraintGlobalEnv<T>, locals: &ConstraintLocalEnv<'_, T>, assumptions: &[String], body: &str, implication: &str, ) -> Result<Expr<T>, SuggestionSolverError>
Auto Trait Implementations§
impl<T> !DynSend for SuggestionSolver<T>
impl<T> !DynSync for SuggestionSolver<T>
impl<T> !RefUnwindSafe for SuggestionSolver<T>
impl<T> !UnwindSafe for SuggestionSolver<T>
impl<T> Freeze for SuggestionSolver<T>where
ConstraintGlobalEnv<T>: Freeze,
impl<T> Send for SuggestionSolver<T>where
ConstraintGlobalEnv<T>: Send,
impl<T> Sync for SuggestionSolver<T>where
ConstraintGlobalEnv<T>: Sync,
impl<T> Unpin for SuggestionSolver<T>where
ConstraintGlobalEnv<T>: Unpin,
impl<T> UnsafeUnpin for SuggestionSolver<T>where
ConstraintGlobalEnv<T>: UnsafeUnpin,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more