I'm having a really hard time understanding the proof of this proposition. $X$ is a noetherian integral separated scheme that is regular in codimension 1. We consider $X\times \mathbb{A}^1$ and the projection $\pi$ onto $X$.
First, Hartshorne says there are two types of codimension 1 points of $X\times \mathbb{A}^1$, type 1 being those which map to a codimension 1 point of $X$ through $\pi$ and type 2 being those which map to the generic point. I'm not clear on why these are the only types. I believe that when $Y$ is a subscheme of $X$ that $\pi^{-1}(Y)=Y\times \mathbb{A}^1$ and is a subscheme of $X\times \mathbb{A}^1$. Is it true that the codimension of $\pi^{-1}(Y)$ is less than or equal to the codimension of $Y$? Is this what Hartshorne is implicitly using? I think if this is true we would also get a 1-1 correspondence between type 1 prime divisors of $X\times \mathbb{A}^1$ and prime divisors of $X$.
Next, if we have that the function field of $X$ is $K$, then we have the function field of $X\times \mathbb{A}^1$ is $K(t)$. I guess Hartshorne is saying that if $f\in K$ then $(f)_X=(f)_{X\times \mathbb{A}^1}$ where on the r.h.s we view $f\in K(t)$. I am confused about why this is true. I guess I need to understand how to compare the image of $f$ in the local rings at generic points of $X\times \mathbb{A}^1$ with those of $X$.
"if $\mathfrak{p} \subset R[t]$ is prime, then either $\mathfrak{p} \cap R = Q$ is a height $1$ prime of $R$, or $\mathfrak{p} \cap R=(0)$"
I'm really not seeing why this is true at all. Is this some application of the going-up theorem?
– Luke Jan 08 '18 at 07:59