false_URIs_ref := default_false_URIs;
absurd_URIs_ref := default_absurd_URIs
-(**** LOOKUP FUNCTIONS ****)
+(**** LOOKUP FUNCTIONS ****)
let eq_URI () =
try let eq,_,_,_,_,_,_ = List.hd !eq_URIs_ref in Some eq
with Failure "hd" -> None
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 is_trans_eq_URI uri =
let is_eq_f_sym_URI uri =
List.exists (fun (_,_,_,_,_,_,eq_f1) -> UriManager.eq eq_f1 uri) !eq_URIs_ref
+let in_eq_URIs uri =
+ is_eq_URI uri || is_eq_refl_URI uri || is_eq_ind_URI uri ||
+ is_eq_ind_r_URI uri || is_trans_eq_URI uri || is_sym_eq_URI uri ||
+ is_eq_f_URI uri || is_eq_f_sym_URI uri
+
let eq_refl_URI ~eq:uri =
val set_default : string -> UriManager.uri list -> unit
val reset_defaults : unit -> unit
+
val eq_URI : unit -> UriManager.uri option
val is_eq_URI : UriManager.uri -> bool
val is_sym_eq_URI : UriManager.uri -> bool
val is_eq_f_URI : UriManager.uri -> bool
val is_eq_f_sym_URI : UriManager.uri -> bool
+val in_eq_URIs : UriManager.uri -> bool
val eq_URI_of_eq_f_URI : UriManager.uri -> UriManager.uri