[−][src]Struct varisat::proof::Proof
Proof generation.
Fields
format: Option<ProofFormat>
target: BufWriter<Box<dyn Write + 'a>>
checker: Option<Checker<'a>>
map_step: MapStep
hash_bits: u32
How many bits are used for storing clause hashes.
clause_count: isize
How many clauses are currently in the db.
This is used to pick a good number of hash_bits
Methods
impl<'a> Proof<'a>
[src]
pub fn write_proof(&mut self, target: impl Write + 'a, format: ProofFormat)
[src]
Start writing proof steps to the given target with the given format.
pub fn begin_checking(&mut self)
[src]
Begin checking proof steps.
pub fn add_processor(&mut self, processor: &'a mut dyn ProofProcessor)
[src]
Add a ProofProcessor
.
See also Checker::add_processor
.
pub fn is_active(&self) -> bool
[src]
Whether proof generation is active.
pub fn native_format(&self) -> bool
[src]
Are we emitting or checking our native format.
pub fn clause_hashes_required(&self) -> bool
[src]
Whether clause hashes are required for steps that support them.
pub fn models_in_proof(&self) -> bool
[src]
Whether found models are included in the proof.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference where
Inner: Part,
Outer: Part<PartType = Field<OuterFieldType>>,
OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
Reference: HasPart<Outer> + ?Sized,
Inner: Part,
Outer: Part<PartType = Field<OuterFieldType>>,
OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
Reference: HasPart<Outer> + ?Sized,
unsafe fn part_ptr(
ptr: *const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
ptr: *const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
unsafe fn part_ptr_mut(
ptr: *mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
ptr: *mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut