Let C be a binary linear code. Explain what it means for C to have length n and rankk. Explain what it means for a codeword of C to have weight j.
Suppose C has length n, rank k, and Aj codewords of weight j. The weight enumerator polynomial of C is given by
WC(s,t)=j=0∑nAjsjtn−j
What is WC(1,1)? Prove that WC(s,t)=WC(t,s) if and only if WC(1,0)=1.
Define the dual code C⊥ of C.
(i) Let y∈F2n. Show that
x∈C∑(−1)x⋅y={2k,0, if y∈C⊥ otherwise
(ii) Extend the definition of weight to give a weight w(y) for y∈F2n. Suppose that for t real and all x∈C
y∈F2n∑tw(y)(−1)x⋅y=(1−t)w(x)(1+t)n−w(x)
For s real, by evaluating
x∈C∑⎝⎛y∈F2n∑(−1)x⋅y(ts)w(y)⎠⎞
in two different ways, show that
WC⊥(s,t)=2−kWC(t−s,t+s).