Vernacstatemodule Parser : sig ... endmodule System : sig ... endSystem State
module LemmaStack : sig ... endtype t = {parsing : Parser.t; | (* parsing state   | 
system : System.t; | (* summary + libstack *) | 
lemmas : LemmaStack.t option; | (* proofs of lemmas currently opened *) | 
program : Declare.OblState.t NeList.t; | (* program mode table. One per open module/section including the toplevel module. *) | 
opaques : Opaques.Summary.t; | (* qed-terminated proofs *) | 
shallow : bool; | (* is the state trimmed down (libstack) *) | 
}val freeze_interp_state : marshallable:bool -> tval unfreeze_interp_state : t -> unitmodule Stm : sig ... endSTM-specific state handling
module Declare : sig ... end