Let $G$ be a compact abelian metrizable group (where the group operation is written as $+$) and $\mu$ is the Haar measure on $G$.
Suppose we have a measurable function $f: G \rightarrow \mathbb{T}\cong \mathbb{R}/\mathbb{Z}$ such that $f(x + y) = f(x)+f(y)$ for all $(x, y)\in Z$, where $Z\subset G\times G$ with $(\mu\times\mu)(Z)=1$.
Question:
Can we find a continuous, group homomorphism $\phi: G \rightarrow \mathbb{T}\cong \mathbb{R}/\mathbb{Z}$, i.e., $\phi$ lies in the dual group of $G$, such that $\phi(x)=f(x)$ almost everywhere?
Remarks:
1, This is essentially a question asked here by someone else with some change. Since no answer appeared, I think it is OK to ask it again here. Note that $Z$ is not necessarily of product type.
2, It seems to be able to extend $f$ to a continuous, almost everywhere group homomorphism, but I do not see how to get a group homomorphism.(this claim seems Not true)
3, Any help, suggestions, references are appreciated, thanks in advance!