Mathematical Techniques for Computer Science (COMP11120)
Class notes
Lecture Notes on Comparing Sets (COMP11120)
8 views 0 purchase
Course
Mathematical Techniques for Computer Science (COMP11120)
Institution
The University Of Manchester (UOM)
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...
Mathematical Techniques for Computer Science (COMP11120)
All documents for this subject (9)
Seller
Follow
jpxoi
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
:
,
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
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 $5.83. You're not tied to anything after your purchase.