Chapter 3Elementary Discrete Mathslides.en.pdf:148
Set Representations
Four ways to write a set down
Def 1.1 — Representations of Sets
Concept
A set is a collection of distinct objects. There are four common ways to
write one down:
- Enumeration (explicit list):
- Characteristic function: if , else
- Set-builder / comprehension: — "the set of all with property "
- Recursive definition:
We assume we can write down any set — this is the (controversial) axiom
of comprehension: every set we can describe exists. (Naïve set theory ignores
the Russell paradox.)
The elements of a set are unordered and unique: .
Animation — set ops venn
Transcript — click a line to jump7 cues
- 0.0sVenn Diagrams
- 1.2sCircle A appears in cyan, circle B in amber, they overlap
- 3.4sFour region labels: A cap B, A cup B, A minus B, B minus A
- 6.5sThe two-circle diagram slides left to make room
- 7.4sA green circle C joins the picture
- 9.2sA violet highlight marks the A cap B cap C region
- 11.2sVenn diagrams visualise set operations on a universe
Binding expressions
Some expressions introduce new variables that range over a domain:
- Universal quantification — ' holds for every '.
- Existential quantification — 'there exists an such that '.
- Function definition — ' of is defined as '.
The introduced variable is bound by its binder (). The scope of the binding is the smallest enclosing formula. A variable occurrence is free if it is not bound.
Examples:
- — bound by , holds for every number.
- — bound by , exists.
- — bound by the integral sign.
Renaming bound variables preserves meaning: .
Practice — score 100% to advance
Multiple choice
Q1
Which is NOT a valid set representation?
Q2
How many representations of a set are commonly used?
Q3
?
Q4
The axiom of comprehension says…
Q5
Recursive definition: . This relies on…
Q6
In , the variable is:
Fill in the blank
Q1
A variable occurrence that is not bound by any enclosing binder is ___.
Loading…