pub struct NativeDecision {
pub leaf: usize,
pub premise: usize,
pub appeal: usize,
pub evaluation: usize,
pub proposition: usize,
pub instance: usize,
pub decision: String,
}Expand description
One recognized leaf: Lean’s appeal to its compiler, and the pieces its re-derivation keeps.
Fields§
§leaf: usizeThe leaf, of_decide_eq_true p inst (Lean.ofReduceBool d Bool.true h).
premise: usizeof_decide_eq_true p inst, which the re-derived leaf keeps.
appeal: usizeLean’s appeal, Lean.ofReduceBool d Bool.true h, which the re-derived leaf drops.
evaluation: usizeh = Eq.refl.{1} Bool Bool.true, the proof of Decidable.decide p inst = Bool.true the
re-derived leaf supplies directly.
proposition: usizeThe proposition p.
instance: usizeIts decision procedure inst : Decidable p.
decision: StringThe constant Lean compiled and evaluated, as Lean writes its name.
Implementations§
Trait Implementations§
Source§impl Clone for NativeDecision
impl Clone for NativeDecision
Source§fn clone(&self) -> NativeDecision
fn clone(&self) -> NativeDecision
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 NativeDecision
impl Debug for NativeDecision
Source§impl PartialEq for NativeDecision
impl PartialEq for NativeDecision
impl Eq for NativeDecision
impl StructuralPartialEq for NativeDecision
Auto Trait Implementations§
impl Freeze for NativeDecision
impl RefUnwindSafe for NativeDecision
impl Send for NativeDecision
impl Sync for NativeDecision
impl Unpin for NativeDecision
impl UnsafeUnpin for NativeDecision
impl UnwindSafe for NativeDecision
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