Prime decomposition of multigraded Hilbert functions and local lengths
Let $F$ be a field, $K$ a finite set, and $I_k$ a finite set for each $k\in K$. Give $A=F[X_{k,i}:k\in K,\ i\in I_k]$ the block multigrading $\deg X_{k,i}=e_k$. For a multihomogeneous ideal $J$, put $h_J(m)=\dim_F(A/J)_m$ for $m\in\mathbb Z^K$ with nonnegative coordinates, and $h_J(m)=0$ otherwise. For a prime ideal $W$, put $$\lambda_W(J)=\operatorname{length}_{A_W}(A/J)_W\in\mathbb N\cup\{\infty\}.$$ There is a finite list $(P_a,s_a)_{a=1}^{t}$, with repetitions allowed, such that each $P_a$ is a multihomogeneous prime containing $J$, each $s_a\in\mathbb N^K$, and $$h_J(m)=\sum_{a=1}^{t}h_{P_a}(m-s_a)\quad(m\in\mathbb Z^K),\qquad \lambda_W(J)=\sum_{a=1}^{t}\lambda_W(P_a)\quad(W\text{ prime}).$$
This reduces (A uniform remainder for the Hilbert functionTheorem AG.1425) to prime quotients and their local multiplicities.