Documentation

Lean.Meta.Tactic.Grind.EMatchTheorem

  • decl (declName : Name) : Origin

    A global declaration in the environment.

  • fvar (fvarId : FVarId) : Origin

    A local hypothesis.

  • stx (id : Name) (ref : Syntax) : Origin

    A proof term provided directly to a call to grind where ref is the provided grind argument. The id is a unique identifier for the call.

  • other : Origin
Instances For

A unique identifier corresponding to the origin.

Equations

A theorem for heuristic instantiation based on E-matching.

  • levelParams : Array 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 : Expr
  • numParams : Nat
  • patterns : List Expr
  • symbols : List HeadIndex

    Contains all symbols used in pattterns.

  • origin : Origin
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 : Name) (numParams : Nat) (patterns : List Expr) :
Equations
  • One or more equations did not get rendered due to their size.