What are the necessary and sufficient conditions on functions $h,k:{\Bbb R}^2\to{\Bbb R}$ such that given any smooth $F:{\Bbb R^3}\to{\Bbb R}^3$ of the form $F=(F_1(y,z),F_2(x,z),0)$ and whose divergence is zero, there is a smooth $G:{\Bbb R}^3\to{\Bbb R}^3$ of the form $G=(G_1,G_2,0)$ such that $\nabla\times G=F$ in ${\Bbb R}^3$ and $G=(h,k,0)$ on $z=0$?
Can anyone explain what $G$ means in this problem and how the assumption $\nabla \cdot F=0$ might be used?