aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/goal.ml
diff options
context:
space:
mode:
authorGravatar Arnaud Spiwack <arnaud@spiwack.net>2014-09-04 16:11:33 +0200
committerGravatar Arnaud Spiwack <arnaud@spiwack.net>2014-09-04 16:11:41 +0200
commitdf53bf1e053026628822766f79aef9c050775949 (patch)
tree1d31b023e1c182d5817ffeface7b4429d56d693c /proofs/goal.ml
parent67b8fba4209c407c94ed8d54ec78352397d82f59 (diff)
Fix: shelve_unifiable did not work modulo evar instantiation.
Irony…
Diffstat (limited to 'proofs/goal.ml')
-rw-r--r--proofs/goal.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/proofs/goal.ml b/proofs/goal.ml
index 1ada11745..6cdd315f8 100644
--- a/proofs/goal.ml
+++ b/proofs/goal.ml
@@ -99,14 +99,14 @@ let equal evars1 gl1 evars2 gl2 =
the hypotheses, the conclusion or the body of the evar_info
[evi]. Note: since we want to use it on goals, the body is actually
supposed to be empty. *)
-let contained_in_info e evi =
- Evar.Set.mem e (Evarutil.evars_of_evar_info evi)
+let contained_in_info sigma e evi =
+ Evar.Set.mem e (Evarutil.(evars_of_evar_info (nf_evar_info sigma evi)))
(* [depends_on sigma src tgt] checks whether the goal [src] appears as an
existential variable in the definition of the goal [tgt] in [sigma]. *)
let depends_on sigma src tgt =
let evi = Evd.find sigma tgt.content in
- contained_in_info src.content evi
+ contained_in_info sigma src.content evi
(* [unifiable sigma g l] checks whether [g] appears in another subgoal
of [l]. The list [l] may contain [g], but it does not affect the