Lean.Meta.Grind.Extension →
  Lean.Name →
    ℕ →
      List Lean.Expr →
        Lean.Meta.Grind.EMatchTheoremKind →
          Bool →
            optParam Lean.AttributeKind Lean.AttributeKind.global →
              List Lean.Meta.Grind.EMatchTheoremConstraint → Lean.MetaM Unit