Content deleted Content added
Algebraist (talk | contribs) m moved Cantor-Zassenhaus algorithm to Cantor–Zassenhaus algorithm: en dash, not hyphen, per WP:DASH |
Add new references & replace an obsolete function |
||
(50 intermediate revisions by 40 users not shown) | |||
Line 1:
{{Short description|Algorithm for factoring polynomials over finite fields}}
In [[Computational mathematics|computational]] [[Abstract algebra|algebra]], the '''Cantor–Zassenhaus algorithm''' is a method for factoring [[polynomial]]s over [[finite field]]s (also called Galois fields).
The algorithm consists mainly of exponentiation and polynomial [[greatest common divisor|GCD]] computations. It was invented by
It is arguably the dominant algorithm for solving the problem, having replaced the earlier [[Berlekamp's algorithm]] of 1967.{{r|Grenet}}{{r|vdh}} It is currently implemented in many
==Overview==
===Background===
The
All possible factors of <math>f(x)</math> are contained within the [[factor ring]]
<math>R = \frac{\mathbb{F}_q[x]}{\langle f(x) \rangle}</math>. If we suppose that <math>f(x)</math> has irreducible factors <math>p_1(x), p_2(x), \ldots, p_s(x)</math>, all of degree
: <math>
\begin{align}
g(x) & {} \equiv g_2(x) \pmod{p_2(x)}, \\
g(x) & {} \equiv g_s(x) \pmod{p_s(x)},
\end{align}
</math>
then <math>\phi(g(x) + \langle f(x) \rangle) = (g_1(x) + \langle p_1(x) \rangle, \ldots, g_s(x) + \langle p_s(x) \rangle)</math>. It is important to note the following at this point, as it shall be of critical importance later in the algorithm: Since the <math>p_i(x)</math> are each irreducible, each of the factor rings in this direct sum is in fact a field. These fields each have degree <math>q^d</math>.
===Core result===
The core result underlying the
: <math>a(x) \neq 0, \pm 1 </math>
: <math>a_i(x) \in \{0,-1,1\}\text{ for }i=1,2,\ldots, s,</math>
where <math>a_i(x)</math> is the reduction of <math>a(x)</math> modulo <math>p_i(x)</math> as before, and if any two of the following three sets is non-empty:
: <math>A = \{ i \mid a_i(x) = 0 \}, </math>
: <math>B = \{ i \mid a_i(x) = -1 \}, </math>
: <math>C = \{ i \mid a_i(x) = 1 \}, </math>
then there exist the following non-trivial factors of <math>f(x)</math>:
: <math>\gcd(f(x),a(x)
: <math>\gcd(f(x),a(x)+1) = \prod_{i \in B} p_i(x),</math>
: <math>\gcd(f(x),a(x)-1) = \prod_{i \in C} p_i(x).</math>
===Algorithm===
The
:<math>\phi(b(x)^m) = (b_1^m(x) + \langle p_1(x) \rangle, \ldots,
Now, each <math>b_i(x) + \langle p_i(x)\rangle</math> is an element of a field of order <math>q^d</math>, as noted earlier. The multiplicative subgroup of this field has order <math>q^d-1</math> and so, unless <math>b_i(x)=0</math>, we have <math>b_i(x)^{q^d-1}=1</math> for each
==Applications==
One important application of the
==Implementation in computer algebra systems==
The
==See also==
*[[Polynomial factorization
*[[Factorization of polynomials over finite fields]]
==References==
{{reflist|refs=
<ref name=cz>{{citation
| last1 = Cantor | first1 = David G. | author1-link = David G. Cantor
| last2 = Zassenhaus | first2 = Hans | author2-link = Hans Zassenhaus
| date = April 1981
| doi = 10.1090/S0025-5718-1981-0606517-5
| issue = 154
| journal = [[Mathematics of Computation]]
| jstor = 2007663
| mr = 606517
| pages = 587–592
| title = A new algorithm for factoring polynomials over finite fields
| volume = 36| doi-access = free
}}</ref>
<ref name=es>{{citation
| last1 = Elia | first1 = Michele
| last2 = Schipani | first2 = Davide
| arxiv = 1012.5322
| doi = 10.21136/mb.2015.144395
| issue = 3
| journal = Mathematica Bohemica
| pages = 271–290
| publisher = Institute of Mathematics, Czech Academy of Sciences
| title = Improvements on the Cantor–Zassenhaus factorization algorithm
| volume = 140
| year = 2015}}</ref>
<ref name=Grenet>{{citation
| last1 = Grenet | first1 = B.
| last2 = van der Hoeven | first2 = Joris | author2-link = Joris van der Hoeven
| last3 = Lecerf | first3 = G.
| date = 2016
| journal = Applicable Algebra in Engineering, Communication and Computing
| volume = 27
| pages = 237–257
| title = Deterministic root finding over finite fields using Graeffe transforms
}}</ref>
<ref name=vdh>{{citation
| last1 = van der Hoeven| first1 = Joris | author1-link = Joris van der Hoeven
| last2 = Monagan| first2 = Michael
| date = 2021
| journal = ACM Communications in Computer Algebra
| volume = 54
| issue = 3
| pages = 65–85
| title = Computing one billion roots using the tangent Graeffe method
}}</ref>
}}
==External links==
*https://web.archive.org/web/20200301213349/http://blog.fkraiem.org/2013/12/01/polynomial-factorisation-over-finite-fields-part-3-final-splitting-cantor-zassenhaus-in-odd-characteristic/
{{DEFAULTSORT:Cantor-Zassenhaus algorithm}}
[[Category:Computer algebra]]
[[Category:Finite fields]]
[[Category:Polynomial factorization algorithms]]
|