17

Let $A$ be a commutative ring with $1$ and consider the Zariski topology on $\operatorname{Spec}(A)$. When will $\operatorname{Spec}(A)$ be a Hausdorff space?

If $A$ has positive or infinite Krull dimension, this can never happen because there are points which will be a proper subset of their closure. In dimension $0$, any Noetherian ring is also Artinian and thus has a discrete spectrum, which is therefore Hausdorff.

What about the non-Noetherian, zero-dimensional case? I suspect that there are such rings with a non-Hausdorff spec, but I failed to find an example.

Paul
  • 1,302

3 Answers3

26

For an affine scheme $S=\operatorname{Spec}(A)$ the following are equivalent:

1) $A$ is zero-dimensional
2) $S$ has all its points closed (i.e. $S$ is $T_1$)
3) $S$ is Hausdorff
4) $S$ is compact Hausdorff

If moreover the ring $A$ is noetherian the above are also equivalent to:
5) $A$ is Artinian
6) $S$ has the discrete topology
7) $S$ is finite and has the discrete topology

If moreover the ring $A$ is finitely generated over a field $k$ (and thus noetherian) the above are also equivalent to:

8) $A$ is algebraic over $k$
9) $ \text {dim}_k(A)\lt \infty$
10) $\text {Card}(S)\lt \infty$

Examples of non-noetherian rings satisfying 1) to 4):
Any infinite product of any fields $A=\Pi_{i\in I} K_i$ ($I$ infinite)

Examples of noetherian rings which are not algebras over a field but satisfy 1) to 7):
$\mathbb Z/(n)$ with $n\gt 1$ and not prime.

  • 1
    On the other hand, rings with their maximal spectrum (the set of maximal ideals with the relative topology) Hausdorff are far more common. For example, if $X$ is a completely regular Hausdorff space, then the ring of continuous and bounded real functions on $X$ is a ring such that the maximal spectrum is Hausdorff; this maximal spectrum is indeed homeomorphic to the Stone-Čech compactification of $X$. – egreg Mar 07 '15 at 11:27
  • @alex alexeq: Zero dimensional rings, page 8 for the equivalence of 1),3),4). And $1)\leftrightarrow 2)$ is trivial by definition of Krull dimension, since closed points correspond to maximal ideals – Georges Elencwajg May 10 '19 at 09:06
  • Unfortunately the proof of the equivalence between 2) and 3) in this reference is complete nonsense (it already fails when $A$ is a product of three fields, which is one of the simplest cases). I'm writing an answer to have a clearly accessible proof. – Captain Lama Feb 07 '23 at 07:35
18

The accepted answer is very satisfactory, but I realized that it was not that easy to find a reference that contains an actual proof of the equivalence between "$A$ is zero-dimensional" and "$\operatorname{Spec}(A)$ is Hausdorff". The reference given in one of the previous comments gives a completely broken proof, and it seems that the best option is to go back to Hochster's original article on the topology of spectral spaces. But that article is written in a purely topological language, and it can take a little work to translate everything in the language of rings, so I'm writing a self-contained proof here that can serve as a reference.

Theorem 1: Let $R$ be a commutative ring. Then $\operatorname{Spec}(R)$ is Hausdorff if and only if $R$ is zero-dimensional, in other words when every prime ideal of $R$ is maximal.

Obviously, only the direction "zero-dimensional implies Hausdorff" is non-trivial, since $R$ being zero-dimensional is equivalent to all prime ideals being maximal, in other words to all points in $\operatorname{Spec}(R)$ being closed, that is to $\operatorname{Spec}(R)$ satisfying the $T_1$ separation axiom, which is obviously weaker that the $T_2$ (Hausdorff) axiom.

It's actually not much harder to prove a deeper fact about separation in ring spectra:

Theorem 2: Let $R$ be a commutative ring, and let $p,q\in \operatorname{Spec}(R)$. Then exactly one of those two things holds:

  • $p$ and $q$ admit disjoint neighborhoods in $\operatorname{Spec}(R)$;
  • $p$ and $q$ both belong to the closure of a third point.

It is easy to see that Theorem 2 implies Theorem 1: indeed, if $\operatorname{Spec}(X)$ is $T_1$, then the closure of a point is just that point, so the second case in Theorem 2 happens iff $p=q$, and therefore distinct points have disjoint neighborhoods.

Now let us translate those two topological statements. If $x,y\in \operatorname{Spec}(R)$, then $y$ is in the closure of $x$ (one also says that $y$ is a specialization of $x$) if and only if $x\subset y$ as ideals. This is because the closure of $x$ (or rather of $\{x\}$) is the smallest $V(I)$, with $I$ an ideal, such that $x\in V(I)$, so $I$ is the largest ideal such that $I\subset x$, and obviously that is $I=x$; therefore $\overline{\{x\}} = V(x)$.

For the second statement, note that $\operatorname{Spec}(R)$ has an open basis given by the $D(f)=\{x\in \operatorname{Spec}(R) | f\not\in x\}$. So saying that $p$ and $q$ admit disjoint neighborhoods amounts to finding $f,g\in R$ such that $f\not\in p$ (ie $p\in D(f)$), $g\not\in q$ (ie $q\in D(g)$), and any prime ideal of $R$ contains at least one of $f$ or $g$ (ie $D(f)\cap D(g)=\emptyset$).

So we can reformulate Theorem 2 with an equivalent statement:

Theorem 3: Let $R$ be a commutative ring, and let $p,q\subset R$ be prime ideals. Then exactly one of those two things holds:

  • there exist $f,g\in R$ with $f\not\in p$, $g\not\in q$, and every prime ideal of $R$ contains $f$ or $g$;
  • there exists a prime ideal contained in $p\cap q$.

Topology put aside, it is very clear that those two things are incompatible: if $I\subset p\cap q$ is prime, $f\not\in p$ and $g\not\in q$, then clearly $I$ contains neither $f$ nor $g$. So to prove Theorem 3 we will assume that the first alternative fails, and show that the second holds.

Let us then assume that for all $f,g\in R$ such that $f\not\in p$ and $g\not\in q$, there exists a prime ideal $I\subset R$ which contains neither $f$ nor $g$. We will construct a prime ideal $J$ such that $J\subset p\cap q$.

Let $X = R\setminus (p\cap q)$. We want a prime ideal $J$ such that $J\cap X=\emptyset$. Of course, such a $J$ satisfies the weaker property that for any finite $A\subset X$, there is a prime ideal $I$ with $J\subset I$ and $I\cap A=\emptyset$ (just take $I=J$). Let us say that some subset $Y\subset R$ is a candidate if it satisfies this weaker property.

From the hypothesis, we can already see there is at least one candidate: $Y=\emptyset$. Indeed, by definition of $X$ the elements of some finite $A\subset X$ can be divided in some $f_i$ with $f_i\not\in p$ and some $g_i$ with $g_i\not\in q$. Then $f=\prod_i f_i$ is not in $p$ (since $p$ is prime) and $g= \prod_i g_i$ is not in $q$, so there exists a prime $I$ which contains neither $f$ nor $g$, and therefore $I\cap A=\emptyset$ (and of course $Y=\emptyset \subset I$). By the same argument, the one-element set $Y=\{0\}$ is a candidate.

Now by Zorn's lemma we can take a maximal candidate (for inclusion), and call it $J$. We then show that $J$ is a prime ideal contained in $p\cap q$. First note that by construction any candidate is disjoint with $X$, and therefore is contained in $p\cap q$. Also, it is trivial to see that if $Y$ is a candidate, then the ideal generated by $Y$ is also a candidate; therefore by maximality $J$ must be an ideal.

It remains to show that $J$ is prime. Let $f,g\in J$ such that $fg\in J$ but $g\not\in J$. We show that $J\cup \{f\}$ is a candidate, which by maximality will mean that $f\in J$. By maximality, $J\cup \{g\}$ is not a candidate, which means there exists a finite $A_0\subset X$ such that for any prime ideal $I$, if $J\subset I$ and $g\in I$ then $I\cap A_0\neq \emptyset$. Now let $A\subset X$ be finite. By hypothesis we have a prime $I$ such that $J\subset I$ and $I\cap (A\cup A_0)=\emptyset$. By choice of $A_0$, it is then not possible that $g\in I$. But since $fg\in J$, we have $fg\in I$, so since $I$ is prime we must have $f\in I$. This shows that $J\cup\{f\}\subset I$, and $I\cap A=\emptyset$, so $J\cup \{f\}$ is indeed a candidate, and we are done.

Captain Lama
  • 27,658
  • 1
    Very clear exposition. Thanks! – PatrickR Feb 18 '23 at 17:27
  • When you write $X = \mathrm{Spec}(R) \setminus (p \cap q)$, did you perhaps mean $X = R \setminus (p \cap q)$? Otherwise these sets seem "incompatible", $\mathrm{Spec}(R)$ is a set of prime ideals while $p \cap q$ is a set of elements of $R$. And since you later write $J \cap X = \emptyset$ where $J$ is an ideal of $R$ it makes me think you meant the latter. – Anakhand Jan 26 '24 at 22:48
  • Yes of course, thanks for pointing that out. – Captain Lama Jan 27 '24 at 21:26
  • It's not so clear to me that Zorn is applicable. Why is the union of an ascending chain of candidates again a candidate? The union of the corresponding $I$ needn't be again a prime ideal – FShrike Apr 19 '24 at 19:00
  • @FShrike Doesn't it? The union of an ascending chain $(I_i)$ of prime ideals is prime: if you take two elements in the union whose product is zero, they both belong to some ideal $I_i$, which is prime, so one of them is zero. (And also the union cannot be the whole ring since no $I_i$ contains $1$.) – Captain Lama Apr 20 '24 at 11:42
  • @CaptainLama Yeah apologies, I just had in my head "union of ideals isn't an ideal" but it's very easy to see it works for ascending unions. Brainfart. This is a very nice proof actually – FShrike Apr 20 '24 at 12:03
1

Here is a solution involving multiplicative sets (some parts of it are motivated by theorems in the answer posted by Captain Lama).

Let R be a commutative ring with unity ($1 ≠ 0$).

Some basic discussion on multiplicative sets : A subset $S$ of $R$ is said to be multiplicative if $1\in S$, $0\notin S$ and $a,b\in S \implies ab\in S$. Such sets come up naturally while studying prime ideals :

Fact 1 : The complement of any prime ideal is a multiplicative set.

Fact 2 : For any multiplicative set $S$, if an ideal $I$ is maximal for the property of not intersecting $S$, then it is prime (observe that the zero ideal is an ideal not intersecting $S$; Zorn's lemma gives us a maximal element among ideals not intersecting $S$, which can be shown to be prime, as in A maximal ideal among those avoiding a multiplicative set is prime).

Fact 3 : Another interesting point to note is that a subset $X$ of $R$ is contained in a multiplicative set iff $0$ is not a product of any finite collection of elements from X, and in this case, the set of all products of finite collections of elements of $X$ (define the empty product to be $1$) is a multiplicative set containing X as a subset (and the smallest such one).

We'll use these facts later.

Now let's get back to the problem at hand. Recall that in the Zariski topology on Spec(R), the collection of closed sets is precisely the collection of sets of the form $V(X)=$ set of all prime ideals with $X$ as a subset, where $X$ is allowed to be any subset of $R$. Observe that a topological base for the Zariski Topology on Spec(R) is given by $B = \{V(r)^c:r\in R\}$, where $V(r)=V(\{r\})$ is the set of all prime ideals of $R$ which have $r$ as a member.

Now, the Zariski topology on Spec(R) is Hausdorff iff any two distinct prime ideals of $R$ can be separated by disjoint open sets iff any two distinct prime ideals of $R$ can be separated by disjoint members of $B$. This is equivalent to saying that for any two distinct prime ideals $P_1$ and $P_2$ of $R$, there exist elements $r_1$ and $r_2$ of $R$ such that each $P_i\in V(r_i)^c$ and $V(r_1)^c \cap V(r_2)^c = \emptyset$, which is equivalent to saying that each $r_i\notin P_i$, but every prime ideal contains atleast one $r_i$, i.e., every prime ideal contains $r_1r_2$, i.e., $r_1r_2$ is nilpotent. Nilpotence of $r_1r_2$ means there is some positive integer $n$ such that $r_1^n r_2^n =0$. As $P_1$ and $P_2$ are prime, each $r_i'=r_i^n \notin P_i$, and $r_1'r_2'=0$.

Hence, the above discussion furnishes the following equivalent condition for the Zariski topology on Spec(R) to be Hausdorff : For any two distinct prime ideals $P_1$ and $P_2$, there are two ring elements $r_i \notin P_i$ such that $r_1 r_2=0$.

But, employing Fact 3, this is equivalent to $(P_1 \cap P_2)^c$ not being contained in any multiplicative set, because a product of finitely many elements from $(P_1\cap P_2)^c$ can be written, by grouping, as a product of two elements, one not in $P_1$ and the other not in $P_2$ (recall that $P_1^c$ and $P_2^c$ are each multiplicative sets). Employing Fact 1 and Fact 2, this is equivalent to no prime ideal being contained in $P_1\cap P_2$.

Thus, Hausdorffness of the Zariski topology on Spec(R) is equivalent to no prime ideal being contained in $P_1\cap P_2$ for any two distinct prime ideals $P_1$ and $P_2$, which is equivalent to every prime ideal being a maximal ideal (using the fact that every proper ideal (hence every prime ideal) is contained in a maximal ideal, and the fact that every maximal ideal is a prime ideal).