package rocq-runtime
Module AutorewriteSource
This files implements the autorewrite tactic.
Source
type raw_rew_rule =
((Constr.constr * UnivGen.sort_context_set)
* bool
* Gentactic.raw_generic_tactic option)
CAst.tTo add rewriting rules to a base
Source
val add_rewrite_hint :
locality:Libobject.locality ->
poly:PolyFlags.t ->
string list ->
bool ->
Gentactic.raw_generic_tactic option ->
Constrexpr.constr_expr list ->
unitSource
val autorewrite :
?conds:Equality.conditions ->
?forward:bool ->
unit Proofview.tactic ->
string list ->
unit Proofview.tacticThe 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.
Source
val autorewrite_in :
?conds:Equality.conditions ->
?forward:bool ->
Names.Id.t ->
unit Proofview.tactic ->
string list ->
unit Proofview.tacticSource
val auto_multi_rewrite :
?conds:Equality.conditions ->
?forward:bool ->
string list ->
Locus.clause ->
unit Proofview.tacticSource
val auto_multi_rewrite_with :
?conds:Equality.conditions ->
?forward:bool ->
unit Proofview.tactic ->
string list ->
Locus.clause ->
unit Proofview.tactic