pub struct RankedRefutation {
pub refuted: bool,
pub steps: Vec<ProofStep>,
pub ranks: Vec<u64>,
}Expand description
A refutation whose every step carries a rank (a progress/termination measure).
Fields§
§refuted: boolWhether the underlying refutation independently checked.
steps: Vec<ProofStep>The proof steps, in order.
ranks: Vec<u64>ranks[i] is the measure value at step i. Must be non-increasing for a valid certificate.
Implementations§
Source§impl RankedRefutation
impl RankedRefutation
Sourcepub fn certify(
&self,
num_vars: usize,
formula: &[Vec<Lit>],
) -> Option<SizeBound>
pub fn certify( &self, num_vars: usize, formula: &[Vec<Lit>], ) -> Option<SizeBound>
Independently check BOTH facets against the original formula: the refutation is correct
(the PR checker accepts it) AND its size is bounded by its rank certificate. Returns the
certified SizeBound only if both hold.
Trait Implementations§
Source§impl Clone for RankedRefutation
impl Clone for RankedRefutation
Source§fn clone(&self) -> RankedRefutation
fn clone(&self) -> RankedRefutation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RankedRefutation
impl RefUnwindSafe for RankedRefutation
impl Send for RankedRefutation
impl Sync for RankedRefutation
impl Unpin for RankedRefutation
impl UnsafeUnpin for RankedRefutation
impl UnwindSafe for RankedRefutation
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