The test for conservative fields is as follows:
The 2D vetor field is conservative if and only if:
$$∂_xF_y=∂_yF_x$$
$$∂_yF_x=∂_xF_y$$
The forward proof is quite straight forward to me, but I got stuck proving backwards.
I have tried using Green's Theorem:
from $∂_xF_y-∂_yF_x=0$, we can conclude that $\oint F_xdx+F_ydy=0$ for any closed loop, from here I got stuck but I thought about finding some special loop where x and y are held constant at some line on the loop so after integrating we can get some function whose partial derivatives are the x,y component of F, but I couldn't get any further. If someone can give me some help, it would be greatly appreciated.