Let $f$ be a real valued function defined on a measurable domain $E$.
Suppose that $f$ is continuous except at a finite number of points .
Is $f$ measurable?
Let $D=\{c_1,c_2,\dots ,c_n\}$ be the set where $f$ is discontinuous.
Now for any $\alpha\in\Bbb R$;$\{x\in E:f(x)>\alpha \}=(\{x\in E\::f(x)>\alpha \}\cap E\setminus D)\cup (\{x\in E:f(x)>\alpha \}\cap D)$.
Since $D$ is finite so $m(D)=0\implies D$ is measurable $\implies E\setminus D$ is measurable.
Also the set $\{x\in E:f(x)>\alpha \}$ is measurable for any $\alpha\in\Bbb R$ and intersection of measurable sets is also measurable.
Hence $f$ is also measurable.
Is my logic correct?Please suggest if wrong.