In the definition of domain, we first define a degree function $\vartheta: R^\times \rightarrow \mathbb{N}$ with such two constraints:
(1) $\vartheta(f)\leq \vartheta(fg)$ for all $f,g\in R^\times$.
(2) for all $f,g\in R$ with $f\in R^\times$, there exist $q,r\in R$ with $g=qf+r$ and either $r=0$ or $\vartheta(r)<\vartheta(f)$.
I wonder why we need the first constraints? I think with only the second constraint, it is enough to prove the theorem: every Euclidean ring is a PID.
Can anyone give me a example where the first constraint is used?