A simplification theorem for the structural simplifier.
Contains both the theorem expression and a precomputed pattern for efficient unification during rewriting.
- expr : Expr
The theorem expression, typically
Expr.const declNamefor a named theorem. - pattern : Pattern
Precomputed pattern extracted from the theorem's type for efficient matching.
- rhs : Expr
Right-hand side of the equation.
Instances For
Equations
- Lean.Meta.Sym.Simp.instBEqTheorem = { beq := fun (thm₁ thm₂ : Lean.Meta.Sym.Simp.Theorem) => thm₁.expr == thm₂.expr }
Collection of simplification theorems available to the simplifier.
Instances For
Equations
- thms.getMatch e = Lean.Meta.Sym.getMatch thms.thms e
Instances For
Equations
- thms.getMatchWithExtra e = Lean.Meta.Sym.getMatchWithExtra thms.thms e
Instances For
Equations
- One or more equations did not get rendered due to their size.