LibBinding.Stateval return : 'a -> 'a tval run_state : state -> Evd.evar_map -> 'a t -> Evd.evar_map * 'aval run : Environ.env -> Evd.evar_map -> 'a t -> Evd.evar_map * 'aval get_env : Environ.env tval get_sigma : Evd.evar_map tval get_names : Nameops.Fresh.t tval get_context : EConstr.rel_context tval weaken : EConstr.constr -> EConstr.constr tWeaken a term defined in the former context by applying state.subst.
val weaken_rel : EConstr.rel_declaration -> EConstr.rel_declaration tWeaken a declaration defined in the former context by applying state.subst.
val weaken_context : EConstr.rel_context -> EConstr.rel_context tWeaken a context defined in the former context by applying state.subst.
val make_key : int -> access_key tval push_old_rel : EConstr.rel_declaration -> (state * access_key) tAdd a former definition decl to a state s. It returns the new state, and an access key to acces the declaration. It supposes decl is well-typed in the current context.
val push_fresh_rel : EConstr.rel_declaration -> (state * access_key) tAdd a new definition decl to a state s. It returns the new state, and an access key to acces the declaration. It supposes decl is well-typed in the current context.
val get_term : access_key -> EConstr.constr tCompute the debruijn variable associated to an access_key in the context s : state.
val geti_term : access_key list -> int -> EConstr.constr tCompute the debruijn variable associated to the i-th access_key in the context s : state.
val getij_term : access_key list list -> int -> int -> EConstr.constr tCompute the debruijn variable associated to the i-th, j-th access_key in the context s : state.
val get_terms : access_key list -> EConstr.constr array tCompute the debruijn variables associated to a list of access_key in the context s : state.
val get_type : access_key -> EConstr.types tCompute the type of the variable associated to an access_key in the context s : state.
val geti_type : access_key list -> int -> EConstr.types tCompute the type of the variable associated to the i-th access_key in the context s : state.
val getij_type : access_key list list -> int -> int -> EConstr.types tCompute the type of the variable associated to the i-th, j-th access_key in the context s : state.
val get_types : access_key list -> EConstr.types array tCompute the type of the variable associated to a list of access_key in the context s : state.
val get_aname : access_key -> Names.Name.t EConstr.binder_annot tCompute the binder_annot of the variable associated to an access_key in the context s : state.
val geti_aname : access_key list -> int -> Names.Name.t EConstr.binder_annot tCompute the binder_annot of the variable associated to the i-th access_key in the context s : state.
val getij_aname : access_key list list -> int -> int -> Names.Name.t EConstr.binder_annot tCompute the binder_annot of the variable associated to the i-th, j-th access_key in the context s : state.
val get_anames : access_key list -> Names.Name.t EConstr.binder_annot array tCompute the binder_annot of the variable associated to a list of access_key in the context s : state.
val check_key_in : int -> access_key list -> int option t