I have two straightforward question, and below I introduce more context to interpret them:
- What is, or is there, an order relation for forms that one can use to make sense of the 2nd law of thermodynamics for processes (reversible or not)? Or is the 2nd law fundamentally given in an integral way?
- Is there a sense in which a form $dS$ can be "path-dependent", to accommodate the distinction between reversible and irreversible statements of the 2nd law (with saturation or not of the inequality)?
I'm trying to understand the laws of thermodynamics from a differential forms formalism, and in doing so I stumbled upon concepts I could not make sense of very well. I'll start with the second law of thermodynamics for reversible/quasi-static processes (which at every instant are at equilibrium) as in Quantum Thermodynamics by Mahler et al. (eq. 3.8 p. 26): $$ dS = \delta Q/T , $$ where $d$ is the exterior derivative and $\delta$ gives an infinitesimal difference. At this point I take this statement as an equality of forms, so $\delta Q$ is not a number, but a 1-form.
In extending this to general thermodynamic process (irreversible, no longer quasi-static, involving non-equilibrium states), Mahler et al. write $$ \delta S \geq \delta Q / T . $$ Here I understand as statement of numbers, with both $\delta$ meaning a very small difference. But with the previous considerations, this should be an inequality on forms, where $\delta S$ is a 1-form, albeit perhaps no longer exact. More importantly, they are related through an inequality, which motivates the 1st question.
My first guess is yes, and it is given by the order relation on the real number line given by integrating these forms. Would that be enough to define such an order relation? I would imagine there could be some caveats to this (e.g. it's just a pre-order...). I can see how that would make sense with Mahler's internal logic, where we'd make the substitution $\delta S \to \int dS$ (whilst maintaining the meaning of $\delta$ in the $\delta Q$ notation).
Another version of this question could be thought of when looking at the book on Mechanical Foundations of Thermodynamics by Campisi, where the 2nd law is stated as $$ dS \geq \delta Q / T , $$ although here the author seems to admit from the outset on using a definition of an order relation of forms.
The second question actually stems from the statement, already given, that the second law depends on the nature of the process.
If so, it even seems this form would even no longer be exact whilst also being path-dependent, in such a way that we would prefer to write it as $\delta S(\gamma_\text{gen})$, and reduce it to $dS = \delta S(\gamma_\text{rev})$, for a path $\gamma$. As far as I'm understanding, this is also a different statement from the path-dependence on the integral of an inexact form.
Could this path-dependence of forms be understood in terms of a coarse-graining from the microstate space to the macrostate space? Viewing the state spaces as a manifold, an irreversible path, by accessing microstates, would require a notion where many 1-forms, each defined at a point on the macrostate manifold, are associated to a path. I could then imagine that, given an underlying theory for the microstates such as quantum mechanics, this path-dependence should come into light. Is there a path already laid out in this direction?