I have the function $f: \mathbb R^2 \to \mathbb R^2$ or more precisely
$$f\left([0,\pi/2]^2\right)=\{(x,y) \in \mathbb R^2 : \Vert (x,y) \Vert \leq 1 \text{ and } y\geq0\}$$
which means it is a bijection between the square $[0,\pi/2]^2$ and the upper half of an unit circle with $$f: (x,y) \mapsto \Big( \sin(x-y) \:\: , \:\: \frac{1}{2} \cos(x-y) - \frac{1}{2} \cos(x+y) \Big) \\= \Big( \cos(y)\sin(x)-\cos(x)\sin(y) \:\: , \:\: \sin(x)\sin(y) \Big)$$
(As you can see I have already found two ways of expressing this function with the help of the addition theorems.) Now I need an explicit inverse that is defined on the set mentioned above. Does an explicit one exists? (It feels that it should.) And how can I find it?
I think it might be perhaps (?) be easier to look at this function as $f: \mathbb C \to \mathbb C$ but I did not succeed with this either.



Let's write $$(u,v) = \Big( \sin(x-y) \:\: , \:\: \frac{1}{2} \cos(x-y) - \frac{1}{2} \cos(x+y) \Big)$$ As Daniel Fischer noted, $$x-y=\arcsin u\tag1$$ because $-\pi/2\le x-y\le \pi/2$. Furthermore, we have $$\cos(x+y) = \cos(x-y)-2v = \sqrt{1-u^2}-2v$$ hence $$x+y = \arccos(\sqrt{1-u^2}-2v)\tag2$$ because $0\le x+y\le \pi$. You can get $(x,y)$ from (1) and (2).