aboutsummaryrefslogtreecommitdiff
path: root/tactics/tacinterp.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-12-24 17:55:25 +0100
committerPierre-Marie Pédrot2015-12-24 18:24:34 +0100
commitdaa7cb065a238c7d4ee394e00315d66d023e5259 (patch)
treed50643d775bca154f7ea422786b6d835e48d09fa /tactics/tacinterp.ml
parentf33fc85b1dd2f4994dc85b0943fe503ace2cc5ff (diff)
Removing auto from the tactic AST.
Diffstat (limited to 'tactics/tacinterp.ml')
-rw-r--r--tactics/tacinterp.ml36
1 files changed, 0 insertions, 36 deletions
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml
index 570ab245b7..8c8861fd99 100644
--- a/tactics/tacinterp.ml
+++ b/tactics/tacinterp.ml
@@ -1958,42 +1958,6 @@ and interp_atomic ist tac : unit Proofview.tactic =
((sigma,sigma'),c) clp eqpat) sigma')
end }
- (* Automation tactics *)
- | TacTrivial (debug,lems,l) ->
- begin if debug == Tacexpr.Info then
- msg_warning
- (strbrk"The \"info_trivial\" tactic" ++ spc ()
- ++strbrk"does not print traces anymore." ++ spc()
- ++strbrk"Use \"Info 1 trivial\", instead.")
- end;
- Proofview.Goal.enter { enter = begin fun gl ->
- let env = Proofview.Goal.env gl in
- let sigma = Tacmach.New.project gl in
- let lems = interp_auto_lemmas ist env sigma lems in
- name_atomic ~env
- (TacTrivial(debug,List.map snd lems,l))
- (Auto.h_trivial ~debug
- lems
- (Option.map (List.map (interp_hint_base ist)) l))
- end }
- | TacAuto (debug,n,lems,l) ->
- begin if debug == Tacexpr.Info then
- msg_warning
- (strbrk"The \"info_auto\" tactic" ++ spc ()
- ++strbrk"does not print traces anymore." ++ spc()
- ++strbrk"Use \"Info 1 auto\", instead.")
- end;
- Proofview.Goal.enter { enter = begin fun gl ->
- let env = Proofview.Goal.env gl in
- let sigma = Tacmach.New.project gl in
- let lems = interp_auto_lemmas ist env sigma lems in
- name_atomic ~env
- (TacAuto(debug,n,List.map snd lems,l))
- (Auto.h_auto ~debug (Option.map (interp_int_or_var ist) n)
- lems
- (Option.map (List.map (interp_hint_base ist)) l))
- end }
-
(* Derived basic tactics *)
| TacInductionDestruct (isrec,ev,(l,el)) ->
(* spiwack: some unknown part of destruct needs the goal to be