package coq-waterproof

  1. Overview
  2. Docs
Coq proofs in a style that resembles non-mechanized mathematical proofs

Install

Dune Dependency

Authors

Maintainers

Sources

2.1.1+8.18.tar.gz
md5=a7d2922fb4ed7f0b8fe38074319890fe
sha512=3c511d066ba324cf19fc5620ae89ad09796f3a04576012739783100487dd8d50214edab9bdfc85d581d6538e601511f4563b90ad1dc3041e60a9702f4875e31d

doc/coq-waterproof.plugin/Waterproof/Backtracking/index.html

Module Waterproof.BacktrackingSource

Sourcetype 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)`

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

Debug type

Sourceexception SearchBound of trace

Exception raised if no proof of the goal is found

Sourceval incr_trace_depth : trace -> trace

Increases the debug depth by 1

Sourceval no_trace : trace

trace value corresponding to "no trace recording"

Sourceval new_trace : bool -> trace

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

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

Creates a trace containing only one atom

Sourceval failed : trace -> trace

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

Sourceval merge_traces : trace -> trace -> trace

Concatenates the two given traces

Sourceval pr_trace_atom : trace_atom -> Pp.t

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

Sourceval pr_trace : trace -> unit

Prints the complete info trace

Sourceval 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.