"Suppose $f$ and $g$ are continuous on the measurable set $E$. If $f = g$ a.e. on $E$, then $f=g$ on $E$."
I have shown that this statement is true when $E = [a,b]$ and I have shown that the statement is true for $E$ when $m(E)\neq 0$. However, my proof for the latter case never explicitly used the fact that $m(E)\neq 0$.
I have been told that the statement does not hold when $m(E)=0$. However, I am unconvinced (seems to me it should be vacuously true) and unable to prove it.
Could somebody please share with me a quick, not too complicated proof for why the statement is not true when $m(E) = 0$?
Thank you.