aboutsummaryrefslogtreecommitdiff
path: root/plugins/firstorder
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 /plugins/firstorder
parent96b30e352ff30b1fba4f11b278f22aa6db5871f9 (diff)
parent8ac6145d5cc14823df48698a755d8adf048f026c (diff)
Merge PR #186: [RFC] Coqlib cleanup
Diffstat (limited to 'plugins/firstorder')
-rw-r--r--plugins/firstorder/g_ground.ml46
-rw-r--r--plugins/firstorder/rules.ml8
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/firstorder/g_ground.ml4 b/plugins/firstorder/g_ground.ml4
index 7e54bc8adb..fdeef5f0ac 100644
--- a/plugins/firstorder/g_ground.ml4
+++ b/plugins/firstorder/g_ground.ml4
@@ -109,11 +109,11 @@ let gen_ground_tac flag taco ids bases =
(* special for compatibility with Intuition
-let constant str = Coqlib.gen_constant "User" ["Init";"Logic"] str
+let constant str = Coqlib.get_constr str
let defined_connectives=lazy
- [[],EvalConstRef (destConst (constant "not"));
- [],EvalConstRef (destConst (constant "iff"))]
+ [[],EvalConstRef (destConst (constant "core.not.type"));
+ [],EvalConstRef (destConst (constant "core.iff.type"))]
let normalize_evaluables=
onAllHypsAndConcl
diff --git a/plugins/firstorder/rules.ml b/plugins/firstorder/rules.ml
index 3ae777cc9a..8fa676de44 100644
--- a/plugins/firstorder/rules.ml
+++ b/plugins/firstorder/rules.ml
@@ -234,11 +234,11 @@ let ll_forall_tac prod backtrack id continue seq=
(* special for compatibility with old Intuition *)
let constant str = UnivGen.constr_of_global
- @@ Coqlib.coq_reference "User" ["Init";"Logic"] str
+ @@ Coqlib.lib_ref str
-let defined_connectives=lazy
- [AllOccurrences,EvalConstRef (fst (Constr.destConst (constant "not")));
- AllOccurrences,EvalConstRef (fst (Constr.destConst (constant "iff")))]
+let defined_connectives = lazy
+ [AllOccurrences, EvalConstRef (fst (Constr.destConst (constant "core.not.type")));
+ AllOccurrences, EvalConstRef (fst (Constr.destConst (constant "core.iff.type")))]
let normalize_evaluables=
Proofview.Goal.enter begin fun gl ->