Coding Theory as Pure Mathematics

172
Coding Theory as Pure Mathematics Steven T. Dougherty July 1, 2013

Transcript of Coding Theory as Pure Mathematics

Page 1: Coding Theory as Pure Mathematics

Coding Theory as Pure Mathematics

Steven T. Dougherty

July 1, 2013

Page 2: Coding Theory as Pure Mathematics

Origins of Coding Theory

How does one communicate electronic information effectively?Namely can one detect and correct errors made in transmission?

Shannon’s Theorem: You can always communicate effectively nomatter how noisy the channel.

Page 3: Coding Theory as Pure Mathematics

Origins of Coding Theory

How does one communicate electronic information effectively?Namely can one detect and correct errors made in transmission?Shannon’s Theorem: You can always communicate effectively nomatter how noisy the channel.

Page 4: Coding Theory as Pure Mathematics

Foundations

Shannon, C. E. A mathematical theory of communication. BellSystem Tech. J. 27, (1948). 379 -423, 623 - 656. (Cited 612 timesin MathSciNet).

R. W. Hamming, Error detecting and error correcting codes, BellSystem Tech. J. 29 (1950), 147- 160.Marcel J. E. Golay, Notes on digital coding [Proc. IRE 37 (1949),657]

Page 5: Coding Theory as Pure Mathematics

Foundations

Shannon, C. E. A mathematical theory of communication. BellSystem Tech. J. 27, (1948). 379 -423, 623 - 656. (Cited 612 timesin MathSciNet).R. W. Hamming, Error detecting and error correcting codes, BellSystem Tech. J. 29 (1950), 147- 160.

Marcel J. E. Golay, Notes on digital coding [Proc. IRE 37 (1949),657]

Page 6: Coding Theory as Pure Mathematics

Foundations

Shannon, C. E. A mathematical theory of communication. BellSystem Tech. J. 27, (1948). 379 -423, 623 - 656. (Cited 612 timesin MathSciNet).R. W. Hamming, Error detecting and error correcting codes, BellSystem Tech. J. 29 (1950), 147- 160.Marcel J. E. Golay, Notes on digital coding [Proc. IRE 37 (1949),657]

Page 7: Coding Theory as Pure Mathematics

Foundations

To communicate you need:

I Efficiently encode the information.

I Have a code where the distance between vectors is as large aspossible so that errors can be corrected.

I Have as many elements in the code as possible so that asmuch information as possible can be sent.

I An efficient algorithm to decode the information.

Page 8: Coding Theory as Pure Mathematics

Foundations

To communicate you need:

I Efficiently encode the information.

I Have a code where the distance between vectors is as large aspossible so that errors can be corrected.

I Have as many elements in the code as possible so that asmuch information as possible can be sent.

I An efficient algorithm to decode the information.

Page 9: Coding Theory as Pure Mathematics

Foundations

To communicate you need:

I Efficiently encode the information.

I Have a code where the distance between vectors is as large aspossible so that errors can be corrected.

I Have as many elements in the code as possible so that asmuch information as possible can be sent.

I An efficient algorithm to decode the information.

Page 10: Coding Theory as Pure Mathematics

Foundations

To communicate you need:

I Efficiently encode the information.

I Have a code where the distance between vectors is as large aspossible so that errors can be corrected.

I Have as many elements in the code as possible so that asmuch information as possible can be sent.

I An efficient algorithm to decode the information.

Page 11: Coding Theory as Pure Mathematics

Classical Fundamental Question of Coding Theory

What is the largest number of points in Fn2 such that any two of

the points are at least d apart, where

d(v,w) = |{i | vi 6= wi}|?

Linear version: What is the largest dimension of a vector spacein Fn

2 such the weight of any non-zero vector is at least d , wherethe weight of v is wt(v) = |{i |vi 6= 0}|.

Page 12: Coding Theory as Pure Mathematics

Classical Fundamental Question of Coding Theory

What is the largest number of points in Fn2 such that any two of

the points are at least d apart, where

d(v,w) = |{i | vi 6= wi}|?

Linear version: What is the largest dimension of a vector spacein Fn

2 such the weight of any non-zero vector is at least d , wherethe weight of v is wt(v) = |{i |vi 6= 0}|.

Page 13: Coding Theory as Pure Mathematics

E.F. Assmus

The purpose of applied mathematics is to enrich puremathematics. – E.F. Assmus 1931-1998.

My modified version: A very nice benefit of applied mathematics isthat it enriches pure mathematics.

Page 14: Coding Theory as Pure Mathematics

E.F. Assmus

The purpose of applied mathematics is to enrich puremathematics. – E.F. Assmus 1931-1998.

My modified version: A very nice benefit of applied mathematics isthat it enriches pure mathematics.

Page 15: Coding Theory as Pure Mathematics

Basic Definitions

A code over an alphabet A of length n is a subset of An.

Initially, A was F2, then Fq was considered. More, recently A isallowed to be a ring, module or group.In general, we are concerned with any alphabet A but we areparticularly concerned with A when it has an algebraic structure.We say the code is linear when the code itself has that algebraicstructure, e.g. a code over Fq is linear when it is a vector space,and a code over a ring is linear if it is a submodule.

Page 16: Coding Theory as Pure Mathematics

Basic Definitions

A code over an alphabet A of length n is a subset of An.Initially, A was F2, then Fq was considered. More, recently A isallowed to be a ring, module or group.

In general, we are concerned with any alphabet A but we areparticularly concerned with A when it has an algebraic structure.We say the code is linear when the code itself has that algebraicstructure, e.g. a code over Fq is linear when it is a vector space,and a code over a ring is linear if it is a submodule.

Page 17: Coding Theory as Pure Mathematics

Basic Definitions

A code over an alphabet A of length n is a subset of An.Initially, A was F2, then Fq was considered. More, recently A isallowed to be a ring, module or group.In general, we are concerned with any alphabet A but we areparticularly concerned with A when it has an algebraic structure.

We say the code is linear when the code itself has that algebraicstructure, e.g. a code over Fq is linear when it is a vector space,and a code over a ring is linear if it is a submodule.

Page 18: Coding Theory as Pure Mathematics

Basic Definitions

A code over an alphabet A of length n is a subset of An.Initially, A was F2, then Fq was considered. More, recently A isallowed to be a ring, module or group.In general, we are concerned with any alphabet A but we areparticularly concerned with A when it has an algebraic structure.We say the code is linear when the code itself has that algebraicstructure, e.g. a code over Fq is linear when it is a vector space,and a code over a ring is linear if it is a submodule.

Page 19: Coding Theory as Pure Mathematics

Mathematical Foundations

A code C of length n is a subset of Fnq of size M and minimum

distance d , denoted [n,M, d ].

If C is linear M = qk , k the dimension, and it is denoted by[n, k, d ].

Attached to the ambient space is the inner-product

[v,w] =∑

viwi .

Define C⊥ = {v | [v,w] = 0,∀w ∈ C}.

Page 20: Coding Theory as Pure Mathematics

Mathematical Foundations

A code C of length n is a subset of Fnq of size M and minimum

distance d , denoted [n,M, d ].

If C is linear M = qk , k the dimension, and it is denoted by[n, k, d ].

Attached to the ambient space is the inner-product

[v,w] =∑

viwi .

Define C⊥ = {v | [v,w] = 0,∀w ∈ C}.

Page 21: Coding Theory as Pure Mathematics

Mathematical Foundations

A code C of length n is a subset of Fnq of size M and minimum

distance d , denoted [n,M, d ].

If C is linear M = qk , k the dimension, and it is denoted by[n, k, d ].

Attached to the ambient space is the inner-product

[v,w] =∑

viwi .

Define C⊥ = {v | [v,w] = 0,∀w ∈ C}.

Page 22: Coding Theory as Pure Mathematics

Mathematical Foundations

A code C of length n is a subset of Fnq of size M and minimum

distance d , denoted [n,M, d ].

If C is linear M = qk , k the dimension, and it is denoted by[n, k, d ].

Attached to the ambient space is the inner-product

[v,w] =∑

viwi .

Define C⊥ = {v | [v,w] = 0,∀w ∈ C}.

Page 23: Coding Theory as Pure Mathematics

Mathematical Foundations

If C is a linear code in Fnq then dim(C ) + dim(C⊥) = n.

All codes have a minimal generating set (basis) so it has agenerating matrix G . The code C⊥ has a generating matrix H(parity check matrix) so

v ∈ C ⇐⇒ HvT = 0.

The matrix H is used extensively in decoding.

Page 24: Coding Theory as Pure Mathematics

Mathematical Foundations

If C is a linear code in Fnq then dim(C ) + dim(C⊥) = n.

All codes have a minimal generating set (basis) so it has agenerating matrix G . The code C⊥ has a generating matrix H(parity check matrix) so

v ∈ C ⇐⇒ HvT = 0.

The matrix H is used extensively in decoding.

Page 25: Coding Theory as Pure Mathematics

Mathematical Foundations

If C is a linear code in Fnq then dim(C ) + dim(C⊥) = n.

All codes have a minimal generating set (basis) so it has agenerating matrix G . The code C⊥ has a generating matrix H(parity check matrix) so

v ∈ C ⇐⇒ HvT = 0.

The matrix H is used extensively in decoding.

Page 26: Coding Theory as Pure Mathematics

Example: Hamming Code

H =

0 0 0 1 1 1 10 1 1 0 0 1 11 0 1 0 1 0 1

Then C is a [7, 4, 3] code such that any vector in Fn2 is at most

distance 1 from a unique vector in the code.

Page 27: Coding Theory as Pure Mathematics

Example: Hamming Code

H =

0 0 0 1 1 1 10 1 1 0 0 1 11 0 1 0 1 0 1

Then C is a [7, 4, 3] code such that any vector in Fn

2 is at mostdistance 1 from a unique vector in the code.

Page 28: Coding Theory as Pure Mathematics

Connection to Finite Geometry

The weight 3 vectors in the [7, 4, 3] Hamming code correspond tothe lines in a projective plane of order 2.

The weight 4 vectors in the [7, 4, 3] Hamming code correspond tothe correspond to the hyperovals in the projecitve plane of order 2.

Page 29: Coding Theory as Pure Mathematics

Connection to Finite Geometry

The weight 3 vectors in the [7, 4, 3] Hamming code correspond tothe lines in a projective plane of order 2.

The weight 4 vectors in the [7, 4, 3] Hamming code correspond tothe correspond to the hyperovals in the projecitve plane of order 2.

Page 30: Coding Theory as Pure Mathematics

Hamming Code

H =

0 0 0 1 1 1 10 1 1 0 0 1 11 0 1 0 1 0 1

Assume the vector received is v = (1010111), then HvT = (110).

So the correct vector is (1010101) which corresponds to ahyperoval in the projective plane of order 2.

Page 31: Coding Theory as Pure Mathematics

Hamming Code

H =

0 0 0 1 1 1 10 1 1 0 0 1 11 0 1 0 1 0 1

Assume the vector received is v = (1010111), then HvT = (110).So the correct vector is (1010101) which corresponds to ahyperoval in the projective plane of order 2.

Page 32: Coding Theory as Pure Mathematics

Classical Engineering Use of Coding Theory

I Construction of a communication system where errors incommunication are not only detected but corrected.

I Used in telephones, television, CDs, DVDs, computer tocomputer communication.

I Cryptography and secret sharing schemes.

Page 33: Coding Theory as Pure Mathematics

Classical Engineering Use of Coding Theory

I Construction of a communication system where errors incommunication are not only detected but corrected.

I Used in telephones, television, CDs, DVDs, computer tocomputer communication.

I Cryptography and secret sharing schemes.

Page 34: Coding Theory as Pure Mathematics

Classical Engineering Use of Coding Theory

I Construction of a communication system where errors incommunication are not only detected but corrected.

I Used in telephones, television, CDs, DVDs, computer tocomputer communication.

I Cryptography and secret sharing schemes.

Page 35: Coding Theory as Pure Mathematics

Mathematical Use of Coding Theory

I Constructing lattices, e.g. recent construction of extremallattice at length 72

I Connections to number theory (modular forms, etc.)

I Connection to designs (constructing, proving non-existenceand proving non-isomorphic), e.g. proof of the non-existenceof the projective plane of order 10

I Connections to algebraic geometry

I Connections to combinatorics, e.g. MDS codes and mutuallyorthogonal latin squares and arcs in projective geometry

Page 36: Coding Theory as Pure Mathematics

Mathematical Use of Coding Theory

I Constructing lattices, e.g. recent construction of extremallattice at length 72

I Connections to number theory (modular forms, etc.)

I Connection to designs (constructing, proving non-existenceand proving non-isomorphic), e.g. proof of the non-existenceof the projective plane of order 10

I Connections to algebraic geometry

I Connections to combinatorics, e.g. MDS codes and mutuallyorthogonal latin squares and arcs in projective geometry

Page 37: Coding Theory as Pure Mathematics

Mathematical Use of Coding Theory

I Constructing lattices, e.g. recent construction of extremallattice at length 72

I Connections to number theory (modular forms, etc.)

I Connection to designs (constructing, proving non-existenceand proving non-isomorphic), e.g. proof of the non-existenceof the projective plane of order 10

I Connections to algebraic geometry

I Connections to combinatorics, e.g. MDS codes and mutuallyorthogonal latin squares and arcs in projective geometry

Page 38: Coding Theory as Pure Mathematics

Mathematical Use of Coding Theory

I Constructing lattices, e.g. recent construction of extremallattice at length 72

I Connections to number theory (modular forms, etc.)

I Connection to designs (constructing, proving non-existenceand proving non-isomorphic), e.g. proof of the non-existenceof the projective plane of order 10

I Connections to algebraic geometry

I Connections to combinatorics, e.g. MDS codes and mutuallyorthogonal latin squares and arcs in projective geometry

Page 39: Coding Theory as Pure Mathematics

Mathematical Use of Coding Theory

I Constructing lattices, e.g. recent construction of extremallattice at length 72

I Connections to number theory (modular forms, etc.)

I Connection to designs (constructing, proving non-existenceand proving non-isomorphic), e.g. proof of the non-existenceof the projective plane of order 10

I Connections to algebraic geometry

I Connections to combinatorics, e.g. MDS codes and mutuallyorthogonal latin squares and arcs in projective geometry

Page 40: Coding Theory as Pure Mathematics

Singleton Bound

TheoremLet C be an [n, qk , d ] code over an alphabet of size q, thend ≤ n − k + 1.

Proof.Consider the first n − (d − 1) coordinates. These must all bedistinct, otherwise the distance between two vectors would be lessthan d . Hence k ≤ n − (d − 1) = n − d + 1.

If C meets this bound the code is called a Maximum DistanceSeparable (MDS) code.

Page 41: Coding Theory as Pure Mathematics

Singleton Bound

TheoremLet C be an [n, qk , d ] code over an alphabet of size q, thend ≤ n − k + 1.

Proof.Consider the first n − (d − 1) coordinates. These must all bedistinct, otherwise the distance between two vectors would be lessthan d . Hence k ≤ n − (d − 1) = n − d + 1.

If C meets this bound the code is called a Maximum DistanceSeparable (MDS) code.

Page 42: Coding Theory as Pure Mathematics

Singleton Bound

TheoremLet C be an [n, qk , d ] code over an alphabet of size q, thend ≤ n − k + 1.

Proof.Consider the first n − (d − 1) coordinates. These must all bedistinct, otherwise the distance between two vectors would be lessthan d . Hence k ≤ n − (d − 1) = n − d + 1.

If C meets this bound the code is called a Maximum DistanceSeparable (MDS) code.

Page 43: Coding Theory as Pure Mathematics

Singleton Bound

Connection to combinatorics.

TheoremA set of s MOLS of order q is equivalent to an MDS[s + 2, q2, s + 1] MDS code.

Extremely difficult question in pure mathematics.

Page 44: Coding Theory as Pure Mathematics

Sphere Packing Bound

Theorem(Sphere Packing Bound ) Let C be a code over Fq of length nwith M = |C | and minimum distance 2t + 1. Then

M(1 + (q − 1)n + (q − 1)2(

n2

)+ · · ·+ (q − 1)t

(nt

)) ≤ qn.

A code meeting this bound is called a perfect code.

Page 45: Coding Theory as Pure Mathematics

Sphere Packing Bound

Theorem(Sphere Packing Bound ) Let C be a code over Fq of length nwith M = |C | and minimum distance 2t + 1. Then

M(1 + (q − 1)n + (q − 1)2(

n2

)+ · · ·+ (q − 1)t

(nt

)) ≤ qn.

A code meeting this bound is called a perfect code.

Page 46: Coding Theory as Pure Mathematics

Perfect Codes

The [7, 4, 3] Hamming code given before is a perfect code.

The [23, 12, 7] binary Golay code is a perfect code.

The [11, 6, 5] ternary Golay code is a perfect code.

Page 47: Coding Theory as Pure Mathematics

Perfect Codes

The [7, 4, 3] Hamming code given before is a perfect code.

The [23, 12, 7] binary Golay code is a perfect code.

The [11, 6, 5] ternary Golay code is a perfect code.

Page 48: Coding Theory as Pure Mathematics

Perfect Codes

The [7, 4, 3] Hamming code given before is a perfect code.

The [23, 12, 7] binary Golay code is a perfect code.

The [11, 6, 5] ternary Golay code is a perfect code.

Page 49: Coding Theory as Pure Mathematics

Perfect Code

Example of a connection to combinatorics. A Steiner system is at-design with λ = 1. A t − (v , k, λ) Steiner system is denotedS(, t, v , k).

Theorem(Assmus and Mattson) If there exists a perfect binary t-errorcorrecting code of length n, then there exists a Steiner systemS(t + 1, 2t + 1, n).

Page 50: Coding Theory as Pure Mathematics

Perfect Code

Example of a connection to combinatorics. A Steiner system is at-design with λ = 1. A t − (v , k, λ) Steiner system is denotedS(, t, v , k).

Theorem(Assmus and Mattson) If there exists a perfect binary t-errorcorrecting code of length n, then there exists a Steiner systemS(t + 1, 2t + 1, n).

Page 51: Coding Theory as Pure Mathematics

Jessie MacWilliams (1917-1990)

Theorem(MacWilliams I) Let C be a linear code over a finite field, thenevery Hamming isometry C → F n can be extended to a monomialtransformation.

Page 52: Coding Theory as Pure Mathematics

Jessie MacWilliams (1917-1990)

MacWilliams, Jessie A theorem on the distribution of weights in asystematic code. Bell System Tech. J. 42 1963 79-94.

Page 53: Coding Theory as Pure Mathematics

Jessie MacWilliams (1917-1990)

Hamming Weight Enumerator:

WC (x , y) =∑c∈C

xn−wt(c)ywt(c)

Theorem(MacWilliams Relations) Let C be a linear code over Fq then

WC⊥(x , y) =1

|C |WC (x + (q − 1)y , x − y).

Page 54: Coding Theory as Pure Mathematics

Jessie MacWilliams (1917-1990)

Hamming Weight Enumerator:

WC (x , y) =∑c∈C

xn−wt(c)ywt(c)

Theorem(MacWilliams Relations) Let C be a linear code over Fq then

WC⊥(x , y) =1

|C |WC (x + (q − 1)y , x − y).

Page 55: Coding Theory as Pure Mathematics

Interesting Families of Codes

Interesting Families of Codes

Page 56: Coding Theory as Pure Mathematics

Cyclic Codes

Cyclic codes are an extremely important class of codes – initiallybecause of an efficient decoding algorithm.

A code C is cyclic if(a0, a1, . . . , an−1) ∈ C =⇒ (an−1, a0, a1, a2, . . . , an−2) ∈ C .

Let π((a0, a1, . . . , an−1)) = (an−1, a0, a1, a2, . . . , an−2). So a cycliccode C has π(C ) = C .

Page 57: Coding Theory as Pure Mathematics

Cyclic Codes

Cyclic codes are an extremely important class of codes – initiallybecause of an efficient decoding algorithm.

A code C is cyclic if(a0, a1, . . . , an−1) ∈ C =⇒ (an−1, a0, a1, a2, . . . , an−2) ∈ C .

Let π((a0, a1, . . . , an−1)) = (an−1, a0, a1, a2, . . . , an−2). So a cycliccode C has π(C ) = C .

Page 58: Coding Theory as Pure Mathematics

Cyclic Codes

There is a natural connection from vectors in a cyclic code topolynomials:

(a0, a1, . . . , an−1)↔ a0 + a1x + a2x2 . . . an−1xn−1

Notice that π((a0, a1, . . . , an−1)) corresponds tox(a0 + a1x + a2x2 . . . an−1xn−1) (mod xn − 1).

Page 59: Coding Theory as Pure Mathematics

Cyclic Codes

There is a natural connection from vectors in a cyclic code topolynomials:

(a0, a1, . . . , an−1)↔ a0 + a1x + a2x2 . . . an−1xn−1

Notice that π((a0, a1, . . . , an−1)) corresponds tox(a0 + a1x + a2x2 . . . an−1xn−1) (mod xn − 1).

Page 60: Coding Theory as Pure Mathematics

Cyclic Codes

Then if C is linear over F and invariant under π then a cyclic codecorresponds to an ideal in F [x ]/〈xn − 1〉.

Cyclic codes are classified by finding all ideals in R[x ]/〈xn − 1〉.

Easily done when the length of the code is relatively prime to thecharacteristic of the field, that is we factor xn − 1 uniquely in F [x ].

Page 61: Coding Theory as Pure Mathematics

Cyclic Codes

Then if C is linear over F and invariant under π then a cyclic codecorresponds to an ideal in F [x ]/〈xn − 1〉.

Cyclic codes are classified by finding all ideals in R[x ]/〈xn − 1〉.

Easily done when the length of the code is relatively prime to thecharacteristic of the field, that is we factor xn − 1 uniquely in F [x ].

Page 62: Coding Theory as Pure Mathematics

Cyclic Codes

Then if C is linear over F and invariant under π then a cyclic codecorresponds to an ideal in F [x ]/〈xn − 1〉.

Cyclic codes are classified by finding all ideals in R[x ]/〈xn − 1〉.

Easily done when the length of the code is relatively prime to thecharacteristic of the field, that is we factor xn − 1 uniquely in F [x ].

Page 63: Coding Theory as Pure Mathematics

Constacyclic Codes

A code C is constacyclic if(a0, a1, . . . , an−1) ∈ C =⇒ (λn−1, a0, a1, a2, . . . , an−2) ∈ C forsome λ ∈ F .

If λ = −1 the codes are said to be negacyclic.

Under the same reasoning, constacyclic codes corresponds to idealsin F [x ]/〈xn − λ〉.

Page 64: Coding Theory as Pure Mathematics

Constacyclic Codes

A code C is constacyclic if(a0, a1, . . . , an−1) ∈ C =⇒ (λn−1, a0, a1, a2, . . . , an−2) ∈ C forsome λ ∈ F .

If λ = −1 the codes are said to be negacyclic.

Under the same reasoning, constacyclic codes corresponds to idealsin F [x ]/〈xn − λ〉.

Page 65: Coding Theory as Pure Mathematics

Constacyclic Codes

A code C is constacyclic if(a0, a1, . . . , an−1) ∈ C =⇒ (λn−1, a0, a1, a2, . . . , an−2) ∈ C forsome λ ∈ F .

If λ = −1 the codes are said to be negacyclic.

Under the same reasoning, constacyclic codes corresponds to idealsin F [x ]/〈xn − λ〉.

Page 66: Coding Theory as Pure Mathematics

Hamming Codes

Let H be the matrix whose columns consist of the (qr − 1)/(q− 1)distinct non-zero vectors of Fr

q modulo scalar multiples. Then let

C = 〈H〉⊥.

Then C is a [(qr − 1)/(q − 1), (qr − 1)/(q − 1)− r , 3] perfectcode.

These codes are the Generalized Hamming Codes.

Page 67: Coding Theory as Pure Mathematics

Hamming Codes

Let H be the matrix whose columns consist of the (qr − 1)/(q− 1)distinct non-zero vectors of Fr

q modulo scalar multiples. Then let

C = 〈H〉⊥.

Then C is a [(qr − 1)/(q − 1), (qr − 1)/(q − 1)− r , 3] perfectcode.

These codes are the Generalized Hamming Codes.

Page 68: Coding Theory as Pure Mathematics

Hamming Codes

Let H be the matrix whose columns consist of the (qr − 1)/(q− 1)distinct non-zero vectors of Fr

q modulo scalar multiples. Then let

C = 〈H〉⊥.

Then C is a [(qr − 1)/(q − 1), (qr − 1)/(q − 1)− r , 3] perfectcode.

These codes are the Generalized Hamming Codes.

Page 69: Coding Theory as Pure Mathematics

Hamming Codes

For example r = 3, q = 3,

H =

0 0 0 0 1 1 1 1 1 1 1 1 10 1 1 1 0 0 0 1 1 1 2 2 21 0 1 2 0 1 2 0 1 2 0 1 2

C is a [13, 10, 3] perfect code over F3.

Page 70: Coding Theory as Pure Mathematics

Hamming Codes

For example r = 3, q = 3,

H =

0 0 0 0 1 1 1 1 1 1 1 1 10 1 1 1 0 0 0 1 1 1 2 2 21 0 1 2 0 1 2 0 1 2 0 1 2

C is a [13, 10, 3] perfect code over F3.

Page 71: Coding Theory as Pure Mathematics

Simplex Codes

The Simplex Codes are [2r − 1, r , 2r−1] codes and are theorthogonals to the binary Hamming Codes.

Page 72: Coding Theory as Pure Mathematics

BCH Codes

Let Fq = {0, b1, . . . , bq−1}, let ai = bj for some j and ai 6= aj ifi 6= j .

The let

H =

1 1 1 . . . 1a1 a2 a3 . . . ana21 a22 a23 . . . a2n...

ad−21 ad−22 ad−23 . . . ad−2n

Page 73: Coding Theory as Pure Mathematics

BCH Codes

Let Fq = {0, b1, . . . , bq−1}, let ai = bj for some j and ai 6= aj ifi 6= j . The let

H =

1 1 1 . . . 1a1 a2 a3 . . . ana21 a22 a23 . . . a2n...

ad−21 ad−22 ad−23 . . . ad−2n

Page 74: Coding Theory as Pure Mathematics

BCH Codes

The matrix H is a Vandermonde matrix and as such has a non-zerodeterminant. Hence the d − 1 rows and d − 1 columns are linearlyindependent.

Let C = 〈H〉⊥. Then C is a [n, n − (d − 1), d ] code.

Then n − k + 1 = n − (n − (d − 1)) + 1 = d and the code meetsthe Singleton bound.

Page 75: Coding Theory as Pure Mathematics

BCH Codes

The matrix H is a Vandermonde matrix and as such has a non-zerodeterminant. Hence the d − 1 rows and d − 1 columns are linearlyindependent.

Let C = 〈H〉⊥. Then C is a [n, n − (d − 1), d ] code.

Then n − k + 1 = n − (n − (d − 1)) + 1 = d and the code meetsthe Singleton bound.

Page 76: Coding Theory as Pure Mathematics

BCH Codes

The matrix H is a Vandermonde matrix and as such has a non-zerodeterminant. Hence the d − 1 rows and d − 1 columns are linearlyindependent.

Let C = 〈H〉⊥. Then C is a [n, n − (d − 1), d ] code.

Then n − k + 1 = n − (n − (d − 1)) + 1 = d and the code meetsthe Singleton bound.

Page 77: Coding Theory as Pure Mathematics

BCH Codes

As an example, let

H =

1 1 1 11 2 3 41 4 4 1

Then C is a [4, 1, 4] code and 4− 1 + 1 = 4 and the code is MDSover F5.

In this case C = 〈(1, 2, 3, 4)〉.

Page 78: Coding Theory as Pure Mathematics

BCH Codes

As an example, let

H =

1 1 1 11 2 3 41 4 4 1

Then C is a [4, 1, 4] code and 4− 1 + 1 = 4 and the code is MDSover F5.

In this case C = 〈(1, 2, 3, 4)〉.

Page 79: Coding Theory as Pure Mathematics

BCH Codes

As an example, let

H =

1 1 1 11 2 3 41 4 4 1

Then C is a [4, 1, 4] code and 4− 1 + 1 = 4 and the code is MDSover F5.

In this case C = 〈(1, 2, 3, 4)〉.

Page 80: Coding Theory as Pure Mathematics

Important Texts for Classical Coding Theory

I F.J. MacWilliams, N.J.A. Sloane, The Theory ofError-Correcting Codes, Amsterdam, The Netherlands:North-Holland, 1977.

I W.C. Huffman and V.S. Pless, Fundamentals ofError-correcting Codes, Cambridge: Cambridge UniversityPress, 2003.

I Handbook of Coding Theory, V.S. Pless and W.C. Huffman,eds., 177–294, Elsevier:Amsterdam, 1998.

Page 81: Coding Theory as Pure Mathematics

Important Texts for Classical Coding Theory

I F.J. MacWilliams, N.J.A. Sloane, The Theory ofError-Correcting Codes, Amsterdam, The Netherlands:North-Holland, 1977.

I W.C. Huffman and V.S. Pless, Fundamentals ofError-correcting Codes, Cambridge: Cambridge UniversityPress, 2003.

I Handbook of Coding Theory, V.S. Pless and W.C. Huffman,eds., 177–294, Elsevier:Amsterdam, 1998.

Page 82: Coding Theory as Pure Mathematics

Important Texts for Classical Coding Theory

I F.J. MacWilliams, N.J.A. Sloane, The Theory ofError-Correcting Codes, Amsterdam, The Netherlands:North-Holland, 1977.

I W.C. Huffman and V.S. Pless, Fundamentals ofError-correcting Codes, Cambridge: Cambridge UniversityPress, 2003.

I Handbook of Coding Theory, V.S. Pless and W.C. Huffman,eds., 177–294, Elsevier:Amsterdam, 1998.

Page 83: Coding Theory as Pure Mathematics

Important Texts for Connections to Classical CodingTheory

I Conway, J. H.; Sloane, N. J. A. Sphere packings, lattices andgroups. Third edition. With additional contributions by E.Bannai, R. E. Borcherds, J. Leech, S. P. Norton, A. M.Odlyzko, R. A. Parker, L. Queen and B. B. Venkov.Grundlehren der Mathematischen Wissenschaften[Fundamental Principles of Mathematical Sciences], 290.Springer-Verlag, New York, 1999.

I Assmus, E. F., Jr.; Key, J. D. Designs and their codes.Cambridge Tracts in Mathematics, 103. Cambridge UniversityPress, Cambridge, 1992.

Page 84: Coding Theory as Pure Mathematics

Important Texts for Connections to Classical CodingTheory

I Conway, J. H.; Sloane, N. J. A. Sphere packings, lattices andgroups. Third edition. With additional contributions by E.Bannai, R. E. Borcherds, J. Leech, S. P. Norton, A. M.Odlyzko, R. A. Parker, L. Queen and B. B. Venkov.Grundlehren der Mathematischen Wissenschaften[Fundamental Principles of Mathematical Sciences], 290.Springer-Verlag, New York, 1999.

I Assmus, E. F., Jr.; Key, J. D. Designs and their codes.Cambridge Tracts in Mathematics, 103. Cambridge UniversityPress, Cambridge, 1992.

Page 85: Coding Theory as Pure Mathematics

Quote

We do not have to pretend that what we are doing has anything todo with information transfer any more. – Sasha Barg, University ofCincinnati, Cincinnati Ohio, Oct 2006.

Page 86: Coding Theory as Pure Mathematics

Expansion of Coding Theory

In MacWilliams and Sloane, there are around 1500 cited worksfrom 1948 to 1977.

A search on MathSciNet for titles with the word code, there are12,267 items.

Page 87: Coding Theory as Pure Mathematics

Expansion of Coding Theory

In MacWilliams and Sloane, there are around 1500 cited worksfrom 1948 to 1977.

A search on MathSciNet for titles with the word code, there are12,267 items.

Page 88: Coding Theory as Pure Mathematics

What constitutes coding theory

I An algebraic structure to linear codes.

I A well defined orthogonal inner-product which gives anorthogonal C⊥ with

|C ||C⊥| = |R|n

I MacWilliams Theorem 1

I MacWilliams Theorem 2

Page 89: Coding Theory as Pure Mathematics

What constitutes coding theory

I An algebraic structure to linear codes.

I A well defined orthogonal inner-product which gives anorthogonal C⊥ with

|C ||C⊥| = |R|n

I MacWilliams Theorem 1

I MacWilliams Theorem 2

Page 90: Coding Theory as Pure Mathematics

What constitutes coding theory

I An algebraic structure to linear codes.

I A well defined orthogonal inner-product which gives anorthogonal C⊥ with

|C ||C⊥| = |R|n

I MacWilliams Theorem 1

I MacWilliams Theorem 2

Page 91: Coding Theory as Pure Mathematics

What constitutes coding theory

I An algebraic structure to linear codes.

I A well defined orthogonal inner-product which gives anorthogonal C⊥ with

|C ||C⊥| = |R|n

I MacWilliams Theorem 1

I MacWilliams Theorem 2

Page 92: Coding Theory as Pure Mathematics

A big step forward – Gray Map

Classical Coding Theory gets a shock!

A.R. Hammons, P.V. Kumar, A.R. Calderbank, N.J.A. Sloane andP. Sole, The Z4-linearity of kerdock, preparata, goethals andrelated codes, IEEE Trans. Inform. Theory, vol. 40, pp. 301-319,1994. (Cited 221 times).

Page 93: Coding Theory as Pure Mathematics

A big step forward – Gray Map

Classical Coding Theory gets a shock!

A.R. Hammons, P.V. Kumar, A.R. Calderbank, N.J.A. Sloane andP. Sole, The Z4-linearity of kerdock, preparata, goethals andrelated codes, IEEE Trans. Inform. Theory, vol. 40, pp. 301-319,1994. (Cited 221 times).

Page 94: Coding Theory as Pure Mathematics

A big step forward – Gray Map

φ : Z4 → F22

0 → 00

1 → 01

2 → 11

3 → 10

Page 95: Coding Theory as Pure Mathematics

A big step forward – Gray Map

The map φ is a non-linear distance preserving map.

Important weight in Z4 is Lee weight, i.e. the weight of the binaryimage.

The authors show that the Kerdock, the Preparata and theNordstrom-Robinson codes, while non-linear binary codes, are theimages of linear quaternary codes.

Page 96: Coding Theory as Pure Mathematics

A big step forward – Gray Map

The map φ is a non-linear distance preserving map.

Important weight in Z4 is Lee weight, i.e. the weight of the binaryimage.

The authors show that the Kerdock, the Preparata and theNordstrom-Robinson codes, while non-linear binary codes, are theimages of linear quaternary codes.

Page 97: Coding Theory as Pure Mathematics

A big step forward – Gray Map

The map φ is a non-linear distance preserving map.

Important weight in Z4 is Lee weight, i.e. the weight of the binaryimage.

The authors show that the Kerdock, the Preparata and theNordstrom-Robinson codes, while non-linear binary codes, are theimages of linear quaternary codes.

Page 98: Coding Theory as Pure Mathematics

A big step forward – Gray Map

In retrospect, the following paper should have helped understandthis earlier.Delsarte, P., An algebraic approach to the association schemes ofcoding theory. Philips Res. Rep. Suppl., Vol. 10, (1973). (Cited216 times).

Page 99: Coding Theory as Pure Mathematics

A New Beginning

It now becomes interesting to study codes over a larger class ofalphabets with an algebraic structure, namely rings.

Page 100: Coding Theory as Pure Mathematics

Codes over Rings

New Definitions

field → ring

dimension → rank, type, other

Hamming weight → appropriate metric

vector space → module

Page 101: Coding Theory as Pure Mathematics

Modified Fundamental Question of Coding Theory

What is the largest (linear) subspace of Rn, R a ring, such thatany two vectors are at least d units apart, where d is with respectto the appropriate metric?

Page 102: Coding Theory as Pure Mathematics

Quote

Why should we care about codes over Frobenius rings anyway? –Vera Pless. AMS Special Topic Session, Notre Dame University,April 2000.

Page 103: Coding Theory as Pure Mathematics

Jay Wood

Wood, J.: Duality for modules over finite rings and applications tocoding theory, Amer. J. Math., Vol. 121, No. 3, pp. 555-575(1999).

Page 104: Coding Theory as Pure Mathematics

Jay Wood

What is the largest class of codes you can use for coding theory?

You want an algebraic structure to linear codes and a well definedorthogonal inner-product which gives an orthogonal C⊥ with|C ||C⊥| = |R|n. You also want both MacWilliams Theorems to betrue in order to use most of the tools of coding theory.

Answer: Frobenius Rings

Page 105: Coding Theory as Pure Mathematics

Jay Wood

What is the largest class of codes you can use for coding theory?

You want an algebraic structure to linear codes and a well definedorthogonal inner-product which gives an orthogonal C⊥ with|C ||C⊥| = |R|n. You also want both MacWilliams Theorems to betrue in order to use most of the tools of coding theory.

Answer: Frobenius Rings

Page 106: Coding Theory as Pure Mathematics

Jay Wood

What is the largest class of codes you can use for coding theory?

You want an algebraic structure to linear codes and a well definedorthogonal inner-product which gives an orthogonal C⊥ with|C ||C⊥| = |R|n. You also want both MacWilliams Theorems to betrue in order to use most of the tools of coding theory.

Answer: Frobenius Rings

Page 107: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

We are concerned with finite rings so all of the rings we considerare Artinian but the definitions apply to all Artinian rings.

A left module M is irreducible if it contains no non-trivial leftsubmodule.

A left module M is indecomposable if it has no non-trivial leftdirect summands. (N.B. every irreducible module isindecomposable, but not the converse).

Page 108: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

We are concerned with finite rings so all of the rings we considerare Artinian but the definitions apply to all Artinian rings.

A left module M is irreducible if it contains no non-trivial leftsubmodule.

A left module M is indecomposable if it has no non-trivial leftdirect summands. (N.B. every irreducible module isindecomposable, but not the converse).

Page 109: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

We are concerned with finite rings so all of the rings we considerare Artinian but the definitions apply to all Artinian rings.

A left module M is irreducible if it contains no non-trivial leftsubmodule.

A left module M is indecomposable if it has no non-trivial leftdirect summands. (N.B. every irreducible module isindecomposable, but not the converse).

Page 110: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

An Artinian ring (as a left module over itself) admits a finite directsum decomposition:

RR = Re1,1 ⊕ . . .Re1,µ1 ⊕ · · · ⊕ Ren,1 ⊕ · · · ⊕ Ren, µn,

where the ei ,j are primitive orthogonal idempotents with1 =

∑ei ,j .

Page 111: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

This is the principal decomposition of RR.

The Rei ,j are indexed so that Rei ,j is isomorphic to Rek,l if andonly if i = k .

Set ei = ei ,1 then we can write:

RR ∼= ⊕µiRei

Page 112: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

This is the principal decomposition of RR.

The Rei ,j are indexed so that Rei ,j is isomorphic to Rek,l if andonly if i = k .

Set ei = ei ,1 then we can write:

RR ∼= ⊕µiRei

Page 113: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

This is the principal decomposition of RR.

The Rei ,j are indexed so that Rei ,j is isomorphic to Rek,l if andonly if i = k .

Set ei = ei ,1 then we can write:

RR ∼= ⊕µiRei

Page 114: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

The socle of a module M is the sum of the simple (no non-zerosubmodules) submodules of M.

The radical of a module M is the intersection of all maximalsubmodules of M.

Page 115: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

The socle of a module M is the sum of the simple (no non-zerosubmodules) submodules of M.

The radical of a module M is the intersection of all maximalsubmodules of M.

Page 116: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

Rei ,j has a unique maximal left submodule

Rad(R)ei ,j = Rei ,j ∩ Rad(R)

and a unique irreducible “top quotient”

T (Rei ,j) = Rei ,j/Rad(R)ei ,j .

The socle S(Re,j) is the left submodule generated by theirreducible left submodule of Rei ,j .

Page 117: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

Rei ,j has a unique maximal left submodule

Rad(R)ei ,j = Rei ,j ∩ Rad(R)

and a unique irreducible “top quotient”

T (Rei ,j) = Rei ,j/Rad(R)ei ,j .

The socle S(Re,j) is the left submodule generated by theirreducible left submodule of Rei ,j .

Page 118: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

Rei ,j has a unique maximal left submodule

Rad(R)ei ,j = Rei ,j ∩ Rad(R)

and a unique irreducible “top quotient”

T (Rei ,j) = Rei ,j/Rad(R)ei ,j .

The socle S(Re,j) is the left submodule generated by theirreducible left submodule of Rei ,j .

Page 119: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

Let RR = ⊕µiRei . Then an Artinian ring R is quasi-Frobenius ifthere exists a permutation σ of {1, 2, . . . , n}. such that

T (Rei ) ∼= S(Reσ(i))

andS(Rei ) ∼= T (Reσ(i))

The ring is Frobenius if, in addition, µσ(i) = µi .

Page 120: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

Let RR = ⊕µiRei . Then an Artinian ring R is quasi-Frobenius ifthere exists a permutation σ of {1, 2, . . . , n}. such that

T (Rei ) ∼= S(Reσ(i))

andS(Rei ) ∼= T (Reσ(i))

The ring is Frobenius if, in addition, µσ(i) = µi .

Page 121: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

A module M over a ring R is injective if, for every pair of leftR-modules B1 ⊂ B2 and every R-linear mapping f : B1 → M, themapping f extends to an R-linear mapping f : B2 → M.

TheoremAn Artinian ring R is quasi-Frobenius if and only if R isself-injective, i.e. R is injective as a left(right) module over itself.

Page 122: Coding Theory as Pure Mathematics

Nakayama’s Definition of Frobenius Rings

A module M over a ring R is injective if, for every pair of leftR-modules B1 ⊂ B2 and every R-linear mapping f : B1 → M, themapping f extends to an R-linear mapping f : B2 → M.

TheoremAn Artinian ring R is quasi-Frobenius if and only if R isself-injective, i.e. R is injective as a left(right) module over itself.

Page 123: Coding Theory as Pure Mathematics

Frobenius Rings

For a commutative ring R, R is Frobenius if and only if it isquasi-Frobenius.

Page 124: Coding Theory as Pure Mathematics

Frobenius Rings

For a module M let M be the character module of M.

If M is a left module then M is a right module.

If M is a right module then M is a left module.

Page 125: Coding Theory as Pure Mathematics

Frobenius Rings

For a module M let M be the character module of M.

If M is a left module then M is a right module.

If M is a right module then M is a left module.

Page 126: Coding Theory as Pure Mathematics

Frobenius Rings

For a module M let M be the character module of M.

If M is a left module then M is a right module.

If M is a right module then M is a left module.

Page 127: Coding Theory as Pure Mathematics

Frobenius Rings

TheoremLet R be a finite quasi-Frobenius ring, with RR = ⊕µiRei and withpermutation σ as inthe definition of quasi-Frobenius. Then, as leftR modules,

R ∼= ⊕µiReσ(i)

and as right modules

R ∼= ⊕µieσ−1(i)R.

Page 128: Coding Theory as Pure Mathematics

Frobenius Rings

TheoremSuppose R is a finite ring. If R is a free left R-module, thenR ∼=R R and R is quasi-Frobenius.

Page 129: Coding Theory as Pure Mathematics

Frobenius Rings

TheoremSuppose R is a finite ring. The following are equivalent.

I R is a Frobenius ring.

I As a left module, R ∼=R R.

I As a right module R ∼= RR .

Page 130: Coding Theory as Pure Mathematics

Frobenius Rings

Let R be a Frobenius ring, so that R ∼= RR as both left and rightmodules. Let φ : R → R be the right module isomorphism.

Let χ = φ(1) then φ(r) = χr . We call χ a right generatingcharacter.

TheoremLet R be any finite ring. Then a character χ on R is a leftgenerating character if and only if it is a right generating character.

Page 131: Coding Theory as Pure Mathematics

Frobenius Rings

Let R be a Frobenius ring, so that R ∼= RR as both left and rightmodules. Let φ : R → R be the right module isomorphism.

Let χ = φ(1) then φ(r) = χr . We call χ a right generatingcharacter.

TheoremLet R be any finite ring. Then a character χ on R is a leftgenerating character if and only if it is a right generating character.

Page 132: Coding Theory as Pure Mathematics

Frobenius Rings

Let R be a Frobenius ring, so that R ∼= RR as both left and rightmodules. Let φ : R → R be the right module isomorphism.

Let χ = φ(1) then φ(r) = χr . We call χ a right generatingcharacter.

TheoremLet R be any finite ring. Then a character χ on R is a leftgenerating character if and only if it is a right generating character.

Page 133: Coding Theory as Pure Mathematics

MacWilliams I revisited

Theorem(MacWilliams I) (A) If R is a finite Frobenius ring and C is alinear code, then every hamming isometry C → Rn can beextended to a monomial transformation.

(B)If a finite commutative ring R satisfies that all of its Hammingisometries between linear codes allow for monomial extensions,then R is a Frobenius ring.

Page 134: Coding Theory as Pure Mathematics

MacWilliams I revisited

Theorem(MacWilliams I) (A) If R is a finite Frobenius ring and C is alinear code, then every hamming isometry C → Rn can beextended to a monomial transformation.(B)If a finite commutative ring R satisfies that all of its Hammingisometries between linear codes allow for monomial extensions,then R is a Frobenius ring.

Page 135: Coding Theory as Pure Mathematics

MacWilliams I revisited

By an example of Greferath and Schmidt MacWilliams I does notextend to quasi-Frobenius rings.

M. Greferath, S.E. Schmidt, Finite-ring combinatorics andMacWilliams equivalence theorem, J. Combin. Theory A, 92, 2000,17-28.

Page 136: Coding Theory as Pure Mathematics

MacWilliams I revisited

TheoremSuppose R is a finite commutative ring, and suppose that theextension theorem hold over R, that is every weight-preservinglinear homomorphism f : C → Rn from a linear code C ⊆ Rn toRn extends to a monomial transformation of Rn. Then R is aFrobenius ring.

Page 137: Coding Theory as Pure Mathematics

Frobenius Rings

For Frobenius rings R, R has a generating character χ, such thatχa(b) = χ(ab).

Page 138: Coding Theory as Pure Mathematics

MacWilliams relations revisited

Complete Weight Enumerator:

Define cweC (x0, x1, . . . , xk) =∑

c∈C xni (c)i where ni (c) is the

number of occurences of the i-th element of R in c.

The matrix Ti is a |R| by |R| matrix given by:

(Ti )a,b = (χ(ab)) (1)

where a and b are in R.

Page 139: Coding Theory as Pure Mathematics

MacWilliams relations revisited

Complete Weight Enumerator:

Define cweC (x0, x1, . . . , xk) =∑

c∈C xni (c)i where ni (c) is the

number of occurences of the i-th element of R in c.

The matrix Ti is a |R| by |R| matrix given by:

(Ti )a,b = (χ(ab)) (1)

where a and b are in R.

Page 140: Coding Theory as Pure Mathematics

MacWilliams relations revisited

For a code C in Rn define

L(C ) = {v | [v,w] = 0,∀w ∈ C}

andR(C ) = {v | [w, v] = 0, ∀w ∈ C}.

Page 141: Coding Theory as Pure Mathematics

MacWilliams relations revisited

For a code C in Rn define

L(C ) = {v | [v,w] = 0,∀w ∈ C}

andR(C ) = {v | [w, v] = 0, ∀w ∈ C}.

Page 142: Coding Theory as Pure Mathematics

MacWilliams relations revisited

Theorem(Generalized MacWilliams Relations) Let R be a Frobenius ring. IfC is a left submodule of Rn, then

cweC (x0, x1, . . . , xk) =1

|R(C )|cweR(C)(T t · (x0, x1, . . . , xk)).

If C is a right submodule of Rn, then

cweC (x0, x1, . . . , xk) =1

|L(C )|cweL(C)(T · (x0, x1, . . . , xk)).

Page 143: Coding Theory as Pure Mathematics

MacWilliams relations revisited

For commutative rings L(C ) = R(C ) = C⊥.

TheoremLet C be a linear code over a commutaive Frobenius rings R then

WC⊥(x0, x1, . . . , xk) =1

|C |WC (T · (x0, x1, . . . , xk)) (2)

Page 144: Coding Theory as Pure Mathematics

MacWilliams relations revisited

For commutative rings L(C ) = R(C ) = C⊥.

TheoremLet C be a linear code over a commutaive Frobenius rings R then

WC⊥(x0, x1, . . . , xk) =1

|C |WC (T · (x0, x1, . . . , xk)) (2)

Page 145: Coding Theory as Pure Mathematics

Corollary

Corollary

If C is a linear code over a Frobenius ring then |C ||C⊥| = |R|n.

This often fails for codes over non-Frobenius rings.

Page 146: Coding Theory as Pure Mathematics

Corollary

Corollary

If C is a linear code over a Frobenius ring then |C ||C⊥| = |R|n.

This often fails for codes over non-Frobenius rings.

Page 147: Coding Theory as Pure Mathematics

Non Frobenius Example

For example:Let

R = F2[X ,Y ]/(X 2,Y 2,XY ) = F2[x , y ],

where x2 = y2 = xy = 0.R = {0, 1, x , y , 1 + x , 1 + y , x + y , 1 + x + y}.The maximal ideal is m = {0, x , y , x + y}.m⊥ = m = {0, x , y , x + y}.m is a self-dual code of length 1.But |m||m⊥| 6= |R|.

Page 148: Coding Theory as Pure Mathematics

Useful rings

I Principal Ideal Rings – all ideals generated by a single element

I Local rings – rings with a unique maximal ideal

I chain ring – a local rings with ideals ordered by inclusion

Page 149: Coding Theory as Pure Mathematics

Useful rings

I Principal Ideal Rings – all ideals generated by a single element

I Local rings – rings with a unique maximal ideal

I chain ring – a local rings with ideals ordered by inclusion

Page 150: Coding Theory as Pure Mathematics

Useful rings

I Principal Ideal Rings – all ideals generated by a single element

I Local rings – rings with a unique maximal ideal

I chain ring – a local rings with ideals ordered by inclusion

Page 151: Coding Theory as Pure Mathematics

Examples

I Principal Ideal Rings – Zn

I chain ring – Zpe , p prime

I Local rings – F2[u, v ], u2 = v2 = 0, uv = vu

Page 152: Coding Theory as Pure Mathematics

Examples

I Principal Ideal Rings – Zn

I chain ring – Zpe , p prime

I Local rings – F2[u, v ], u2 = v2 = 0, uv = vu

Page 153: Coding Theory as Pure Mathematics

Examples

I Principal Ideal Rings – Zn

I chain ring – Zpe , p prime

I Local rings – F2[u, v ], u2 = v2 = 0, uv = vu

Page 154: Coding Theory as Pure Mathematics

Chinese Remainder Theorem

Let R be a finite commutative ring and let a be an ideal of R.

Let Ψa : R → R/a denote the canonical homomorphism x 7→ x + a.Let R be a finite commutative ring and let m1, . . . ,mk be themaximal ideals of R. Let e1, . . . , ek be their indices of stability.Then the ideals me1

1 , . . . ,mekk are relatively prime in pairs and∏k

i=1meii = ∩ki=1m

eii = {0}.

Page 155: Coding Theory as Pure Mathematics

Chinese Remainder Theorem

Let R be a finite commutative ring and let a be an ideal of R.Let Ψa : R → R/a denote the canonical homomorphism x 7→ x + a.

Let R be a finite commutative ring and let m1, . . . ,mk be themaximal ideals of R. Let e1, . . . , ek be their indices of stability.Then the ideals me1

1 , . . . ,mekk are relatively prime in pairs and∏k

i=1meii = ∩ki=1m

eii = {0}.

Page 156: Coding Theory as Pure Mathematics

Chinese Remainder Theorem

Let R be a finite commutative ring and let a be an ideal of R.Let Ψa : R → R/a denote the canonical homomorphism x 7→ x + a.Let R be a finite commutative ring and let m1, . . . ,mk be themaximal ideals of R. Let e1, . . . , ek be their indices of stability.Then the ideals me1

1 , . . . ,mekk are relatively prime in pairs and∏k

i=1meii = ∩ki=1m

eii = {0}.

Page 157: Coding Theory as Pure Mathematics

Chinese Remainder Theorem

Theorem(Chinese Remainder Theorem) The canonical ring homomorphismΨ : R →

∏ki=1 R/mei

i , defined by x 7→ (x (mod me11 ), . . . , x

(mod mekk )), is an isomorphism.

Given codes Ci of length n over R/meii (i = 1, . . . , k), we define

the code C = CRT(C1, . . . ,Ck) of length n over R as:

C = {Ψ−1(v1, . . . , vk) : vi ∈ Ci (i = 1, . . . , k)}= {v ∈ Rn : Ψ

mtii

(v) ∈ Ci (i = 1, . . . , k)}.

Page 158: Coding Theory as Pure Mathematics

Chinese Remainder Theorem

Theorem(Chinese Remainder Theorem) The canonical ring homomorphismΨ : R →

∏ki=1 R/mei

i , defined by x 7→ (x (mod me11 ), . . . , x

(mod mekk )), is an isomorphism.

Given codes Ci of length n over R/meii (i = 1, . . . , k), we define

the code C = CRT(C1, . . . ,Ck) of length n over R as:

C = {Ψ−1(v1, . . . , vk) : vi ∈ Ci (i = 1, . . . , k)}= {v ∈ Rn : Ψ

mtii

(v) ∈ Ci (i = 1, . . . , k)}.

Page 159: Coding Theory as Pure Mathematics

Chinese Remainder Theorem

TheoremIf R is a finite commutative Frobenius ring, then R is isomorphicvia the Chinese Remainder Theorm to R1 × R2 × · · · × Rs whereeach Ri is a local Frobenius ring.

TheoremIf R is a finite commutative principal ideal ring then then R isisomorphic to R1 × R2 × · · · × Rs where each Ri is a chain ring.

Page 160: Coding Theory as Pure Mathematics

Chinese Remainder Theorem

TheoremIf R is a finite commutative Frobenius ring, then R is isomorphicvia the Chinese Remainder Theorm to R1 × R2 × · · · × Rs whereeach Ri is a local Frobenius ring.

TheoremIf R is a finite commutative principal ideal ring then then R isisomorphic to R1 × R2 × · · · × Rs where each Ri is a chain ring.

Page 161: Coding Theory as Pure Mathematics

MDR Codes

TheoremLet C be a linear code over a principal ideal ring, then

dH(C ) ≤ n − rank(C ) + 1.

Codes meeting this bound are called MDR (Maximum Distancewith respect to Rank) codes.

TheoremLet C1,C2, . . . ,Cs be codes over Ri . If Ci is an MDR code for eachi then C = CRT (C1,C2, . . . ,Cs) is an MDR code . If Ci is anMDS code of the same rank for each i , thenC = CRT (C1,C2, . . . ,Cs) is an MDS code.

Page 162: Coding Theory as Pure Mathematics

MDR Codes

TheoremLet C be a linear code over a principal ideal ring, then

dH(C ) ≤ n − rank(C ) + 1.

Codes meeting this bound are called MDR (Maximum Distancewith respect to Rank) codes.

TheoremLet C1,C2, . . . ,Cs be codes over Ri . If Ci is an MDR code for eachi then C = CRT (C1,C2, . . . ,Cs) is an MDR code . If Ci is anMDS code of the same rank for each i , thenC = CRT (C1,C2, . . . ,Cs) is an MDS code.

Page 163: Coding Theory as Pure Mathematics

MDR Codes

TheoremLet C be a linear code over a principal ideal ring, then

dH(C ) ≤ n − rank(C ) + 1.

Codes meeting this bound are called MDR (Maximum Distancewith respect to Rank) codes.

TheoremLet C1,C2, . . . ,Cs be codes over Ri . If Ci is an MDR code for eachi then C = CRT (C1,C2, . . . ,Cs) is an MDR code . If Ci is anMDS code of the same rank for each i , thenC = CRT (C1,C2, . . . ,Cs) is an MDS code.

Page 164: Coding Theory as Pure Mathematics

Generating vectors

Over Z6, 〈(2, 3)〉 = {(0, 0), (2, 3), (4, 0), (0, 3), (2, 0), (4, 3)}.

This is strange since we would rather have say it is generated by(2 00 3

).

Page 165: Coding Theory as Pure Mathematics

Generating vectors

Over Z6, 〈(2, 3)〉 = {(0, 0), (2, 3), (4, 0), (0, 3), (2, 0), (4, 3)}.This is strange since we would rather have say it is generated by(

2 00 3

).

Page 166: Coding Theory as Pure Mathematics

Generator Matrices over Chain RingsLet R be a finite chain ring with maximal ideal m = Rγ with e itsnilpotency index.The generator matrix for a code C over R is permutationequivalent to a matrix of the following form:

Ik0 A0,1 A0,2 A0,3 · · · · · · A0,e

0 γIk1 γA1,2 γA1,3 · · · · · · γA1,e

0 0 γ2Ik2 γ2A2,3 · · · · · · γ2A2,e...

... 0. . .

. . ....

......

.... . .

. . .. . .

...0 0 0 · · · 0 γe−1Ike−1 γe−1Ae−1,e

(3)

A code with generator matrix of this form is said to have type{k0, k1, . . . , ke−1}. It is immediate that a code C with thisgenerator matrix has

|C | = |R/m|∑e−1

i=0 (e−i)ki . (4)

Page 167: Coding Theory as Pure Mathematics

Generator Matrices over Chain RingsLet R be a finite chain ring with maximal ideal m = Rγ with e itsnilpotency index.The generator matrix for a code C over R is permutationequivalent to a matrix of the following form:

Ik0 A0,1 A0,2 A0,3 · · · · · · A0,e

0 γIk1 γA1,2 γA1,3 · · · · · · γA1,e

0 0 γ2Ik2 γ2A2,3 · · · · · · γ2A2,e...

... 0. . .

. . ....

......

.... . .

. . .. . .

...0 0 0 · · · 0 γe−1Ike−1 γe−1Ae−1,e

(3)

A code with generator matrix of this form is said to have type{k0, k1, . . . , ke−1}. It is immediate that a code C with thisgenerator matrix has

|C | = |R/m|∑e−1

i=0 (e−i)ki . (4)

Page 168: Coding Theory as Pure Mathematics

Minimal Generating Sets

DefinitionLet Ri be a local ring with unique maximal ideal mi , and letw1, · · · ,ws be vectors in Rn

i . Then w1, · · · ,ws are modularindependent if and only if

∑αjwj = 0 implies that αj ∈ mi for all

j .

DefinitionThe vectors v1, · · · , vk in Rn are modular independent ifΦi (v1), · · · ,Φi (vk) are modular independent for some i , whereR = CRT (R1,R2, . . . ,Rs) and Φi is the canonical map.

Page 169: Coding Theory as Pure Mathematics

Minimal Generating Sets

DefinitionLet Ri be a local ring with unique maximal ideal mi , and letw1, · · · ,ws be vectors in Rn

i . Then w1, · · · ,ws are modularindependent if and only if

∑αjwj = 0 implies that αj ∈ mi for all

j .

DefinitionThe vectors v1, · · · , vk in Rn are modular independent ifΦi (v1), · · · ,Φi (vk) are modular independent for some i , whereR = CRT (R1,R2, . . . ,Rs) and Φi is the canonical map.

Page 170: Coding Theory as Pure Mathematics

Minimal Generating Sets

DefinitionLet v1, · · · , vk be vectors in Rn. Then v1, · · · , vk are independentif∑αjvj = 0 implies that αjvj = 0 for all j .

DefinitionLet C be a code over R. The codewords c1, c2, · · · , ck is called abasis of C if they are independent, modular independent andgenerate C . In this case, each ci is called a generator of C .

Page 171: Coding Theory as Pure Mathematics

Minimal Generating Sets

DefinitionLet v1, · · · , vk be vectors in Rn. Then v1, · · · , vk are independentif∑αjvj = 0 implies that αjvj = 0 for all j .

DefinitionLet C be a code over R. The codewords c1, c2, · · · , ck is called abasis of C if they are independent, modular independent andgenerate C . In this case, each ci is called a generator of C .

Page 172: Coding Theory as Pure Mathematics

Minimal Generating Sets

TheoremAll linear codes over a Frobenius ring have a basis.