aboutsummaryrefslogtreecommitdiff
path: root/contrib/first-order/instances.ml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/first-order/instances.ml')
-rw-r--r--contrib/first-order/instances.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/first-order/instances.ml b/contrib/first-order/instances.ml
index 4e57bd3caf..1dc72eecb8 100644
--- a/contrib/first-order/instances.ml
+++ b/contrib/first-order/instances.ml
@@ -109,6 +109,8 @@ let mk_open_instance id gl m t=
let var_id=
if id==dummy_id then dummy_bvid else
let typ=pf_type_of gl (constr_of_reference id) in
+ (* since we know we will get a product,
+ reduction is not too expensive *)
let (nam,_,_)=destProd (whd_betadeltaiota env evmap typ) in
match nam with
Name id -> id