§ Every ideal that is maximal wrt. being disjoint from a multiplicative subset is prime


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 SRS \subseteq R. That is:

I'll be using the definition of prime as:

§ Prime ideal implies complement is maximal multiplicative subset:


Let S=RPS = \equiv R \setminus P be the complement of the prime ideal PRP \subsetneq R in question.

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