Codimension of an ideal

From Commalg

Definition

Let be a commutative unital ring and an ideal in . The codimension or height of is defined as follows: