I'm self-studying some Algebraic Geometry and I have the following question. Let us take $X= Spec A$, A a commutative ring. I am trying to show that every locally closed irreducible subset of X contains an unique generic point.
This is what I've been thinking so far: Let $Y$ be our irreducible, locally closed subset. We know that $q=I(Y) = \cap_{p \in Y} p$ is a prime ideal, I believe we would be done if we could show that $q \in Y$. Let us write $Y = V(a) \cap U$, for U open. If U would happen to be a principal open, of the form $D(f)$, then $Y = V(a) \cap U$ could be written as $Spec B = B_f / a$.In this case, to say that Spec B is irreducible would simply mean that it had an unique minimal prime, which of course would have to lie in Spec B. I feel uneasy about this argument, and I'm not totally sure it is correct. However, if it is done in this special case, how could it be used to show the general case? I guess we could argue from our special case if we wrote $Y = V(a) \cap (\cup_i D(f_i)) = \cup_i (V(a) \cap D(f_i))$, but I'm not sure.
So, I am very grateful for any help here, and answers how to tackle this.