Documentation

Lean.Meta.Tactic.Grind.EMatchTheorem

Instances For

A unique identifier corresponding to the origin.

Equations

A theorem for heuristic instantiation based on E-matching.

  • levelParams : Array Lean.Name

    It stores universe parameter names for universe polymorphic proofs. Recall that it is non-empty only when we elaborate an expression provided by the user. When proof is just a constant, we can use the universe parameter names stored in the declaration.

  • proof : Lean.Expr
  • numParams : Nat
  • patterns : List Lean.Expr
  • Contains all symbols used in pattterns.

Instances For
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.

Auxiliary type for the checkCoverage function.

def Lean.Meta.Grind.addEMatchTheorem (declName : Lean.Name) (numParams : Nat) (patterns : List Lean.Expr) :
Equations
  • One or more equations did not get rendered due to their size.