Definition (Dedekind-Hasse valuation)

A Dedekind-Hasse valuation is a valuation vv such that for all aa and all non-zero bb in R,R, either bab \mid a or there exists r(a,b)r \in (a,b) such that v(r)<v(b).v(r) < v(b).

Proposition

An integral domain RR is a PID if and only if it admits a Dedekind-Hasse valuation.

Proof

Suppose RR admits a Dedekind-Hasse valuation v.v. Let II be an ideal of R.R. If II is the zero ideal, it is principal. Suppose II is non-zero.

Let bIb \in I be non-zero element minimizing v.v. Take arbitrary aI.a \in I. If bab \mid a then a(b).a \in (b).

Suppose instead that ba.b \nmid a. Let r(a,b)r \in (a,b) with v(r)<v(b).v(r) < v(b). Write r=saqb,r = sa - qb, and observe that saIsa \in I and qbI,qb \in I, hence rI.r \in I. But this is impossible, as no element of II has lower valuation than v(b).v(b). Thus ba.b \mid a. This suffices to show that (b)=I.(b) = I.

Suppose conversely that RR is a PID. Let v:R0Z0v : R\setminus {0} \to \mathbb{Z}_{\geq 0} be the map sending aa to the size of the multiset of irreducible factors of a.a.

Fix arbitrary a,bRa, b \in R such that bb is non-zero. If ba,b \mid a, we are done. Suppose ba.b \nmid a. Let r=gcd(a,b).r = \gcd(a,b). We know that r(a,b)r \in (a,b) and furthermore any irreducible factor of rr must be also a factor of b,b, hence v(r)v(b).v(r) \leq v(b). If v(r)=v(b),v(r) = v(b), then all factors of bb are factors of r,r, which implies ba.b \mid a. But we have ba,b \nmid a, therefore v(r)<v(b),v(r) < v(b), as required.

\blacksquare