A nonconstant holomorphic function has isolated critical points, and equal derivatives differ only by a constant.Suggest a slogan
Let \(\Omega\subseteq\CC\) be a connected open set.
A power series can be differentiated term by term inside its disc of convergence, so \(f'\) is analytic on \(\Omega\). If \(f'\equiv0\) on \(\Omega\), then \(f\) is locally constant, hence constant because \(\Omega\) is connected. So \(f'\) is an analytic function on a connected open set that is not identically zero, and its zeros are isolated.
Put \(h\coloneqq f-g\). Then \(h'=0\) on \(\Omega\), so \(h\) is locally constant: on a disc \(D\subseteq\Omega\), \(h(z)-h(z_0)=\int_{[z_0,z]}h'(w)\,dw=0\). The set \(\ts{z\in\Omega\st h(z)=h(z_0)}\) is therefore open, and it is closed by continuity, so it is all of \(\Omega\).