Live data from Hacker News

Why isn’t the fundamental theorem of arithmetic obvious? (2011)

gowers.wordpress.com

161–170 of 210 posts

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#161
post #157

Earlier quoted context omitted.

Yes, but the only way in which that ordering compels the integers to be a unique factorization domain is through the fact that it allows us the Euclidean algorithm; put another way, through the fact that, for any bunch of integers, their smallest positive combination (in the sense of adding or subtracting various multiples of them together) divides all of them. But this fact about the integers actually doesn't seem t…

> I think you're just back-rationalizing your sense that uniqueness of prime factorization must be obvious because you've never seen it fail and heard people talk about it a lot and so on, instead of having access to genuine grounds for certainty. I don't think it's fair for you to make assumptions like this about me. I have a degree in mathematics and have a fair amount of experience with this stuff. I certainly do…

Oh, don't worry; the "you" in "I think you're..." was generic (for anyone who claims complete and utter obviousness of unique prime factorization without ability to explicate the reasoning behind it or even grasp that reasoning might be required) and not targeted at YOU per se; I'm not accusing you of lacking mathematical sophistication. It was clear from your other comments that you have significant background in mathematics.

I'm just accusing you of being misguided when claiming that humans are able to access uniqueness of prime factorization as obvious because of special inbuilt integers-with-That is:

Sure, all you need is that, in arithmetic modulo a prime, nonzero values are closed under multiplication.

But this fact is not obvious! The only reason to believe this is via, implicitly or explicitly, the reasoning that tells us how to compute GCDs as linear combinations (what I have referred to as "the Euclidean algorithm" for shorthand, though I do not mean to fixate on any particular presentation of such reasoning).

Here is makomk's argument: "Brief outline of an argument: suppose nm = 0 mod p (p prime) and m != 0 mod p. We can write this as n(ap+b) = 0 mod p for some integers a, 0= p. If b' != 1, then since p is prime b'r != p and we get a smaller b'' := b'r-p for which n*b'' = 0 mod p, a contradiction. Therefore b' = 1 and n = 0 mod p."

That is good, that is fine, that is the sort of argument one needs. But I would not consider that to be at all "obvious" in the way laypeople often claim UPF to be. It takes some insight or work to see the possibility of that argument! There's no reason to consider that sort of argument as deep-in-our-bones obvious, implicit to laypeople by basic intuition about integers-with-(FWIW, makomk's argument is also closely related to the following natural algorithm for computing the gcd of A and B: starting with an initial guess x which is any combination of A and B, keep replacing x with any nonzero value among either A % x or B % x (up to negation, if you like), till eventually one cannot continue reducing x in this way; at all times, x is a combination of A and B, and one must stop by finding such a combination that divides both A and B (and is therefore their GCD). This isn't quite the Euclidean algorithm as usually presented, but serves just as well as an algorithm computing GCDS-as-combinations recursively, and makomk's argument essentially follows the structure of computing the GCD of m and p in this way)

But nevermind the full generality of GCD computation. That may be a distraction from the point I intended to make. (I phrased things in terms of this because it was the easiest wording, but that's not quite what I'm concerned about). Even just the special case of this reasoning used by makomk is not something "obvious". I do not believe the layperson who claims UPF to be obvious has an argument like makomk's latent in their head. I think they are just making unjustified leaps. I think they are, as I said, just presuming UPF obvious because they've never seen it fail and have heard it discussed so many times and so on, to the point that they can't even conceptualize that any further reasoning could be called for.

As for "using the properties I've mentioned", presumably in reference to the integers being a well-ordered ring: sure, being a unique factorization domain follows from being a well-ordered commutative ring where the ordering interfaces with the ring structure in the expected ways... because the ONLY well-ordered ring is the integers, and the integers are a UFD. But I still don't think the average person, when looking at uniqueness of factorization as "obvious", is accessing the reasoning that goes into this.

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#162

Earlier quoted context omitted.

That sentence is followed by a proof. You can say the proof is wrong, but you're missing the point to say "it needs to be proven".

To be fair, you were not rigorous enough to call that a proof and I think you know that. So there's really no point in arguing semantics here, it's just giving maths a bad look.

> To be fair, you were not rigorous enough to call that a proof and I think you know that.

On the contrary. Referring to a well-known result without proving it in situ is very common. For example, I also assume without proving that if two integers a, b have the property that ka = kb, then a is equal to b. You don't see anyone complaining about that.

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#163

It actually becomes much easier to understand if you approach it from the other direction. Some assumptions - A prime is only evenly divisible by itself and one. - One is not a prime. - A composite number is generated by multiplying two or more primes. - No number of primes can be multiplied together to make another prime. That would mean that the so called prime generated is composite. Now, say we have a number n wi…

Something I learned a long time ago is this: if someone claims to have a proof, trying following the same proof in a different case where the conclusion is actually false, and see where their "proof" fails.

So let's try applying your reasoning to the example given in the linked article. There it shows that in the integers extended by sqrt(-5) we have 2x3=(1-sqrt(5))x(1+sqrt(5)). So using your specific reasoning:

    Let's take n=6

    f1 : 2 x 3
    f2 : (1-sqrt(5)) x (1+sqrt(5))
    p  : 2
    m  : 3
You now say:

    f2 does not contain p, ...
Correct.

    ... and we cannot construct a prime p
        from other primes or composites.
True.

    This means that f2 cannot be evenly
    divisible by p, as that would require
    it to have a prime factor of p which
    it does not.
But f2 is evenly divisible by p, despite not including p in the list of primes being multiplied together to give n. So your line of logic fails at this point.

This is actually assuming (something equivalent to) the FTA. The example shows a case where f2 is evenly divisible by p, so your deduction here is wrong.

It is subtle.

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#164

It actually becomes much easier to understand if you approach it from the other direction. Some assumptions - A prime is only evenly divisible by itself and one. - One is not a prime. - A composite number is generated by multiplying two or more primes. - No number of primes can be multiplied together to make another prime. That would mean that the so called prime generated is composite. Now, say we have a number n wi…

> f2 does not contain p, and we cannot construct a prime p from other primes or composites. This means that f2 cannot be evenly divisible by p, as that would require it to have a prime factor of p which it does not.

No it doesn't. Suppose p, m, q and r are (distinct) primes where f1 = p * m, f2 = q * r. Then why can't you have (q * r) / p = m? The fundamental theorem of arithmetic says you can't, but you are trying to prove that.

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#165
post #110

I know I'm going up against a brilliant mathematician and Fields medalist here, but I find this article to be unenlightening. It seems that Gowers has glossed over something about the integers that's built incredibly deeply into our intuition about them when he talks about Z[sqrt(-5)]: > These numbers have various properties in common with the integers: you can add them and multiply them, there are identities for bot…

[deleted]

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#166

It actually becomes much easier to understand if you approach it from the other direction. Some assumptions - A prime is only evenly divisible by itself and one. - One is not a prime. - A composite number is generated by multiplying two or more primes. - No number of primes can be multiplied together to make another prime. That would mean that the so called prime generated is composite. Now, say we have a number n wi…

You've correctly shown that "f2 does not contain p". However, the subtle bit of reasoning "f2 cannot be evenly divisible by p as that would require it to have a prime factor of p" is not justified by any of your assumptions.

Let me be clear: f2 is a fixed product of primes p_1, p_2, p_3, etc. It is certainly true that each p_i divides evenly f2. What you use, however, is the converse claim: that every prime p that divides f2 is on this list.

This converse claim, that "every prime p that divides f2 is on the list of primes that we built f2 out of", does not follow from "no number of primes can be multiplied together to make another prime". The latter implies only that a prime that both divides f2 and can be built out from the given list of primes, has to be on the list of primes.

In fact, the converse claim "every prime p that divides f2 is on the list of primes that we built f2 out of" is essentially one variant of the statement of unique prime factorization, so you actually fell into the trap of circular reasoning.

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#167
post #157

Earlier quoted context omitted.

Yes, but the only way in which that ordering compels the integers to be a unique factorization domain is through the fact that it allows us the Euclidean algorithm; put another way, through the fact that, for any bunch of integers, their smallest positive combination (in the sense of adding or subtracting various multiples of them together) divides all of them. But this fact about the integers actually doesn't seem t…

> I think you're just back-rationalizing your sense that uniqueness of prime factorization must be obvious because you've never seen it fail and heard people talk about it a lot and so on, instead of having access to genuine grounds for certainty. I don't think it's fair for you to make assumptions like this about me. I have a degree in mathematics and have a fair amount of experience with this stuff. I certainly do…

As for the remark at the end: you're right, it may be difficult to un-obfuscate phrased in that form, but had you phrased it "Make a table of two columns. Take the very top-most, left-most entry to be n, take every entry in the right column to be 1 plus the value to its left, and take every further entry in the left column to be the product of all previous entries in the right column. I claim the value three cells below the initial n has three prime factors (and similarly the value below that has four prime factors, etc.)", and I couldn't see why that would be the case, then, yes, this would give some real pause as to whether I could truly claim sound understanding (to the point of considering it obvious) of the reason for the infinitude of primes.

And if, analogously, the obstacle to someone seeing "the smallest positive value of the form 98X - 60Y is 2" is merely inability to factorize 98 or 60, well, that doesn't mean much. But I don't think that's the obstacle for most; I don't think people would do much better were it phrased "What is the smallest value of the form 2 * 7^2 * X - 2 * 3 * 5 * Y? (BTW, 2, 3, 5, and 7 are all prime)". And I do think, while not definitive in itself, the fact that this sort of thing is not obvious at all to people suggests we shouldn't presume sound reasoning behind uniqueness of prime factorization/Euclid's lemma/etc. is implicitly obvious either. When people claim it to be obvious, it's not because they have a dim view of the correct reasoning, seen through a glass, darkly. It's just because they're making complete logical leaps.

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#168

Earlier quoted context omitted.

Why? How do we know factorizations are unique? That is the claim under contention. That is precisely what Gowers in the original article is noting as non-obvious [but often mistakenly taken to be obvious]. If we don't already know (prime) factorizations are unique, how do we know that, if an integer is divisible by a prime, that prime must appear in every possible factorization of that integer? "Prime factorizations…

> That is the claim under contention no, whether or not it is obvious is under contention. I hope no one doubts what I said. I also never said it's obvious, I said the statement > if it's divisible by a number, the number must appear in its factorization isn't true, and wouldn't be claimed.

Alright. I guess I misunderstood what you were getting at with your comment. And perhaps you misunderstood the nature of my conversation with PepeGomez? You appeared to be correcting me over some misunderstanding I never evinced.

PepeGomez claimed "If it's divisible by a number, the number must appear in its factorization and vice versa." in apparent support of the argument that uniqueness of prime factorizations is therefore obvious.

In response to this, I wrote my initial comment. When, in it, I asked "Who says 'if it's divisible by a number, the number must appear in its factorization'? Why is that true?", that was in response to PepeGomez, a rhetorical way of engaging with the claim they made.

I further noted in my comment that this claim about divisibility and factorizations wasn't quite correct for arbitrary numbers, but was true for prime numbers, but is nonetheless non-obvious for prime numbers. It appears you agree with me on all of this, so... great.

Re: Why isn’t the fundamental theorem of arithmetic obvious? (2011)

#169
This blog post illustrates well the infuriating tendency of academics to teach by calling people stupid. The substance of his answers are:

1. " If you think it’s obvious, then you’re probably assuming what you need to prove" i.e. "If you think this, you're wrong."

2. "Just because you’ve got a completely deterministic method for working out a prime factorization, that doesn’t mean what you work out is the only prime factorization" i.e. "If you think doing it this way works, it doesn't."

3. "Look, it just bloody well isn’t obvious, OK?" i.e. "If you get frustrated that I keep telling you you're wrong, that's your fault for being wrong."

4. "If it’s so obvious that every number has a unique factorization, then why is the corresponding statement false in a similar context?" i.e. "I won't tell you what you did wrong, but instead I'll show you why your answer can't possibly be right."

It is unconscionable that he does not identify the actual fact people erroneously use without justification when thinking the fundamental theorem is obvious. FYI, that fact is

"If a number n can be written as the product of a fixed list of (not necessarily distinct) primes p_1, p_2, ..., p_n, then any prime p dividing n appears on this list."

(there is a minority of mathematicians who refer to this fact as the fundamental theorem of arithmetic, not unique prime factorization; the obvious argument is going from the fact to unique prime factorization, proving the fact is the unobvious argument)

Post reply on HN