Could you prove that inference like that is valid: $$(1) \left\{ \begin{array}{c} dU=T dS-pdV \\ dU=\frac{\partial U}{\partial S}dS+ \frac{\partial U}{\partial V} dV \end{array} \right. \implies \left\{ \begin{array}{c} T=\frac{\partial U}{\partial S} \\ -p=\frac{\partial U}{\partial V} \end{array} \right. $$ That is if you have two total differentials with equal variable differentials than coefficients in front of same differentials are equal.
In undergraduate physical chemistry textbooks this question is treated like self evident. I don't find it self evident. I spent a lot of time and effort trying to solve it. I asked this question on other sites and didn't get satisfactory answer. I got answers like "Can't you see that it is self evident". I spent a lot of time learning predicate logic by myself, I know all of the rules of inference. Could you reduce this question to a more general baby example? It would be nice to see algebraic proof of this inference.
As far I can get it is: $(2)~~~0=(T-\frac{\partial U}{\partial S})dS+ (-p-\frac{\partial U}{\partial V}) dV$
I understand that: $$(3) \left\{ \begin{array}{c} dV=0 \implies T=\frac{\partial U}{\partial S}\\ dS=0 \implies -p=\frac{\partial U}{\partial V} \end{array} \right. $$ UPDATE: $$ (4) \forall S \forall V \left\{ \begin{array}{c} dU=T (S-S_0)-p(V-V_0) \\ dU=\frac{\partial U(S_0, V_0)}{\partial S}(S-S_0)+ \frac{\partial U(S_0,V_0 )}{\partial V} (V-V_0) \end{array} \right. $$ (5) is implied by (4) using Universal Elimination we set $V$ to $V_0$ $$(5) \left\{ \begin{array}{c} dU=T (S-S_0) \\ dU=\frac{\partial U(S_0,V_0)}{\partial S}(S-S_0) \end{array} \right. \implies T=\frac{\partial U(S_0,V_0)}{\partial S} $$ (6) is implied by (4) using Universal Elimination we set $S$ to $S_0$ $$ (6) \left\{ \begin{array}{c} dU=-p (V-V_0) \\ dU=\frac{\partial U(S_0,V_0)}{\partial S}(V-V_0) \end{array} \right. \implies -p=\frac{\partial U(S_0,V_0)}{\partial S} $$ Than using conjunction introduction from (5) and (6) we obtain (7). $$ (7) \left\{ \begin{array}{c} T=\frac{\partial U(S_0,V_0)}{\partial S} \\ -p=\frac{\partial U(S_0, V_0)}{\partial V} \end{array} \right. $$ Am I right?
chain rule
of differentiation. $\endgroup$