Claim: If $f \in {\mathscr R[a,b]}$, then $f$ has infinitely many points of continuity.
1.) I read that it is a corollary of the Lebesgue integrability criterion. Is it possible to prove the claim without invoking the concept of measure(or using less abstraction) ?
2.) Here is attempt: Given $\epsilon > 0, \exists$ Partition, $P = \left\{ x_0 =a,...,x_n =b \right\} $ of $[a,b]$ such that $\sum^n_{i=1} (M_i -m_i)\Delta x_i < (b-a)\epsilon$, where $M_i= \sup \left\{ f(x) : x \in \Delta x_i \right\}$ and $ m_i= \inf \left\{ f(x) : x \in \Delta x_i \right\} $
Let $(M_j -m_j)=\min \left\{ M_i -m_i : i=0,...,n \right\} $. $ \implies (M_j-m_j)(b-a) \leq \sum^n_{i=1} (M_i -m_i)\Delta x_i < (b-a)\epsilon$ $ \implies (M_j-m_j)<\epsilon. $
Let $ c\in (x_{j-1},x_j)$ and $\delta$ be any positive number such that $(c-\delta, c+\delta) \subseteq (x_{j-1}, x_j)$.
It follows that $ \left| f(x) - f(c) \right| < \epsilon, $ whenever $ \left| x - c \right| < \delta $.
Since $c$ is arbitrary and $[x_{j-1},x_j]$ is an interval, there are infinitely many points of continuity.
There is something wrong with my proof since Thomae's function is a counterexample. Could anyone point out the mistakes in my proof? Thank you.