Let $D$ be a domain and $f,g:D\to\mathbb{C}$ holomorphic functions. Show that $f\cdot g\equiv 0$ on $D$ implies either $f\equiv 0$ or $g\equiv 0$.
I have a vague idea for a proof: Let's assume $g\neq 0$ for some $z\in D$, i.e. $z_0$. It follows that $f(z_0)=0$. Now if $z_0$ is a limit point, the identity theorem implies that $f\equiv 0$ on $D$.
I think we need to assume that $D$ has a nonempty interior. Otherwise we can take $D={0,\frac{π}{2}}$ and $f=\sin,g=\cos$.
– Kamil Jan 28 '23 at 11:38