{motive : Lean.JsonRpc.MessageDirection → Sort u} →
  (ctorIdx : ℕ) →
    (t : Lean.JsonRpc.MessageDirection) →
      ctorIdx = t.ctorIdx → Lean.JsonRpc.MessageDirection.ctorElimType ctorIdx → motive t