diff options
| author | herbelin | 2006-01-19 14:53:37 +0000 |
|---|---|---|
| committer | herbelin | 2006-01-19 14:53:37 +0000 |
| commit | a1440ee74b14532cad3e49d518336ed336e0b137 (patch) | |
| tree | a1ef7e3620386c324e52841aac253155b9f3f1fc | |
| parent | 4c42efa7cbea5b70e2b78a023f9d5b667f87f789 (diff) | |
Export eassumption
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7894 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | tactics/eauto.ml4 | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -61,6 +61,7 @@ Tactics - Tactic "assert" now accepts "as" intro patterns and "by" tactic clauses - New tactic "pose proof" that generalizes "assert (id:=p)" with intro patterns - New introduction pattern "?" for letting Coq choose a name +- Added "eassumption" Modules diff --git a/tactics/eauto.ml4 b/tactics/eauto.ml4 index 232266e262..0a611e6552 100644 --- a/tactics/eauto.ml4 +++ b/tactics/eauto.ml4 @@ -40,6 +40,10 @@ let assumption id = e_give_exact (mkVar id) let e_assumption gl = tclFIRST (List.map assumption (pf_ids_of_hyps gl)) gl +TACTIC EXTEND eassumption +| [ "eassumption" ] -> [ e_assumption ] +END + let e_resolve_with_bindings_tac (c,lbind) gl = let t = pf_hnf_constr gl (pf_type_of gl c) in let clause = make_clenv_binding_apply gl (-1) (c,t) lbind in |
