MacWilliams identity

ID: macwilliams-identity

For a binary linear code of dimension and its dual code, the weight enumerator convention gives
To prove it, insert into the enumerator sum. Summing independently over each coordinate of yields a factor if and if .

New to topics? Read the docs here!