module Proof:sig..end
Proof Script Database
val delete_script : string -> unit
val add_script : string -> string list -> string -> string -> unitnew_script goal keys proof qed registers the script proof terminated by qed
for goal goal and keywords keys
val find_script_for_goal : string -> (string * string) optionRetrieve script file for one specific goal.
The file specified by -wp-script f is loaded if necessary.
val update_hints_for_goal : string -> string list -> unitUpdate the hints for one specific goal. The script file will be saved if hints are different.
val find_script_with_hints : string list -> string list -> (int * string * string * string) listRetrieve matchable script files for w.r.t provided required and hints keywords.
Most suitable scripts comes first, with format (n,g,p,q) where p,q is a script
matching n hints from possibly deprecated goal g.
val clear : unit -> unit
val loadscripts : unit -> unitLoad scripts from -wp-script f. Automatically invoked by find_xxx unless
loadscripts flags is unset.
val savescripts : unit -> unitIf necessary, dump the scripts database into the file
specified by -wp-script f.
val is_empty : string -> bool
val parse_coqproof : string -> (string * string) optionparse_coqproof f parses a coq-file f and fetch the first proof.
val parse_scripts : string -> unitparse_scripts f parses all scripts from file f and put them in the database.
val dump_scripts : string -> unitdump_scripts f saves all scripts from the database into file f.
Proof Script Interaction
val script_for : pid:WpPropId.prop_id -> gid:string -> (string * string) option
val script_for_ide : pid:WpPropId.prop_id -> gid:string -> string * string
val hints_for : pid:WpPropId.prop_id -> (string * string * string) list