(motive : Lean.Meta.RewriteResult → Sort u_1) →
  (__discr : Lean.Meta.RewriteResult) →
    ((eNew eq' : Lean.Expr) → motive { eNew := eNew, eqProof := eq', mvarIds := [] }) →
      ((x : Lean.Meta.RewriteResult) → motive x) → motive __discr