package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.17.0.tar.gz
sha512=2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250

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:Hints.hint_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
Sourcemodule RewRule : sig ... end

Rewriting rules

Sourceval find_rewrites : string -> RewRule.t list
Sourceval find_matches : string -> Constr.constr -> RewRule.t 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
Sourceval default_hint_rewrite_locality : unit -> Hints.hint_locality
OCaml

Innovation. Community. Security.