I encountered a theorem in some online notes labeled the 'gradient theorem':
$$\int_\Omega \nabla u = \int_\Gamma u \mathbf n$$
I've never seen this theorem before, and searches for 'gradient theorem' yield the fundamental theorem of calculus for line integrals which appears to be a different theorem. I've also never seen an explicit integral of a vector - only integrals of scalar quantities derived from vector quantities, like in Stoke's theorem or the divergence theorem.
How do I prove this theorem, and how do I even interpret a vector integrand?
Take a constant vector field $\mathbf a$. Then by Divergence Theorem $$ \mathbf a \cdot \int_\Omega \nabla u = \int_\Omega \mathbf a \cdot \nabla u = \int_\Omega \nabla \cdot (\mathbf a u) = \int_\Gamma \mathbf a u \cdot \mathbf n = \mathbf a \cdot \int_\Gamma u \mathbf n $$
Since this is valid for all $\mathbf a$ we have $$\int_\Omega \nabla u = \int_\Gamma u \mathbf n$$