I have a question while reading the answer here: Continuity of rational functions between affine algebraic sets
Original question:: Let $\varphi:X\rightarrow Y$ be a rational map between affine varieties defined on some open subset $U\subseteq X$. Show that $\varphi:U\rightarrow Y$ is continuous.
In Olórin's answer, it seems that he prove the continuity in the following steps:
Show that every polynomial function $f:U\rightarrow \mathbb{A}^1$ is continuous.
Show that every rational function defined on $U$, $\frac{f}{g}:U\rightarrow \mathbb{A}^1$, is continous.
Show that $\varphi:U\rightarrow \mathbb{A}^n$ is continuous, which implies that $\varphi:U\rightarrow Y$ is continuous.
From step 2 to step 3, it seems that he use the property that component-wise Zariski continuity implies Zariski continuity. It holds for product topology, but since Zariski topology on $\mathbb{A}^n$ is finer then product topology, I am not sure if it is right. Can we prove or disprove this?
Thanks in advance.
Edit: I find a counterexample in the post Function with continuous components, Zariski topology It seems that Olórin's answer need some further explanation.