Artificial Examples and Sets

Problem 1: Corners

Artificial examples are a particularly useful device for exploring the corner cases of a mathematical definition. While our intuition allows us to explain the "common" scenarios, we sometimes do not have real-world examples that exercise corner cases. Furthermore, sometimes the corner cases behave precisely again our intuition, leading us to make incorrect assumptions about what a mathematical definition says.

In contrast, artificial examples allow us to create situations that are small enough to analyze directly using the definitions involved so that we can obtain a crisp, definitions-based understanding of what is going on. In short, we create small sets built from abstract values, e.g., , , and , and then "run" our definitions on these sets and then observe the results. Ideally, the examples are constructed in such a way that we isolate our predicted behavior, so the example directly explains the situation. In programming, the analogy here is a minimally reproducing example or a "repro" that isolates buggy behavior in a program and is unlikely to produce other effects that might make analysis unnecessarily complicated.

For each of the following (intentionally vague) questions about the fundamental definitions of sets:

  • Create one or more artificial examples that help you answer the question.
  • Answer the question by generalizing your observations from your artificial examples. Explain your reasoning in a few sentences.
  1. Is the following claim always true?

    Claim: for any sets and , .

    (Recall that is the size of , i.e., the number of elements it contains.)

  2. Is the empty set, , the subset of any set? What about itself?

  3. When performing subtraction over numbers, we obtain negative numbers. We have set subtraction, . Is there a resulting "negative" set we can obtain from set subtraction?

  4. When performing multiplication of numbers, we know that multiplying any number by zero results in zero. The Cartesian Product, , seems to behave similarly to numeric multiplication. Is there an analogous set in set theory for Cartesian Product?

  5. Set subtraction and Cartesian Product are analogous to arithmetic subtraction and multiplication, respectively. Is there an arithmetic analog to the power set operation, ? If so, what is it? In particular, what is ?

Problem 2: Trickiness

Artificial examples are also useful for gaining intuition about tricky definitions. Here is an example of such a definition:

Definition (Partition)

A partition of a set is a pair of subsets, and , of that obeys the following properties:

  1. .
  2. .
  1. Give an artificial example of a partition.
  2. Instantiate that artificial example to a real-world example. Use real-world objects in place of your abstract values. Try to choose a real-world domain where your intuitive notion of a "partition" would be relevant.
  3. Using your examples as a guide, describe at a high-level what each of the two conditions of a partition is saying in a sentence or two each.

Problem 3: The Other Side

In a previous reading exercise, we proved the left-to-right direction of De Morgan's Law. Go ahead and prove the right-to-left direction to demonstrate equivalence of the two set expressions.

Claim

.

Problem 4: Pivoting to New Things

Now let's consider a proposition about this definition.

Claim (Pivots Determine Partitions)

Let . Define as follows:

  • .
  • .

and form a partition of where is its pivot.

  1. Give an artificial example of a set .
  2. Identify a pivot element drawn from and list the contents of and for that choice of pivot.
  3. Explain in a sentence or two why your concrete sets and form a partition according to this definition.

Now, to prove this claim, we must show that for an arbitrary set and choice of pivot that:

  • .
  • .

(Note that our claim states that and are a partition for the power set of , not necessarily itself.) We'll focus on the second proposition for this lab. Recall that, as a set equality, the proposition really consists of two subset proofs due to double inclusion:

  • , the left-to-right or "if" direction.
  • , the right-to-left or "only if" direction.

You will prove the left-to-right direction in the demonstration exercise for this week. As a warm-up for this, you will now prove the right-to-left direction to wrap up this lab!

Lemma (Left-to-right Direction)

This proof is a bit trickier than the other ones we've seen so far, primarily because of . Here are some hints to help guide your proof development:

  • For this set inclusion proof, note that the only thing you can conclude from your initial premise that is that . To make progress you need to perform case analysis on the fact that the pivot is either in or it is not in . From there, you can choose which of or ought to be a member of and then proceed forward.

  • Note that since is a set, it'll be difficult to reason about 's relationship to and . To work around this, recall the definition of subset: . At this point in the proof you should consider an arbitrary and try to show that is also in or . This will then imply that is a subset of the appropriate partition since the was arbitrary!

Problem 5: Double the Practice Makes Perfect (Optional)

Formally prove the following standard identities of sets. Recall that to prove a set equality, you must prove both directions of the equality.

  1. (Absorption)
  2. (Distribution of Difference) .