Goppa code

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In mathematics, an algebraic geometric code (AG-code), otherwise known as a Goppa code, is a general type of linear code constructed by using an algebraic curve X over a finite field \mathbb{F}_q. Such codes were introduced by Valerii Denisovich Goppa. In particular cases, they can have interesting extremal properties. They should not be confused with Binary Goppa codes that are used, for instance, in the McEliece cryptosystem.


Traditionally, an AG-code is constructed from a non-singular projective curve X over a finite field \mathbb{F}_q by using a number of fixed distinct \mathbb{F}_q -rational points

\mathcal{P}:= {P1, P2, ..., Pn} ⊂ X ( \mathbb{F}_q) on X.

Let G be a divisor on X, with a support that consists of only rational points and that is disjoint from the P_i's. Thus \mathcal{P} ∩ supp(G) = Ø

By the Riemann-Roch theorem, there is a unique finite-dimensional vector space, L(G), with respect to the divisor G. The vector space is a subspace of the function field of X.

There are two main types of AG-codes that can be constructed using the above information.

Function code[edit]

The function code (or dual code) with respect to a curve X, a divisor G and the set \mathcal{P} is constructed as follows.
Let D = P_1 + P_2 + \cdots + P_n, be a divisor, with the P_i defined as above. We usually denote a Goppa code by C(D,G). We now know all we need to define the Goppa code:

C(D,G) = {(f(P1), ..., f(Pn))|f \in L(G)}⊂\mathbb{F}_q^n

For a fixed basis

f1, f2, ..., fk

for L(G) over \mathbb{F}_q, the corresponding Goppa code in \mathbb{F}_q^n is spanned over \mathbb{F}_q by the vectors

(fi(P1), fi(P2), ..., fi(Pn)).


f_1(P_1) & ... & f_1(P_n) \\
... & ... & ... \\
f_k(P_1) & ... & f_k(P_n) \end{bmatrix}

is a generator matrix for C(D,G)

Equivalently, it is defined as the image of

\alpha : L(G) \longrightarrow \mathbb{F}^n,

where f is defined by f \longmapsto (f(P_1), \dots ,f(P_n)).

The following shows how the parameters of the code relate to classical parameters of linear systems of divisors D on C (cf. Riemann–Roch theorem for more). The notation l(D) means the dimension of L(D).

Proposition A The dimension of the Goppa code C(D,G) is

k = l(G) - l(G-D),

Proposition B The minimal distance between two code words is

d \geq n - \deg(G).

Proof A


C(D,G) \cong L(G)/\ker(\alpha),

we must show that

\ker(\alpha)=L(G-D) .

Suppose f \in \ker(\alpha). Then f(P_i)=0,
i=1, \dots ,n, so \mathrm{div}(f) > D . Thus, f \in
Conversely, suppose f \in L(G-D).

\mathrm{div}(f)> D


P_i < G, i=1, \dots ,n.

(G doesn't “fix” the problems with the -D, so f must do that instead.) It follows that

f(P_i)=0, i=1, \dots ,n.

Proof B
To show that d \geq n - \deg(G), suppose the Hamming weight of \alpha(f) is d. That means that f(P_i)=0 for n-d P_is, say P_{i_1}, \dots ,P_{i_{n-d}}. Then f \in L(G-P_{i_1} - \dots
- P_{i_{n-d}}), and

\mathrm{div}(f)+G-P_{i_1} - \dots - P_{i_{n-d}}> 0.

Taking degrees on both sides and noting that


we get

\deg(G)-(n-d) \geq 0,


d \geq n - \deg(G). Q.E.D.

Residue code[edit]

The residue code can be defined as the dual of the function code, or as the residue of some functions at the P_i's.


  • Key One Chung, Goppa Codes, December 2004, Department of Mathematics, Iowa State University.

External links[edit]