pub struct CarveStats {
pub nodes: usize,
pub punches: usize,
pub max_depth: usize,
}Expand description
Autocarve — recursive carving that lets the rules fall out. Carve the formula to its core,
decompose into independent components, and for each: if a certified cut recognizes it, the rule
falls out and the component closes; otherwise branch one variable and carve again on each
branch. Every decision cascades fresh unit propagations and pure literals, exposing structure the
previous level hid — so a buried, masked, or nested invariant surfaces on its own at the depth it
becomes visible. UNSAT iff any component is, SAT iff all are; None past the budget.
What an autocarve run did: how many recursion nodes it visited, how many times a certified cut
fired (a “punch”), and how deep the carving recursed.
Fields§
§nodes: usize§punches: usize§max_depth: usizeTrait Implementations§
Source§impl Clone for CarveStats
impl Clone for CarveStats
Source§fn clone(&self) -> CarveStats
fn clone(&self) -> CarveStats
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 moreimpl Copy for CarveStats
Source§impl Debug for CarveStats
impl Debug for CarveStats
Source§impl Default for CarveStats
impl Default for CarveStats
Source§fn default() -> CarveStats
fn default() -> CarveStats
Returns the “default value” for a type. Read more
impl Eq for CarveStats
Source§impl PartialEq for CarveStats
impl PartialEq for CarveStats
impl StructuralPartialEq for CarveStats
Auto Trait Implementations§
impl Freeze for CarveStats
impl RefUnwindSafe for CarveStats
impl Send for CarveStats
impl Sync for CarveStats
impl Unpin for CarveStats
impl UnsafeUnpin for CarveStats
impl UnwindSafe for CarveStats
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