Let $\Omega \subset \mathbb{C}$ be an open set, and let $f: \Omega \to \mathbb{C}$ be a function. Write $f(x + iy) = u(x, y) + iv(x, y)$ where $u, v: \Omega \to \mathbb{R}$ are real-valued. We say $f$ is holomorphic on $\Omega$ if the partial derivatives $\partial_x u$, $\partial_y u$, $\partial_x v$, $\partial_y v$ exist and are continuous on $\Omega$, and satisfy the Cauchy–Riemann equations:
\begin{align}
\partial_x u &= \partial_y v, \\
\partial_y u &= -\partial_x v.
\end{align}