I'm wondering if we can use the Intermediate Value Theorem to prove Rolle's Theorem.
The hypotheses of Rolle's Theorem are:
- The function should be continuous on a closed interval $[a,b]$.
- The function should be differentiable on the open interval $(a,b)$.
- $f(a)=f(b)$
The theorem then shows that there exist $c$ in $(a,b)$ such that $f'(c)=0$.
For I.V.T we need the function to be continuous and $f'(a).f'(b) \leq 0$.
If the conditions for Rolle's Theorem conditions are achieved, does it mean that $f'$ is continuous?
For the second condition we have that $$ \frac{f(x)-f(a)}{x-a} .\frac{f(x)-f(b)}{x-b}<0$$ because $$ f(x)-f(a)=f(x)-f(b)$$ and $$ 0<x-a<b-a $$ $$ a-b<x-b<0 $$
Here is an answer to the wrong question (using MVT to prove Rolle's), followed by an answer to the question I think you were asking.
You can almost certainly use the MVT to prove Rolle's -- indeed, Rolle's is the MVT in the special case where $f(a) = f(b)$. But usually Rolle's is used to prove the MVT, so to make this an "honest" proof, you'd need an alternative proof of the MVT.
NB Actually, having edited the question, I realize OP's asking about the INTERMEDIATE value theorem, not the MEAN value theorem.
To answer one of the questions asked: if the conditions of Rolle's theorem are achieved, does that mean that $f'$ is continuous? The answer is no. Let $$ f(x) =\begin{cases} 0 & x = 0 \\ x^2 \sin(\frac{1}{x}) & \text{else}\end{cases}. $$ Then $f$ is differentiable everywhere, has $f(-1/\pi) = f(1/\pi) = 0$, but $f'$ is not continuous at $x = 0$.
Because we cannot assume that $f'$ is continuous, your proof of Rolle via IVT doesn't seem like it's going to work, no.