I have a continuous function $\mu(x,y)=G(h_1(x+y), h_2(|x-y|))$ such that $\mu(x,x)=0$ and $\mu(x,y)+\mu(y,z)=\mu(x,z)$ for $x\le y\le z$. I want to show that the only possible case is $\mu(x,y)=c\cdot (x+y)|x-y|$ for some constant $c$.
If I assume that I have a polynomial, no problem, since I have elementary symmetric polynomial as the basis of symmetric polynomials. My question: is it possible for $\mu(x,y)$ to not be a polynomial?