Stav dette: Equilibrium statistical mechanics