pub enum CertifiablePrimitive {
Ring,
Lia,
Cc,
}Expand description
A tactic reduction primitive a second kernel can now corroborate.
Variants§
Ring
try_ring goal ⟶ DRingSolve goal.
Lia
try_lia goal ⟶ DLiaSolve goal.
Cc
try_cc goal ⟶ DccSolve goal.
Implementations§
Source§impl CertifiablePrimitive
impl CertifiablePrimitive
Sourcepub const ALL: [CertifiablePrimitive; 3]
pub const ALL: [CertifiablePrimitive; 3]
All three, so a census can iterate them without a hand-written list going stale.
Sourcepub fn success_constructor(self) -> &'static str
pub fn success_constructor(self) -> &'static str
The derivation constructor the rule reduces to on success.
Sourcepub fn verify(self, goal: &Syn) -> bool
pub fn verify(self, goal: &Syn) -> bool
Whether goal is one this primitive genuinely solves, decided independently.
true licenses the caller to reduce <rule> goal to <ctor> goal. false licenses
NOTHING — in particular it never licenses reducing to the error derivation, because this
module is incomplete on purpose and its silence is not a verdict.
Trait Implementations§
Source§impl Clone for CertifiablePrimitive
impl Clone for CertifiablePrimitive
Source§fn clone(&self) -> CertifiablePrimitive
fn clone(&self) -> CertifiablePrimitive
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CertifiablePrimitive
impl Debug for CertifiablePrimitive
Source§impl PartialEq for CertifiablePrimitive
impl PartialEq for CertifiablePrimitive
impl Copy for CertifiablePrimitive
impl Eq for CertifiablePrimitive
impl StructuralPartialEq for CertifiablePrimitive
Auto Trait Implementations§
impl Freeze for CertifiablePrimitive
impl RefUnwindSafe for CertifiablePrimitive
impl Send for CertifiablePrimitive
impl Sync for CertifiablePrimitive
impl Unpin for CertifiablePrimitive
impl UnsafeUnpin for CertifiablePrimitive
impl UnwindSafe for CertifiablePrimitive
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