Let $f$ be a uniformly continuous real function, and let $a$ be a real number. Assume that $f'$ is also uniformly continuous. I need to prove this:
$$\lim_{x_1\rightarrow a}\lim_{x_2\rightarrow x_1}\frac{f(x_1)-f(x_2)}{x_1-x_2} =\lim_{x_2\rightarrow a}\lim_{x_1\rightarrow a}\frac{f(x_1)-f(x_2)}{x_1-x_2}$$
Intuitively, the equation just says that the derivative of $f$ at $a$ is equal to the limit of the derivatives of $f$ close to $a$, and is therefore clearly true. However, I need a proof that proceeds directly from the definitions of limits and uniform continuity (or "basic" theorems about limits and uniform continuity), and I don't know how to do that.