aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/omega
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-11-29 11:32:32 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-11-29 11:32:32 +0000
commitb8e689a57740fc8f4c881e9ad9c63966cc39e4c7 (patch)
tree7375be4a80a7340b37203655311f7d7ae2693096 /contrib/omega
parentadf159a7711efae7bff6a07943b9854639cac9e2 (diff)
Nouveau long long avec Coq en tĂȘte
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1015 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/omega')
-rw-r--r--contrib/omega/coq_omega.ml15
1 files changed, 8 insertions, 7 deletions
diff --git a/contrib/omega/coq_omega.ml b/contrib/omega/coq_omega.ml
index 2574a3b30..51d9a46ec 100644
--- a/contrib/omega/coq_omega.ml
+++ b/contrib/omega/coq_omega.ml
@@ -364,13 +364,14 @@ let coq_or = lazy (constant ["Init";"Logic"] "or")
let coq_ex = lazy (constant ["Init";"Logic"] "ex")
(* Section paths for unfold *)
-let sp_Zs = path_of_string "Zarith.zarith_aux.Zs"
-let sp_Zminus = path_of_string "Zarith.zarith_aux.Zminus"
-let sp_Zle = path_of_string "Zarith.zarith_aux.Zle"
-let sp_Zgt = path_of_string "Zarith.zarith_aux.Zgt"
-let sp_Zge = path_of_string "Zarith.zarith_aux.Zge"
-let sp_Zlt = path_of_string "Zarith.zarith_aux.Zlt"
-let sp_not = path_of_string "Init.Logic.not"
+let make_coq_path dir s = make_path ("Coq"::dir) (id_of_string s) CCI
+let sp_Zs = make_coq_path ["Zarith";"zarith_aux"] "Zs"
+let sp_Zminus = make_coq_path ["Zarith";"zarith_aux"] "Zminus"
+let sp_Zle = make_coq_path ["Zarith";"zarith_aux"] "Zle"
+let sp_Zgt = make_coq_path ["Zarith";"zarith_aux"] "Zgt"
+let sp_Zge = make_coq_path ["Zarith";"zarith_aux"] "Zge"
+let sp_Zlt = make_coq_path ["Zarith";"zarith_aux"] "Zlt"
+let sp_not = make_coq_path ["Init";"Logic"] "not"
let mk_var v = mkVar (id_of_string v)
let mk_plus t1 t2 = mkApp (Lazy.force coq_Zplus, [| t1; t2 |])