aboutsummaryrefslogtreecommitdiff
path: root/tactics/hints.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-11 14:27:29 +0200
committerPierre-Marie Pédrot2018-10-11 14:27:29 +0200
commitaa5cdbd67b160417fe353a79393a89ed99481548 (patch)
tree3104f09c8af83b2726530a4ed64175a3f179bad0 /tactics/hints.ml
parent96b30e352ff30b1fba4f11b278f22aa6db5871f9 (diff)
parent8ac6145d5cc14823df48698a755d8adf048f026c (diff)
Merge PR #186: [RFC] Coqlib cleanup
Diffstat (limited to 'tactics/hints.ml')
-rw-r--r--tactics/hints.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/hints.ml b/tactics/hints.ml
index af6d1c472f..245bdce5ad 100644
--- a/tactics/hints.ml
+++ b/tactics/hints.ml
@@ -1292,13 +1292,13 @@ let project_hint ~poly pri l2r r =
let sigma, c = Evd.fresh_global env sigma gr in
let t = Retyping.get_type_of env sigma c in
let t =
- Tacred.reduce_to_quantified_ref env sigma (Lazy.force coq_iff_ref) t in
+ Tacred.reduce_to_quantified_ref env sigma (lib_ref "core.iff.type") t in
let sign,ccl = decompose_prod_assum sigma t in
let (a,b) = match snd (decompose_app sigma ccl) with
| [a;b] -> (a,b)
| _ -> assert false in
let p =
- if l2r then build_coq_iff_left_proj () else build_coq_iff_right_proj () in
+ if l2r then lib_ref "core.iff.proj1" else lib_ref "core.iff.proj2" in
let sigma, p = Evd.fresh_global env sigma p in
let c = Reductionops.whd_beta sigma (mkApp (c, Context.Rel.to_extended_vect mkRel 0 sign)) in
let c = it_mkLambda_or_LetIn