In a previous post, I have defined a generalized principal open set: $$D_{f_1,\dots,f_n}=\mathbb{C}^m\setminus \{f_1 = \dots = f_n =0\}$$ where $f_1,\dots,f_n$ are polynomials in $m$ variables. This is clearly a quasi-protective variety, and the question is when is it affine. (As mentioned below, these are just zariski-open sub-spaces of $\mathbb{C}^n$; The definition was a bit more general in the previous post).
In the previous post, in one of the solutions it was claimed that in non-degenerate cases (like $f_1 = \dots = f_n$) this is not an affine variety; the proof uses a vast theorem, that I do not want to use.
$$\\$$
Here I give the precise proposition, including an easy proof:
if $\gcd(f_1,\dots,f_n)=1$ then $D_{f_1,\dots,f_n}$ is not an affine variety
Proof:
We prove that if $\gcd(f_1,\dots,f_n)=1$ then $D_{f_1,\dots,f_n}$ is not an affine variety. On the contrary, Assume $D_{f_1,\dots,f_n}$ is affine.
Look at the inclusion map $i:D_{f_1,\dots,f_n} \to \mathbb{C}^m$: this induces a map $i_*:\mathbb{C}[\mathbb{C}^m]\to \mathbb{C}[D_{f_1,\dots,f_n}]$, where $\mathbb{C}[\cdot]$ is the coordinate ring.
Let $\frac{p}{q} \in \mathbb{C}[D_{f_1,\dots,f_n}]$; Thus $q$ is nonzero on $D_{f_1,\dots,f_n}$, that is $$\{q=0\} \subseteq \{f_1 = \dots = f_n=0\}$$
This assertion turns out to be not that trivial - since $p,q$ may have common zeros, and thus we must look at all the representation of the form $\frac {p'}{q'}$, with $p',q'$ coprime and such that $p'q=pq'$ on $V$ - but by the Identity theorem it is also true on $\mathbb{C}^n$. Since the polynomial ring is a UFD, we have that each prime factor $q_i$ of $q$ divides pq', and can not divide $p$ so must divide $q'$, and thus $q|q'$. Similarly $q'|q$. so $q=\alpha q'$ with $\alpha\in \mathbb{C}$, which means they have the same zeros.
Thus $$\langle q \rangle \supseteq \langle f_1,\dots,f_n \rangle$$
So each $f_i$ can be divided by $q$, thus $q \mid \gcd(f_1,\dots,f_n)=1$ so $q$ is constant, meaning $\frac{p}{q}$ is a polynomial, so is defined on the whole $\mathbb{C}^m$, and thus
$$\mathbb{C}[D_{f_1,\dots,f_n}] = \mathbb{C}[\lambda_1,\dots,\lambda_m]$$
Thus the map $i_*:\mathbb{C}[\lambda_1,\dots,\lambda_m] \to \mathbb{C}[\lambda_1,\dots,\lambda_m]$ is the identity, and since the functor $f \mapsto f_*$ is a $1-1$ bijection (since $D_{f_1,\dots,f_n}$ is affine), we get that $i:D_{f_1,\dots,f_n} \to \mathbb{C}^m$ should be an isomorphism, but is not onto.
Is this proof true?