Prime Field Extension

Given some prime number pPp ∈ P, a natural number mNm ∈ N, and an irreducible polynomial PFp[x]P ∈ F_p[x] of degree mm with coefficients from the prime field FpF_p, a prime field extension (Fpm,+,)(F_{p^m} , +, ·) is defined as follows:

  1. The set FpmF_{p^m} of the prime field extension is given by the set of all polynomials with a degree less than mm:

Fpm={am1xm1+a+m2xm2+...+a1x+a0aiFp}F_{p^m} = \{a_{m−1}x^{m−1} + a+{m−2}x^{m−2} + . . . + a_1x + a_0 | a_i ∈ F_p\}
  1. The addition law of the prime field extension FpmF_{p^m} is given by the usual addition of polynomials:

+:Fpm×FpmFpm,(j=0majxj,j=0mbjxj)j=0m(aj+bj)xj+ : F_{p^m} × F_{p^m} → F_{p^m} , (\sum_{j=0}^{m}a_j x^j, \sum_{j=0}^{m}b_j x^j) \to \sum_{j=0}^{m}(a_j + b_j) x^j
  1. The multiplication law of the prime field extension FpmF_{p^m} is given by first multiplying the two polynomials, then dividing the result by the irreducible polynomial PP and keeping the remainder:

:Fpm×FpmFpm,(j=0majxj,j=0mbjxj)(n=02mi=0naibnixn)modP\cdot : F_{p^m} × F_{p^m} → F_{p^m} , (\sum_{j=0}^{m}a_j x^j, \sum_{j=0}^{m}b_j x^j) \to (\sum_{n=0}^{2m}\sum_{i=0}^{n}a_i b_{n - i} x^n) \mod P
  1. The neutral element of the additive group (Fpm,+)(F_{p^m} , +) is given by the zero polynomial 00. The additive inverse is given by the polynomial with all negative coefficients. The neutral element of the multiplicative group (Fpm,)(F^∗_{p^m} , ·) is given by the unit polynomial 11. The multiplicative inverse can be computed by the Extended Euclidean Algorithm.

This field is of characteristic pp, since the multiplicative neutral element 11 is equivalent to the multiplicative element 11 from the underlying prime field, and hence j=0p1=0\sum_{j=0}^p 1 = 0. Moreover, FpmF_{p^m} is finite and contains pmp^m many elements, since elements are polynomials of degree < mm, and every coefficient aja_j can have pp many different values. In addition, we see that the prime field FpF_p is a subfield of FpmF_{p^m} that occurs when we restrict the elements of FpmF_{p^m} to polynomials of degree zero.

It can be shown that the fields for different choices of PP are isomorphic, which means that there is a one-to-one correspondence between all of them. As a result, from an abstract point of view, they are the same thing. From an implementations point of view, however, some choices are preferable to others because they allow for faster computations.

Any field FpmF_{p^m} constructed in the above manner is a field extension of FpF_p. To be more general, a field Fpm2F_{p^{m_2}} is a field extension of a field Fpm1F_{p^{m_1}} if and only if m1m_1 divides m2m_2. From this, we can deduce that, for any given fixed prime number, there are nested sequences of subfields whenever the power mjm_j divides the power mj+1m_{j+1}:

FpFpm1...FpmkF_p \subset F_{p^{m_1}} \subset ... \subset F_{p^{m_k}}

Sage example:

TODO

Last updated