I'm reading Blundell's Thermal concepts in physics and on page 169 he explains that the different thermodynamic potentials are actually the same quantity, the change in which will take on different forms depending on which variables of the system are fixed, namely the "Availibility" that can be shown to always tend to decrease:
$$ A = U + p_0V - T_0S$$
$$ dA = dU + p_0dV +-T_0dS $$
With $p_0$ and $T_0$ the constant pressure and temperature of the environment.
He explains that for a system of constant entropy and volume, $dA = dU$, since $dV = dS = 0$. And that, in seeking equilibrium (or minimizing its availibility), the system minimizes the internal energy $U$.
$$dU \leq 0$$
But if $dU = -pdV + TdS$ then shouldn't it be impossible for the internal energy to change at all by the logic of $dV = dS = 0$?