A user-defined simplification procedure used by the cbv tactic.
The body must have type Lean.Meta.Sym.Simp.Simproc (Expr → SimpM Result).
Procedures are indexed by a discrimination tree pattern and fire at one of three phases:
↓ (pre), cbv_eval (eval), or ↑ (post, default).
Instances For
A cbv_simproc declaration without automatically adding it to the cbv simproc set.
To activate, use attribute [cbv_simproc].