by tobiasSoftware · 3y ago · 0 comments
The integers between 0 and infinity are defined as "countably infinite". Other infinities are considered countably infinite, or the "same" infinity, if and only if you can arrange it in a list such that each item in the list pairs to an integer in our 0 to infinity list. So the set of even numbers is countably infinite because for every i that is an even number, it pairs with the number i/2.
To demonstrate: 0 -> 0, 2 -> 1, 4 -> 2, 6 -> 3, ...
The decimal (real) numbers between 0 and 1 are not countably infinite, and we know this from a concept called Cantor diagonalization. What Cantor did was a proof by contradiction: assume that the numbers are countably infinite, then you can arrange them in a list. However, he then builds a number by altering the first decimal place of the first number, the second decimal place of the second number, and so on. Finally, he shows that this built number is both a real number and is not on the list. Therefore, the real numbers between 0 and 1 cannot be ordered into a list, therefore they are not countably infinite, and there are more decimal numbers between 0 and 1 than integers between 0 and infinity.
The way I parse "decimal number" in this context is a number expressible as a (finite?) string of decimal numerals. Those numbers are not reals, they are rationals.
Whatever method you use to generate your decimals, you can just slap an integer on each step of the way. You'll never run out of integers.
I'll put Cantor and his proof in a box, tell him to give me his fancy decimals quick as he can, and I can match each one with an integer no problem.
And pairing one infinite list with another infinite list doesn't make either one any more countable, because however high you count, they keep on going.
A mathematician compares the size of two sets of stuff by pairing off items from each set, but this is not a mechanical process taking a finite or even unbounded amount of time: they just need to show such a mapping exists or that nonexistence would lead to a contradiction; they don't need to actually carry out the process mechanically. By definition (according to mathematicians), something is countable if it is the same size as the set of natural numbers {0, 1, 2, ...} or smaller, and "countably infinite" just means it is the same size as the naturals (and not smaller, which would make it finite).
A small minority of mathematicians hold the position that proof-by-contradiction is not good enough, and that you really do need to positively prove something. They are called intuitionists.
Presumably, an even smaller minority of mathematicians hold the position that this proof must (theoretically) be able to be carried out in a mechanical manner. They're some flavor of constructivists, but maybe they're better called programmers. <- This is where you are.
Exactly correct! This holds true of everything you can generate stepwise, even infinite sets. Cantor proved that you cannot "generate" (stepwise) all Reals between 0 and 1. Any infinite set you can generate stepwise is Countably Infinite.
> I'll put Cantor and his proof in a box, tell him to give me his fancy decimals quick as he can, and I can match each one with an integer no problem.
Exactly correct! And then infinitely later, when you're "done", having generated every Real between 0 and 1, he will then generate a new Real not on your list. Oops! You have not generated all Reals between 0 and 1, even with infinite time.
> And pairing one infinite list with another infinite list doesn't make either one any more countable, because however high you count, they keep on going.
Exactly correct! Any two sets you can pair together (via a bijection) have the exact same cardinality. Neither is more infinite nor countable than the other. Cantor proved you cannot "pair" the Reals with the Natural Numbers.
You and Cantor agree completely. You're very close to understanding why the Reals are bigger.
There can be no 'and then' after infinitely later.
I don't see why stepwise is important but that must be the key to Cantor's proof.
If he gives me 1.1 1.2 1.3 and I pair with 1 2 3, then he gives me 1.11 and I pair with 4, that seems fine as far as counting is concerned.
The ordering could be entirely random, I don't see how it makes a difference. There will always be enough integers to match.
Is it that my black box metaphor is cheating by coercing a truly 'parallel' generation of decimals into a linear operation? But even then, if I'm getting exponentially bigger chunks of new decimals, I can provide equally large chunks of integers... so it still doesn't make sense to me. Infinity is infinity and you cannot count it.
We can prove that no such 1-1 map exists between the integers (an infinite set) and the decimals in the interval [0,1] (another infinite set). The proof is by contradiction, meaning that we assume such a 1-1 map exists and prove it leads to a contradiction, therefore our assumption that the 1-1 map exists must be false.
So suppose we were able to construct a map from all decimals in [0,1], by enumerating them according to some clever rule. Let d_i be the ith digit of number i in your mapping. For each I pick another different digit d_i'. Let's construct the number with decimal representation D = . d_0' d_1' d_2' ...
Assuming we have our 1-1 map, it must be somewhere in our mapping. Let's say it's element k. By our labeling concention the kth decimal digit of D is actually d_k. However, this contradicts our method of construction of D. Therefore our assumption that there is a 1-1 map between decimals in [0,1] and the integers must be false.
It is in this sense that there are infinities of different sizes.
Exactly correct! Any bijection between the naturals and the reals would suffice to show that they're the same cardinality; the order does not matter. I think where you're getting confused is just in who's trying to do what; who's the "protagonist" and "antagonist" in the proof.
Cantor is not trying to overwhelm you with so many real numbers that you run out of integers. Instead, he completely accepts and agrees with everything you're saying. And then he says: okay, pick any numbering of the reals you like. 1.11 is 4, 1.111 is 76, and 1.1111 is 445662323. It doesn't matter. You pick the pairing. Write your pairing down on an infinitely long sheet of paper. If the reals and integers have the same cardinality, there must be some way to write them all down on an (infinitely long) list. Pick any one and write it down.
Cantor's only job now is to show you that any real number exists that is not on your list. To do this, he constructs a number a digit at a time. He looks at the 1st digit of the 1st number, and writes down a different digit for his 1st digit. He looks at the 2nd digit of the 2nd number, and writes a different one for his 2nd digit. He looks at the nth digit of the nth number and writes a different one down for that digit, for every digit. Real numbers never run out of digits, so this goes on forever.
If this number he has written down is on your list, you should be able to point to a number on your list and say "Aha! You see, that is just real # 65,334,649!" but you can't, because it's different from that number in its 65,334,649th digit. It is truly different from every number on your list. And so there are more reals than integers.
If it means fractions only, they are countable.