Maxwell's demon and data compression.
In an asymmetric Szilard engine model of Maxwell's demon, we show the equivalence between information theoretical and thermodynamic entropies when the demon erases information optimally. The work gain by the engine can be exactly canceled out by the work necessary to reset the demon's memory after optimal data compression in the manner of Shannon before the erasure.