There is a result that states:
If $\varphi$ is a measurable (in the sense that $\{x\ :\ \varphi(x)<\alpha\}\in\mathcal M\ \forall\alpha$) function, $f$ is a continuous function $\implies f\circ\varphi$ is measurable (but $\varphi\circ f$ is not necessarily measurable).
But if we take $\varphi(x)=x$ and $f$ a continuous non measurable function (Cantor's staircase function, or Cantor_function$(x)+x$ is we want it to be strictly increasing for whatever reason) then $f\circ\varphi=f$ is non measurable. What am I doing wrong?
There is no such thing as a continuous non-measurable function.