Solution (source code)

= Solution

Let $w=x+iy$. Then $y-ix=-iw$, and the complex trigonometric identity $\sin(-iw)=-i\sinh w$ gives
$$
\sinh(x+iy)dx-\sin(y-ix)dy
=\sinh w(dx+i\,dy)=d[\cosh(x+iy)].
$$
Thus \b[the form is exact], with complex-valued <scalar potential> $F(x,y)=\cosh(x+iy)$. Differentiating that potential with respect to the two real variables checks both <coefficients> individually.