In this localization of a ring, a nonzero fraction with odd is a unit exactly when is odd: its reciprocal then has odd denominator; if is even, an inverse would equate an even integer with an odd one after clearing denominators. Consequently every nonzero element has a unique form
Here is the exponent of in the numerator of the reduced fraction, its nonnegative 2-adic valuation.
Every nonzero ideal has the form by part (c). Write the nonzero integer with odd; since is a unit, . Hence the nonzero proper ideals are exactly
The zero ideal and complete the full list. These ideals are distinct: does not belong to , since .
The reduction map is a well-defined surjective ring homomorphism with kernel of a ring homomorphism ; odd denominators reduce to . Thus is a field, so is a prime ideal and is a prime element. Every nonzero nonunit is associated to with . If , the factorization is into two nonunits, so it is not an irreducible element and therefore not a prime element. We conclude
The failed step in the argument of part (b) is the guarantee that the product plus one is a nonunit and hence has an irreducible factor. Here every prime element is an even fraction, so a product of prime elements plus is an odd fraction, therefore a unit. Already has no prime divisor in this ring. In , positive degree prevented that failure.
For the zero ideal, choose . Otherwise choose a nonzero for which the Euclidean function is minimal; the well-ordering principle guarantees such a choice. For any , perform Euclidean division:
Because is an ideal, . A nonzero remainder would contradict the minimal choice of , so and . Thus . Conversely, implies , proving
Every ideal is therefore a principal ideal; in particular, a Euclidean domain is a principal ideal domain.
For the zero ideal, choose . Otherwise choose a nonzero for which the Euclidean function is minimal; the well-ordering principle guarantees such a choice. For any , perform Euclidean division:
Because is an ideal, . A nonzero remainder would contradict the minimal choice of , so and . Thus . Conversely, implies , proving
Every ideal is therefore a principal ideal; in particular, a Euclidean domain is a principal ideal domain.
The discrete valuation identities and make closed under products and sums; it contains and additive inverses. As a subring of the field , it is an integral domain.
Its units are exactly the elements of valuation zero: if and only if . The remaining elements form the ideal , and every proper ideal is contained in it, since an ideal containing a unit is the whole ring. Hence is a local ring with this unique maximal ideal.
For a nonzero ideal , the set of valuations of its nonzero elements is a nonempty subset of and has a least value. Choose attaining it. Every satisfies , so and . The zero ideal is also principal. This proves that is a discrete valuation ring, in particular a principal ideal domain.
Choose a uniformizer , with . For , some makes , and is a quotient of elements of . Thus is the field of fractions of .