text: The theorem also holds for adiabatic processes. That is, for closed systems, which are not in thermal contact with any heat reservoirs.
  Similarly to the non-adiabatic case, the lost work is measured relative to some reference reservoir . Even though the process itself is adiabatic, the corresponding reversible process may not be, and might require heat exchange with the reference reservoir. Thus, this can be thought of as a special case of the above statement of the theorem - an adiabatic process is one for which the heat interactions with all reservoirs are zero, and in the reversible process, only the heat interaction with the reference thermal reservoir may be different.
  The adiabatic case of the theorem holds also for the other formulation of the theorem, presented below.