(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* bool val isConstRef : GlobRef.t -> bool val isIndRef : GlobRef.t -> bool val isConstructRef : GlobRef.t -> bool val canonical_gr : GlobRef.t -> GlobRef.t val destVarRef : GlobRef.t -> variable val destConstRef : GlobRef.t -> Constant.t val destIndRef : GlobRef.t -> inductive val destConstructRef : GlobRef.t -> constructor val is_global : GlobRef.t -> constr -> bool [@@ocaml.deprecated "Use [Constr.isRefX] instead."] val subst_global : substitution -> GlobRef.t -> GlobRef.t * constr Univ.univ_abstracted option val subst_global_reference : substitution -> GlobRef.t -> GlobRef.t (** This constr is not safe to be typechecked, universe polymorphism is not handled here: just use for printing *) val printable_constr_of_global : GlobRef.t -> constr (** Turn a construction denoting a global reference into a global reference; raise [Not_found] if not a global reference *) val global_of_constr : constr -> GlobRef.t [@@ocaml.deprecated "Use [Constr.destRef] instead (throws DestKO instead of Not_found)."] (** {6 Extended global references } *) type syndef_name = KerName.t type extended_global_reference = | TrueGlobal of GlobRef.t | SynDef of syndef_name module ExtRefOrdered : sig type t = extended_global_reference val compare : t -> t -> int val equal : t -> t -> bool val hash : t -> int end module ExtRefSet : CSig.SetS with type elt = extended_global_reference module ExtRefMap : CMap.ExtS with type key = extended_global_reference and module Set := ExtRefSet val subst_extended_reference : substitution -> extended_global_reference -> extended_global_reference