package coq

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type key = int CEphemeron.key option ref
type constant_key = Declarations.constant_body * (link_info ref * key)
type stratification = {
  1. env_universes : UGraph.t;
  2. env_engagement : Declarations.engagement;
}
type lazy_val
val force_lazy_val : lazy_val -> (Term.values * Names.Id.Set.t) option
val dummy_lazy_val : unit -> lazy_val
val build_lazy_val : lazy_val -> (Term.values * Names.Id.Set.t) -> unit
type named_context_val = private {
  1. env_named_ctx : Context.Named.t;
  2. env_named_map : (Context.Named.Declaration.t * lazy_val) Names.Id.Map.t;
}
type env = {
  1. env_globals : globals;
  2. env_named_context : named_context_val;
  3. env_rel_context : Context.Rel.t;
  4. env_rel_val : lazy_val list;
  5. env_nb_rel : int;
  6. env_stratification : stratification;
  7. env_typing_flags : Declarations.typing_flags;
  8. env_conv_oracle : Conv_oracle.oracle;
  9. retroknowledge : Retroknowledge.retroknowledge;
  10. indirect_pterms : Opaqueproof.opaquetab;
}
val empty_named_context_val : named_context_val
val empty_env : env
val nb_rel : env -> int
val push_rel : Context.Rel.Declaration.t -> env -> env
val lookup_rel_val : int -> env -> lazy_val
val env_of_rel : int -> env -> env
val match_named_context_val : named_context_val -> (Context.Named.Declaration.t * lazy_val * named_context_val) option
val push_named : Context.Named.Declaration.t -> env -> env
val lookup_named : Names.Id.t -> env -> Context.Named.Declaration.t
val lookup_named_val : Names.Id.t -> env -> lazy_val
val env_of_named : Names.Id.t -> env -> env
val lookup_constant_key : Names.constant -> env -> constant_key
val lookup_constant : Names.constant -> env -> Declarations.constant_body
val lookup_mind_key : Names.mutual_inductive -> env -> mind_key
OCaml

Innovation. Community. Security.