The grind normalization theorems as Sym.simp theorem sets, the state of normSymExt. The
[grind norm]/[grind unfold] attributes populate it together with normExt, so both
normalizers see the same declarations.
- pre : Sym.Simp.Theorems
Theorems applied before visiting subterms (
[grind norm ↓]). - post : Sym.Simp.Theorems
Theorems applied after visiting subterms (
[grind norm]), and the equational theorems of the declarations to unfold ([grind unfold]). - dsimp : Sym.DSimp.Decls
Instances For
An entry of normSymExt.
- pre (thm : Sym.Simp.Theorem) : NormSymEntry
- post (thm : Sym.Simp.Theorem) : NormSymEntry
- dsimp (entry : Sym.DSimp.Decls.Entry) : NormSymEntry
Instances For
Equations
Equations
- s.addEntry (Lean.Meta.Grind.NormSymEntry.pre thm) = { pre := s.pre.insert thm, post := s.post, dsimp := s.dsimp }
- s.addEntry (Lean.Meta.Grind.NormSymEntry.post thm) = { pre := s.pre, post := s.post.insert thm, dsimp := s.dsimp }
- s.addEntry (Lean.Meta.Grind.NormSymEntry.dsimp e) = { pre := s.pre, post := s.post, dsimp := s.dsimp.addEntry e }
Instances For
Adds the [grind norm] theorem declName to normExt and normSymExt.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Adds the [grind unfold] declaration declName to normSymExt.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Adds the [grind unfold] declaration declName to normExt and normSymExt. Returns false
if the declaration cannot be unfolded.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Return theorem kind for stx of the form Attr.grindThmMod
Equations
- One or more equations did not get rendered due to their size.
Instances For
Return theorem kind for stx of the form (Attr.grindMod)?
Equations
Instances For
Equations
- Lean.Meta.Grind.throwInvalidUsrModifier = Lean.throwError (Lean.toMessageData "the modifier `usr` is only relevant in parameters for `grind only`")
Instances For
Instances For
Extension backing the @[lia] attribute. It uses the same recording mechanism as @[grind]
(see registerAttr), but provides a separate, smaller E-matching lemma set that the lia
tactic instantiates (e.g. Nat.max_def), without enabling the full @[grind] set.
Returns true is declName is a builtin split or has been tagged with [grind] attribute.
Equations
- One or more equations did not get rendered due to their size.