A basic result in real analysis is that any measurable function is an a.e. limit of a step function sequence (yet a pointwise limit of a simple function sequence), but the statement does not hold when the “a.e.” is replaced with everywhere. My question is how to find a counterexample to the “everywhere” statement.
My attempt:
I’ve tried to use the fact that a step function is different from a simple one in that it is continuous on the complement of a zero-measure set, then maybe apply the Egorov’s thm. Considering this we are motivated to choose an everywhere discontinuous characteristic function of some “bad” measurable set. But then I got stuck, since once a.e. is involved, it seems hard to dispense with it (so as to arrive at an counter argument).
Please help, thx!