My current understanding: this is always true
Let $A$ be a ring. Let $S$ denote a subset of the ring. Let $V(S)$ be the set of prime ideals of $A$ containing $S$. Define closed sets in $X= \operatorname{Spec} (A)$ to be those of the form $V(S)$.
As I understand, to any radical ideal $I$, we can uniquely associated the closed set $V(I)$. Conversely, to any closed set $V$, we can associate the radical ideal given by the intersection of all elements of $V$.
I can provide proofs I have written to these if this helps, I haven't added them now to avoid drowning my question.
My worry
I haven't been able to find anything on closed sets - radical ideal correspondence, except when we are specifically with algebraic sets in $\mathbb{A}^n_K$ and radical ideals in $K[X_1, ..., X_n]$, such as on this page linked in this question. I understand this is a fundamental result in algebraic geometry (which I am only just beginning to study), but I fail to see why the result may not be more general.
My question
Is my current understanding correct, or have I made a mistake such as forgetting a fringe case ?
$\operatorname{Spec}$produces $\operatorname{Spec}$ and spaces correctly. I've made the upgrade for you this time. – KReiser Oct 01 '22 at 18:26