]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/nCicProof.ml
short names
[helm.git] / helm / software / components / ng_paramodulation / nCicProof.ml
index 0dbaa1a8f3261d39f601cb4aed85076036d600c7..9a7285062a393e196d4dfb1ef0ab0413194d9e5d 100644 (file)
 
 (* $Id: orderings.ml 9869 2009-06-11 22:52:38Z denes $ *)
 
+let reference_of_oxuri = ref (fun _ -> assert false);;
+let set_reference_of_oxuri f = reference_of_oxuri := f;;
+
+
   let eqP () = 
     let r = 
-      OCic2NCic.reference_of_oxuri 
+      !reference_of_oxuri 
        (UriManager.uri_of_string 
          "cic:/matita/logic/equality/eq.ind#xpointer(1/1)")
     in
@@ -22,7 +26,7 @@
 
   let eq_ind () = 
     let r = 
-      OCic2NCic.reference_of_oxuri 
+      !reference_of_oxuri 
        (UriManager.uri_of_string 
          "cic:/matita/logic/equality/eq_ind.con")
     in
@@ -31,7 +35,7 @@
 
   let eq_ind_r () = 
     let r = 
-      OCic2NCic.reference_of_oxuri 
+      !reference_of_oxuri 
        (UriManager.uri_of_string 
          "cic:/matita/logic/equality/eq_elim_r.con")
     in
@@ -40,7 +44,7 @@
 
   let eq_refl () = 
     let r = 
-      OCic2NCic.reference_of_oxuri 
+      !reference_of_oxuri 
        (UriManager.uri_of_string 
          "cic:/matita/logic/equality/eq.ind#xpointer(1/1/1)")
     in
        t vl  
     in
     let get_literal id =
-      let (_, lit, vl, proof),_ = Terms.get_from_bag id bag in
+      let (_, lit, vl, proof),_,_ = Terms.get_from_bag id bag in
       let lit =match lit with 
           | Terms.Predicate t -> assert false 
           | Terms.Equation (l,r,ty,_) ->