Say we have an ideal $I\subset R[X]$. We select a set of polynomials $f_{1},f_{2},f_{3},\dots$ such that $f_{i+1}$ has minimal degree in $I\setminus (f_{1},f_{2},f_{3},\dots f_{i})$.
Can't $\deg (f_{i})$ be a strictly decreasing sequence?
For example, let the ideal $I\setminus (f_{1},f_{2},f_{3},\dots f_{i})$ contain polynomials of degree $2$ or greater. Say it contains the polynomials $x^2+2$ and $(x^2+2)^2+(x+1)$. Then $f_{i+1}=x^2+2$ and $f_{i+2}=x+1$!
Motivation: In this proof of Hilbet's Basis Theorem, we have constructed a polynomial $g=u_{1}f_{1}x^{n_{1}}+\dots u_{n}f_{n}x^{n_{N}}$, where $n_{i}=\deg (f_{N+1})-\deg(f_{i})$. I feel that then $n_{i}$ shoud be negative; and as $x$ raised to negative powers is not defined in $R[X]$, I'm having trouble understanding how $g=u_{1}f_{1}x^{n_{1}}+\dots u_{n}f_{n}x^{n_{N}}$ has been defined.