package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.14.1.tar.gz
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3

doc/coq-core.tactics/Autorewrite/index.html

Module AutorewriteSource

This files implements the autorewrite tactic.

Rewriting rules before tactic interpretation

Sourceval add_rew_rules : locality:Goptions.option_locality -> string -> raw_rew_rule list -> unit

To add rewriting rules to a base

Sourceval autorewrite : ?conds:Equality.conditions -> unit Proofview.tactic -> string list -> unit Proofview.tactic

The AutoRewrite tactic. The optional conditions tell rewrite how to handle matching and side-condition solving. Default is Naive: first match in the clause, don't look at the side-conditions to tell if the rewrite succeeded.

Sourceval autorewrite_in : ?conds:Equality.conditions -> Names.Id.t -> unit Proofview.tactic -> string list -> unit Proofview.tactic
Sourcetype rew_rule = {
  1. rew_lemma : Constr.constr;
  2. rew_type : Constr.types;
  3. rew_pat : Constr.constr;
  4. rew_ctx : Univ.ContextSet.t;
  5. rew_l2r : bool;
  6. rew_tac : Genarg.glob_generic_argument option;
}

Rewriting rules

Sourceval find_rewrites : string -> rew_rule list
Sourceval find_matches : string -> Constr.constr -> rew_rule list
Sourceval auto_multi_rewrite : ?conds:Equality.conditions -> string list -> Locus.clause -> unit Proofview.tactic
Sourceval auto_multi_rewrite_with : ?conds:Equality.conditions -> unit Proofview.tactic -> string list -> Locus.clause -> unit Proofview.tactic
Sourceval print_rewrite_hintdb : string -> Pp.t
OCaml

Innovation. Community. Security.