Infinite SizesAre all infinite sets the same size?. Cantor’s Theorem shows how to keep finding bigger infinities... • How many sets of natural numbers?. Countably Infinite Sets ::= {fi
Trang 1Uncountable Sets
Trang 2Countably Infinite
There are as many natural numbers as
integers
0 1 2 3 4 5 6 7 8 …
0, -1, 1, -2, 2, -3, 3, -4, 4 …
f(n) = n/2 if n is even, -(n+1)/2 if n is odd
is a bijection from Natural Numbers →
Integers
Trang 3Infinite Sizes
Are all infinite sets the same size?
NO!
Cantor’s Theorem
shows how to keep finding bigger infinities.
Trang 4• How many sets of natural numbers?
• The same as there are natural
numbers?
• Or more?
Trang 5Countably Infinite
Sets
::= {finite bit strings}
… is countably infinite
Proof: List strings shortest to longest, and alphabetically
within strings of the same
length
Trang 6Countably infinite
Sets
= {e, 0, 1, 00, 01, 10,
11, …}
= { e,
0, 1,
00, 01, 10, 11,
000, … }
= { f(0),
f(1), f(2), f(3), f(4), …}
Trang 7Uncountably Infinite Sets
Claim: ::= { ∞ -bit
strings}
is uncountable
What about infinitely long bit strings? Like infinite
decimal fractions but with bits
Trang 8Diagonal Arguments
Suppose
0 1 2 3 n n+1
s0 0 0 1 0 0 0
s1 0 1 1 0 0 1
s2 1 0 0 0 1 0
s3 1 0 1 1 1 1
1
1
Trang 9Diagonal Arguments
• Suppose
0 1 2 3 n n+1
s0 0 0 1 0 0 0
s1 0 1 1 0 0 1
s2 1 0 0 0 1 0
s3 1 0 1 1 1 1
1
1
0
0
0
0 1
1
Trang 10So cannot be listed:
this diagonal
sequence
will be missing
…differs from every row!
Diagonal Arguments
Suppose
0
0
0
0 1
1
Trang 11Cantor’s Theorem
For every set, A
(finite or infinite) ,
there is no bijection A↔P(A)
Trang 12There is no bijection A↔P(A)
W::= {a A | a f(a)} , so for any a,
a W iff a f(a)
f is a bijection, so W=f(a0) , for some a0
A
(∀a) a f(a0) iff a f(a )
Pf by contradiction: suppose
f:A↔P(A) is a bijection Let
Pf by contradiction:
Trang 13There is no bijection A↔P(A)
W::= {a A | a f(a)} , so for any a ,
a W iff a f(a)
f is a bijection, so W=f(a0) , for some a0
A
a f(a ) iff a f(a )
Pf by contradiction: suppose
f:A↔P(A) is a bijection Let
Pf by contradiction:
Trang 14So P(N) is uncountable
P(N)
= set of subsets of N
↔ {0,1} ω
↔ infinite “binary decimals”
representing reals in the range 0 1