LibBinding.Statetype 'a t = state -> 'aval return : 'a -> 'a tval get_env : Environ.env tval get_sigma : Evd.evar_map tval get_names : Nameops.Fresh.t tval make : Environ.env -> Evd.evar_map -> stateCreate a new state out of an environment env and evar_map sigma with:
envval 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 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 list 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 list 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 list tCompute the binder_annot of the variable associated to a list of access_key in the context s : state.
val print_state : (Environ.env -> Evd.evar_map -> EConstr.constr -> Pp.t) -> Pp.t tPrint function for debugging.