@[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.
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
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.
Instances For
- lemmas : NameMap Sym.Simp.Theorems
Instances For
@[implicit_reducible]