The Logic of Thermo Statistical Physics