I have encountered a lot the concept of zero-dimensional ideal:
Let $k$ be a field. An ideal $I\subseteq k[x_1,...,x_m]$ is said to be zero-dimensional if its zero set $Z(I)$ has a finite number of elements.
In these notes, it is shown that an ideal is zero-dimensional if and only the dimension of $k[x_1,...,x_m] / I$ as a $k-$vector space is finite, and this is usually given as a definition. However, I'm concerned with the relation of this concept with Krull's dimension.
Krull's dimension is defined as the supremum of the lengths of all chains of prime ideals. According to this post in MSE, $I$ is zero-dimensional if and only if its quotient ring $k[x_1,...,x_m] / I$ has Krull's dimension zero. My first question is:
Is this the reason why the word dimension is involved in the zero-dimensional definition?
This is not a primarily opinion-based question. I'm just asking if the word dimension is involved in the definition is related to Krull's dimension in some way or not.
My second question is related with the second link I shared (the MSE post). It says that $k[x_1,...,x_m] / I$ has Krull's dimension zero if and only if $I$ is contained in finitely many prime ideals. However, what if $I$ is contained in at least two different prime ideals that have a containment relation? wouldn't the Krull's dimension of $k[x_1,...,x_m] / I$ be non-zero in this case?
Thanks a lot for your time, I really hope I can receive some help with these concepts.