Module Opaqueproof
type 'a delayed_universes=|PrivateMonomorphic of 'a|PrivatePolymorphic of int * Univ.ContextSet.tNumber of surrounding bound universes + local constraints
type proofterm= (Constr.constr * Univ.ContextSet.t delayed_universes) Future.computationtype opaquetabtype opaque
val empty_opaquetab : opaquetabval create : Names.DirPath.t -> proofterm -> opaquetab -> opaque * opaquetabFrom a
prooftermto someopaque.
type work_list= (Univ.Instance.t * Names.Id.t array) Names.Cmap.t * (Univ.Instance.t * Names.Id.t array) Names.Mindmap.ttype cooking_info={modlist : work_list;abstract : Constr.named_context * Univ.Instance.t * Univ.AUContext.t;}type opaque_proofterm= Constr.t * unit delayed_universestype opaque_handletype indirect_accessor={access_proof : Names.DirPath.t -> opaque_handle -> opaque_proofterm option;access_discharge : cooking_info list -> opaque_proofterm -> opaque_proofterm;}Opaque terms are indexed by their library dirpath and an integer index. The two functions above activate this indirect storage, by telling how to retrieve terms.
val force_proof : indirect_accessor -> opaquetab -> opaque -> opaque_prooftermFrom a
opaqueback to aconstr. This might use the indirect opaque accessor given as an argument.
val force_constraints : indirect_accessor -> opaquetab -> opaque -> Univ.ContextSet.tval subst_opaque : Mod_subst.substitution -> opaque -> opaqueval discharge_opaque : cooking_info -> opaque -> opaqueval join_opaque : ?except:Future.UUIDSet.t -> opaquetab -> opaque -> unit
Serialization
val dump : ?except:Future.UUIDSet.t -> opaquetab -> opaque_disk * opaque_handle Future.UUIDMap.tval get_opaque_disk : opaque_handle -> opaque_disk -> opaque_proofterm optionval set_opaque_disk : opaque_handle -> opaque_proofterm -> opaque_disk -> unitval repr_handle : opaque_handle -> intOnly used for pretty-printing