{motive : Lean.Elab.Tactic.Do.SpecAttr.SpecTheorems → Sort u} →
  ((specs : Lean.Meta.DiscrTree Lean.Elab.Tactic.Do.SpecAttr.SpecTheorem) →
      (erased : Lean.PHashSet Lean.Elab.Tactic.Do.SpecAttr.SpecProof) → motive { specs := specs, erased := erased }) →
    (t : Lean.Elab.Tactic.Do.SpecAttr.SpecTheorems) → motive t