Let X be a set of objects with the action of a group G. For example, X is the configurations of a square, represented as 4-tuples by reading the vertices offin clockwise order, and let G be the group of symmetries of a square.
Let C be the set of colorings c1,c2,…cn.
Let the objects of X be colored . That is, we have functions f:X→C which assigns a color C to each element of X. Let Y be the set of colorings X→C.
We extend the action of the group to the colorings, given by g(f)≡λx.g−1(x). This makes the action of the group consistent .
What's this funny inverse? Well, the idea is this. We really have that (gf)(gx)≡g(f(x)), as the group must act in an invariant way on the function space and the domain space. So to definethe expression of (gf)(x′), we think of it as (gf)(x′)=(gf)(g(g−1x′))=f(g−1x′).
Define the weight of a coloring h∈Y, (ie h:X→C) to be the monomial given by the product of colors; wt(h)≡∏x∈Xh(x). The weight wt(h) is a monomial in the commutative ring R[c1,c2,…,cn].
Statement of Polyma Enumeration: The weight enumerator for the action G on Y≡(X→C) is equal to the cycle index polynomial Z(G,X) with zi replaced by the power sum symmetric polynomial P[p](c)≡c1p+c2p+⋯+cnp.
Let g∈G. By weighted version of Burnside Lemma, we have that
O∈Orb(Y)∑wt(O)≡1/∣G∣g∈G∑y∈Fix(g)∑wt(y)
Suppose that g∈G have a cycle monomial z1k1…zmkm. That is, we kount such that g has k1 cycles of length 1, k2 cycles of length 2, and so on upto km cycles of length m. So g has ki cycles of length i.
We want to know which colorings y∈Y are fixed by g.
Suppose a coloring y:X→C is fixed by g, so g(y)=y. Since g pushes things around in its cycles, for each cycle in g, we must use a constant color .
Said differently, all elements in the same cycle of g have the same color.
Thus for each cycle of length l, We must color all of the l elements (of X) with the same color.
We can color distinct cycles independent of each other.
Thus the weight of a cycle of length 1 is given by (c1+c2+⋯+cn), since we can color the single element with either c1or c2 and so on upto cn.
The weight of a cycle of length 2 is given by (c12+c22+⋯+cn2), since we can color the two elements in the cycle with either c1or c2 and so on upto ci.
The weight of a cycle of length l is given by (c1l+c2l+⋯+cnl) since we can color the l elements in the cycle.
Since we the element g has k1 cycles of length 1, the weight of all cycles of length 1 is (c1+c2+dots+cn)1k.
Since we the element g has k2 cycles of length 2, the weight of all cycles of length 2 is (c12+c23+dots+cn2)2k.
Since we the element g has kl cycles of length l, the weight of all cycles of length l is (c1l+c2l+dots+cnl)lk.
Thus, the total weight of g is given by the polynomial cyc(g)(p1(c),p2(c),…,pl(c)).
§ Example: Weight enumerator for square with D4 actions.