@[cbv_eval] Attribute and Extension #
Environment extension for user-provided cbv rewrite rules. Each theorem is converted
to a Sym.Simp.Theorem (precomputed Pattern + DiscrTree key) and indexed by the
head constant on its LHS.
@[cbv_eval ←] inverts the theorem: an auxiliary lemma with swapped sides is created
via mkAuxLemma.
Equations
- thm.declName = thm.expr.getAppFn.constName?
Instances For
Entry of the CbvEvalExtension.
Consists of the precomputed Theorem object and a name of the head function appearing on the left-hand side of the theorem.
- appFn : Name
- thm : Sym.Simp.Theorem
Instances For
@[implicit_reducible]
Equations
Instances For
Equations
Instances For
@[implicit_reducible]
Create a CbvEvalEntry from a theorem declaration. When inv = true, creates an
auxiliary lemma with swapped sides so the theorem can be used for right-to-left rewriting.
Equations
- One or more equations did not get rendered due to their size.
Instances For
- lemmas : NameMap Sym.Simp.Theorems
Instances For
@[implicit_reducible]
Equations
Instances For
Equations
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.