Stokes' theorem
where the last equality is an application of Stokes' theorem. Dualizing gives