I was trying to follow the strategy in this answer to compute the integral closure of the domain $$R := k[X, Y, Z]/(Y^3 + Y^2X^2 + YX^2 + X^3Z)$$ where $k$ is a field. During the computation, I realized I could tweak one of the arguments to reach an absurd conclusion, while the end conclusion is still true. So I'm wondering what is wrong in the proof below.
Let $f = Y^3 + Y^2X^2 + YX^2 + X^3Z$. Let $x, y, z$ denote the images of the free variables $X, Y, Z$ in the quotient. Note that $t := \frac{y}{x}$ is integral over $R$ as we have $t^3 + t^2x + t + z = 0$. My claim is that $S := R[t]$ is the integral closure of $R$.
Indeed, consider the surjective homomorphism $\phi: A = k[X, Y, Z, T] \to S$ given by $X \mapsto x$, $Y \mapsto y$, $Z \mapsto z$ and $T \mapsto t$, which exists by the universal property of polynomial rings. Since $S$ is an integral domain, $\ker \phi$ is a prime ideal of $A$. Moreover, we have $\dim A = 4$ and $\dim S \ge 3$, since $$(f) \subsetneq (X, Y + X^2) \subsetneq (X, Y) \subsetneq (X, Y, Z) $$ is a chain of prime ideals in $k[X, Y, Z]$ containing $f$ of length 3, so by the correspondence theorem it corresponds to a chain of primes in $R$, which by the going-up theorem can be extended to a chain in $S$. The height of $\ker \phi$ satisfies: $$\dim(A) - h(\ker \phi) \ge \dim (A/\ker \phi) = \dim S \ge 3$$ So we have that $h(\ker \phi) \le 4 - 3 = 1$. But $\ker \phi$ is nonzero, as it contains e.g. $TX - Y$, and $A$ is a domain, so its height is exactly 1.
We clearly have $(TX - Y) \subseteq \ker \phi$, and since the latter is a prime ideal of height one and the former is a nonzero ideal in a domain, it suffices to prove that $(TX - Y)$ is prime to conclude $(TX - Y) = \ker \phi$. And indeed: $$A/(TX - Y) = k[X, Y, Z, T]/(TX - Y) \cong k[X, Z, T]$$ which is a domain.
Now, this is the absurd conclusion, since $\ker \phi$ contains elements outside of $(XT - Y)$, such as $T^3 + T^2X + T + Z$. What is wrong in the above argument?
However, the final conclusion still holds, I've checked that $S$ is indeed the integral closure of $R$.
This last equation also tells us that $S \cong k[X, Z, T]$ which is a UFD, hence integrally closed. Since we have $R \subseteq S \subseteq \mathrm{Frac}(R)$ and $S$ is integral over $R$, we conclude that $S$ is the integral closure of $R$.
R=QQ[x,y,z,w]I=ideal(y^3*w + y^2*x^2 + y*x^2*w + x^3*z)`` primaryDecomposition integralClosure(R/I,QQ) -- {subquotient(matrix {},matrix {{w_(1,0)*y-x*z, w_(1,1)*x+x^2+y*w, w_(1,0)*x-w_(1,1)*y+x*w, w_(1,1)^2-x^2+w_(1,0)*w-y*w+w^2, w_(1,0)*w_(1,1)+w_(1,1)*y-x*w+z*w, w_(1,0)^2-w_(1,1)*z+w_(1,0)*w}})}F=icMap(R/I)conductor F -- ideal(y^2,x*y,x^2)– Jan-Magnus Økland Jan 27 '24 at 20:45