User:IssaRice/Conjunction of subset statements versus Cartesian product subset statement

From Machinelearning

This is an exercise from Tao's Analysis I (exercise 3.5.6) and from Munkres's Topology (exercise 1.1.2(k)–(l)). It is an exercise that makes apparent some of the subtleties of the basic logic used in math.

The exercise is to consider the sets and the two statements:

  1. and ; and
  2. ;

and to ask whether one implies the other (or whether the two statements are equivalent).

Relationship between the statements

In general, (1) implies (2). In other words, if and , then .

If and are nonempty sets, then (1) and (2) are logically equivalent. In other words, and if and only if .

If and are both empty, then (1) and (2) are logically equivalent; in fact, they are both true.

Each statement written out in first-order logic

Erroneous general proof

Here is an erroneous general proof that (2) implies (1).

"Proof". Suppose . We want to show that and . Let and . Then . Since by assumption, this means . Thus and . Since and were arbitrary, this shows that and as desired.

Exercise. Identify the error(s) in the proof. Specifically, state the first incorrect step.

Expand to see solution:

We want to show two things, and . To simplify things, let's just focus on showing . How did we go about this? We let and , and eventually showed that . While the reasoning until here is valid, the problem is that this does not allow us to conclude that , which is . What we have instead shown is . But there is no way to show that this is equivalent to what we actually want.

But if is non-empty, then instead of saying "let " we can instead at the very beginning of the proof say, "since is non-empty, there exists some ". Then we can go through the rest of the proof to conclude , which is what we wanted to show. This argument also shows that in order to prove , it is the non-emptiness of specifically that we needed.

Now going back to the erroneous proof, what we showed overall was . But this is just the statement that , so we didn't actually prove anything new!

Counterexample

Here is a counterexample that shows that in general, (2) does not imply (1). Let , , , and . Then

but

Thus (2) is true but (1) is false.