pub struct ArrayChecker { /* private fields */ }Expand description
Array theory checker
Implementations§
Source§impl ArrayChecker
impl ArrayChecker
Sourcepub fn without_extensionality() -> Self
pub fn without_extensionality() -> Self
Create with extensionality checking disabled
Sourcepub fn set_extensionality(&mut self, enabled: bool)
pub fn set_extensionality(&mut self, enabled: bool)
Enable/disable extensionality checking
Trait Implementations§
Source§impl Debug for ArrayChecker
impl Debug for ArrayChecker
Source§impl Default for ArrayChecker
impl Default for ArrayChecker
Source§impl TheoryChecker for ArrayChecker
impl TheoryChecker for ArrayChecker
Source§fn check_conflict(&self, clause: &[Literal]) -> CheckResult
fn check_conflict(&self, clause: &[Literal]) -> CheckResult
Check a conflict clause Read more
Source§fn check_propagation(
&self,
literal: Literal,
explanation: &[Literal],
) -> CheckResult
fn check_propagation( &self, literal: Literal, explanation: &[Literal], ) -> CheckResult
Check a propagation explanation Read more
Source§fn check_model(&self, assignments: &[(TermId, bool)]) -> CheckResult
fn check_model(&self, assignments: &[(TermId, bool)]) -> CheckResult
Check that a model satisfies theory constraints
Source§fn stats(&self) -> CheckerStats
fn stats(&self) -> CheckerStats
Get statistics
Source§fn reset_stats(&mut self)
fn reset_stats(&mut self)
Reset statistics
Source§fn check_lemma(&self, clause: &[Literal]) -> CheckResult
fn check_lemma(&self, clause: &[Literal]) -> CheckResult
Check a lemma (clause that should be T-valid)
Auto Trait Implementations§
impl Freeze for ArrayChecker
impl RefUnwindSafe for ArrayChecker
impl Send for ArrayChecker
impl Sync for ArrayChecker
impl Unpin for ArrayChecker
impl UnwindSafe for ArrayChecker
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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