In complex analysis, Morera's theorem states that if the integral of a continuous complex-valued function f of a complex variable along every simple closed curve within an open set is zero, i.e. if
Morera's theorem can be used to show the analyticity of functions defined by sums or integrals, such as the Riemann zeta function