The concept of ergodicity stretches back to Boltzmann in the 19th century. The ergodicity of a dynamical system that describes time evolution of a system of moving particles according to classical laws of motion should have ensured that the time averages of macroscopic objects is equivalent to the phase averages of them, but making this mathematically precise turned out to be very tricky.