Claim. Given an analytic map $f$ on a connected open set $U\subseteq\mathbb{C}$ and an open set $S$ such that $f(S)=\{0\}$, then $f=0$.
Proof. I define $Z=\{z\in U:f(z)=0\}$, then if I prove that $Z$ is both open and closed in $U$, it follows that $Z=U$ and we are done. I've already proved the closeness.
$Z$ is open: how to I proceed? My scattered thoughts
I now that two analytic maps that agree on a set with accumulation point $z$, are equal on some neighborhood of $z$
on one side if $Z$ is not open there is a point $z$ such that every open neighborhood meets $U-Z$; is this a contradiction? Not yet.
At some point I have to use $S$. But the openness is a local thing (interior point)
The connection between local and global could be done using a path (supposing that open subset of $\mathbb{C}$ is path-connected iff connected; or it is valid for general metric space, I miss some result here)
Q: How to I prove that $Z$ is open?
Note: At the end it is the Identity theorem, I think. But I would like to avoid the use of Taylor and derivatives. My feeling is that it should be possible with pure topological steps and using (1).