Here is the proof for Theorem 1.2 provided by Serge Lang and bellow I have written how I interpret it. I would be very grateful if any of you can check if I am understanding this correctly.
For clarifiction: I have added the statement and proof of 1.2 and other pages that could be relevant to the proof.
The way I understand this is the following,
Assuming that the zeroes of $f$ on $U$ are not discrete we have $S$ open. He afterwards goes to prove that $S$ is closed in $U$. Since $S$ is closed in U we have $U-S=V$ by Lemma 1.5 where $V$ is an open set closed in $U$. But by Theorem 1.6 we have $U$ topologically connected which implies that $U$ can not be expressed as $U=S ∪ V$ hence there doesn't exist $V$ s.t $U=S+V$ . Hence by contradiction we have $S$ not open and thus $S$ is discrete.
Is my understanding correct?