pub enum LeanTactic {
Apply(String),
Exact(Box<LeanProofTerm>),
Intro(Vec<String>),
Cases(String),
Split,
Constructor(usize),
Rfl,
Simp {
lemmas: Vec<String>,
},
Omega,
Decide,
Seq(Vec<LeanTactic>),
}Expand description
Lean 4 tactic.
Variants§
Apply(String)
apply tactic
Exact(Box<LeanProofTerm>)
exact tactic
Intro(Vec<String>)
intro tactic
Cases(String)
cases tactic
Split
split tactic
Constructor(usize)
left/right tactic
Rfl
rfl (reflexivity)
Simp
simp
Omega
omega (arithmetic)
Decide
decide (decidable propositions)
Seq(Vec<LeanTactic>)
sequence of tactics
Implementations§
Trait Implementations§
Source§impl Clone for LeanTactic
impl Clone for LeanTactic
Source§fn clone(&self) -> LeanTactic
fn clone(&self) -> LeanTactic
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 moreAuto Trait Implementations§
impl Freeze for LeanTactic
impl RefUnwindSafe for LeanTactic
impl Send for LeanTactic
impl Sync for LeanTactic
impl Unpin for LeanTactic
impl UnsafeUnpin for LeanTactic
impl UnwindSafe for LeanTactic
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