]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic/libraryObjects.ml
Rewriting steps using the rewriting principles in the library of Matita are
[helm.git] / helm / ocaml / cic / libraryObjects.ml
index cc04322fa970d94606e237dd034f5f07aab7fab1..adbc219cc3fd72771b314a3e61eeea85a98cfc52 100644 (file)
@@ -91,6 +91,12 @@ let eq_URI () = let eq,_,_,_,_ = List.hd !eq_URIs_ref in eq
 let is_eq_URI uri =
  List.exists (fun (eq,_,_,_,_) -> UriManager.eq eq uri) !eq_URIs_ref
 
+let is_eq_ind_URI uri =
+ List.exists (fun (_,_,_,eq_ind,_) -> UriManager.eq eq_ind uri) !eq_URIs_ref
+
+let is_eq_ind_r_URI uri =
+ List.exists (fun (_,_,_,_,eq_ind_r) -> UriManager.eq eq_ind_r uri) !eq_URIs_ref
+
 let sym_eq_URI ~eq:uri =
  try
   let _,x,_,_,_ = List.find (fun eq,_,_,_,_ -> UriManager.eq eq uri) !eq_URIs_ref in x