{motive : Lean.Expr.FoldConstsImpl.State → Sort u} →
  ((visited : Lean.PtrSet Lean.Expr) →
      (visitedConsts : Lean.NameHashSet) → motive { visited := visited, visitedConsts := visitedConsts }) →
    (t : Lean.Expr.FoldConstsImpl.State) → motive t