Let $(X, \mathcal F, \mu)$ be a $\sigma$-finite complete measure space, and $(E, |\cdot|_E)$ a Banach space. Assume $f,g:X \to E$ are $\mu$-integrable such that $$ \int_A f \mathrm d \mu = \int_A g \mathrm d \mu \quad \forall A \in \mathcal F. $$
Here we use the Bochner integral. If $E = \mathbb R$, then it's well-known that $f=g$ $\mu$-a.e. The proof in this case uses the natural order on $\mathbb R$.
I would like to ask of if $f=g$ $\mu$-a.e. in case $E$ is a general Banach space. Thank you so much!
If $f$ and $g$ are $\mu-$ integrable (in the Bochner sense ) then they are almost separably valued an this reduces the proof to the case when $E$ is a separable Banach Space.
Now $\int_A x^{*}\circ f d\mu= \int_A x^{*}\circ g d\mu$ for all $A$ and all $x^{*} \in E^{*}$. So $x^{*}\circ f=x^{*}\circ g$ a.e. for every $x^{*} \in E^{*}$. [There are too many null sets and we have to overcome this somehow]. Now use the fact that the closed unit ball of $E^{*}$ is a compact metric space. Hence, it is separable. Using the fact that there is one null set outside which $x^{*}\circ f=x^{*}\circ g$ for every $x^{*}$ in a countable dense set in $E^{*}$ you see that $f=g$ a.e. [$\mu$].