Gibbs was well aware that the application of the equipartition theorem to large systems of classical particles failed to explain the measurements of the specific heats of both solids and gases, and he argued that this was evidence of the danger of basing thermodynamics on "hypotheses about the constitution of matter". Gibbs's own framework for statistical mechanics, based on ensembles of macroscopically indistinguishable microstates, could be carried over almost intact after the discovery that the microscopic laws of nature obey quantum rules, rather than the classical laws known to Gibbs and to his contemporaries. His resolution of the so-called "Gibbs paradox", about the entropy of the mixing of gases, is now often cited as a prefiguration of the indistinguishability of particles required by quantum physics.