Cox ring (source code)

= Cox ring
{c}
{wiki}

= Toric homogeneous coordinate ring
{synonym}

For a <normal variety>[normal] complex <toric variety> with no <torus factor>, its <Cox ring> is
$$
S=\mathbb C[x_\rho:\rho\in\Sigma(1)],\qquad\deg x_\rho=[D_\rho]\in\operatorname{Cl}(X).
$$
There is one variable per <toric ray>, and the grading is by the <divisor class group>, rather than necessarily by ordinary <integers>. The degree-$[D]$ part corresponds to sections of the divisorial sheaf $\mathcal O_X(D)$ after choosing a representative <toric divisor>.

For $\mathbb P^n$, this is the usual polynomial ring with every variable in degree one. For a <well-formed weighted projective space>, the class <group> is $\mathbb Z$ and the variable degrees are its weights. When an <algebraic torus> factor is present, its invertible Laurent coordinates must be included separately; the ray-variable ring alone cannot recover a positive-dimensional <algebraic torus>.<The Homogeneous Coordinate Ring of a Toric Variety by David A. Cox>[section1, grading and relation to divisor sections]{ref}