{motive : Lean.Export.State → Sort u} →
  ((names : Lean.Export.Alloc Lean.Name) →
      (levels : Lean.Export.Alloc Lean.Level) →
        (exprs : Lean.Export.Alloc Lean.Expr) →
          (defs : Std.HashSet Lean.Name) →
            (stk : Array (Bool × Lean.Export.Entry)) →
              motive { names := names, levels := levels, exprs := exprs, defs := defs, stk := stk }) →
    (t : Lean.Export.State) → motive t