Module Rewrite

TODO: document and clean me!

exception RewriteFailure of Environ.env * Evd.evar_map * Pretype_errors.pretype_error
type evars = Evd.evar_map * Evar.Set.t
type rewrite_result_info = {
rew_rel : EConstr.constr;
rew_to : EConstr.constr;
rew_prf : EConstr.constr;
}
type rewrite_result =
| Fail
| Identity
| Success of rewrite_result_info
val subst_rewrite_result : Evd.evar_map -> (Names.Id.t -> EConstr.constr) -> rewrite_result -> rewrite_result
type strategy
val cl_rewrite_clause_strat : strategy -> Names.Id.t option -> unit Proofview.tactic

Entry point for user-level "rewrite_strat"

Entry point for user-level "setoid_rewrite"

val is_applied_rewrite_relation : Environ.env -> Evd.evar_map -> EConstr.rel_context -> EConstr.constr -> EConstr.types option
val setoid_symmetry : unit Proofview.tactic
val setoid_symmetry_in : Names.Id.t -> unit Proofview.tactic
val setoid_reflexivity : unit Proofview.tactic
val setoid_transitivity : EConstr.constr option -> unit Proofview.tactic
module Strategies : sig ... end
module Internal : sig ... end