{motive : Lean.Elab.Term.CalcStepView → Sort u} →
  (t : Lean.Elab.Term.CalcStepView) →
    ((ref : Lean.Syntax) → (term proof : Lean.Term) → motive { ref := ref, term := term, proof := proof }) → motive t