package coq-waterproof

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

3.0.0+8.20.tar.gz
md5=2e3f1ff03321f487b6fbe4a3cfbd3fd5
sha512=a250247ad200b05ee355096526c68eb0ce19622e5c1e9eb15db4f3a522de1ae946cae2b14644d4e124ca13954e89f655dab8d73c7d4f1e8b8206989e2acd64fd

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

Module Waterproof.WaterproveSource

Sourceval automation_shield : bool ref

Is automation shield enabled ?

Sourceval automation_debug : bool ref

Do we want to debug the automation ?

Sourceval print_rewrite_hints : bool ref

Should rewrite hints be printed ?

Sourceval waterprove : int -> ?shield:bool -> Tactypes.delayed_open_constr list -> Hint_dataset_declarations.database_type -> unit Proofview.tactic

Waterprove

This function is the main automatic solver of coq-waterproof.

The databases used for the proof search are the one declared in the current imported dataset (see Hint_dataset.loaded_hint_dataset).

The forbidden patterns are defined in is_forbidden.

Arguments:

  • depth (int): max depth of the proof search
  • shield (bool): if set to true, will stop the proof search if a forbidden pattern is found
  • lems (Tactypes.delayed_open_constr list): additional lemmas that are given to solve the proof
  • database_type (Hint_dataset_declarations): type of databases that will be use as hint databases
Sourceval rwaterprove : int -> ?shield:bool -> Tactypes.delayed_open_constr list -> Hint_dataset_declarations.database_type -> Evd.econstr list -> Evd.econstr list -> unit Proofview.tactic

Restricted Waterprove

This function is similar to waterprove but use wp_auto.rwp_auto and wp_eauto.rwp_eauto instead of wp_auto.wp_auto and wp_eauto.wp_eauto.

Arguments:

  • depth (int): max depth of the proof search
  • shield (bool): if set to true, will stop the proof search if a forbidden pattern is found
  • lems (Tactypes.delayed_open_constr list): additional lemmas that are given to solve the proof
  • database_type (Hint_dataset_declarations): type of databases that will be use as hint databases
  • must_use (string list): list of hints that have to be used during the automatic solving
  • forbidden (string list): list of hints that must not be used during the automatic solving