Use custom rewrite functions in ftrans. The main motivation is to have working trace Meta.Tactic.fprop.rewrite/discharge/unify. Currently, ftrans is using simp's rewrite functions thus it is producing Meta.Tactic.simp.rewrite/discharge/unify.
Further advantage will be that we can again introduce rewrite rules guards. For example rule like cderiv.arg_dx.semiAdjoint_rule is problematic as it can apply to itself with g = fun x => x.
Use custom rewrite functions in
ftrans
. The main motivation is to have working traceMeta.Tactic.fprop.rewrite/discharge/unify
. Currently,ftrans
is using simp's rewrite functions thus it is producingMeta.Tactic.simp.rewrite/discharge/unify
.Further advantage will be that we can again introduce rewrite rules guards. For example rule like
cderiv.arg_dx.semiAdjoint_rule
is problematic as it can apply to itself withg = fun x => x
.