aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/inv.ml
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2018-06-04 14:11:33 +0200
committerGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2018-06-04 14:11:33 +0200
commit51555af3cccae1f73bfe97e4347a5c625c6d0ec6 (patch)
tree393ec356983e72158e52916cb06f8767f1a49587 /tactics/inv.ml
parent1757f89b6c61024bbe3aebd6b43c56df0d92f5eb (diff)
parent7913b03ba5072efeb9f6ef009ce27cec8ff19cac (diff)
Merge PR #7216: Replace uses of Termops.dependent by more specific functions.
Diffstat (limited to 'tactics/inv.ml')
-rw-r--r--tactics/inv.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/inv.ml b/tactics/inv.ml
index 28cfd57a2..339abbc2e 100644
--- a/tactics/inv.ml
+++ b/tactics/inv.ml
@@ -469,7 +469,7 @@ let raw_inversion inv_kind id status names =
make_inv_predicate env evdref indf realargs id status concl in
let sigma = !evdref in
let (cut_concl,case_tac) =
- if status != NoDep && (dependent sigma c concl) then
+ if status != NoDep && (local_occur_var sigma id concl) then
Reductionops.beta_applist sigma (elim_predicate, realargs@[c]),
case_then_using
else