[step:Show $S$ is open using the Mean Value Property]We show that $S$ is open in $\Omega$. Let $z_1 \in S$, so $|f(z_1)| = |f(z_0)|$. Since $\Omega$ is open, choose $\rho > 0$ such that $\overline{B}(z_1, \rho) \subset \Omega$. We claim that $B(z_1, \rho) \subset S$.
Fix any $r$ with $0 < r \le \rho$. By the [Mean Value Property for Holomorphic Functions](/theorems/3346), since $\overline{B}(z_1, r) \subset \Omega$:
\begin{align*}
f(z_1) = \frac{1}{2\pi} \int_0^{2\pi} f(z_1 + re^{i\theta})\, d\mathcal{L}^1(\theta).
\end{align*}
Taking absolute values and applying the triangle inequality:
\begin{align*}
|f(z_0)| = |f(z_1)| = \left| \frac{1}{2\pi} \int_0^{2\pi} f(z_1 + re^{i\theta})\, d\mathcal{L}^1(\theta) \right| \le \frac{1}{2\pi} \int_0^{2\pi} |f(z_1 + re^{i\theta})|\, d\mathcal{L}^1(\theta).
\end{align*}
Since $z_1 + re^{i\theta} \in \Omega$ for all $\theta \in [0, 2\pi]$ and $|f(z_0)|$ is the maximum of $|f|$ on $\Omega$, we have $|f(z_1 + re^{i\theta})| \le |f(z_0)|$ for all $\theta$. Therefore
\begin{align*}
\frac{1}{2\pi} \int_0^{2\pi} |f(z_1 + re^{i\theta})|\, d\mathcal{L}^1(\theta) \le |f(z_0)|.
\end{align*}
Combining the two inequalities:
\begin{align*}
\frac{1}{2\pi} \int_0^{2\pi} |f(z_1 + re^{i\theta})|\, d\mathcal{L}^1(\theta) = |f(z_0)|.
\end{align*}
Define $g: [0, 2\pi] \to \mathbb{R}$ by $g(\theta) = |f(z_0)| - |f(z_1 + re^{i\theta})|$. Then $g \ge 0$ (since $|f| \le |f(z_0)|$ on $\Omega$), $g$ is continuous, and
\begin{align*}
\int_0^{2\pi} g(\theta)\, d\mathcal{L}^1(\theta) = 2\pi |f(z_0)| - \int_0^{2\pi} |f(z_1 + re^{i\theta})|\, d\mathcal{L}^1(\theta) = 0.
\end{align*}
A non-negative continuous function with zero integral must vanish identically, so $g(\theta) = 0$ for all $\theta \in [0, 2\pi]$. This gives $|f(z_1 + re^{i\theta})| = |f(z_0)|$ for all $\theta \in [0, 2\pi]$.
Since this holds for every $r \in (0, \rho]$, every point of $B(z_1, \rho)$ lies in $S$. Therefore $S$ is open in $\Omega$.[/step]