100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

Lecture Notes on Comparing Sets (COMP11120)

Rating
-
Sold
-
Pages
1
Uploaded on
30-05-2024
Written in
2023/2024

Enhance your understanding of set theory with these detailed lecture notes for COMP11120, focusing on comparing sets. Covering key topics such as set equality, subset relations, and power sets, these notes provide clear explanations and practical examples to help you master the concepts of comparing sets. Perfect for students taking COMP11120 or those interested in deepening their knowledge of set theory, these notes are well-organized and concise, making complex concepts easy to understand. Elevate your learning and excel in your coursework with this invaluable resource!

Show more Read less








Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
May 30, 2024
Number of pages
1
Written in
2023/2024
Type
Lecture notes
Professor(s)
Andrea schalk
Contains
Comparing sets

Content preview

Comparing Sets

Definition : Size of set S is less than or equal to size of set T Definition : A set S is infinite iff there is SES
iff there is an injection from S to
T




.
and f : > S'
5- is injective .




Example : IN and Example :
I is infinite



I # Let S =
1 and S =
2 (o]
: !

3 > 3 I I > I <03
2 2 : M
>




S
N + 1 X20
1 > 1 3n XI "
x else
O > O 2

-
1 1 -




O
fiN > 2
-

-




2 +- 7
-
3 -

1 ?

25
-




:

-


3?




Definition : Two sets S andT have the same size Proposition : A set S is infinite iff there is
f : S <S that is injective and


iff size of S size
of T not surjective.

and size of T & Size
of S




Example : IN and Proposition If : a set S is infinite ,
it is at least as big as IN.

IN is minimal infinite set !

I # I

: ! : know have fi5 >
-
S ,
f is injective , not surjective.
M >
4 : 4 Have seS such that Use S .
fs' = S

3 > 3 93

2 2 : 2
Prove: Want > S
IN- injective
>
is
9 g
:
,

1 > 1 1

O
f
O O
> > x1 Let n
,
m E IN

1
f IN OI S
f fm
-


>
gn gm
- > =
=
: =




fin I 2 11 fs
-



>
- 7




227 fine) fig)
-
3 ~ =O 2
2 +- 7 = 21 7
fs
1 Els &
-

2x -




:
f is injective


Note : Much easier to establish sets have the same size than show there is a W



bijection num >
from = S


- n -
m = 0


>
- n = m




Definition : A set is countable iff its size is at most that of IN

A set is uncountable iff it is not countable
Proposition :
If the size of S is at least the size of IN , then S is infinite.

A set is countably infinite iff it is countable and infinite . Our notion of size , infinity makes sense




Why are these notions important for computer science ?

Set of programs in
your favorite language > Countable
Examples
Set of functions from IN to IN
>
Uncountable
Countable Uncountable
·
N . . Q ·
R ·
SF : IN <
Ny
·
Powerset of IN
£4.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
jpxoi

Also available in package deal

Thumbnail
Package deal
Complete Semester 2 Lecture Notes Bundle
-
8 2024
£ 49.92 More info

Get to know the seller

Seller avatar
jpxoi The University of Manchester
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
20
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions