package coq-waterproof

  1. Overview
  2. Docs
type trace_atom = bool * int * Pp.t * Pp.t

Trace atome type

Can be read as `(is_success, depth, current_proof_state`, print_function_option, hint_name, hint_db_source)`

type trace = {
  1. log : bool;
  2. current_depth : int;
  3. trace : trace_atom list;
}

Debug type

exception SearchBound of trace

Exception raised if no proof of the goal is found

val incr_trace_depth : trace -> trace

Increases the debug depth by 1

val no_trace : trace

trace value corresponding to "no trace recording"

val new_trace : bool -> trace

Creates a trace value given a boolean indicating if tried hints are printed

val singleton_trace : bool -> Pp.t -> Pp.t -> trace

Creates a trace containing only one atom

val failed : trace -> trace

Marks all the trace atoms contained in the given trace as unsuccessful

val merge_traces : trace -> trace -> trace

Concatenates the two given traces

val pr_trace_atom : trace_atom -> Pp.t

Prints an info atom, i.e an element of the info trace

val pr_trace : trace -> unit

Prints the complete info trace

val keep_applied : trace -> trace

Returns the trace atoms that have been actually applied during a trace tactic (like wp_auto.wp_auto)

It is supposed here that the given trace has not been modified after getting it from the trace tactic.

OCaml

Innovation. Community. Security.