mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   mersennewiki (https://www.mersenneforum.org/forumdisplay.php?f=57)
-   -   Lucas-Lehmer Test proof (https://www.mersenneforum.org/showthread.php?t=5100)

alpertron 2005-12-07 19:22

Lucas-Lehmer Test proof
 
I was reading more carefully to the Lucas-Lehmer Test proof presented in the [URL=http://www.mersennewiki.org/index.php/Lucas-Lehmer_Test]Mersennewiki[/URL] and I found that it is not a proof at all.

After the introduction there is the sentence "We are assuming that [tex]S_{p-1}[/tex] is divisible by [tex]2^p-1[/tex]. "

If we compute S[sub]1[/sub] = 4, ..., until S[sub]p-1[/sub] = 0 we know that it is prime because we are assuming it (?????)

philmoore 2005-12-07 22:05

[QUOTE=alpertron]I was reading more carefully to the Lucas-Lehmer Test proof presented in the [URL=http://www.mersennewiki.org/index.php/Lucas-Lehmer_Test]Mersennewiki[/URL] and I found that it is not a proof at all.

After the introduction there is the sentence "We are assuming that [tex]S_{p-1}[/tex] is divisible by [tex]2^p-1[/tex]. "

If we compute S[sub]1[/sub] = 4, ..., until S[sub]p-1[/sub] = 0 we know that it is prime because we are assuming it (?????)[/QUOTE]


There are two parts to the proof. One part is to show that if [tex]2^p-1[/tex] is prime, then [tex]S_{p-1}[/tex] is divisible by [tex]2^p-1[/tex]. The other part of the proof is to show that if [tex]S_{p-1}[/tex] is divisible by [tex]2^p-1[/tex], then [tex]2^p-1[/tex] is prime. Because this second part guarantees that candidates passing the Lucas-Lehmer test are actually prime, and because it assumes very little background in number theory, I placed it first. Notice that the conclusion of this paragraph is that [tex]2^p-1[/tex] is prime. It guarantees that composite numbers will always fail the Lucas-Lehmer test, but doesn't necessarily prove that all prime numbers pass it. The proof that all prime numbers pass the L-L test is the point of the third paragraph. It does require a little knowledge of quadratic reciprocity, and was placed last for that reason.

alpertron 2005-12-08 17:06

So the proof is OK, but the paragraphs are reversed. I think the last paragraph should be first, so after that we can safely assume that S[sub]p-1[/sub] because it was proved in the previous paragraph.

philmoore 2005-12-08 22:05

Perhaps the second and third paragraphs should be labeled "Proof of Sufficiency" and "Proof of Necessity". There is no logical reason that either paragraph must come before the other because the two proofs are logically independent; i.e, neither depends upon the results of the other. However, each proof does make use of the set of numbers [tex]a+b\sqrt 3 mod Q [/tex], and if you find a compelling pedagogical reason to switch the paragraphs, you certainly have my permission.

alpertron 2005-12-09 20:42

I exchanged the proofs and also replaced in Rosen's proof the letter Q by F, because the variable Q was used in Bruce's proof as 2[sup]p[/sup] - 1, so it is clear that they are different values.

philmoore 2005-12-09 21:44

Thanks, the main problem that I see is that the properties of the numbers [tex]a+b\sqrt 3 mod Q [/tex] are not discussed until the sufficiency proof, but these properties actually get used in the necessity proof. Also the phrase "From the previous proof" in the second sentence of the sufficiency proof needs to be removed. The sufficiency proof does not depend at all on the necessity proof, and this phrase is extremely misleading. Sufficiency means that if the L-L test is satisfied for some prime exponent p, then 2[sup]p[/sup] - 1 is prime. Necessity means that if 2[sup]p[/sup] - 1 is prime, then the L-L test is satisfied. Each proof is completely independent of the other. Unfortunately, the necessity proof now seems very unclear, because much of the notation that is used there does not get introduced until the second proof. If I get time over school break, I may try to fix this.

alpertron 2005-12-09 23:42

I still fail to see why the proof of sufficiency does not depend on the other proof, since it starts assuming the "output" of the proof of necessity: [tex]S_{p-1}[/tex] is multiple of [tex]2^p-1[/tex].

It appears that the text should be reworked a bit. I will continue reading it.

T.Rex 2005-12-10 15:43

Proof of LLT by Ribenboim
 
Alpertron,
Have you tried to read [URL=http://www.springer.com/sgw/cda/pageitems/document/cda_downloaddocument/0,11855,0-0-45-110375-p26922385,00.pdf]Ribenboim[/URL]'s proof of LLT ? It appears in page 77 and 78 (but requires to read many pages before ...).
I prefer this proof, though it is longer.
Tony

alpertron 2005-12-10 18:35

I added some steps to the proof and now it is "crystal clear" to me.

philmoore 2005-12-11 01:10

Suppose one proved that if a, b, and c are the lengths of the sides of a right triangle with c the side opposite the right angle, then a[sup]2[/sup]+b[sup]2[/sup]=c[sup]2[/sup]. Now suppose one proved that if a, b, and c are the lengths of the sides of any triangle and a[sup]2[/sup]+b[sup]2[/sup]=c[sup]2[/sup], then the angle opposite the side of length c must be a right angle. Even though the second proof starts by assuming the formula proven in the first proof, one cannot say in general that the second proof depends on the first. Each of the theorems assumes as input the output of the other theorem. The two theorems are converses, and in general, a theorem may be true even though the converse theorem may be false. Of course, in some cases, the proof of a converse may be dependent on the truth of the original theorem, and Euclid does in fact prove the converse to the Pythagorean theorem by SSS congruence using the Pythagorean theorem itself (Book I, theorems 47 and 48), but I challenge you to show me where the proof of sufficiency of the Lucas-Lehmer tests depends upon the proof of necessity. The fact that there is some common notation between the two proofs may have confused you, but look at the sufficiency proof alone: it simply says that IF S[sub]p-1[/sub] is divisible by 2[sup]p[/sup]-1, THEN 2[sup]p[/sup]-1 is prime. The statement that S[sub]p-1[/sub] is divisible by 2[sup]p[/sup]-1 is the supposition of the theorem, and in no way is justified by the necessity piece, which assumed that 2[sup]p[/sup]-1 is prime anyway. Here we cannot assume this, it is what must be proven.

alpertron 2005-12-11 21:15

Arggghhh!!! I was wrong, the fact that [tex]S_{p-1}[/tex] is divisible by [tex]2^p-1[/tex], is the hypotesis of the proof.

I changed the wording again. Please let me know if there are errors.


All times are UTC. The time now is 11:54.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.