{motive : Lean.Meta.Grind.Counters → Sort u} →
  ((thm : Lean.PHashMap Lean.Meta.Grind.Origin ℕ) →
      (case apps : Lean.PHashMap Lean.Name ℕ) → motive { thm := thm, case := case, apps := apps }) →
    (t : Lean.Meta.Grind.Counters) → motive t