Helper functions for using the simplifier. #
[TODO] Reunification of mkSimpContext'
with core.
Construct a Simp.DischargeWrapper
from the Syntax
for a simp
discharger.
Equations
Instances For
def
Lean.Meta.Simp.mkSimpContext'
(simpTheorems : SimpTheorems)
(stx : Syntax)
(eraseLocal : Bool)
(kind : Elab.Tactic.SimpKind := Elab.Tactic.SimpKind.simp)
(ctx ignoreStarArg : Bool := false)
:
If ctx == false
, the config argument is assumed to have type Meta.Simp.Config
,
and Meta.Simp.ConfigCtx
otherwise.
If ctx == false
, the discharge
option must be none