Weights on finite fields and failures of the MacWilliams identities
Jay A. Wood
TL;DR
This work analyzes generalized weight enumerators on finite fields and shows that duality, as captured by MacWilliams identities, is rare for non-Hamming weights. The authors develop an orbit-based, multiplicity-function framework that reduces the problem to solving linear systems $Woldsymbol heta=oldsymbol extomega$ for two-weight target distributions, then scale to construct two codes with identical $w$-weight enumerators yet different dual weight profiles. A key contribution is a rigorous set of conditions under which one can guarantee non-equality of dual distributions, culminating in a formal theorem (MainV2). The results clarify the limits of duality-respecting weights and provide explicit constructions and examples illustrating when duality fails or holds, with implications for symmetrized enumerators and generalized coding paradigms.
Abstract
In the 1960s, MacWilliams proved that the Hamming weight enumerator of a linear code over a finite field completely determines, and is determined by, the Hamming weight enumerator of its dual code. In particular, if two linear codes have the same Hamming weight enumerator, then their dual codes have the same Hamming weight enumerator. In contrast, there is a wide class of weights on finite fields whose weight enumerators have the opposite behavior: there exist two linear codes having the same weight enumerator, but their dual codes have different weight enumerators.
