Consider a volume separated in two parts by a diathermal wall. The whole volume is isolated from the outside.
In the left volume $V_1=V/2$ I put $n_1$ moles of perfect gas $1$, at pressure $P$ and temperature $T_1$.
In the right volulme $V_2=V/2$, I put $n_2$ moles of perfect gas $2$ at pressure $P$ and temperature $T_2$.
I assume the gas have the same $\gamma$.
Using the first principle, I have :
$$\Delta U_1 + \Delta U_2=n_1 c_v (T_1^f - T_1) + n_2 c_v (T_1^f - T_1) = 0$$
This equals $0$ because the full system is isolated from the outside.
Actually, both system will equilibrate towards the same temperature, and we will find : $T^f=\frac{n_1 T_1 + n_2 T_2}{n_1+n_2}$
My question is : is there a rigorous proof to say they will equilibrate toward the same temperature ?
How can we actually show that those systems won't "equilibrate" at $T_1 \neq T_2$. I know it is obvious physically but how can we show it ?