Proof of the impossibility of ergodic gas systems