| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
open Constr |
| 14 |
open Equality |
| 15 |
|
| 16 |
type raw_rew_rule = ((constr * UnivGen.sort_context_set) * bool * Gentactic.raw_generic_tactic option) CAst.t |
| 17 |
|
| 18 |
val create_rewrite_hint_db : local:bool -> name:string -> unit |
| 19 |
|
| 20 |
|
| 21 |
val add_rew_rules : locality:Hints.hint_locality -> string -> raw_rew_rule list -> unit |
| 22 |
|
| 23 |
val add_rewrite_hint |
| 24 |
: locality:Libobject.locality |
| 25 |
-> poly:PolyFlags.t |
| 26 |
-> string list |
| 27 |
-> bool |
| 28 |
-> Gentactic.raw_generic_tactic option -> Constrexpr.constr_expr list -> unit |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
val autorewrite : ?conds:conditions -> unit Proofview.tactic -> string list -> unit Proofview.tactic |
| 35 |
val autorewrite_in : ?conds:conditions -> Names.Id.t -> unit Proofview.tactic -> string list -> unit Proofview.tactic |
| 36 |
|
| 37 |
|
| 38 |
module RewRule : |
| 39 |
sig |
| 40 |
type t |
| 41 |
val rew_lemma : t -> UnivGen.sort_context_set * constr |
| 42 |
val rew_l2r : t -> bool |
| 43 |
val rew_tac : t -> Gentactic.glob_generic_tactic option |
| 44 |
end |
| 45 |
|
| 46 |
val find_rewrites : string -> RewRule.t list |
| 47 |
|
| 48 |
val find_matches : Environ.env -> string -> constr -> RewRule.t list |
| 49 |
|
| 50 |
val auto_multi_rewrite : ?conds:conditions -> string list -> Locus.clause -> unit Proofview.tactic |
| 51 |
|
| 52 |
val auto_multi_rewrite_with : ?conds:conditions -> unit Proofview.tactic -> string list -> Locus.clause -> unit Proofview.tactic |
| 53 |
|
| 54 |
val print_rewrite_hintdb : string -> Pp.t |