pub struct RuleSet { /* private fields */ }Expand description
An extensible collection of search rules.
Implementations§
Source§impl RuleSet
impl RuleSet
pub fn new() -> Self
pub fn register(&mut self, rule: Rule)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Sourcepub fn search(&self, st: &mut ProofState) -> SearchStats
pub fn search(&self, st: &mut ProofState) -> SearchStats
Best-first search from st. Applies safe rules eagerly at each node,
then forks on unsafe rules in priority order. Succeeds (leaving st at
a closed proof state) when some branch drives the open goals to zero.
pub fn search_bounded(&self, st: &mut ProofState, budget: usize) -> SearchStats
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleSet
impl !RefUnwindSafe for RuleSet
impl !Send for RuleSet
impl !Sync for RuleSet
impl Unpin for RuleSet
impl UnsafeUnpin for RuleSet
impl !UnwindSafe for RuleSet
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