Stokes' theorem
But from Stokes' theorem for a simply-connected body and the necessary condition for compatibility