Quasi-cyclic codes. Jay A. Wood. Algebra for Secure and Reliable Communications Modeling Morelia, Michoacán, Mexico October 12, 2012

Similar documents
The MacWilliams Identities

Algebra Homework, Edition 2 9 September 2010

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Algebra Exam Topics. Updated August 2017

Sample algebra qualifying exam

Math 312/ AMS 351 (Fall 17) Sample Questions for Final

D-MATH Algebra II FS18 Prof. Marc Burger. Solution 26. Cyclotomic extensions.

Some practice problems for midterm 2

NOTES ON FINITE FIELDS

Name: Solutions Final Exam

Page Points Possible Points. Total 200

Foundational Aspects of Linear Codes: 3. Extension property: sufficient conditions

Galois Theory TCU Graduate Student Seminar George Gilbert October 2015

Finite Frobenius Rings and the MacWilliams Identities

1. Group Theory Permutations.

Rings in Coding Theory

Algebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example.

Mathematics for Cryptography

Exercises on chapter 4

1 Fields and vector spaces

18.312: Algebraic Combinatorics Lionel Levine. Lecture 22. Smith normal form of an integer matrix (linear algebra over Z).

GRE Subject test preparation Spring 2016 Topic: Abstract Algebra, Linear Algebra, Number Theory.

MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM

Abstract Algebra, Second Edition, by John A. Beachy and William D. Blair. Corrections and clarifications

List of topics for the preliminary exam in algebra

Modern Algebra I. Circle the correct answer; no explanation is required. Each problem in this section counts 5 points.

ALGEBRA 11: Galois theory

Math 120 HW 9 Solutions

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

COURSE SUMMARY FOR MATH 504, FALL QUARTER : MODERN ALGEBRA

Open Questions in Coding Theory

MATH 433 Applied Algebra Lecture 21: Linear codes (continued). Classification of groups.

5 Group theory. 5.1 Binary operations

A Primer on Homological Algebra

Automorphisms of Additive Codes

Quasi-reducible Polynomials

Galois theory (Part II)( ) Example Sheet 1

Chapter 4 Mathematics of Cryptography

ϕ : Z F : ϕ(t) = t 1 =

Note that a unit is unique: 1 = 11 = 1. Examples: Nonnegative integers under addition; all integers under multiplication.

Finite Fields. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

ALGEBRA I (LECTURE NOTES 2017/2018) LECTURE 9 - CYCLIC GROUPS AND EULER S FUNCTION

TC10 / 3. Finite fields S. Xambó

Algebraic Structures Exam File Fall 2013 Exam #1

Lecture 7 Cyclic groups and subgroups

MA441: Algebraic Structures I. Lecture 14

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R.

Introduction to finite fields

[06.1] Given a 3-by-3 matrix M with integer entries, find A, B integer 3-by-3 matrices with determinant ±1 such that AMB is diagonal.

Name: Solutions Final Exam

Duadic Codes over Finite Commutative Rings

MATH 25 CLASS 21 NOTES, NOV Contents. 2. Subgroups 2 3. Isomorphisms 4

Construction of quasi-cyclic self-dual codes

Graduate Preliminary Examination

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u.

Representation Theory

Field Theory Qual Review

Algebra Review. Instructor: Laszlo Babai Notes by Vincent Lucarelli and the instructor. June 15, 2001

Factorization in Polynomial Rings

7.1 Definitions and Generator Polynomials

ALGEBRA EXERCISES, PhD EXAMINATION LEVEL

MATH 433 Applied Algebra Lecture 22: Review for Exam 2.

ECEN 5682 Theory and Practice of Error Control Codes

School of Mathematics and Statistics. MT5836 Galois Theory. Handout 0: Course Information

1 First Theme: Sums of Squares

EE 229B ERROR CONTROL CODING Spring 2005

MA441: Algebraic Structures I. Lecture 18

1 The Galois Group of a Quadratic

Exercises MAT2200 spring 2014 Ark 5 Rings and fields and factorization of polynomials

Foundational Aspects of Linear Codes: 1. Characters and Frobenius rings

Math 4400, Spring 08, Sample problems Final Exam.

Lecture 11: Cantor-Zassenhaus Algorithm

Eighth Homework Solutions

Homework problems from Chapters IV-VI: answers and solutions


GALOIS THEORY. Contents

B Sc MATHEMATICS ABSTRACT ALGEBRA

Applications of Finite Frobenius Rings to Algebraic Coding Theory I. Two Theorems of MacWilliams over Finite Frobenius Rings

0.2 Vector spaces. J.A.Beachy 1

Self-Dual Codes over Commutative Frobenius Rings

ELG 5372 Error Control Coding. Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes

Groups, Rings, and Finite Fields. Andreas Klappenecker. September 12, 2002

RUDIMENTARY GALOIS THEORY


Algebra Exam Fall Alexander J. Wertheim Last Updated: October 26, Groups Problem Problem Problem 3...

A Little Beyond: Linear Algebra

Introduction to Information Security

Practice problems for first midterm, Spring 98

Congruences and Residue Class Rings

Section VI.33. Finite Fields

A PROOF OF BURNSIDE S p a q b THEOREM

Abstract Algebra FINAL EXAM May 23, Name: R. Hammack Score:

Galois fields/1. (M3) There is an element 1 (not equal to 0) such that a 1 = a for all a.

Lecture 7: Polynomial rings

Johns Hopkins University, Department of Mathematics Abstract Algebra - Spring 2013 Midterm Exam Solution

ERRATA. Abstract Algebra, Third Edition by D. Dummit and R. Foote (most recently revised on February 14, 2018)

ALGEBRA PH.D. QUALIFYING EXAM SOLUTIONS October 20, 2011

May 6, Be sure to write your name on your bluebook. Use a separate page (or pages) for each problem. Show all of your work.

Structure of rings. Chapter Algebras

18. Cyclotomic polynomials II

Transcription:

Quasi-cyclic codes Jay A. Wood Department of Mathematics Western Michigan University http://homepages.wmich.edu/ jwood/ Algebra for Secure and Reliable Communications Modeling Morelia, Michoacán, Mexico October 12, 2012

Introduction This will be an elementary introduction to cyclic and quasi-cyclic codes from the point of view of ring theory. At least I hope so! JW (WMU) Quasi-cyclic codes October 12, 2012 2 / 27

Cyclic codes Let A be an alphabet. The shift operator on A n is the map T : A n A n given by (a 0, a 1,..., a n 2, a n 1 ) (a n 1, a 0, a 1,..., a n 2 ). A linear code C A n is a cyclic code if T (C) C. That is, the shift of any codeword is again a codeword. JW (WMU) Quasi-cyclic codes October 12, 2012 3 / 27

Examples A = F 2, n = 7 Let C be the code spanned by the row vectors: 1011100 0101110 0010111 T of row 1 is row 2; T of row 2 is row 3. T of row 3 is the sum of rows 1 and 3. Use linearity in general. JW (WMU) Quasi-cyclic codes October 12, 2012 4 / 27

Viewing codewords as polynomials Suppose the alphabet is a finite commutative ring R. View a codeword as a polynomial: (a 0, a 1,..., a n 2, a n 1 ) a 0 + a 1 x + a 2 x 2 + + a n 1 x n 1 JW (WMU) Quasi-cyclic codes October 12, 2012 5 / 27

Shift as multiplication by x In the 1950s, Prange observed: if we consider the polynomials modulo x n 1, then the shift operator corresponds to multiplication by x. x(a 0 + a 1 x + a 2 x 2 + + a n 1 x n 1 ) = a 0 x + a 1 x 2 + + a n 2 x n 1 + a n 1 x n a n 1 + a 0 x + a 1 x 2 + + a n 2 x n 1 mod (x n 1) (a n 1, a 0, a 1,..., a n 2 ) JW (WMU) Quasi-cyclic codes October 12, 2012 6 / 27

Cyclic codes as ideals This establishes an isomorphism R n = R[x]/(x n 1) as (free) R-modules such that the shift operator T corresponds to multiplication by x in the ring structure of R[x]/(x n 1). Linear cyclic codes in R n correspond to ideals in R[x]/(x n 1). JW (WMU) Quasi-cyclic codes October 12, 2012 7 / 27

Structure of R[x]/(x n 1) For R a finite commutative ring, about all we can say about R[x]/(x n 1) is that it too is a finite commutative ring, of order R n. Every finite commutative ring splits (as rings) as the direct sum of local rings. If R[x]/(x n 1) = R i, with R i local, then the ideals of R[x]/(x n 1) are direct sums of ideals of the R i. Structure of ideals of local rings is worth studying in general. We look at a special example. JW (WMU) Quasi-cyclic codes October 12, 2012 8 / 27

Finite fields Let R = F q, a finite field. F q [x] is a principal ideal ring. The ideals of F q [x]/(x n 1) correspond to the ideals of F q [x] that contain the ideal (x n 1). An ideal (g) F q [x] contains (x n 1) iff the polynomial g divides x n 1. JW (WMU) Quasi-cyclic codes October 12, 2012 9 / 27

Factoring x n 1 In the principal ideal ring F q [x] there is unique factorization into irreducibles. Factor x n 1 = f s 1 1 f s 2 2 f s k k, where the f i are distinct monic irreducible polynomials. The s i are positive integers. JW (WMU) Quasi-cyclic codes October 12, 2012 10 / 27

Chinese remainder theorem There is a natural ring homomorphism F q [x] k (x n 1) i=1 F q [x] (f s i i ), given by reduction mod f s i i. The Chinese remainder theorem (CRT) says that this homomorphism is an isomorphism. (Exercise.) Ideals on the left (cyclic codes) are sums of ideals from the right. JW (WMU) Quasi-cyclic codes October 12, 2012 11 / 27

Examples Let q = 2, so that = +. x 2 1 = (x + 1) 2 x 3 1 = (x + 1)(x 2 + x + 1) x 4 1 = (x + 1) 4 x 5 1 = (x + 1)(x 4 + x 3 + x 2 + x + 1) x 6 1 = (x + 1) 2 (x 2 + x + 1) 2 x 7 1 = (x + 1)(x 3 + x + 1)(x 3 + x 2 + 1) x 8 1 = (x + 1) 8 JW (WMU) Quasi-cyclic codes October 12, 2012 12 / 27

Multiplicity one When does x n 1 factor over F q into distinct irreducibles, all of multiplicity one? This happens when n, q are relatively prime. q is a unit in Z/nZ, so q l 1 mod n for some smallest positive integer l. Then n (q l 1). There is a cyclic n-subgroup in the multiplicative group of F q l, so x n 1 splits into distinct linear factors over F q l. Multiply factors in Frobenius orbits to get distinct factors over F q. (Cyclotomic cosets.) JW (WMU) Quasi-cyclic codes October 12, 2012 13 / 27

Relatively prime case (a) When gcd(q, n) = 1, x n 1 factors as x n 1 = f 1 f 2 f k, distinct irreducibles. Chinese remainder theorem gives F q [x] k (x n 1) i=1 F q [x] (f i ). The rings on the right are all field extensions of F q, because the f i are irreducible. JW (WMU) Quasi-cyclic codes October 12, 2012 14 / 27

Relatively prime case (b) The only ideals in a field are 0 and the field itself. Ideals on the left (cyclic codes) are generated by g of the form g = f δ 1 1 f δ 2 2 f δ k k, where each δ i = 0 or 1. There are 2 k such cyclic codes. Write then down for q = 2, n = 7 (k = 3). JW (WMU) Quasi-cyclic codes October 12, 2012 15 / 27

General case for fields The Chinese remainder theorem gives F q [x] k (x n 1) i=1 F q [x] (f s i i ). The rings F q [x]/(f s i i ) are chain rings, because the ideals of F q [x]/(f s i i ) correspond to ideals of F q [x] that contain (f s i i ). That is, to (g) where g f s i i. Since f i is irreducible, g = f j i i for j i s i. There are k i=1 (s i + 1) such cyclic codes. JW (WMU) Quasi-cyclic codes October 12, 2012 16 / 27

Examples q = 2, n = 4 Over F 2, x 4 1 = (x + 1) 4. For g = (x + 1) j, here are the first rows of the cyclic codes. j (x + 1) j first row 0 1 1000 1 1 + x 1100 2 1 + x 2 1010 3 1 + x + x 2 + x 3 1111 4 1 + x 4 0 0000 JW (WMU) Quasi-cyclic codes October 12, 2012 17 / 27

Examples q = 2, n = 6 Over F 2, x 6 1 = (x + 1) 2 (x 2 + x + 1) 2. There are now 3 2 = 9 cyclic codes. First rows: jk first row 00 100000 10 110000 20 101000 01 111000 11 100100 21 110110 02 101010 12 111111 22 000000 JW (WMU) Quasi-cyclic codes October 12, 2012 18 / 27

Quasi-cyclic codes Work over F q, and suppose n = lm. A linear code C F n q = F lm q is quasi-cyclic of index l or l-quasi-cyclic if T l (C) C. Example: q = 2, l = 2, m = 4, n = 8. All the codewords (left column is a quasi-cyclic subcode): 00000000 10001000 00100010 10101010 01010101 11011101 01110111 11111111 JW (WMU) Quasi-cyclic codes October 12, 2012 19 / 27

Quasi-cyclic codes as codes over a ring Set R = F q [x]/(x m 1). Label a vector in F lm q a = (a 00, a 01,..., a 0,l 1, a 10, a 11,..., a 1,l 1,..., a m 1,0, a m 1,1,..., a m 1,l 1 ). by Set A j = m 1 i=0 a ijx i F q [x]. Map F lm q R l by a (A 0, A 1,..., A l 1 ). Then l-quasi-cyclic codes correspond to R-linear codes in R l. JW (WMU) Quasi-cyclic codes October 12, 2012 20 / 27

Work of Ling and Solé As for cyclic codes, the ring R can be decomposed via the Chinese remainder theorem. This allows R-linear codes in R l to be decomposed into codes over local rings (fields and chain rings, here). Ling and Solé, in a series of papers, 2001 2006, describe the structure of quasi-cyclic codes with coefficients in F q or in chain rings. They describe the dual codes and characterize self-dual codes. JW (WMU) Quasi-cyclic codes October 12, 2012 21 / 27

Another direction The ring R = F q [x]/(x m 1) is isomorphic to F q [C m ], the group algebra of the cyclic m-group with coefficients in F q. Write C m multiplicatively, as C m = {e, g, g 2, g 3,..., g m 1 }, with g m = e. An element a F q [C m ] has the form a = m 1 i=0 a ig i, with a i F q. F q [C m ] = F q [x]/(x m 1) by sending g to x. JW (WMU) Quasi-cyclic codes October 12, 2012 22 / 27

F 2 + uf 2 Multiply in the ring F 2 + uf 2, with u 2 = 0, by (a 0 + a 1 u)(b 0 + b 1 u) = a 0 b 0 + (a 0 b 1 + a 1 b 0 )u. Set v = 1 + u. Notice that v 2 = 1 + u 2 = 1. Use 1, v as basis instead. Then (c 0 + c 1 v)(d 0 + d 1 v) = c 0 d 0 + (c 0 d 1 + c 1 d 0 )v + c 1 d 1 v 2 = (c 0 d 0 + c 1 d 1 ) + (c 0 d 1 + c 1 d 0 )v. JW (WMU) Quasi-cyclic codes October 12, 2012 23 / 27

F 2 + uf 2 = F2 [C 2 ] Compare this with the multiplication in the group algebra F 2 [C 2 ]: (c 0 e + c 1 g)(d 0 e + d 0 g) = c 0 d 0 e + (c 0 d 1 + c 1 d 0 )g + c 1 d 1 g 2 = (c 0 d 0 + c 1 d 1 )e + (c 0 d 1 + c 1 d 0 )g We see that F 2 + uf 2 = F2 [C 2 ]. The same proof works for q = 2 t. (Not true for odd q.) JW (WMU) Quasi-cyclic codes October 12, 2012 24 / 27

Maschke s theorem (a) The fact that F q [x]/(x n 1) splits into a sum of fields when gcd(q, n) = 1 is a special case of Maschke s theorem in group representation theory. Suppose k is a field of characteristic p and G is a finite group. If p does not divide the order of G (always true for characteristic zero), then the group algebra k[g] is a semisimple ring (a sum of matrix rings over division algebras over k). JW (WMU) Quasi-cyclic codes October 12, 2012 25 / 27

Maschke s theorem (b) For G = C n, the group is abelian. Then F q [x]/(x n 1) = F q [C n ] is a commutative ring. If gcd(q, n) = 1, then Maschke s theorem applies, and F q [x]/(x n 1) splits as a sum of matrix rings. In order to be commutative and finite, the matrix rings must be 1 1, hence just fields (extensions of F q ). JW (WMU) Quasi-cyclic codes October 12, 2012 26 / 27

Codes over group algebras This leads one to contemplate codes over group algebras. Compare to group codes in the literature. Even more generally: codes over algebras. By fixing a vector space basis for an algebra R over F q, one can view R-linear codes C R n as F q -codes of length n dim Fq R, with additional symmetry coming from the R-module structure. This area should be wide open for investigation. JW (WMU) Quasi-cyclic codes October 12, 2012 27 / 27