summaryrefslogtreecommitdiff
path: root/plugins/dp/dp.ml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dp/dp.ml')
-rw-r--r--plugins/dp/dp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dp/dp.ml b/plugins/dp/dp.ml
index 34b32c0a..ceadd26e 100644
--- a/plugins/dp/dp.ml
+++ b/plugins/dp/dp.ml
@@ -719,7 +719,7 @@ and tr_formula tv bv env f =
| _, [a;b] when c = Lazy.force coq_iff ->
Iff (tr_formula tv bv env a, tr_formula tv bv env b)
| Prod (n, a, b), _ ->
- if is_imp_term f then
+ if is_Prop (Typing.type_of env Evd.empty a) then
Imp (tr_formula tv bv env a, tr_formula tv bv env b)
else
let id, t, bv, env, b = quantifiers n a b tv bv env in