Show that any continuously differentiable function f in an open disc D satisfying $$\int_{\gamma} f(z) \, dz =0 $$ for any closed, smooth, simple curve γ ⊂ D, is holomorphic in D. (Hint: use the result for shrinking circles around any given point, $z_0$, in D.)
My approach:
I know that Cauchy Integral Theorem can be proved from Green's theorem. And from the Green theorem, I know that Cauchy Riemann Equation holds to have $\int_{\gamma} f(z) \, dz =0 $, but apparently I was wrong about using Cauchy Riemann equation to prove that it is holomorphic. Can anyone help me with this proof?