Module Vernacstate.Stm

STM-specific state handling

type pstate

Proof state + meta/evar counters

val pstate : t -> pstate
val set_pstate : t -> pstate -> t
type non_pstate = Summary.frozen * Lib.frozen

Rest of the state, unfortunately this is used in low-level so we need to expose it

val non_pstate : t -> non_pstate
val same_env : t -> t -> bool

Checks if two states have the same Environ.env (physical eq)

val make_shallow : t -> t

Call Lib.drop_objects on the state