Why is the order of an ideal with respect to a prime ideal well defined?

109 Views Asked by At

enter image description here

This is the definition of $\text{ord}_P A$ in Ireland and Rosen's "A Classical Introduction to Modern Number Theory". $D$ is the ring of algebraic integers of some algebraic number field and ideals are assumed to be nonzero.

Why does the paragraph above the definition justify it?