Module Proof


module Proof: sig .. end
Proof Script Database

val scriptbase : (string, String.t list * string) Hashtbl.t
val scriptfile : Wp_parameters.Script.t option Pervasives.ref
val needback : bool Pervasives.ref
val needsave : bool Pervasives.ref
val clear : unit -> unit
val register_script : string -> String.t list -> string -> unit
val parse_coqproof : string -> string option
parse_coqproof f parses a coq-file f and fetch the first proof.
val collect_scripts : Script.input -> unit
val parse_scripts : string -> unit
parse_scripts f parses all scripts from file f and put them in the database.
val dump_scripts : string -> unit
dump_scripts f saves all scripts from the database into file f.
val choose : int -> string
val savescripts : unit -> unit
If necessary, dump the scripts database into the file specified by -wp-script f.
val loadscripts : unit -> unit
Load scripts from -wp-script f. Automatically invoked by find_xxx unless loadscripts flags is unset.
val find_script_for_goal : string -> string option
Retrieve script file for one specific goal. The file specified by -wp-script f is loaded if necessary.
val suitable : int -> String.t list -> String.t list -> int
val most_suitable : int * 'a -> int * 'b -> int
val find_script_for_keywords : String.t list -> (int * string) list
Retrieve matchable script files for w.r.t provided keywords. Most suitable scripts comes first.
val add_script : string -> String.t list -> string -> unit
new_script goal keys proof registers the script proof for goal goal and keywords keys