Solution (source code)

= Solution

\b[No scalar potential exists on the full three-dimensional domain.] A sufficiently smooth <gradient field> has zero <curl>, since mixed <partial derivatives> commute. The calculated <curl> is not identically zero. The fact that it vanishes at some individual points does not make the whole field a <gradient field>.