Chalnoth said:
In the way I wrote above. The counting of different microscopic states for the same large-scale features (e.g. temperature, pressure, density) makes no reference to equilibrium. It works regardless.
If we have a probability distribution then, of course, it's clear that we can define a Shannon entropy on the distribution. What isn't clear is whether there are "large scale" features that are sufficient to determine a particular probability distribution over the microstates for a system not in equilibrium - even if we specify that the distribution only applies "at time t".
For example, how is "the pressure" of a gas defined for a gas that is not in equilibrium? A quantity like "the average density" characterizes a gas in equilibrium since the density is the same everywhere in the gas. But how would "the average density" of a gas not in equilibrium distinguish among all the different ways a gas can exist in a nonequlibrium state?
When I search the web for "entropy in nonequlibrium states", I do find attempts to define entropy in nonequilibrium states (e.g.
https://arxiv.org/abs/1305.3912 ), but the definition of entropy in nonequilibrium states appears to be a yet unsettled question.
In this case, the description is for a quantum system, which is inherently probabilistic after a fashion.
That clarifies how probability gets into the picture.
In a classic system, there are other ways to get at the same result for systems where quantum mechanics isn't relevant.
This is the point I don't understand. Everything I've read indicates there is no standard definition for entropy in nonequilibrium states. As I said, I agree that conceptually it is easy to think of defining entropy if we have a probability distribution on states. The problem is whether there exists any macroscopic information about nonequilibrium conditions that is sufficient to determine a probability distribution.
Perhaps that's what you mean by saying that entropy is difficult to
compute?
But those classical calculations don't help us to calculate entropy for gravitational situations: we need to use the quantum calculation, and need to understand quantum gravity to be able to do that calculation.
I'll attempt to understand that point, after I've understood what to do in the non-gravitational non-equilibrium cases!