{motive : Lean.CollectMVars.State → Sort u} →
  ((visitedExpr : Lean.ExprSet) →
      (result : Array Lean.MVarId) → motive { visitedExpr := visitedExpr, result := result }) →
    (t : Lean.CollectMVars.State) → motive t