{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X S : C} →
      {motive : CategoryTheory.OverClass X S → Sort u_1} →
        ((hom : X ⟶ S) → motive { hom := hom }) → (t : CategoryTheory.OverClass X S) → motive t