pub enum TacticStep {
Show 22 variants
Intro(Vec<String>),
Exact(Term),
Apply(Term),
Assumption,
Exfalso,
Constructor,
Left,
Right,
Exists(Term),
Have(String, Term),
Rfl,
Change(Term),
Rewrite(Term, bool),
Induction(String, Vec<Vec<String>>),
Cases(String, Vec<Vec<String>>),
Refine(Term),
Subst(String),
Injection(String, Vec<String>),
Calc(Vec<(Term, Term)>),
Cc,
Decide,
Simp(Vec<Term>),
}Expand description
One step of a tactic script (by intro A x; exact (refl A x)).
Variants§
Intro(Vec<String>)
Exact(Term)
Apply(Term)
Assumption
Exfalso
Constructor
Left
Right
Exists(Term)
Have(String, Term)
Rfl
Change(Term)
Rewrite(Term, bool)
Induction(String, Vec<Vec<String>>)
Cases(String, Vec<Vec<String>>)
Refine(Term)
Subst(String)
Injection(String, Vec<String>)
Calc(Vec<(Term, Term)>)
calc [R₁ := p₁, R₂ := p₂, …]: each step an equation and its proof.
Cc
Decide
Simp(Vec<Term>)
simp [l₁, …]: rewrite by the lemmas (the context’s @[simp] set when none is named).
Trait Implementations§
Source§impl Clone for TacticStep
impl Clone for TacticStep
Source§fn clone(&self) -> TacticStep
fn clone(&self) -> TacticStep
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 TacticStep
impl Debug for TacticStep
Source§impl Display for TacticStep
impl Display for TacticStep
Source§impl PartialEq for TacticStep
impl PartialEq for TacticStep
impl StructuralPartialEq for TacticStep
Auto Trait Implementations§
impl Freeze for TacticStep
impl RefUnwindSafe for TacticStep
impl Send for TacticStep
impl Sync for TacticStep
impl Unpin for TacticStep
impl UnsafeUnpin for TacticStep
impl UnwindSafe for TacticStep
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