A question about existence of derivative of function at Zero
The question linked above inspires another question.
- $f:\mathbb R\to\mathbb R$ is assumed to be continuous everywhere.
- It is assumed to be differentiable at all points besides $0.$
- It is assumed that $\displaystyle\lim_{x\to0} f'(x)$ exists in $\mathbb R.$
The question was whether $f'(0)$ exists and is equal to that limit. A posted affirmative answer used L'Hopital's rule, and another used the mean value theorem directly. Either of those relies on the gaplessness of the real line.
Can an affirmative answer be proved without completeness? Could it be proved, for example, in the field of rational numbers? If not, what would be a counterexample in $\mathbb Q$?