Lemma 5.16.2. (Finitely many monomial ideals with a fixed Hilbert function). In a polynomial ring in finitely many variables, there are only finitely many monomial ideals with a prescribed Hilbert function. This finite set depends only on that function and the number of variables, not on the coefficient field.
Proof
Proof. Suppose there were infinitely many distinct such ideals. Enumerate the monomials by nondecreasing degree. Successively retain an infinite subfamily on which membership of the next monomial is constant. The limiting membership choices define a monomial ideal : divisibility preserves membership because it does so in every ideal of every sufficiently late subfamily. In each degree its standard monomials have the prescribed cardinality. The polynomial ring is Noetherian by [StacksAlg] (Tag 00FN), so has finitely many monomial generators, all of degree at most some .
An infinite subfamily agrees with on all monomials of degree at most . Each member therefore contains . Since its standard-monomial count equals that of in every degree, the containment is equality. This contradicts the distinctness of the infinite subfamily. All choices involved only sets of exponent vectors. ◻