Large deviations in the microcanonical ensemble: maximum entropy
principle from macrostate "contraction" to energy; minimum free energy
principle in the canonical ensemble (section 5.3)
Reference review: "The large deviation approach to statistical mechanics" by H. Touchette (Phys. Rep. 2009)