Re: root of polynomial over galois field
- From: "Jeremy Watts" <jwatts1970@xxxxxxxxxxx>
- Date: Sat, 10 Feb 2007 08:08:08 GMT
"Klueless" <klueless@xxxxxxxxxxxxxxxx> wrote in message
news:fFezh.12276$2m6.7830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"Jeremy Watts" <jwatts1970@xxxxxxxxxxx> wrote in messagenews:db_yh.2935$mn2.1484@xxxxxxxxxxxxxxxxxxxxxxx
ComputerI am following Algorithm 8.3 on p.345 of the book 'Algorithms for
c'(x) =/= 0Algebra' by Geddes,Czapor & Labahn ('Finite Field Square-Free
Factorization'), ...
My question is, what to do if c(x)1/p is unable to be found? ie. that
is justIs c(x)^1/p always guaranteed to be able to be found??
In my copy of the book, Line 14 reads "if c(x) =/= 1 then {" which
slightly different than what you copied into your post. However, the mainc(x)^(1/p)", the
item is that whenever the algorithm reaches Line 15, "c(x) <--
c(x) will indeed always be a perfect pth power of a polynomial inGF(q)[x],
and therefore the method of the preceding "section which explains how togo
about finding the pth root ..." applies. Always!out,
Examples 8.4-8.5 may not be sufficient explanation. To help you
I will step you through some iterations of the inner while loop of thealgorithm,
pointing out some facts that could lead to loop invariants and acorrectness
proof, if they were developed fully enough. At the outset,vanish here.
a = product(f_k^k, k)
b = a' = sum(k*f_k'/f_k, k)*a <= Terms with p|k
c = gcd(a,b) = product(f_k^(k-1), p does not divide k) *product(f_k^k, p divides k)
w = a/c = product(f_k, p does not divide k)being
Here we've written "a" in the form of a squarefree factorization, the f_k
pairwise relatively prime. The "b" has the interesting property regarding"p|k".
This results in "c" resembling "a", but the exponents of the f_k arereduced by 1
iff p does not divide k. I refer you to Examples 8.4-8.5 for the concreteexamples.
In the first iteration of the while loop,<= Update to w
y = gcd(w,c) = product(f_k, p does not divide k and k>1)
z = f_1 <= !!!!!!
w = product(f_k, p does not divide k and k>1)
c = product(f_k^(k-2), p does not divide k and k>1)*product(f_k^k, pdivides k) <= Update to c
Next
Next iteration of the while loop, z=f_2, and the "k>1" changes to "k>2".
iteration of the while loop, z=f_3, and the "k>1" changes to "k>3". Etc.The f_k
factors of w are all picked off eventually, leaving w=1 andk)^p !
c = product(f_k^k, p divides k)
Here we reach the Line 14, but now we see c = product(f_k^(k/p), p divides
Conclusion: whenever the algorithm reaches Line 15, "c(x) <-- c(x)^(1/p)",the
c(x) will indeed always be a perfect pth power of a polynomial inGF(q)[x].
The book is correct, it just needed a little more elaboration.
Thank you very much for that very detailed answer. Yes indeed there was a
typo on my behalf and it should have read c(x) =/= 1 and not what I had
put. But yes very helpful answer thanks a lot.
JW
.
- References:
- root of polynomial over galois field
- From: Jeremy Watts
- Re: root of polynomial over galois field
- From: Klueless
- root of polynomial over galois field
- Prev by Date: Re: root of polynomial over galois field
- Next by Date: Re: A New Series of Books and Software for Scientists, Experts, Teachers and Students
- Previous by thread: Re: root of polynomial over galois field
- Next by thread: Re: root of polynomial over galois field
- Index(es):