1. Trang chủ
  2. » Giáo án - Bài giảng

Discrrete mathematics for computer science 11uncountable

14 83 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 14
Dung lượng 262,96 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

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 1

Uncountable Sets

Trang 2

Countably 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 3

Infinite 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 5

Countably Infinite

Sets

::= {finite bit strings}

… is countably infinite

Proof: List strings shortest to longest, and alphabetically

within strings of the same

length

Trang 6

Countably 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 7

Uncountably Infinite Sets

Claim: ::= { ∞ -bit

strings}

is uncountable

What about infinitely long bit strings? Like infinite

decimal fractions but with bits

Trang 8

Diagonal 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 9

Diagonal 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 10

So cannot be listed:

this diagonal

sequence

will be missing

…differs from every row!

Diagonal Arguments

Suppose

0

0

0

0 1

1

Trang 11

Cantor’s Theorem

For every set, A

(finite or infinite) ,

there is no bijection A↔P(A)

Trang 12

There 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 13

There 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 14

So P(N) is uncountable

P(N)

= set of subsets of N

↔ {0,1} ω

↔ infinite “binary decimals”

representing reals in the range 0 1

Ngày đăng: 22/03/2019, 10:49