Let $(X, \mathcal A, \mu)$ be a measure space and $(E, | \cdot |)$ a Banach space. Let $f \in E^X$.
$f$ is called $\mu$-simple if $f = \sum_{k=1}^n e_k 1_{A_k}$ where $e_k \in E$ and $(A_k)_{k=1}^n$ is a finite sequence of pairwise disjoint sets with finite measure in $\mathcal A$. Let $\mathcal S (X, \mu, E)$ be the space of such $\mu$-simple functions.
$f$ is called $\mu$-measurable if $f$ is a $\mu$-a.e. limit of a sequence $(f_n)$ in $\mathcal S (X, \mu, E)$.
I'm trying to prove below result which does not assume the completeness of $\mu$. This is opposite to this exercise from Folland's Real Analysis: Modern Techniques and Their Application. The difference is due to that of measurability notion.
Theorem: Let $f,g \in E^X$ such that $f$ is $\mu$-measurable and $f=g$ $\mu$-a.e. Then $g$ is $\mu$-measurable.
Could you have a check on my attempt?
My attempt: Because $f$ is $\mu$-measurable, there is a sequence $(f_n)$ of $\mu$-simple functions such that $f_n \to f$ $\mu$-a.e. This means there is a $\mu$-null set $N$ such that $f_n \to f$ on $N^c$. Because $f=g$ $\mu$-a.e., there is a $\mu$-null set $N'$ such that $f=g$ on $(N')^c$. Let $M = N \cup N'$. Then $M$ is a $\mu$-null set. Clearly, $f_n \to g$ on $M^c$. This completes the proof.