diff options
| author | Hugo Herbelin | 2014-08-14 20:44:03 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2014-08-18 18:56:38 +0200 |
| commit | d5fece25d8964d5d9fcd55b66164286aeef5fb9f (patch) | |
| tree | 60d584831ef3574c8d07daaef85929bd81a12d88 /toplevel | |
| parent | 4684ae383a6ee56b4717026479eceb3b41b45ab0 (diff) | |
Reorganization of tactics:
- made "apply" tactics of type Proofview.tactic, as well as other inner
functions about elim and assert
- used same hypothesis naming policy for intros and internal_cut (towards a
reorganization of intro patterns)
- "apply ... in H as pat" now supports any kind of introduction
pattern (doc not changed)
Diffstat (limited to 'toplevel')
| -rw-r--r-- | toplevel/auto_ind_decl.ml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toplevel/auto_ind_decl.ml b/toplevel/auto_ind_decl.ml index 15b370b06e..c3dc8f89db 100644 --- a/toplevel/auto_ind_decl.ml +++ b/toplevel/auto_ind_decl.ml @@ -387,7 +387,7 @@ let do_replace_lb lb_scheme_key aavoid narg p q = in Tacticals.New.tclTHENLIST [ Proofview.tclEFFECTS eff; - Equality.replace p q ; Proofview.V82.tactic (apply app) ; Auto.default_auto] + Equality.replace p q ; apply app ; Auto.default_auto] end (* used in the bool -> leib side *) @@ -456,7 +456,7 @@ let do_replace_bl bl_scheme_key (ind,u as indu) aavoid narg lft rgt = Tacticals.New.tclTHENLIST [ Proofview.tclEFFECTS eff; Equality.replace_by t1 t2 - (Tacticals.New.tclTHEN (Proofview.V82.tactic (apply app)) (Auto.default_auto)) ; + (Tacticals.New.tclTHEN (apply app) (Auto.default_auto)) ; aux q1 q2 ] ) ) @@ -727,7 +727,7 @@ let compute_lb_tact lb_scheme_key ind lnamesparrec nparrec = intros; (Proofview.V82.tactic simpl_in_concl); Auto.default_auto; Tacticals.New.tclREPEAT ( - Tacticals.New.tclTHENLIST [Proofview.V82.tactic (apply (andb_true_intro())); + Tacticals.New.tclTHENLIST [apply (andb_true_intro()); simplest_split ;Auto.default_auto ] ); Proofview.Goal.enter begin fun gls -> @@ -892,7 +892,7 @@ let compute_dec_tact ind lnamesparrec nparrec = (* left *) Tacticals.New.tclTHENLIST [ simplest_left; - Proofview.V82.tactic (apply (mkApp(blI,Array.map(fun x->mkVar x) xargs))); + apply (mkApp(blI,Array.map(fun x->mkVar x) xargs)); Auto.default_auto ] ; @@ -908,7 +908,7 @@ let compute_dec_tact ind lnamesparrec nparrec = assert_by (Name freshH3) (mkApp(eq,[|bb;mkApp(eqI,[|mkVar freshm;mkVar freshm|]);tt|])) (Tacticals.New.tclTHENLIST [ - Proofview.V82.tactic (apply (mkApp(lbI,Array.map (fun x->mkVar x) xargs))); + apply (mkApp(lbI,Array.map (fun x->mkVar x) xargs)); Auto.default_auto ]); Equality.general_rewrite_bindings_in true |
