Theorem (converse of fundamental theorem of calculus)

Let $U\subseteq \C$ be a domain and $f$ be continuous on $U$.

If either

then $f$ has an antiderivative, i.e. there exists a holomorphic function $F$ on $U$ such that $F'=f$.

Proof