pub enum CoqTactic {
Show 29 variants
Intro(Vec<String>),
Apply(CoqTerm),
Exact(CoqTerm),
Simpl,
Reflexivity,
Rewrite(bool, CoqTerm),
Induction(String),
Destruct(String),
Auto,
Omega,
Lia,
Ring,
Unfold(Vec<String>),
Compute,
Assumption,
Tauto,
Decide,
Trivial,
Split,
Left,
Right,
Exists(CoqTerm),
Generalize(CoqTerm),
Specialize(CoqTerm, Vec<CoqTerm>),
Case(CoqTerm),
Admit,
Custom(String),
Sequence(Vec<CoqTactic>),
Then(Box<CoqTactic>, Box<CoqTactic>),
}Expand description
Ltac tactic AST.
Variants§
Intro(Vec<String>)
intro x y z
Apply(CoqTerm)
apply t
Exact(CoqTerm)
exact t
Simpl
simpl / simpl in *
Reflexivity
reflexivity
Rewrite(bool, CoqTerm)
rewrite [<-] h
Induction(String)
induction x
Destruct(String)
destruct x
Auto
auto
Omega
omega
Lia
lia (Linear Integer Arithmetic)
Ring
ring
Unfold(Vec<String>)
unfold f g h
Compute
compute
Assumption
assumption
Tauto
tauto
Decide
decide
Trivial
trivial
Split
split
Left
left
Right
right
Exists(CoqTerm)
exists witness
Generalize(CoqTerm)
generalize t
Specialize(CoqTerm, Vec<CoqTerm>)
specialize (f a b)
Case(CoqTerm)
case t
Admit
admit
Custom(String)
Raw / custom tactic string
Sequence(Vec<CoqTactic>)
Sequential composition: t1. t2. t3.
Then(Box<CoqTactic>, Box<CoqTactic>)
Then combinator: t1; t2 (apply t2 to all subgoals of t1)
Implementations§
Trait Implementations§
impl StructuralPartialEq for CoqTactic
Auto Trait Implementations§
impl Freeze for CoqTactic
impl RefUnwindSafe for CoqTactic
impl Send for CoqTactic
impl Sync for CoqTactic
impl Unpin for CoqTactic
impl UnsafeUnpin for CoqTactic
impl UnwindSafe for CoqTactic
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