Prove that $\lim_{x\to a}\sin x=\sin a$, where $a$ is any real number.
Solution 13 here:
https://www.math.ucdavis.edu/~kouba/CalcOneDIRECTORY/preclimsoldirectory/PrecLimSol.html#SOLUTION13
claims to prove that $\sin(x)$ is continous, in other words: for every real $a$, $\lim_{x\to a}\sin(x)=\sin(a)$. The solution uses the Mean Value Theorem, which only works if the function in question is differentiable on some interval; in particular the function must be continous on some interval. So the solution is assuming that $\sin(x)$ is continous in order to prove that it is continous.
Is this solution bogus or am I missing something?
Note: I am not asking you to provide a correct proof. I already know of a correct proof (which does not use MVT).
You are right. That "proof" is totally wrong for the reason that you said. The same thing could be done with any function.