• No results found

Factoring Polynomials over Finite Fields

N/A
N/A
Protected

Academic year: 2021

Share "Factoring Polynomials over Finite Fields"

Copied!
52
0
0

Loading.... (view fulltext now)

Full text

(1)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

Factoring Polynomials over Finite Fields

Enver Ozdemir

(2)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

1 Fp,pis an odd prime. 2 f(x)Fp[x]

3 The Problem: Findf

i(x)∈Fp[x],f(x) =f1(x). . .fn(x), fi(x)irreducible and coprime.

(3)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

1 Fp,pis an odd prime. 2 f(x)Fp[x]

3 The Problem: Findf

i(x)∈Fp[x],f(x) =f1(x). . .fn(x), fi(x)irreducible and coprime.

(4)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

1 Fp,pis an odd prime. 2 f(x)Fp[x]

3 The Problem: Findf

i(x)∈Fp[x],f(x) =f1(x). . .fn(x),

fi(x)irreducible and coprime.

(5)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

1 Berlekamp and Cantor-Zassenhaus (PARI etc.)

2 Berlekamp: Findh(x)Fp[x],hp(x)h(x)(modf(x)) 3 gcd(h(x)t,f(x))

4 Cantor-Zassenhaus: gcd(h(x)(pd−1)/2−1,f(x))each irreducible factor off(x)is of degreen.

5 probabilistic,1/2 chance forh(x)

(6)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

1 Berlekamp and Cantor-Zassenhaus (PARI etc.) 2 Berlekamp: Findh(x)F

p[x],hp(x)≡h(x)(modf(x))

3 gcd(h(x)t,f(x))

4 Cantor-Zassenhaus: gcd(h(x)(pd−1)/2−1,f(x))each irreducible factor off(x)is of degreen.

5 probabilistic,1/2 chance forh(x)

(7)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

1 Berlekamp and Cantor-Zassenhaus (PARI etc.) 2 Berlekamp: Findh(x)F

p[x],hp(x)≡h(x)(modf(x))

3 gcd(h(x)t,f(x))

4 Cantor-Zassenhaus: gcd(h(x)(pd−1)/2−1,f(x))each irreducible factor off(x)is of degreen.

5 probabilistic,1/2 chance forh(x)

(8)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

1 Berlekamp and Cantor-Zassenhaus (PARI etc.) 2 Berlekamp: Findh(x)F

p[x],hp(x)≡h(x)(modf(x))

3 gcd(h(x)t,f(x))

4 Cantor-Zassenhaus: gcd(h(x)(pd−1)/2−1,f(x))each irreducible factor off(x)is of degreen.

5 probabilistic,1/2 chance forh(x)

(9)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 k is a finite field of characteristic different from 2. 2 H :y2=f(x)

3 f(x)is a monic polynomial with simple roots and deg(f(x)) =2g+1

(10)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 k is a finite field of characteristic different from 2. 2 H :y2=f(x)

3 f(x)is a monic polynomial with simple roots and deg(f(x)) =2g+1

(11)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 k is a finite field of characteristic different from 2. 2 H :y2=f(x)

3 f(x)is a monic polynomial with simple roots and deg(f(x)) =2g+1

(12)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 Jac(H) =Pico(H)

2 Pic(H) =the group of all isomorphism classes of invertible k[x,y]/(y2−f(x)-modules.

3 D∈Jac(H)

4 the Mumford Representation: Unique pair of polynomials (u(x),v(x))satisfying the followings

u(x)is monic

degv(x)<degu(x)≤g

f(x)−v(x)2is a multiple ofu(x)

5 Cantor’s Algorithm: Computing in Jac(H), only polynomial arithmetics

(13)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 Jac(H) =Pico(H)

2 Pic(H) =the group of all isomorphism classes of invertible k[x,y]/(y2−f(x)-modules.

3 D∈Jac(H)

4 the Mumford Representation: Unique pair of polynomials (u(x),v(x))satisfying the followings

u(x)is monic

degv(x)<degu(x)≤g

f(x)−v(x)2is a multiple ofu(x)

5 Cantor’s Algorithm: Computing in Jac(H), only polynomial arithmetics

(14)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 Jac(H) =Pico(H)

2 Pic(H) =the group of all isomorphism classes of invertible k[x,y]/(y2−f(x)-modules.

3 D∈Jac(H)

4 the Mumford Representation: Unique pair of polynomials (u(x),v(x))satisfying the followings

u(x)is monic

degv(x)<degu(x)≤g

f(x)−v(x)2is a multiple ofu(x)

5 Cantor’s Algorithm: Computing in Jac(H), only polynomial arithmetics

(15)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 Jac(H) =Pico(H)

2 Pic(H) =the group of all isomorphism classes of invertible k[x,y]/(y2−f(x)-modules.

3 D∈Jac(H)

4 the Mumford Representation: Unique pair of polynomials (u(x),v(x))satisfying the followings

u(x)is monic

degv(x)<degu(x)≤g

f(x)−v(x)2is a multiple ofu(x)

5 Cantor’s Algorithm: Computing in Jac(H), only polynomial arithmetics

(16)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 Jac(H) =Pico(H)

2 Pic(H) =the group of all isomorphism classes of invertible k[x,y]/(y2−f(x)-modules.

3 D∈Jac(H)

4 the Mumford Representation: Unique pair of polynomials (u(x),v(x))satisfying the followings

u(x)is monic

degv(x)<degu(x)≤g

f(x)−v(x)2is a multiple ofu(x)

5 Cantor’s Algorithm: Computing in Jac(H), only polynomial arithmetics

(17)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 Jac(H) =Pico(H)

2 Pic(H) =the group of all isomorphism classes of invertible k[x,y]/(y2−f(x)-modules.

3 D∈Jac(H)

4 the Mumford Representation: Unique pair of polynomials (u(x),v(x))satisfying the followings

u(x)is monic

degv(x)<degu(x)≤g

f(x)−v(x)2is a multiple ofu(x)

5 Cantor’s Algorithm: Computing in Jac(H), only polynomial arithmetics

(18)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 Jac(H) =Pico(H)

2 Pic(H) =the group of all isomorphism classes of invertible k[x,y]/(y2−f(x)-modules.

3 D∈Jac(H)

4 the Mumford Representation: Unique pair of polynomials (u(x),v(x))satisfying the followings

u(x)is monic

degv(x)<degu(x)≤g

f(x)−v(x)2is a multiple ofu(x)

5 Cantor’s Algorithm: Computing in Jac(H), only polynomial arithmetics

(19)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 f(x)is square-free and reducible ink[x] 2 degf(x) =2g+1

3 H :y2=f(x)overk 4 2-torsion points of Jac(H):

(u(x),0) degu(x)≤g

f(x)is divisible byu(x)

(20)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 f(x)is square-free and reducible ink[x] 2 degf(x) =2g+1

3 H :y2=f(x)overk 4 2-torsion points of Jac(H):

(u(x),0) degu(x)≤g

f(x)is divisible byu(x)

(21)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 f(x)is square-free and reducible ink[x] 2 degf(x) =2g+1

3 H :y2=f(x)overk 4 2-torsion points of Jac(H):

(u(x),0) degu(x)≤g

f(x)is divisible byu(x)

(22)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 f(x)is square-free and reducible ink[x] 2 degf(x) =2g+1

3 H :y2=f(x)overk 4 2-torsion points of Jac(H):

(u(x),0) degu(x)≤g

f(x)is divisible byu(x)

(23)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

1 f(x)is square-free and reducible ink[x] 2 degf(x) =2g+1

3 H :y2=f(x)overk 4 2-torsion points of Jac(H):

(u(x),0) degu(x)≤g

f(x)is divisible byu(x)

(24)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

Finding a 2-torsion point in Jac(

H

)

1 Find a randomDin Jac(H) 2 Find #Jac(H) =2em,(m,2) =1

3 2im(D)is a 2-torsion point for somei <eif #Dis even 4 Two big problems:

Finding a random divisor classDin Jac(H)

Finding the order of Jac(H)

(25)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

Finding a 2-torsion point in Jac(

H

)

1 Find a randomDin Jac(H) 2 Find #Jac(H) =2em,(m,2) =1

3 2im(D)is a 2-torsion point for somei <eif #Dis even 4 Two big problems:

Finding a random divisor classDin Jac(H)

Finding the order of Jac(H)

(26)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

Finding a 2-torsion point in Jac(

H

)

1 Find a randomDin Jac(H) 2 Find #Jac(H) =2em,(m,2) =1

3 2im(D)is a 2-torsion point for somei <eif #Dis even 4 Two big problems:

Finding a random divisor classDin Jac(H)

Finding the order of Jac(H)

(27)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

What is a hyperelliptic curve The Jacobian

Factoringf(x)

Finding a 2-torsion point in Jac(

H

)

1 Find a randomDin Jac(H) 2 Find #Jac(H) =2em,(m,2) =1

3 2im(D)is a 2-torsion point for somei <eif #Dis even 4 Two big problems:

Finding a random divisor classDin Jac(H) Finding the order of Jac(H)

(28)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Mumford Representation for Singular Hyperelliptic Curves

1 H :y2=f(x),f(x)has repeated roots and degf(x) =2g+1

2 Singular points: (a,0)whereais a root off(x)with multiplicity>1

3 the Mumford Representation: anyDJac(H) is uniquely represented by a pair of polynomials(u(x),v(x))satisfying the followings:

u(x)is monic

degv(x)<degu(x)≤g f(x)−v(x)2is divisible byu(x)

if bothu(x)andv(x)are divisible by(x −a)for a singular point(a,0)then(f−v(x)2)/u(x)is not divisible by(x a)

(29)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Mumford Representation for Singular Hyperelliptic Curves

1 H :y2=f(x),f(x)has repeated roots and degf(x) =2g+1

2 Singular points: (a,0)whereais a root off(x)with multiplicity>1

3 the Mumford Representation: anyDJac(H) is uniquely represented by a pair of polynomials(u(x),v(x))satisfying the followings:

u(x)is monic

degv(x)<degu(x)≤g f(x)−v(x)2is divisible byu(x)

if bothu(x)andv(x)are divisible by(x −a)for a singular point(a,0)then(f−v(x)2)/u(x)is not divisible by(x a)

(30)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Mumford Representation for Singular Hyperelliptic Curves

1 H :y2=f(x),f(x)has repeated roots and degf(x) =2g+1

2 Singular points: (a,0)whereais a root off(x)with multiplicity>1

3 the Mumford Representation: anyDJac(H) is uniquely represented by a pair of polynomials(u(x),v(x))satisfying the followings:

u(x)is monic

degv(x)<degu(x)≤g f(x)−v(x)2is divisible byu(x)

if bothu(x)andv(x)are divisible by(x −a)for a singular point(a,0)then(f−v(x)2)/u(x)is not divisible by(x a)

(31)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Mumford Representation for Singular Hyperelliptic Curves

1 H :y2=f(x),f(x)has repeated roots and degf(x) =2g+1

2 Singular points: (a,0)whereais a root off(x)with multiplicity>1

3 the Mumford Representation: anyDJac(H) is uniquely represented by a pair of polynomials(u(x),v(x))satisfying the followings:

u(x)is monic

degv(x)<degu(x)≤g f(x)−v(x)2is divisible byu(x)

if bothu(x)andv(x)are divisible by(x −a)for a singular point(a,0)then(f−v(x)2)/u(x)is not divisible by(x a)

(32)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Mumford Representation for Singular Hyperelliptic Curves

1 H :y2=f(x),f(x)has repeated roots and degf(x) =2g+1

2 Singular points: (a,0)whereais a root off(x)with multiplicity>1

3 the Mumford Representation: anyDJac(H) is uniquely represented by a pair of polynomials(u(x),v(x))satisfying the followings:

u(x)is monic

degv(x)<degu(x)≤g f(x)−v(x)2is divisible byu(x)

if bothu(x)andv(x)are divisible by(x −a)for a singular point(a,0)then(f−v(x)2)/u(x)is not divisible by(x a)

(33)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Mumford Representation for Singular Hyperelliptic Curves

1 H :y2=f(x),f(x)has repeated roots and degf(x) =2g+1

2 Singular points: (a,0)whereais a root off(x)with multiplicity>1

3 the Mumford Representation: anyDJac(H) is uniquely represented by a pair of polynomials(u(x),v(x))satisfying the followings:

u(x)is monic

degv(x)<degu(x)≤g f(x)−v(x)2is divisible byu(x)

if bothu(x)andv(x)are divisible by(x −a)for a singular point(a,0)then(f−v(x)2)/u(x)is not divisible by(x a)

(34)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 k =F p,p 2 f(x) =f 1(x)· · ·fn(x), degfi(x) =di 3 H :y2=xf(x)2 4 Jac(H) =G 1 L · · ·L Gn

(35)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 k =F p,p 2 f(x) =f 1(x)· · ·fn(x), degfi(x) =di 3 H :y2=xf(x)2 4 Jac(H) =G 1 L · · ·L Gn

(36)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 k =F p,p 2 f(x) =f 1(x)· · ·fn(x), degfi(x) =di 3 H :y2=xf(x)2 4 Jac(H) =G 1 L · · ·L Gn

(37)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 k =F p,p 2 f(x) =f 1(x)· · ·fn(x), degfi(x) =di 3 H :y2=xf(x)2 4 Jac(H) =G 1 L · · ·L Gn

(38)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi 5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(39)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi 5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(40)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi 5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(41)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi

5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(42)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi

5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(43)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi

5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(44)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi

5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(45)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi

5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(46)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 AnyDeJac(H) is uniquely represented by a pair of the form[ef(x)2,eh(x)ef(x)]such that deg(eh(x))<deg(ef(x)) and ef(x)dividesf(x) 2 D i = [fi(x)2,hi(x)fi(x)]∈Gi, deghi(x)<deg(di) 3 #D i divides eitherpdi +1 orpdi −1 4 D= [f(x)2,h(x)f(x)] =D 1+· · ·+Dnsuch thatDi ∈Gi

5 if a powerDannihilates some ofD

i we get a non-trivial factor off(x) 6 D=D 1+· · ·+Ds· · ·+Dr = [f12,h1g1] +· · ·+ [fs2+hsfs] +· · ·+ [fr2,hrfr] 7 mDs=0, mD = [f12,he1g1] +· · ·+0+· · ·+ [fr2,ehrfr] = [f12f22· · ·fr2,· · ·] 8 (pj±1)Dforj =1, . . . ,ed =max{d i}, gives a non-trivial factor or[1,0]

9 the probability of getting a non-trivial factor is at least 1/2 Enver, Ozdemir Factoring Polynomials over Finite Fields

(47)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 Suppose(pr ±1)D= [1,0]andpr ±1=2em,(m,2) =1 2 if#Dis even then 2sm(D)must be a 2-torsion point for

s=0, . . . ,e

3 2-torsion points[x,0],[xef(x)2,0],[ef(x)2,0]such thatef(x)is a non-trivial factor off(x)

4 the probability of finding a non-trivial factor off(x)in a single trial is at least 3/4

5 this probability is close to 1/2 for C-Z and Berlekamp’s algorithms

6 O(de3lgp),de=max{d i}

(48)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 Suppose(pr ±1)D= [1,0]andpr ±1=2em,(m,2) =1 2 if#Dis even then 2sm(D)must be a 2-torsion point for

s=0, . . . ,e

3 2-torsion points[x,0],[xef(x)2,0],[ef(x)2,0]such thatef(x)is a non-trivial factor off(x)

4 the probability of finding a non-trivial factor off(x)in a single trial is at least 3/4

5 this probability is close to 1/2 for C-Z and Berlekamp’s algorithms

6 O(de3lgp),de=max{d i}

(49)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 Suppose(pr ±1)D= [1,0]andpr ±1=2em,(m,2) =1 2 if#Dis even then 2sm(D)must be a 2-torsion point for

s=0, . . . ,e

3 2-torsion points[x,0],[xef(x)2,0],[ef(x)2,0]such thatef(x)is a non-trivial factor off(x)

4 the probability of finding a non-trivial factor off(x)in a single trial is at least 3/4

5 this probability is close to 1/2 for C-Z and Berlekamp’s algorithms

6 O(de3lgp),de=max{d i}

(50)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 Suppose(pr ±1)D= [1,0]andpr ±1=2em,(m,2) =1 2 if#Dis even then 2sm(D)must be a 2-torsion point for

s=0, . . . ,e

3 2-torsion points[x,0],[xef(x)2,0],[ef(x)2,0]such thatef(x)is a non-trivial factor off(x)

4 the probability of finding a non-trivial factor off(x)in a single trial is at least 3/4

5 this probability is close to 1/2 for C-Z and Berlekamp’s algorithms

6 O(de3lgp),de=max{d i}

(51)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 Suppose(pr ±1)D= [1,0]andpr ±1=2em,(m,2) =1 2 if#Dis even then 2sm(D)must be a 2-torsion point for

s=0, . . . ,e

3 2-torsion points[x,0],[xef(x)2,0],[ef(x)2,0]such thatef(x)is a non-trivial factor off(x)

4 the probability of finding a non-trivial factor off(x)in a single trial is at least 3/4

5 this probability is close to 1/2 for C-Z and Berlekamp’s algorithms

6 O(de3lgp),de=max{d i}

(52)

The Problem The Well-Known Methods The Main Idea Singular Hyperelliptic Curves Factoringf(x)

The Algorithm for factoringf(x)

1 Suppose(pr ±1)D= [1,0]andpr ±1=2em,(m,2) =1 2 if#Dis even then 2sm(D)must be a 2-torsion point for

s=0, . . . ,e

3 2-torsion points[x,0],[xef(x)2,0],[ef(x)2,0]such thatef(x)is a non-trivial factor off(x)

4 the probability of finding a non-trivial factor off(x)in a single trial is at least 3/4

5 this probability is close to 1/2 for C-Z and Berlekamp’s algorithms

6 O(de3lgp),de=max{d

i}

References

Related documents