pub enum Witness {
Assignment(Vec<Lit>),
Substitution(Perm),
}Expand description
A redundancy witness for a ProofStep::Pr clause.
Variants§
Assignment(Vec<Lit>)
An explicit partial assignment (the set of literals it sets true) — the classic PR witness.
Substitution(Perm)
A literal permutation / automorphism. Against the clause C it certifies, it denotes
the assignment ω = { ¬σ(l) : l ∈ C }.
Trait Implementations§
impl Eq for Witness
impl StructuralPartialEq for Witness
Auto Trait Implementations§
impl Freeze for Witness
impl RefUnwindSafe for Witness
impl Send for Witness
impl Sync for Witness
impl Unpin for Witness
impl UnsafeUnpin for Witness
impl UnwindSafe for Witness
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