- # 35
Suppose
and
are
permutation equivalent codes where
for some permutation matrix
. Prove that:
- (a)
-
, and
- (b)
- if
is self-dual, so is
.
Solution:
Proof of (a)
Suppose
. Thus
for some
. Consider
for
. Since
and
then
for some
. Thus
Hence we see that
for
.
Therefore,
. Thus
. Since
is an
coded then
has dimension
.
Similarly,
is an
coded then
has dimension
.
Since
is an invertible matrix and only permutes the
columns of the generator matrix of
then
does not change the rank of the generator matrix of
. Thus
has
dimension
. Since
and
have the same dimension and
we see that
.
Proof of (b)
Suppose
is self-dual. Then we see that
. Thus we see that,
Hence we see that
.
Therefore,
is self-dual.
- #40
- Prove Theorem 1.6.4:
Theorem 1.6.4 Let
,
, and
be codes over
. Then:
- (i)
-
,
- (ii)
- if
,
, and
- (iii)
- if
for a permutation matrix
, then
.
Solution:
To prove some of the statements in this theorem, we require the use of the following lemma:
Lemma:
Let
be a finite-dimensional linear code. Then,
. If
,
Proof:
Let
. Then, for all
,
. Then, for all
,
, so
. Because
has dimension
,
must have
dimension
and
, we must have equality -
.
The case for
follows similarly.
- (i)
- Suppose that
(note it must be a bijection). Then,
. From exercise 35,
, so
and
. Additionally, as
, we get the reverse inequality.
Note that the operation
is performed as matrix multiplication in both groups - hence, as the group elements are the same and the group operations are the same, we can say that
.
- (ii)
- We see that if
, then
is a bijection.
Let
. Then
for all
.
Then we have the following equivalences:
As
, we see that
.
Hence
, and so
. Thus,
. Again, we can use the equality
to get the reverse inclusion. Hence,
.
- (iii)
- Pick any
, where
. Let
. Then,
. Also,
Hence,
, and
. To get the other direction, note that
. Then,
Multiplying by
on the right and
on the left,
- # 41
- Prove that if
and
are permutation
equivalent codes, then so are
and
.
Solution: If
and
are permutation equivalent codes, and
is a generator matrix for
, then there is a
permutation matrix
such that
is a generator matrix
for
. Now, let
Now
is a permutation matrix, since all but the
last column have precisely one 1 in them, and similarly all but
the last row have precisely one 1 in them, since
is a
permutation matrix. Also, the last column, and the bottom
most row also have precisely one 1 in them, as can be seen by
the construction of
.
Now, let
be the generator matrix for
obtained by extending each row in
, so
for some
.
Then
and since
is a generator matrix for
, it remains
to show that each row in
is
even-like, since that will mean that
is just
extended.
So, suppose that
is the
row
of
. Then
is the
row of
, and since
is a permutation matrix,
is just a rearrangement of
, where
is the
row of
. Thus,
, which is zero because the
's were defined to be such that the sum of the row
entries of
is zero.
- # 43
- Let
be the code of Example 1.4.4.
- (a)
- Is
transitive?
- (b)
- Find generator
matrices for all six codes punctured on one point. Which of these
punctured codes are equivalent?
- (c)
- Find generator matrices
for all 15 codes punctured on two points. Which of these punctured
codes are equivalent?
Solution: From Example 1.4.4,
is the binary code with generator
matrix
- (a)
-
PAut
is transitive. To see this, let
be coordinates,
. If the set
is
any of the sets
then the permutation
fixes
and so the resulting equivalent code is
.
So
PAut
and
sends coordinate
to
and
to
. Otherwise, suppose
are
two distinct sets from
. Then the
permutation
which changes the coordinates of
and
and the corresponding pair
and
when applied to
simply permutes the two rows: the one with
nonzero
and the one with
nonzero. Therefore, the resulting
matrix is still a generating matrix for
. So
PAut
.
- (b)
- A generating matrix for a punctured code is obtained by
deleting the corresponding columns from the original code's
generating matrix. Thus, if
represents the code where
coordinate
was punctured, then
has generating matrix
below.
By Theorem 1.6.6, since
PAut
is transitive, all six
punctured codes are equivalent.
- (c)
- Let
be the code obtained from
by
puncturing on coordinates
and
. Then
has
below as a generating matrix which is obtained from
by deleting columns
and
(and removing any resulting rows
of all zeros).
Therefore,
, and
are all
equivalent as they have the same generating matrix. Furthermore,
they are not equivalent to any of the other codes as the
dimensions of the codes are different. We claim that the remaining
codes are all equivalent. First, as permutation equivalence is an
equivalence relation, it is enough to show that
and
generate equivalent codes and
and
generate equivalent codes. For this, we simply exhibit two
permutation matrices,
and
(which permutes
coordinates 2 and 4 and coordinates 1 and 3 respectively). Then we
notice that
is simply the matrix
with
the second and third rows swapped and therefore generate the same
code. Similarly,
is the matrix
with the
first and second rows permuted and therefore generate the same
code.