Docsity

Set Theory: Proofs Involving Nested Quantifiers and Cartesian Products - Prof. Margaret M., Study notes of Discrete Structures and Graph Theory

Toggle sidebar
bg1
Finish Set Theory
Nested Quantifiers
Margaret M. Fleck
22 Sept 2008
This lecture does a final couple examples of set theory proofs. It then fills
in material on quantifiers, especially nested ones, from sections 1.3 and 1.4.
1 Announcements
First midterm is a week from Wednesday (1 October) in class. Please tell me
ASAP about any conflicts. Spec sheet shoud be coming out late this week.
Schedule preview:
•today: finish set theory, nested quantifiers
•Wed and Fri: functions (Rosen 2.3)
•next Monday: the rationals vs. the reals in lecture, exam review in
discussion sections
2 A set theory proof with cartesian products
Last Friday, we saw several proofs of identities from set theory. The key step
in many of these proofs involved showing that a set Awas a subset of a set
Bby picking a random element from Aand showing that it must be in B.
Here’s another claim of the same type
Claim 1 For any sets A,B,C, and D, if A⊆Band C⊆D, then A×C⊆
B×D.
1
pf3
pf4
pf5

Partial preview of the text

Download Set Theory: Proofs Involving Nested Quantifiers and Cartesian Products - Prof. Margaret M. and more Study notes Discrete Structures and Graph Theory in PDF only on Docsity!

Finish Set Theory

Nested Quantifiers

Margaret M. Fleck

22 Sept 2008

This lecture does a final couple examples of set theory proofs. It then fills in material on quantifiers, especially nested ones, from sections 1.3 and 1.4.

1 Announcements

First midterm is a week from Wednesday (1 October) in class. Please tell me ASAP about any conflicts. Spec sheet shoud be coming out late this week. Schedule preview:

  • today: finish set theory, nested quantifiers
  • Wed and Fri: functions (Rosen 2.3)
  • next Monday: the rationals vs. the reals in lecture, exam review in discussion sections

2 A set theory proof with cartesian products

Last Friday, we saw several proofs of identities from set theory. The key step in many of these proofs involved showing that a set A was a subset of a set B by picking a random element from A and showing that it must be in B. Here’s another claim of the same type

Claim 1 For any sets A, B, C, and D, if A ⊆ B and C ⊆ D, then A × C ⊆ B × D.

To start, let’s pick some sets (assuming nothing special about them) and assume that all the hypotheses of the claim are true.

Proof draft 1: Suppose that A, B, C, and D such that if A ⊆ B and C ⊆ D. We need to show that A × C ⊆ B × D.

In order to move forwards, we need to realize that A × C ⊆ B × D can be translated into an if/then statement. If w ∈ A × C then w ∈ B × D. So proving this means that we do another step of assuming the hypothesis and saying we need to prove the conclusion.

Proof draft 2: Suppose that A, B, C, and D such that if A ⊆ B and C ⊆ D. We need to show that A × C ⊆ B × D. So suppose that w is an element of A × C. We need to show that w ∈ B × D.

We saw something like this last Friday. But what type of thing is w this time? It’s a member of A × C, so it must be an ordered pair. To manipulate an ordered pair, we often have to name its two components, e.g. (x, y).

Proof: Suppose that A, B, C, and D such that if A ⊆ B and C ⊆ D. We need to show that A × C ⊆ B × D. So suppose that w is an element of A × C. We need to show that w ∈ B × D. Since w is an element of A × C, we can write it as w = (x, y) where x ∈ A and y ∈ C (by the definition of Cartesian product). Since x ∈ A and A ⊆ B, x ∈ B. Since y ∈ C and C ⊆ D, y ∈ D. So, using the definition of Cartesian product again, (x, y) ∈ B × D. That is, w ∈ B × D. We’ve shown that any element of A×C is also an element of B×D. By the definition of subset, this means that A × C ⊆ B × D.

4 Quantifier scope

Before we move onto functions, we need to digress a bit and fill in some facts about quantifiers. As an example, I claim that P(A∪B) is not (always) equal to P(A)∪P(B). We can disprove this claim with a concrete counter-example. Suppose that A = {x, y} and B = {y, z}. Then {x, y, z} is in P(A ∪ B) = P({x, y, z}). But it’s not in P(A) = {∅, {x}, {y}, {x, y}}, nor in P(B) = {∅, {z}, {y}, {z, y}}. Let’s look at this using quantifiers. Suppose that X is some set. X ∈ P(A) if X ⊆ A i.e. ∀x ∈ X, x ∈ A. So X ∈ P(A) ∪ P(B) if

(∀x ∈ X, x ∈ A) ∨ (∀y ∈ X, y ∈ B)

A quantifier is said to bind its variable. And the scope of that binding is the portion of equations and/or text during which that binding is supposed to be in force. In this example, the scope of the binding of x is he first half of the statement and the scope of the binding of y is the second half.^1 A more sloppy or distracted author might write this with two copies of the variable x.

(∀x ∈ X, x ∈ A) ∨ (∀x ∈ X, x ∈ B) This actually means the same thing. There’s two different bindings for x, once of which lasts (“has scope”) for the first half of the statement and one of which has scope over the second half. Sometimes you have to look carefully at parentheses to figure out how long the author intended a variable binding to last. Now, let’s look at X ∈ P(A ∪ B). This is the case if

∀x ∈ X, x ∈ A ∨ x ∈ B

This time, there’s only one variable binding. The two versions don’t mean the same thing. The statement ∀x ∈ X, x ∈ A ∨ x ∈ B requires that every x belong to one of the two sets. The statement (∀x ∈ X, x ∈ A) ∨ (∀y ∈ X, y ∈ B) requires that either all the values satisfy a more restrictive condition (belonging to A) or that all the values satisfy a second more restrictive condition (belonging to B).

(^1) In principle, the binding of x might also extend to the second half as well, but this wouldn’t change the meaning since the variable x doesn’t occur in the second half of the statement.

5 Nested quantifiers

The more interesting cases arise when we set up two quantified variables and then use a predicate that refers to both variables at once. These are called nested quantifiers. For example,

For every person p in the Fleck family, there is a toothbrush t such that p brushes their teeth with t.

This sentence asks you to consider some random Fleck. Then, given that choice, it asserts that they have a toothbrush. The toothbrush is chosen after we’ve picked the person, so the choice of toothbrush can depend on the choice of person. This doesn’t absolutely force everyone to pick their own toothbrush. (For a brief period, two of my sons were using the same one because they got confused.) However, at least this statement is consistent with each person having their own toothbrush. Suppose now that we swap the order of the quantifiers, to get

There is a toothbrush t, such that for every person p in the Fleck family, p brushes their teeth with t.

In this case, we’re asked to choose a toothbrush t first. Then we’re as- serting that every Fleck uses this one fixed toothbrush t. Eeeuw! When you try to understand or prove a statement with nested quantifiers, think of making a sequence of choices for the values, one after another. Notice that a statement with multiple quantifiers is only difficult to un- derstand when it contains a mixture of existential and universal quantifiers. If all the quantifiers are existential, or if all the quantifiers are universal, the order doesn’t matter and the meaning is usually what you’d think.

6 Nested quantifiers in mathmatics

Suppose that S is a set of real numbers, then a real number x is called an upper bound for S if

∀y ∈ S, y ≤ x For example, 2.5 is an upper bound for the set A = {− 3 , 1. 5 , 2 }. So is 2. So is 3.14159.