Section 1.1 said what sets are, when two of them are
equal, and when one lies inside another. It gave us ways
to describe a single set, by listing or by a property
cut out of an ambient set. This section makes new sets
from old ones. Each connective of Logic and
Proof, Chapter 1 gives a set operation: “or” gives
the union, “and” gives the intersection, “and not” gives
the difference. That observation is the thesis of the
chapter: the laws of sets are the laws of logic,
read through membership. We state it, prove the
standard laws of set algebra from it, and then take the
step analysis needs constantly, from two sets to a whole
family of them, where “or” becomes “there exists” and
“and” becomes “for all”.
Union,
intersection and difference
Here is the standard example of a new set. Let be the set of integers
divisible by and
the set of
integers divisible by . Three natural
questions about an integer are: is it divisible by
or by ? by and by
? by and
not by ?
Each question collects integers into a set, and each set
is built from and
by one connective
applied to the statements and . The pattern does not depend on divisibility
at all, so we name the three constructions once, for any
sets.
The union collects what lies in either set, the
intersection what lies in both, the difference what lies
in the first and not the second.
Definition
1.2.1 (Union, Intersection, Difference)
Let and be sets.
- (a) The
union is the set whose elements are exactly
the objects lying in or in
: .
- (b) The
intersection is the set :
so .
- (c) The
difference is the set
: so .
Sets and are
disjoint if . If
, the
difference is called the complement of in .
In words, clause by clause. The union exists by the
working rule (W3) of Section 1.1; it is not cut out of
an ambient set, since its elements come from two sets at
once. The intersection and the difference
are cut out of an ambient set, namely
, so they exist by
specification (W1), and the description
names its ambient set as Section 1.1 requires. The “or”
of the union is inclusive, as always is: an object
in both sets is in the union. “Disjoint” means “no
common element”.
The complement is always written , with the
ambient set
named. Many books write and leave to the reader, and a
reader who guesses wrongly gets a
different set: the complement of in is , and in it is . There is no “complement of ” on its own: by
Russell’s theorem (Theorem 1.1.4)
there is no set of everything outside (such a set, joined
with , would
contain every set). So this book never writes .
Examples, simplest first, each checked against the
membership conditions.
- Finite sets. For and : , , , . For instance
because and
; and
because .
- Intervals. For and : , , .
The last one shows how an endpoint behaves: , so ,
while every with
lies
in and not in
.
- Divisibility. With and the multiples of and of in , as in the opening,
is the set
of multiples of
(this uses the school fact that an integer divisible by
and by is divisible by ), and is the
set of odd integers, the complement of in .
- Degenerate cases. For every set
: ,
, , and . Each is one line: for example, would
mean and
, which
is impossible, so has no element. They matter because
behaves
for as does for , and for as does for .
Three inclusions hold for all sets and are used
without comment from now on: Each is one element-chase that drops or adds a
disjunct or a conjunct: if , then (); if
, then (); if
, then ().
A nonexample by minimal change: the “difference” of
two sets is not “everything in one but
not in both”. The set is a different set: for and it is , while .
The element is in
the first and not in , because the difference keeps only
elements of .
Warning. The difference is
not symmetric. In general . With and , and , and the witness lies in the first and
not the second. In fact and are always disjoint, since an
element of both would lie in and not in ; they are equal only
when both are empty, that is, when .
Quick check. Let ,
,
and . Compute , , , and .
Solution. and . Then . Also and , whose intersection is . The last two
answers agree. This is the two-set case of De Morgan’s
law for sets, which is proved for arbitrary families
later in this section.
Laws of
sets are laws of logic
Unwinding the three definitions turns every question
about , , and into a question
about , , and . Here is the
dictionary, with the notions of Section 1.1
included.
|
|
|
|
|
|
|
|
and
|
|
|
under
|
|
|
under |
|
|
under |
The dictionary makes an idea precise. Fix an object
and write , , for the statements
, , . Then membership
of in any set
built from , , by , , is a
propositional formula in , , : for instance, Two such sets are equal if their membership
formulas can each be derived from the other, for then
lies in one
exactly when it lies in the other, and was arbitrary. So a law
of propositional logic, with letters replaced by
membership statements, is a law of sets. That is the
thesis of this chapter.
The laws of sets are the laws of logic, read
through membership.
Here are the laws used most.
Theorem
1.2.1 (Algebra of Sets)
For all sets ,
, and :
- (a) (commutativity)
and ;
- (b) (associativity)
and ;
- (c) (distributivity)
and ;
- (d) (differences)
and .
Idea. Each law is a propositional
equivalence under . Logic and Proof, Chapter 4 gives a
uniform license for all of them at once: an equivalence
that holds in every row of a truth table is derivable in
both directions, by completeness, and a derived sequent
may be used with its letters replaced by any statements.
So one argument covers every law, and the table after
the proof names, for each law, the equivalence it comes
from. We also write out two laws in full, as
element-chases, so that the reader sees what the uniform
argument does: the first distributive law, and the
second difference law, the one law whose element-chase
needs a classical rule (the uniform argument uses one
for every law, inside the proof of Logic and Proof, Theorem 4.8.4).
Proof. The uniform
argument. Fix one of the eight equations, , and let and be the propositional
formulas in the atoms that describe membership in and in , as in the dictionary:
for the first distributive law, and . For (a)–(c), the
semantic equivalence is a clause of Logic and Proof, Proposition 4.5.1,
with in the
places of : (f) for (a), (h) for (b), (g) for (c).
For (d), it is checked by the truth table displayed
below. By Logic and Proof, Definition 4.5.4,
and , so by Logic and Proof, Theorem 4.8.4,
and . Now let be arbitrary. By Logic and Proof, Definition 2.3.1,
each of these two sequents may be used with , , replaced by the
statements ,
, ; with Definition 1.2.1,
the first gives and the second .
Hence , and since was arbitrary, by Definition 1.1.1.
The truth table for (d), with the atoms in the book’s
order (T before F, the last atom alternating fastest):
The fourth and fifth columns agree in every
row, and so do the sixth and seventh. This proves all
eight laws.
The first distributive law, in full. Let .
Then and
,
that is,
and ( or
). By Logic and Proof, Proposition 1.6.1,
with , , replaced by , , , we get ( and ) or ( and ); that is, or , so . The same
chain read backwards, using the second sequent of Logic and Proof, Proposition 1.6.1.
By Proposition 1.1.1
the two sets are equal.
The second difference law, in full. Let . Then and . By Logic and Proof, Proposition 2.5.5
(d), or
[, inside
(d)]. So
and ( or
), and by
Logic and Proof, Proposition 1.6.1,
( and ) or ( and ); that is,
. Let . By the second sequent of Logic and Proof, Proposition 1.6.1,
and ( or ). By Logic and Proof, Proposition 2.5.5
(c), , so , and . By Proposition 1.1.1
the two sets are equal.
Each law is a propositional equivalence, and the
table records where each comes from: the clause of Logic and Proof, Proposition 4.5.1,
and the derivations of Logic and Proof,
Chapters 1 and 2, where they exist, that prove one or
both directions directly.
|
(f) |
Logic and Proof, Proposition 1.2.1
(either direction, letters exchanged) |
|
(f) |
Logic and Proof, Example (First derivations with “or”)
(likewise) |
|
(h) |
Logic and Proof, Proposition 1.2.2
(left to right) |
|
(h) |
Logic and Proof, Example (Regrouping a disjunction)
(right to left) |
|
(g) |
Logic and Proof, Proposition 1.6.1
(both directions) |
|
(g) |
none in the text (both directions are exercises in
Logic and Proof, Chapters 1 and 2) |
|
(b), then regrouping of |
Logic and Proof, Proposition 2.5.5
(a), (b) |
|
(b), then (g) |
Logic and Proof, Proposition 2.5.5
(c), (d); Logic and Proof, Proposition 1.6.1 |
The two difference laws look alike, but their
element-chases are not alike. The first needs De
Morgan’s laws (a) and (b), which Logic and
Proof, Section 2.5 derives without , followed
by regrouping the conjunction into , which takes only and
. The second needs De Morgan (d) in its direction,
and (d) is the one of the four De Morgan laws that
Logic and Proof, Section 2.5 derives with ; its direction
uses (c), derived without it. Knowing that is not in both and does not by itself tell
us which of the two it misses; De Morgan (d) supplies
the answer “one of them”, and it is the classical rule
that supplies it.
The laws let us calculate with sets as with numbers,
but more symmetrically: each of and distributes over the
other, whereas distributes over
and not
conversely. They also let us drop brackets: by
associativity, and are unambiguous.
Solution. Membership in the left
side is , and in the right side . The equivalence holds in all four rows: if is true, both sides are
true; if is
false, both are false. It is not one of the clauses of
Logic and Proof, Proposition 4.5.1,
so the uniform argument applies with a two-atom truth
table instead of a clause. (Directly: is ;
is
followed by .) This is one of the absorption laws.
Power
sets
The operations so far build sets whose elements are
elements of the old sets. The next construction collects
sets as elements. Many questions of
analysis quantify over subsets: “every non-empty set of
reals that is bounded above has a supremum” is a
statement about all subsets of . So the subsets of a
set deserve to be collected into one set.
Definition
1.2.2 (Power Set)
Let be a set.
The power set of is the set whose
elements are exactly the subsets of :
The set exists by the working rule (W4) of Section
1.1. Its elements are sets, and “” is
just another way of writing “”. Two
elements are always present: , because the empty set is a subset
of every set, and , because .
Example
(Small power sets)
Compute ,
,
and .
Solution. . The only subset of is itself: if
, then an element of would be an element of
, so has no elements, and
by Proposition 1.1.3.
And . So has
exactly one element, . It is
not empty: the empty set has one
subset.
. Let . Either or
(excluded middle, Logic and Proof, Proposition 2.5.3).
If ,
then and have the
same elements (
has no element other than , since ), so . If
,
then has no
elements, so . Conversely, both and are subsets
of .
. Let
. A subset of is determined by
which of and
it contains, by
Definition 1.1.1,
and for each of the two there are two cases, or , and or . The four
combinations give , , , . All four are
subsets of . So has
exactly four elements.
In each case the number of subsets is a power of two:
, , , for sets with , , elements, because each
element is independently in or out. That a set with
elements has
exactly subsets
is proved in Chapter 3, where counting is made exact.
The name “power set” comes from this count.
Warning. The elements of
are
subsets, not elements, of . For : but ,
since is a
number, not a subset; whereas
and .
The correct translations are , and .
Families of
sets
Analysis rarely stops at two or three sets. It
intersects all the intervals with , or all the
closed sets containing a given set, or all the subsets
of with some
property. We need unions and intersections of many sets
at once, and first a way to name “many sets at
once”.
Definition
1.2.3 (Indexed Family)
Let be a set.
A family of sets indexed by , written , assigns
to each a set . The set is the index
set, and is the
member of the family with index . If is a set with for every
, we speak
of a family of subsets of .
Here “assigns” is used in its everyday sense. Section
1.4 makes it exact for a family of subsets of a set
: such a family is
a function , , whose value at is written . The parentheses
follow the book’s rule that ordered or indexed things go
in parentheses; the family knows
which set has which index, and two indices may carry the
same set. Examples: for the family is just a pair of sets
; for and it is a
family of intervals, one for each positive real ; for it is a sequence
of sets (indexed from ; the sequences of real
numbers in Section 1.4 are indexed from ), which Chapter 2
treats as a sequence defined by recursion and Chapter 3
uses to form countable unions.
“Or” becomes “for some index”, and “and” becomes “for
every index”.
The union of a family collects what lies in at
least one member; the intersection collects what lies in
every member.
Definition
1.2.4 (Union and Intersection of a
Family)
Let be a family of sets.
- (a) The
union is
the set whose elements are exactly the objects lying in
for
some :
- (b) If is a
family of subsets of a set , the
intersection is
For a set
whose elements are sets, ; and for a
non-empty set , . In both, the family is indexed by
itself, the
member with index
being .
In words, clause by clause. The union exists by (W3),
like the union of two sets; when all , it may
also be written , since then
every element of the union lies in , and this form names
its ambient set as Section 1.1 requires. The
intersection is cut out of by specification. The
last sentence covers sets of sets that come with no
index:
is the set of objects lying in every set that belongs to
. For example,
Analysis on the Real Line, Chapter 1 defines
inside as , where is the set of all
subsets of that
contain and are
closed under ; is
non-empty because itself belongs to
it.
With two sets the new definitions give the old ones
back. For , “ with ” says “ or ”, since an is or ; so , and likewise . The dictionary gains two rows:
|
|
|
| , for |
|
|
Why the intersection is taken inside . The ambient
set is not decoration; it is forced by the case . If is empty, the condition
is vacuously true for
every object :
there is no index at which it could fail (Logic and
Proof, Chapter 5, vacuous truth for ). A definition
without an ambient set, “
all with ”, would then describe the set of all
objects, which Theorem 1.1.4
forbids. Inside ,
the empty intersection is simply : The union needs no ambient set, because its
condition is false for every ; the empty union is
empty. For a non-empty index set the
choice of does
not matter: if some exists and lies in every , then in particular
, so the condition “” adds nothing.
Only the empty family sees , and there it must.
This is also why above asks to be non-empty: a
set of sets with no index carries no ambient set with
it.
The
smallest set closed under some steps
One use of the intersection pays a debt to Logic
and Proof, Chapter 4. There, the formulas were
described as the smallest collection of strings closed
under (F1)–(F3) of Logic and Proof, Definition 4.1.1:
the collection that contains the atoms and and is closed under
the building steps (F2) and (F3). What does “smallest”
mean, and why does such a collection exist?
Intersections answer both questions, in any setting of
this kind.
Let be a set,
and consider some starting elements of
and some
steps, each of which turns elements of
into an element
of . Call a subset
closed if it contains the starting
elements and, whenever a step is applied to elements of
, the result lies
in .
Proposition
1.2.2 (Smallest Closed Set)
Let be a set
with given starting elements and steps, and let be the set of closed subsets of
. Then is non-empty, and
is closed and lies inside every closed set:
is the
smallest closed subset of .
Idea. An element of is an object lying in
every closed set. So lies inside each closed
set by its very definition, and each requirement of
being closed, met by every closed set at once, is met by
what they have in common.
Proof. The set is non-empty, since
itself is closed;
so is
defined (Definition 1.2.4).
- lies
inside every closed set. If and , then lies in every member of
, in particular
in .
- is
closed. Each starting element lies in every
, hence in
. If a step is
applied to elements of , those elements lie in
every ;
since each such
is closed, the result lies in every , hence in .
This proves the proposition.
For Logic and Proof, Chapter 4, is the set of all
strings of symbols, the starting elements are the atoms
and , and the
steps are (F2) and (F3) of Logic and Proof, Definition 4.1.1;
is then the set
of formulas. (That this consists exactly of the
strings with a formation sequence, as clause (F4) says,
follows by strong induction along a formation sequence,
Logic and Proof, Theorem 4.2.2;
we do not need it here.) For Analysis on the Real
Line, Chapter 1, , the starting element is , the step is , and
is , the set Analysis
on the Real Line, Chapter 1 works with.
Worked
examples with a real parameter
Families indexed by an interval of real numbers are
the ones analysis meets most. In each example we guess
the answer, then prove it by two inclusions; the union
needs a witness index for each point,
and the intersection needs, for each point outside the
answer, an index whose member excludes
it.
Example
(Unions and intersections of intervals)
Show that:
- (a) ;
- (b) , inside ;
- (c) , inside .
Solution.
- (a) Let . Then there is with ; choose such a . So , and
.
Let
. We
need an index with . Take . Then , so ; and , so
. Hence
lies in the
union. (The witness depends on , which is allowed: the
union asks for some index for each
point.)
- (b) For every
, , so
.
Since was
arbitrary, lies
in the intersection.
Let
lie in the
intersection. For a real number, or or , and we argue by
cases. If
or , then
, so
is an index, and would give
(since is or ), which is
false; this contradicts the assumption that lies in every member,
so these cases cannot occur. In the remaining case , and . The index
depends
on the point it
excludes.
- (c) Let lie in the
intersection. With the index , , so . Then is itself an index, and
would
give ,
which is false. So nothing lies in the intersection, and
it is empty.
Part (c) is a degenerate case worth remembering. Each
interval is
non-empty, and the intervals are
nested: whenever . Yet nothing lies
in all of them. Analysis on the Real Line,
Chapter 1 meets the same phenomenon with a sequence of
intervals, and it is why its nested interval theorem
needs closed intervals.
A nonexample by minimal change. Close the left
endpoint of (c): . The number now lies in every
member, since ; and any is excluded as before (if , by ; if , by ). One endpoint
changes the answer from to , and the element
that (c) loses is exactly the endpoint .
Quick check. Compute and , inside .
Solution. The union is : each
since , and
is itself a
member (). The
intersection is : for every , and is itself a member
(). In
general, when the members are nested and there is a
largest and a smallest member, the union is the largest
and the intersection the smallest.
De Morgan’s
laws for families
The laws of set algebra have versions for families,
and the most used are De Morgan’s laws: the complement
of a union is the intersection of the complements, and
the complement of an intersection is the union of the
complements. In analysis they convert statements about
open sets into statements about closed sets, and back.
By the dictionary, they should be the quantifier
negation laws of Logic and Proof, Chapter 6,
read through membership: “not in some ” is “outside every
”, and “not in
every ” is
“outside some ”.
Theorem
1.2.3 (De Morgan’s Laws for Families)
Let be a set
and
a family of subsets of , with any index set
, including . Then
All intersections here are taken inside ; the family is again a family of subsets of , so both sides make
sense.
Idea. Unwind both sides of each law
through membership, for an element . In the first
law, the left side says , and the right side says . In the second, the left side says , and the right side says . So each law is a quantifier negation law,
and each inclusion is one of its directions. We write
the first law out rule by rule, since it is the
chapter’s model element-chase for families, and the
second at level 3, tagging only the step it is
about.
Before reading on: which law of Logic and
Proof, Chapter 6 turns “not in every ” into “outside some
”, and which of
its directions is classical?
Proof. First law. Let [ and
,
opening]. By Definition 1.2.1,
and [,
]. Let [F1, Proposition 6.1.1].
Suppose
[,
opening]. Then , with as the witness [], so
by Definition 1.2.4.
This contradicts []. Hence
[,
closing]. With , this gives [,
].
Since was
arbitrary, [,
closing]. With , this is by Definition 1.2.4.
Since was
arbitrary, the inclusion holds [, ,
closing].
Let
[ and
,
opening]. Then , and for every [,
]. Suppose [,
opening]. Then there is with ; choose such an index [,
opening, with the new name ]. Applying the
hypothesis at ,
[], so
[,
], which contradicts []. The
contradiction
does not mention , so it stands outside
the choice [,
closing]. Hence [,
closing], and with , [,
].
Since was
arbitrary, the inclusion holds [, ,
closing].
By Proposition 1.1.1,
the first law holds.
Second law. Let , so and . Then fails: if it held, then together with
it would
put in . By
the bounded quantifier negation law of Logic and
Proof, Chapter 6 ( gives , the bound kept), there is with [, inside
the quantifier negation law]. Choose such an index . Then , so , with as the witness.
Let
, and choose with . Then and . If were in ,
then
by the definition, applied at ; so , and .
By Proposition 1.1.1,
the second law holds. This proves the theorem.
The answer to the prompt: the bounded quantifier
negation law of Logic and Proof, Chapter 6
turns into , and that direction is classical
because it rests on the unbounded law , which needs . It is
used once, in the half of the
second law. The first law and the half of the
second use no classical rule: they are the directions of
quantifier negation that Logic and Proof,
Chapter 6 derives without . The
pattern is the one met in the difference laws of Theorem 1.2.1,
which are the case , , , (replacing and by and changes neither
side): “not in every member” does not by itself name the
member it misses.
The empty family. The theorem was
stated for every index set, and the conventions of Definition 1.2.4
are what make that true. For , the first
law reads , since the empty union is and the empty
intersection is ;
and the second reads , since the empty
intersection is
and the empty union is . Both are true.
Had the empty intersection been defined as anything
other than , the
laws would have needed the hypothesis .
Warning. De Morgan swapped
the wrong way. “The complement of a union is
the union of the complements” is false. Take , , . Then , but .
Complementing turns into and into , just as negation
turns into
and into ; nothing stays the
same.
Exercises
A. Check your
understanding
Exercise
(A1)
These parts are about Theorem 1.2.3
and its proof.
- (a) Which law of
Logic and Proof, Chapter 6 is used in the half of the
second law, and which of its directions is
classical?
- (b) Run the first
law on ,
, and
the set of
integer multiples of . Describe both sides in
words, and name two integers in each side and two
outside it.
- (c) What are the two
sides of each law when ?
- (d) Let . Translate into a statement with . What is the
correct translation if is not assumed?
Solution.
(a) The bounded
quantifier negation law of Logic and Proof,
Chapter 6: gives , with the bound kept. That
direction is classical: it rests on the unbounded law
, which needs
.
(b) The left side
is the set of integers divisible by
neither nor . The right side is the set of integers that are
odd and not multiples of . By the theorem they
are equal. For instance and (also , ) lie in both, and and (also ) lie in
neither.
(c) For , the empty
union is
and the empty intersection is . First law:
and . Second law:
and .
(d) By Definition 1.2.4,
means . For , its negation is
, which by the law of (a) is . Without , the negation of the conjunction is, by Logic and Proof, Proposition 2.5.5
(d), “ or
”: an object may fail to be in the
intersection simply because it is not in , since the intersection
is taken inside .
B. Practice
Exercise
(B1: Intersection and difference)
Prove that
for all sets ,
, , and name the
propositional equivalence behind it.
Solution. With for , , , the membership
conditions are and , and the equivalence behind the law is . Both
directions have short direct derivations, which the
element-chase follows.
Let
. Then , , and . So . If
were in ,
then , a
contradiction; so . Hence .
Let
. Then , , and . If were in , then, since , , a
contradiction; so . Hence , and .
By Proposition 1.1.1
the sets are equal. Both halves use and no
classical rule.
Exercise
(B2: Three families of intervals)
For each family, indexed by ,
compute the union and the intersection (inside ), and prove each
answer by two inclusions.
- (a) ;
- (b) ;
- (c) .
Solution.
(a) Union
.
If
for some ,
then . If , take : then .
Intersection . Let be any real number and
take . Then , so . So
no real number lies in every .
(b) Union
. Every is a set of reals.
Let
. If , take :
then , and , so . If , take : then and , so .
Intersection . For every
, . Let lie in every . If , take :
would
need ,
that is, .
If , take
:
would
need . Both cases are impossible, so the remaining
case of ,
, holds: .
(c) Union
.
If
for some ,
then .
If
, take
:
then and , so . Intersection . Already
two members are disjoint: and have no
common element, since and cannot both hold. An element of every would lie in
both.
In each union the witness depends on the point
. In the
intersections of (a) and (b) the index that excludes
depends on too; in (c) two fixed
disjoint members, and , already exclude
every . All of
these are allowed by the definitions.
Exercise
(B3: Canceling a union)
Give sets ,
, with and
. Then list
the properties that any correct answer must have, so
that a different answer can be checked against them.
Solution. Take , , . Then , and , with the witness , .
Properties of any answer. Call an element
odd one out if it lies in exactly one
of and .
- holds
exactly when there is at least one odd one out (by Definition 1.1.1;
getting such an element from uses the
classical direction of quantifier negation, Logic
and Proof, Chapter 6).
- holds exactly when every odd
one out lies in .
Indeed, if and , then but ; symmetrically for .
Conversely, if every odd one out lies in , then an element of
either
lies in , or lies
in and then, by
excluded middle on (Logic and Proof, Proposition 2.5.3),
in or in ; so it lies in , and
symmetrically.
So an answer is correct exactly when some element
lies in exactly one of , , and every such element
lies in . The
union with
“hides” the difference between and ; the lesson is that
cannot be
canceled.
C. Going deeper
Exercise
(C1: Power sets and operations)
Let and be sets.
- (a) Decide whether
can hold.
Then prove that every non-empty element
of lies in .
- (b) Show by an
example that can
fail. Then prove that it holds if and only if or .
Solution (Hint 1). In (a), test the
empty set against both sides. In (b), one inclusion
always holds; for the other, ask which subset of could fail to be
a subset of and
of .
Solution (Hint 2). For (b) , argue by
the contrapositive: if and , choose
and .
Solution.
- (a)
Never. , since is a subset of
every set. But as well, so . The empty set is a
witness for every
and .
Now let be non-empty, and choose . Since , we have . Since
, ; so is
an element of
outside , and
,
that is, . Hence .
- (b)
Failure. For , : , but is a subset of
neither nor , so .
One inclusion always holds. If , then
(Proposition 1.1.2),
so ; likewise for . So .
Suppose . Then (if , then or ; and ). Let . Then , so . With the inclusion above,
equality holds. The case is the same with and exchanged.
We
prove the contrapositive. Suppose that neither nor . By the
negation of (Exercise (A1)
(a) records it), there is with , and there is with ; choose such and . Let .
Then , so . But ,
because and
; and
,
because and
. So
, and the two sets differ. Two
steps here are classical: turning “” into a
witness uses the classical directions of quantifier
negation and of the law for negated implications
(Logic and Proof, Chapter 6; see Exercise (A1)
(a)), and concluding the implication from its
contrapositive is Logic and Proof, Proposition 2.5.2.
Marking scheme. (10 points) - 2: (a)
the empty set as the witness that the equality never
holds, with both memberships checked. - 2: (a) a
non-empty is shown to lie in and, via an
element outside ,
not in . - 1: (b) a
counterexample with the offending subset named. - 2: (b)
the inclusion
and the direction . - 3: (b)
:
witnesses and named, and shown to lie in
and in neither nor .
A direct proof also earns the 3: assume equality and
,
fix (1 point); for arbitrary , , and
because ,
so and , giving (2 points). Both routes also end
with a classical step: excluded middle on in the
direct route, the contrapositive in the book’s.
Fatal errors (0 for the step): in (a), testing only
non-empty subsets and concluding equality; in (b) , in the
contrapositive route, using one witness for both failures, or a
set such as
that lies in .
Exercise
(C2: Find the error)
Here is a “proof” that for all sets , , .
- Let . (2) Then and . (3) We
consider two cases, according to . (4)
Case . Then . (5) Case . Since , . (6) So , and hence
. (7) In both cases ,
which proves the inclusion.
- (a) Is the
conclusion true?
- (b) Which line
fails, which rule does it break, and which entry of the
catalogue of Logic and Proof, Chapter 8 does it
commit?
- (c) Give a
counterexample to the illegal step itself: sets and an
element for which the line’s premise holds and its
conclusion fails.
- (d) Repair the
proof.
Solution.
(a) Yes. It is
the
half of the second distributive law of Theorem 1.2.1
(c).
(b) Line (5).
From , that is, or , it concludes , dropping the case . A disjunction is
used by , which needs both cases;
the line uses only one. This is a missing case, entry
(N7) of the catalogue of Logic and Proof,
Chapter 8.
(c) Take , , , and . Then (the case of line
(5)) and (the premise of the line), but . The step is
illegal although the conclusion of the whole proof is
true: here ,
so by the other case.
(d) Replace lines
(5)–(6) by: Case . Since , there are two sub-cases. If , then .
If , then
, so
. In both sub-cases .
The rest of the proof stands.