Proofs from Definitions: Sets and Functions
Every definition of analysis is a sentence about sets
and functions. “The supremum of
Two surprises drive the chapter. The first is that
the naive rule “any property defines a set” is
contradictory (Russell’s paradox), so we must say which
sets exist, and every set in this book is cut out of a
set already given. The second is the chapter’s
motivating problem. For
What you need. Logic and
Proof, Chapters 1–8. From Logic and Proof,
Chapters 1 and 2: the rules for the connectives and the
derived laws used as rules, above all distributivity (Logic and Proof, Proposition 1.6.1),
De Morgan’s laws (Logic and Proof, Proposition 2.5.5),
an iff as two implications (Logic and Proof, Proposition 2.4.1),
the contrapositive (Logic and Proof, Proposition 2.3.2),
vacuous implication (Logic and Proof, Proposition 2.1.2),
and derived rules (Logic and Proof, Definition 2.3.1).
From Logic and Proof, Chapter 4: induction (Logic and Proof, Axiom 4.2.1),
the standard equivalences (Logic and Proof, Proposition 4.5.1)
and completeness (Logic and Proof, Theorem 4.8.4).
From Logic and Proof, Chapters 5 and 6: the
rules for “for every” and “there exists”, bounded
quantifiers (Logic and Proof, Definition 5.1.1)
and their rules (Logic and Proof, Proposition 6.1.1),
the rules for equality (Logic and Proof, Definition 5.7.1),
unique existence (Logic and Proof, Definition 5.8.1,
Logic and Proof, Proposition 5.8.1),
and the laws for negating quantifiers. From Logic
and Proof, Chapter 8: plain-prose proofs, the
convention on which steps may be silent, and the
catalogue of what is not allowed (Logic and Proof, Example (What is not allowed)).
The number sets
Time. About 40 hours on the core track (all of A, one B and one C per section, the exit checks); about 55 hours for everything.
Roadmap
- Proofs from definitions. Even, odd, divides and prime; a direct proof unwinds a definition and rewinds another; proofs by cases and without loss of generality; refuting a claim by one counterexample; a puzzle about lattice points that the book finishes in Chapter 2.
- Sets, subsets and Russell’s paradox. What a set is allowed to be, equality by elements, the subset relation and the element-chasing proofs that establish it, equality by two inclusions, describing sets by a property cut out of an ambient set, the empty set, and why no set contains every set.
- Unions, intersections, complements and families. The set operations as the connectives read through membership, laws of sets proved by a chain of equivalences, the algebra of sets as propositional logic, power sets, unions and intersections of arbitrary families, and De Morgan’s laws for families, including the empty one.
- Ordered pairs, products and
relations. An object that remembers order,
proofs of existence and uniqueness, the product
and how it interacts with the set operations, and relations as sets of pairs. - Functions, composition, injections and surjections. A function as a graph with a declared target, when two functions are equal, composition, and the two questions of injectivity and surjectivity, each with its method of proof (the second solved backwards and proved forwards), with the squaring map as three different functions.
- Left, right and two-sided inverses. Proofs that construct an object and then verify it: a left inverse exists exactly for injective maps (on a nonempty domain), a right inverse forces surjectivity, bijections are the maps with a two-sided inverse, and the question whether every surjection has a right inverse, which needs a new principle.
- Images and preimages. What a
function does to sets, why preimages respect every
operation and images only unions, where injectivity and
surjectivity repair the failures, how to hunt for a
counterexample, and sets of numbers such as
and as images.
Named moves
The first ten are method boxes; each section that introduces one cites it from then on.
- Direct proof from a definition (Example (Method: direct proof from a definition)). Unwind the hypothesis into its definition, naming each witness; say what the goal demands; close the gap by computation; write it forwards. (Section 1.1)
- Proof by cases (Example (Method: proof by cases)). Split on a disjunction you already have, such as even or odd, and reach the same goal in every case; “without loss of generality” when the cases are symmetric. (Section 1.1)
- Disproof by counterexample, proof by example (Example (Method: disproof by counterexample, proof by example)). One instance refutes a “for every”; one witness proves a “there exists”. (Section 1.1)
- Element-chasing (Example (Method: element-chasing)).
To prove
: “let ”, unwind the definition of , and rewind into the definition of . (Section 1.2) - Two inclusions (Example (Method: two inclusions)).
To prove
: prove and . (Section 1.2) - A chain of equivalences (Example (Method: a chain of equivalences)).
For
: , each step a definition or a named law of logic. (Section 1.3) - Existence and uniqueness (Example (Method: existence and uniqueness)). Produce one object, then show that any two are equal. (Section 1.4)
- Proving injectivity (Example (Method: proving injectivity)).
From
, derive . (Section 1.5) - Proving surjectivity (Example (Method: proving surjectivity)).
Solve
backwards on scrap paper; prove forwards: “let ; put ”, and check. (Section 1.5) - Construct and verify (Example (Method: construct and verify)). Find where the object’s values are forced and where they are free, define it, check it is the kind of object claimed, then verify the property. (Section 1.6)
- Unwind the image. “
” means “there is with ”: name the witness before using it. A preimage has no witness to name. (Section 1.7) - Refute with a small witness. The
method of Example (Method: disproof by counterexample, proof by example)
for statements about sets and functions: a two- or
three-element set, the map
, the empty set.
Threads
- The lattice points. Section 1.1 asks why, among any five points with integer coordinates, two have a midpoint with integer coordinates, and states the principle the answer needs without using it. Section 2.5 proves the pigeonhole principle and comes back to the five points.
- The five strings. Section 1.5
plants a game: given five strings of five symbols
or , write one not on the list. Section 3.3 comes back to it with the diagonal argument. - Russell to Cantor. Russell’s theorem in Section 1.2 is the first contradiction about sets: a set built to disagree with each candidate on the candidate itself. Cantor’s theorem in Section 3.3 is the same shape of argument, as a theorem rather than a paradox.
- Same size. The bijections of Section 1.6 are how the book says that two sets have the same size; Section 2.5 makes this a definition, and Section 4.2 meets it again as an example of an equivalence-like relation.
Summary
Statements about integers were proved from the definitions of even, odd and divides: divisibility is transitive (Proposition 1.1.1), and every integer is even or odd and not both (Theorem 1.1.2), the first proof by cases of the volume. Sets are equal when they have the same elements (Definition 1.2.1), inclusion is proved by element-chasing, and no set contains every set (Theorem 1.2.4). The laws of sets are the laws of propositional logic (Theorem 1.3.1), and De Morgan’s laws hold for families of any size (Theorem 1.3.3). A function has a left inverse exactly when it is injective, on a nonempty domain (Theorem 1.6.1); a right inverse forces surjectivity (Proposition 1.6.2); the bijections are exactly the maps with a two-sided inverse (Theorem 1.6.4). Preimages respect every set operation (Theorem 1.7.1), images respect unions (Theorem 1.7.3), and injectivity repairs intersections (Theorem 1.7.4).
What is open: does every surjection have a right inverse? Nothing proved so far builds one without a rule, and Chapter 3 adds the principle that does. Before that, Chapter 2 turns to the natural numbers, induction and finite sets, and finishes the lattice-point puzzle.
Terms
- bijective: injective and surjective (Definition 1.5.5).
- Cartesian product:
, the set of pairs with , (Definition 1.4.2). - complement of
in : , for (Definition 1.3.1). - composite:
, “ after ” (Definition 1.5.2). - difference:
, the elements of not in (Definition 1.3.1). - disjoint:
(Definition 1.3.1). - divides:
if for some (Definition 1.1.2). - empty set: a set with no elements (Definition 1.2.4).
- equality of sets: the same elements (Definition 1.2.1).
- even, odd:
, , for some (Definition 1.1.1). - function: a graph with exactly one value at each input, and a declared codomain (Definition 1.5.1).
- image:
, the values of at points of (Definition 1.7.1). - indexed family: a set
for each (Definition 1.3.3). - injective: different inputs, different outputs (Definition 1.5.3).
- intersection:
; of a family, (Definition 1.3.1, Definition 1.3.4). - inverse, two-sided: a left and a
right inverse at once, written
(Definition 1.6.2). - left inverse, right inverse:
; (Definition 1.6.1). - ordered pair:
exactly when and (Definition 1.4.1). - power set: the set of all subsets (Definition 1.3.2).
- preimage:
, the inputs whose values lie in (Definition 1.7.2). - prime: an integer
whose only positive divisors are and (Definition 1.1.3). - relation: a subset of
(Definition 1.4.3). - specification:
, a set cut out of a given set (Definition 1.2.3). - subset:
, every element of is in (Definition 1.2.2). - surjective: every element of the codomain is a value (Definition 1.5.4).
- union:
; of a family, (Definition 1.3.1, Definition 1.3.4).