{α : Type} →
  {motive : Batteries.Tactic.DeclCache α → Sort u} →
    (t : Batteries.Tactic.DeclCache α) →
      ((cache : Batteries.Tactic.Cache α) →
          (addDecl addLibraryDecl : Lean.Name → Lean.ConstantInfo → α → Lean.MetaM α) →
            motive { cache := cache, addDecl := addDecl, addLibraryDecl := addLibraryDecl }) →
        motive t