aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics
diff options
context:
space:
mode:
authorGravatar mohring <mohring@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-12-13 07:43:17 +0000
committerGravatar mohring <mohring@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-12-13 07:43:17 +0000
commit6040d9c9f8288949fdd1f60a964bfbb79f527699 (patch)
treec1e2942198e92603f0e07ad00664425ae90c73be /tactics
parentd5fc8d6fe1ee7e5a97012d2e154961f274ef6f89 (diff)
conflit useInversionLemma
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1092 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
-rw-r--r--tactics/leminv.ml13
1 files changed, 10 insertions, 3 deletions
diff --git a/tactics/leminv.ml b/tactics/leminv.ml
index cec0be893..89f5cfe06 100644
--- a/tactics/leminv.ml
+++ b/tactics/leminv.ml
@@ -350,7 +350,7 @@ let useInversionLemma =
fun gls -> lemInv id c gls
| _ -> anomaly "useInversionLemma")
in
- fun id com -> gentac [Identifier id;Command com]
+ fun id c -> gentac [Identifier id;Constr c]
let lemInvIn id c ids gls =
let intros_replace_ids gls =
@@ -379,8 +379,15 @@ let useInversionLemmaIn =
(function
| (Identifier id) -> id
| _ -> anomaly "UseInversionLemmaIn") hl) gls
+ | ((Identifier id)::(Constr c)::hl) ->
+ fun gls ->
+ lemInvIn id c
+ (List.map
+ (function
+ | (Identifier id) -> id
+ | _ -> anomaly "UseInversionLemmaIn") hl) gls
| _ -> anomaly "UseInversionLemmaIn")
in
- fun id com hl ->
- gentac ((Identifier id)::(Command com)
+ fun id c hl ->
+ gentac ((Identifier id)::(Constr c)
::(List.map (fun id -> (Identifier id)) hl))