TRAIN OF THOUGHT 1:
From what I understand, $MRS$ is calculated as
$$dU = U_x dx + U_y dy =0$$ which by rearrangement yields $$\frac{dy}{dx}= -\frac{U_x}{U_y}$$
So suppose I have $$U(x,y) = \ln x +\ln y$$ Then $$ \frac{dy}{dx}= -\frac{1/x}{1/y} = -\frac{y}{x}$$
Okay. So I have a function $y$ in terms of $x$.
TRAIN OF THOUGHT 2:
Now consider my $U(x,y)$ again. Let $$\mathbf{a} = \begin{bmatrix} 1\\ 1 \end{bmatrix}$$ and $$U(\mathbf{a})=0$$ We have $$DU(x,y) = \begin{bmatrix} \frac{1}{x} & \frac{1}{y} \end{bmatrix} $$ and $$\frac{\partial U}{\partial y} (\mathbf{a}) = \begin{bmatrix}\frac{1}{y}\end{bmatrix}= 1$$ which is nonsingular since $\det(1) = 1$ and so by the Implicit Function Theorem, $$U = 0$$ defines $y$ implicitly as a function of $x$ in a neighborhood of $\mathbf{a}$.
My Question:
How are these two trains of thought connected? The first is stated in terms of differentials. But the second is not. So I am confused why the definition of $MRS$ follows from the implicit function theorem.