100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Lecture Notes on Comparing Sets (COMP11120) $6.20   Add to cart

Class notes

Lecture Notes on Comparing Sets (COMP11120)

 7 views  0 purchase
  • Course
  • Institution

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 comparin...

[Show more]

Preview 1 out of 1  pages

  • May 30, 2024
  • 1
  • 2023/2024
  • Class notes
  • Andrea schalk
  • Comparing sets
  • Unknown
avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller jpxoi. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $6.20. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75391 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$6.20
  • (0)
  Add to cart