{motive : Lean.Elab.Term.CollectPatternVars.State → Sort u} →
  (t : Lean.Elab.Term.CollectPatternVars.State) →
    ((found : Lean.NameSet) → (vars : Array Lean.Elab.Term.PatternVar) → motive { found := found, vars := vars }) →
      motive t