I'm working through my Complex Analysis notes independently (because of lockdown mode) and would like to draw a general conclusion from some seemingly disjointed theorems.
One theorem states that functions having an antiderivative are path independent. Another (Cauchy-Goursat) implies path independence of analytic functions on simply connected domains. It is also proven that functions having an antiderivative are analytic. Furthermore, an analytic function is continuous, which, together with path independence, let's us construct an antiderivative. So it would seem analyticity and existence of antiderivative are equivalent. Is this true? Am I missing a subtlety?