Documentation

Lean.Meta.Tactic.Simp.SimpLemmas

structure Lean.Meta.SimpLemma :
Type
Equations
  • Lean.Meta.instInhabitedSimpLemma = { default := { keys := default, levelParams := default, proof := default, priority := default, post := default, perm := default, name? := default } }
Equations
Equations
Equations
Equations
  • Lean.Meta.instInhabitedSimpLemmas = { default := { pre := default, post := default, lemmaNames := default, toUnfold := default, erased := default, toUnfoldThms := default } }
Equations
Equations
Equations
def Lean.Meta.SimpLemmas.erase {m : TypeType} [inst : Monad m] [inst : Lean.MonadError m] (d : Lean.Meta.SimpLemmas) (declName : Lean.Name) :
Equations
def Lean.Meta.addSimpLemma (ext : Lean.Meta.SimpExtension) (declName : Lean.Name) (post : Bool) (inv : Bool) (attrKind : Lean.AttributeKind) (prio : Nat) :
Equations
def Lean.Meta.mkSimpAttr (attrName : Lean.Name) (attrDescr : String) (ext : Lean.Meta.SimpExtension) :
Equations
Equations
def Lean.Meta.registerSimpAttr (attrName : Lean.Name) (attrDescr : String) (extName : optParam Lean.Name (Lean.Name.appendAfter attrName "Ext")) :
Equations
Equations
Equations
def Lean.Meta.mkSimpLemmas (levelParams : Array Lean.Name) (proof : Lean.Expr) (post : optParam Bool true) (inv : optParam Bool false) (prio : optParam Nat 1000) (name? : optParam (Option Lean.Name) none) :
Equations
Equations
Equations
Equations