I have been working on an axiomatic approach to thermodynamics, and tried to follow the footsteps of Theodoro Frankel using his little book, The Geometry of Physics.
The passage appears before introducing the first law of thermodynamics. In case you don't have a copy on hand, I put an extract below:
Consider, for example, a system of regions of fluids separated by "diathermous" membranes: membranes that allow only on the passage of heat, not fluids. We assume the system to be connected. We assume that each state of the system is a thermal equilibrium state. Let $p_i, v_i$ be the (uniform) pressure and volume of the $i^\text{th}$ region. The "equations of state" (e.g. $p_i v_i = n_i R T_i$) at thermal equilibrium will allow us to eliminate all but one pressure, say $p_1$; thus a state, instead of being described by $p_1,v_1,...,p_n v_n$, can be described by the $(n+1)$-tuple $(p_1,v_1,v_2,...,v_n)$.
As far as I understood, the fluid as a system is partitioned into $n$ connected components that each is a thermal equilibrium state. Therefore, there are $n$ different equilibrium states.
My question is that how can the number of variables be reduced from $2n$ to $n+1$ by introducing equations of state's? These states are essentially at different temperatures. I would feel comfortable if they were at the same temperature but it seems not.
P.S. I have noticed another post, Principle of Caratheodory and The Second Law of Thermodynamics, but it seems not close to my question.