package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.16.1.tar.gz
sha256=583471c8ed4f227cb374ee8a13a769c46579313d407db67a82d202ee48300e4b

doc/coq-core.library/Globnames/index.html

Module GlobnamesSource

Sourcetype global_reference = Names.GlobRef.t =
  1. | VarRef of Names.variable
    (*
    • deprecated Use Names.GlobRef.VarRef
    *)
  2. | ConstRef of Names.Constant.t
    (*
    • deprecated Use Names.GlobRef.ConstRef
    *)
  3. | IndRef of Names.inductive
    (*
    • deprecated Use Names.GlobRef.IndRef
    *)
  4. | ConstructRef of Names.constructor
    (*
    • deprecated Use Names.GlobRef.ConstructRef
    *)
  • deprecated Use Names.GlobRef.t
Sourceval isVarRef : Names.GlobRef.t -> bool
Sourceval isConstRef : Names.GlobRef.t -> bool
Sourceval isIndRef : Names.GlobRef.t -> bool
Sourceval isConstructRef : Names.GlobRef.t -> bool
Sourceval destConstructRef : Names.GlobRef.t -> Names.constructor
Sourceval is_global : Names.GlobRef.t -> Constr.constr -> bool
  • deprecated Use [Constr.isRefX] instead.
Sourceval printable_constr_of_global : Names.GlobRef.t -> Constr.constr

This constr is not safe to be typechecked, universe polymorphism is not handled here: just use for printing

Sourceval global_of_constr : Constr.constr -> Names.GlobRef.t

Turn a construction denoting a global reference into a global reference; raise Not_found if not a global reference

  • deprecated Use [Constr.destRef] instead (throws DestKO instead of Not_found).
Extended global references
Sourcetype abbreviation = Names.KerName.t
Sourcetype extended_global_reference =
  1. | TrueGlobal of Names.GlobRef.t
  2. | Abbrev of abbreviation
Sourcemodule ExtRefOrdered : sig ... end
OCaml

Innovation. Community. Security.