Wp.ProofEngine
Interactive Proof Engine
module Node : sig ... end
val get : Wpo.t -> [ `Script | `Proof | `Saved | `None ]
val reset : tree -> unit
val clear : Wpo.t -> unit
val validate : tree -> unit
Re-compute stats & set status of the entire script
val consolidated : Wpo.t -> Stats.stats
Consolidate statistics wrt current script or prover results
Leaves are numbered from 0 to n-1
val pool : tree -> Lang.F.pool
val saved : tree -> bool
val set_saved : tree -> bool -> unit
val tree_context : tree -> WpContext.t
val node_context : node -> WpContext.t
val title : node -> string
val proved : node -> bool
val pending : node -> int
val stats : node -> Stats.stats
val depth : node -> int
val tactical : node -> ProofScript.jtactic option
val get_strategies : node -> int * Strategy.t array
val set_strategies : node -> ?index:int -> Strategy.t array -> unit
val get_hint : node -> string option
val set_hint : node -> string -> unit
val forward : tree -> unit
val cancel : tree -> unit
val fork :
tree ->
anchor:node ->
ProofScript.jtactic ->
Tactical.process ->
fork
val pretty : Stdlib.Format.formatter -> fork -> unit
val script : tree -> ProofScript.jscript
val bind : node -> ProofScript.jscript -> unit
val bound : node -> ProofScript.jscript