(motive : Lean.Meta.Grind.EMatchTheoremKind → Sort u_1) →
  (thmKind : Lean.Meta.Grind.EMatchTheoremKind) →
    ((gen : Bool) → motive (Lean.Meta.Grind.EMatchTheoremKind.eqLhs gen)) →
      ((gen : Bool) → motive (Lean.Meta.Grind.EMatchTheoremKind.eqRhs gen)) →
        ((gen : Bool) → motive (Lean.Meta.Grind.EMatchTheoremKind.eqBoth gen)) →
          ((x : Lean.Meta.Grind.EMatchTheoremKind) → motive x) → motive thmKind