I ran across this when reading another question on math.se, so I posted this proof for verification just to be sure I wasn't missing something.

We wish to characterise prime ideals as precisely those that are disjoint from a multiplicative subset S⊆RS \subseteq R. That is:

I'll be using the definition of prime as:

§ Prime ideal implies complement is maximal multiplicative subset:

Let S=≡R∖PS = \equiv R \setminus P be the complement of the prime ideal P⊊RP \subsetneq R in question.

§ Ideal whose complement is maximal multiplicative subset implies ideal is prime.