For any vector , use its Hamming weight . The stated product identity also follows directly by summing each coordinate independently:
For , interchange the two finite sums with . Character orthogonality evaluates the inner sum over codewords, whereas the product identity evaluates the sum over all binary vectors. Thus
Multiply by to obtain the MacWilliams identity in the paper's weight-enumerator convention:
Both sides are polynomials, so equality for extends to as well; the intermediate quotient is not a restriction on the final identity.