Let be an integral domain that is a Noetherian ring, and let generate a prime ideal. If the localization of a ring is a unique factorization domain, then is a unique factorization domain. Indeed, integrality of over , with minimal, forces and hence proves that is an integrally closed domain. The Nagata theorem for divisor class groups then says that is generated by the height-one primes containing ; the only one is the principal prime , so .
Put and let . The ideal is a height-one prime ideal, because and . It therefore defines a prime Weil divisor .
Localizing at eliminates , giving
a unique factorization domain. The Nagata theorem for divisor class groups says that is generated by the height-one primes containing . Since
the only such prime is , and hence generates. At the generic point of , is a unit in a ring and , so the order of vanishing is three:
Thus .
This relation has exact order three. Indeed, if a principal divisor were supported on , its defining rational function would be a unit on . The units of are precisely with and , whose divisors are . Consequently
generated by . This is the case of the Divisor class group of an A-type surface singularity.
First prove that is an integrally closed domain. If is integral over , then it is integral over . Since the unique factorization domain is integrally closed, write with and minimal. If , an integral equation for gives, after multiplication by a suitable power of ,
Hence . The ideal is prime, so , contradicting minimality of . Therefore and .
Now apply the Nagata theorem for divisor class groups. The class group of vanishes by the divisor-class criterion for unique factorization. Hence is generated by height-one primes that meet . Such a prime contains and must equal , because the Krull principal ideal theorem makes the nonzero prime itself height one. Its divisor class is principal, so . A second application of the divisor-class criterion yields
This argument is the Nagata criterion for unique factorization domains.
Put
Since
is an integral domain, is a prime ideal. Moreover and , so its height of an ideal is one. Therefore is a prime Weil divisor.
Localizing at eliminates and gives
a unique factorization domain. The Nagata theorem for divisor class groups says that is generated by the height-one primes containing . Since
these are and . Both occur with multiplicity one in the principal divisor
The units of are exactly with and . Consequently the only relation supplied by localization is , and
This is the divisor class group of the three-dimensional affine quadric cone.