Book 2A

© 2026 Neckpinch · www.neckpinch.com · All rights reserved.

Course 2Book 2A: Numbers, Limits and the IntegralChapter 5

Quantifiers and the Shape of a Proof

Reading and negating ∀ε ∃δ statements, and the proof patterns used from here to Perelman.

63 min read · Updated Nov 6, 2026

Read with Tao, Analysis I, Appendix A, "The basics of mathematical logic" (mathematical statements, implication, the structure of proofs, variables and quantifiers, nested quantifiers, some examples of proofs and quantifiers, equality).

In this chapter · 9 sections
  1. 5.1Statements and connectives
  2. 5.1.1Checking an identity with a truth table
  3. 5.1.2Why "false implies anything" is the right convention
  4. 5.1.3Reading mathematical English
  5. 5.2Quantifiers
  6. 5.2.1Quantifiers with conditions
  7. 5.2.2Hidden quantifiers
  8. 5.2.3Negation: swap and push inward
  9. 5.3The order of quantifiers
  10. 5.4Definitions as games
  11. 5.5The shape of a proof
  12. 5.5.1Contradiction or contrapositive?
  13. 5.5.2The ε/2 trick and its relatives
  14. 5.5.3An annotated proof
  15. 5.6Writing ε–δ and ε–N proofs
  16. 5.6.1The method
  17. 5.6.2Writing for a reader
  18. 5.7Contradiction with a sequence of counterexamples
  19. 5.8Equality and substitution
  20. 5.9Exercises
  21. ↗Free resources

The last chapter was written in sentences like "for every ε>0\varepsilon > 0 there is an NN such that for all n,m≥Nn, m \geq N, ∣an−am∣≤ε|a_n - a_m| \leq \varepsilon". From here to the end of the route, almost every definition and theorem has that shape. It is a chain of "for every" and "there is", in a particular order, and the order carries the meaning. Perelman's papers are dense mostly because they stack these quantifiers four and five deep.

This chapter is about reading, writing and negating such sentences without hesitation, and about the small set of proof patterns used with them. It sits here, just before sequences, because the next chapter is the first where it becomes impossible to get by without it.

By the end of this chapter you will be able to:

  • translate a mathematical sentence into quantifier form and back;
  • explain why the order of quantifiers matters, and what "depends on" means;
  • negate any sentence mechanically, however many quantifiers it has;
  • read a definition as a game between you and an adversary;
  • write an ε–δ or ε–N proof from scratch, separating the scratch work that finds δ\delta or NN from the proof that uses it;
  • recognise and use the standard proof patterns, including the ε/2 trick and proof by contradiction with a sequence of counterexamples.

Statements and connectives

A statement is a sentence that is either true or false (2A.1 The Natural Numbers). Statements are combined with a few connectives, each with a precise meaning that sometimes differs from everyday English.

Connective Written True exactly when
not PP ¬P\neg P PP is false
PP and QQ P∧QP \wedge Q both are true
PP or QQ P∨QP \vee Q at least one is true (inclusive "or")
if PP then QQ P  ⟹  QP \implies Q PP is false, or QQ is true
PP if and only if QQ P  ⟺  QP \iff Q both true or both false

Two of these deserve comment. Mathematical "or" is inclusive: "nn is even or nn is a multiple of 33" is true for n=6n = 6. And "if PP then QQ" says nothing at all about what happens when PP is false (2A.1 The Natural Numbers). It is a promise that is broken only if PP holds and QQ fails.

From the table one can read off the identities used constantly:

¬(P∧Q)  ⟺  (¬P)∨(¬Q),¬(P∨Q)  ⟺  (¬P)∧(¬Q),\neg(P \wedge Q) \iff (\neg P) \vee (\neg Q), \qquad \neg(P \vee Q) \iff (\neg P) \wedge (\neg Q),
¬(P  ⟹  Q)  ⟺  P∧¬Q,(P  ⟹  Q)  ⟺  (¬Q  ⟹  ¬P).\neg(P \implies Q) \iff P \wedge \neg Q, \qquad (P \implies Q) \iff (\neg Q \implies \neg P).

The first two are De Morgan's laws, which you met for sets in 2A.2 Sets, Functions and Equivalence. The third says that the only way an implication fails is with a true hypothesis and a false conclusion. The fourth is the contrapositive.

Checking an identity with a truth table

Each identity above can be checked mechanically: list the four possible combinations of truth values for PP and QQ, and compute both sides in each case. If the two columns agree in every row, the two statements are equivalent, whatever PP and QQ say. Here is the check that an implication is equivalent to its contrapositive, and not to its converse (T for true, F for false):

PP QQ P  ⟹  QP \implies Q ¬Q\neg Q ¬P\neg P ¬Q  ⟹  ¬P\neg Q \implies \neg P Q  ⟹  PQ \implies P
T T T F F T T
T F F T F F T
F T T F T T F
F F T T T T T

The columns for P  ⟹  QP \implies Q and ¬Q  ⟹  ¬P\neg Q \implies \neg P agree in every row. The converse Q  ⟹  PQ \implies P differs in rows two and three. Row three is the "wet street without rain" case of 2A.1 The Natural Numbers: QQ true, PP false.

The same table shows one more identity that is worth knowing: P  ⟹  QP \implies Q has the same column as (¬P)∨Q(\neg P) \vee Q. "If it rains, I take an umbrella" says the same as "it doesn't rain, or I take an umbrella". This is often the easiest way to negate an implication: ¬(P  ⟹  Q)  ⟺  ¬(¬P∨Q)  ⟺  P∧¬Q\neg(P \implies Q) \iff \neg(\neg P \vee Q) \iff P \wedge \neg Q, by De Morgan.

Why "false implies anything" is the right convention

The row "PP false, QQ anything: P  ⟹  QP \implies Q true" is the one people resist. It helps to see that mathematicians do not choose it for convenience but because every theorem relies on it.

Take the theorem "for every integer nn, if nn is divisible by 44 then nn is even". It is a statement about every integer, including n=3n = 3 and n=6n = 6. For n=3n = 3 the hypothesis is false, and we want the theorem to be true all the same: 33 is not a counterexample to anything. For n=6n = 6 the hypothesis is false and the conclusion true, and again 66 should not count against the theorem. The only integer that could refute it is one that is divisible by 44 and odd. So if "if PP then QQ" is to be the building block of theorems that hold for all nn, it must be true whenever PP is false. Any other convention would make almost every theorem false.

The everyday reading that clashes with this is the causal one: "if you drop the glass, it will break" suggests that dropping causes breaking, and that the sentence is somehow about the world in which the glass is not dropped too. Mathematical implication claims no causation and says nothing about the case where PP fails. It is a promise with one way to be broken.

Reading mathematical English

Mathematical writing uses a small vocabulary of phrases for implications, and each has a fixed meaning. They are worth learning by heart, because textbooks and papers switch between them freely.

Phrase Means
if PP then QQ; PP implies QQ; QQ if PP; QQ whenever PP P  ⟹  QP \implies Q
PP only if QQ P  ⟹  QP \implies Q
PP is sufficient for QQ P  ⟹  QP \implies Q
QQ is necessary for PP P  ⟹  QP \implies Q
PP if and only if QQ; PP iff QQ; PP is necessary and sufficient for QQ P  ⟺  QP \iff Q
PP unless QQ ¬Q  ⟹  P\neg Q \implies P, equivalently P∨QP \vee Q

The troublesome entry is "only if". "PP only if QQ" says that PP cannot happen without QQ: if PP happens, QQ must have happened. So it is P  ⟹  QP \implies Q, the same direction as "if PP then QQ", even though the word "if" now stands in front of QQ. A useful test: "a number is divisible by 44 only if it is even" is true; "a number is even only if it is divisible by 44" is false (66).

"Necessary" and "sufficient" are the same pair seen from the two ends. Being even is necessary for being divisible by 44 (you cannot be divisible by 44 without it) but not sufficient (being even does not guarantee it). Being divisible by 44 is sufficient for being even. A good habit, whenever you meet a theorem stated in words, is to rewrite it with an arrow and check which side is the hypothesis. Much confusion about what a theorem "says" is confusion about the direction of its arrow.

One more trap: "if" in definitions means "if and only if". When a book writes "a sequence is bounded if there is MM with ∣an∣≤M|a_n| \leq M for all nn", it is defining the word, and the definition works in both directions: a bounded sequence has such an MM, and a sequence with such an MM is bounded. This is a convention of style, not of logic; in theorems, "if" means only "if".

Quantifiers

A property P(x)P(x) becomes a statement once xx is specified. There are two other ways to turn it into a statement:

  • For all: ∀x∈X, P(x)\forall x \in X,\ P(x), meaning P(x)P(x) is true for every element xx of XX.
  • There exists: ∃x∈X, P(x)\exists x \in X,\ P(x), meaning P(x)P(x) is true for at least one element xx of XX.

The variable xx in these statements is bound: it is a placeholder, and renaming it changes nothing. "∀x∈R, x2≥0\forall x \in \mathbb{R},\ x^2 \geq 0" and "∀t∈R, t2≥0\forall t \in \mathbb{R},\ t^2 \geq 0" are the same statement. Variables that aren't bound by a quantifier are free, and a sentence with a free variable is a property, not yet a statement.

Two conventions in the guidebook: the set a quantifier ranges over is always written (∀ε>0\forall \varepsilon > 0 means "for every real ε>0\varepsilon > 0"), and "there exists" means "at least one", not "exactly one". Uniqueness is stated separately, often as ∃!\exists!.

Quantifiers with conditions

Most quantifiers in analysis carry a condition: "for every ε>0\varepsilon > 0", "for all n≥Nn \geq N", "there is δ>0\delta > 0". These are shorthand, and it helps to know exactly for what:

  • "∀ε>0, P(ε)\forall \varepsilon > 0,\ P(\varepsilon)" means "∀ε, (ε>0  ⟹  P(ε))\forall \varepsilon,\ (\varepsilon > 0 \implies P(\varepsilon))": the condition becomes the hypothesis of an implication.
  • "∃δ>0, P(δ)\exists \delta > 0,\ P(\delta)" means "∃δ, (δ>0∧P(δ))\exists \delta,\ (\delta > 0 \wedge P(\delta))": the condition becomes part of what the witness must satisfy.

The practical consequence is that when you negate, the condition stays where it is. Negating "∀ε>0, P(ε)\forall \varepsilon > 0,\ P(\varepsilon)" gives "∃ε, (ε>0∧¬P(ε))\exists \varepsilon,\ (\varepsilon > 0 \wedge \neg P(\varepsilon))", which is "∃ε>0, ¬P(ε)\exists \varepsilon > 0,\ \neg P(\varepsilon)". A common mistake is to negate the condition as well, writing "∃ε≤0\exists \varepsilon \leq 0", which is nonsense: the negation of "every positive tolerance can be met" is "some positive tolerance can't be met".

Vacuous truth. A "for all" statement over an empty set is true, and an "exists" statement over an empty set is false. "Every element of ∅\varnothing is purple" is true, because there is no element to be a counterexample. This is the same convention as for implications with false hypotheses (2A.1 The Natural Numbers), and it is used without comment: the empty set is bounded, it is a subset of every set, and the base case of strong induction in 2A.1 The Natural Numbers was vacuously true.

Unique existence. "There is exactly one xx with P(x)P(x)", written ∃! x, P(x)\exists!\,x,\ P(x), unpacks into two quantifiers:

∃x (P(x)∧∀y (P(y)  ⟹  y=x)).\exists x\ \Big(P(x) \wedge \forall y\ \big(P(y) \implies y = x\big)\Big).

So a proof of uniqueness-and-existence has two parts, existence and uniqueness, exactly as in the proofs of 2A.1 The Natural Numbers ("there is at most one … there is at least one"). Its negation is "either no xx has PP, or at least two different ones do".

Example 5.1 Negating a statement with an implication inside

"Every positive real has a square root":

∀x∈R (x>0  ⟹  ∃y∈R: y2=x).\forall x \in \mathbb{R}\ \big(x > 0 \implies \exists y \in \mathbb{R}:\ y^2 = x\big).

Negate step by step. The ∀\forall becomes ∃\exists; the negation of an implication P  ⟹  QP \implies Q is P∧¬QP \wedge \neg Q; the inner ∃\exists becomes ∀\forall:

∃x∈R (x>0∧∀y∈R: y2≠x).\exists x \in \mathbb{R}\ \big(x > 0 \wedge \forall y \in \mathbb{R}:\ y^2 \neq x\big).

"Some positive real has no square root." Over R\mathbb{R} the original is true (2A.4 The Real Numbers); over Q\mathbb{Q} the negation is true, with witness x=2x = 2 (2A.3 Integers and Rationals).

Hidden quantifiers

Mathematical English leaves many quantifiers unspoken, and the first step in understanding a statement is often to put them back. Three habits account for most of them.

A free variable in a displayed identity means "for all". The identity (x+y)2=x2+2xy+y2(x + y)^2 = x^2 + 2xy + y^2 means ∀x ∀y\forall x\ \forall y. So does "∣xy∣=∣x∣∣y∣|xy| = |x||y|". Nobody writes the quantifiers, because nobody could mean anything else.

An indefinite article in a theorem usually means "for all". "A continuous function on a closed interval is bounded" means every continuous function on every closed interval. "A Cauchy sequence of reals converges" means every one. But "a" can also mean "there exists": "the equation x2=2x^2 = 2 has a solution" means at least one. The test is whether the sentence is a claim about the object (then "for all") or a claim that the object exists (then "there exists").

"Arbitrarily" and "sufficiently" hide quantifiers in a fixed order. "ana_n is arbitrarily close to LL for sufficiently large nn" is the sentence ∀ε>0 ∃N ∀n≥N: ∣an−L∣<ε\forall\varepsilon > 0\ \exists N\ \forall n \geq N:\ |a_n - L| < \varepsilon. "Arbitrarily small" is a ∀\forall over tolerances; "sufficiently large" is an ∃\exists of a threshold followed by a ∀\forall beyond it. In the same way, "f(x)f(x) is close to f(a)f(a) when xx is close enough to aa" is the ε\varepsilon–δ\delta definition in disguise, and "for all large nn" means "for all nn beyond some NN". These phrases are fine for talking, and dangerous for proving: before you prove a sentence containing them, write the quantifiers out.

Example 5.2 Putting the quantifiers back

"Every bounded sequence has a convergent subsequence" (2A.6 Sequences) becomes, with the definitions of bounded and convergent unpacked,

∀(an) [(∃M ∀n: ∣an∣≤M)  ⟹  ∃(nk) ∃L ∀ε>0 ∃K ∀k≥K: ∣ank−L∣<ε],\forall (a_n)\ \Big[\big(\exists M\ \forall n:\ |a_n| \leq M\big) \implies \exists (n_k)\ \exists L\ \forall\varepsilon > 0\ \exists K\ \forall k \geq K:\ |a_{n_k} - L| < \varepsilon\Big],

where (nk)(n_k) ranges over strictly increasing sequences of indices. Eight quantifiers, from a sentence of six words. Notice that the subsequence and the limit LL are chosen after the sequence (they depend on it), and before ε\varepsilon (they do not depend on the tolerance). This is the shape of almost every existence theorem in analysis: an object is produced, and then it is shown to have a property for every tolerance.

Negation: swap and push inward

The negation of a quantified statement is obtained by a completely mechanical rule.

Theorem 5.3 Negating quantifiers
¬(∀x∈X, P(x))  ⟺  ∃x∈X, ¬P(x),¬(∃x∈X, P(x))  ⟺  ∀x∈X, ¬P(x).\neg\big(\forall x \in X,\ P(x)\big) \iff \exists x \in X,\ \neg P(x), \qquad \neg\big(\exists x \in X,\ P(x)\big) \iff \forall x \in X,\ \neg P(x).

"Not everyone passed" means "someone didn't pass". "Nobody passed" means "everyone didn't pass". Applied repeatedly, the rule negates a sentence with any number of quantifiers: swap every ∀\forall with ∃\exists and vice versa, keep the order, and negate the final property.

Example 5.4 Negating "Cauchy"

A sequence (an)(a_n) is Cauchy if

∀ε>0  ∃N  ∀n,m≥N:  ∣an−am∣≤ε.\forall \varepsilon > 0\ \ \exists N\ \ \forall n, m \geq N:\ \ |a_n - a_m| \leq \varepsilon.

So (an)(a_n) is not Cauchy exactly when

∃ε>0  ∀N  ∃n,m≥N:  ∣an−am∣>ε.\exists \varepsilon > 0\ \ \forall N\ \ \exists n, m \geq N:\ \ |a_n - a_m| > \varepsilon.

In words: there is some fixed tolerance ε\varepsilon such that, however far out you go, there are still two terms further out that differ by more than ε\varepsilon. For the partial sums of the harmonic series (2A.4 The Real Numbers), ε=12\varepsilon = \tfrac12 works, with n=2mn = 2m for any m≥Nm \geq N.

Notice what the negation gives you: not a vague "the terms don't settle down", but a precise recipe for a counterexample. Fix one ε\varepsilon, then for every NN produce two terms beyond NN. Negation is how you find out what you have to construct to disprove something.

In the world In use Testing software means hunting for the negation

A program's specification is usually a "for all" statement: for every valid input, the output satisfies the requirement. Its negation is an "exists" statement: there is an input whose output violates it. That is what a bug is, and finding one means finding a witness to the negation. Property-based testing, introduced by Koen Claessen and John Hughes's QuickCheck tool for Haskell (2000) and now available in most programming languages, makes this explicit. The programmer writes the property, for example "reversing a list twice gives the original list", and the tool generates hundreds of random inputs searching for a counterexample. When it finds one it shrinks it to a minimal one. Passing the tests is evidence for the ∀\forall statement but never a proof of it: a finite number of checks can only refute a universal statement, not establish it.

The order of quantifiers

When a sentence has several quantifiers of different kinds, their order changes its meaning completely. Compare:

  • ∀ person p  ∃ person q: q is the mother of p\forall \text{ person } p\ \ \exists \text{ person } q:\ q \text{ is the mother of } p. Everyone has a mother. True.
  • ∃ person q  ∀ person p: q is the mother of p\exists \text{ person } q\ \ \forall \text{ person } p:\ q \text{ is the mother of } p. Someone is the mother of everyone. False.

In the first sentence the mother qq is chosen after pp, so it may depend on pp. In the second, qq is chosen first and must work for every pp at once. Swapping the order of ∃\exists and ∀\forall turns a statement about each object separately into a statement that holds uniformly.

Figure 5.1. "For every pp there is a qq" allows a different qq for each pp (left). "There is a qq for every pp" demands one qq that serves all of them (right). The second is much stronger, and it implies the first.

In general, ∃y ∀x P(x,y)\exists y\ \forall x\ P(x, y) implies ∀x ∃y P(x,y)\forall x\ \exists y\ P(x, y) (use the same yy for every xx), but not conversely. The difference is precisely the difference between a pointwise and a uniform statement, and analysis is full of such pairs.

Example 5.5 Continuity versus uniform continuity

A function ff on a set XX is continuous (2A.9 Continuous Functions) if

∀x∈X  ∀ε>0  ∃δ>0  ∀y∈X:  ∣y−x∣<δ  ⟹  ∣f(y)−f(x)∣<ε,\forall x \in X\ \ \forall \varepsilon > 0\ \ \exists \delta > 0\ \ \forall y \in X:\ \ |y - x| < \delta \implies |f(y) - f(x)| < \varepsilon,

and uniformly continuous if

∀ε>0  ∃δ>0  ∀x∈X  ∀y∈X:  ∣y−x∣<δ  ⟹  ∣f(y)−f(x)∣<ε.\forall \varepsilon > 0\ \ \exists \delta > 0\ \ \forall x \in X\ \ \forall y \in X:\ \ |y - x| < \delta \implies |f(y) - f(x)| < \varepsilon.

The only difference is where ∀x\forall x sits. In the first, δ\delta is chosen after xx and may depend on it; in the second, one δ\delta must work at every point. The function f(x)=1/xf(x) = 1/x on (0,1](0, 1] is continuous but not uniformly continuous: near 00 it is so steep that the δ\delta needed for a given ε\varepsilon shrinks to zero (Figure 5.2).

Figure 5.2. For f(x)=1/xf(x) = 1/x, the same output tolerance ε\varepsilon (every box has height 2ε2\varepsilon) needs smaller and smaller input tolerances δ\delta (the box widths) as xx approaches 00. So δ\delta depends on xx, and no single δ\delta works everywhere: ff is continuous on (0,1](0, 1] but not uniformly continuous.

The figure suggests the claim; negation turns it into a proof. Here is how.

Example 5.6 Proving that 1/x1/x is not uniformly continuous

What must be shown. Negate the definition of uniform continuity, swapping each quantifier and negating the end. The final property is an implication, and the negation of A  ⟹  BA \implies B is A∧¬BA \wedge \neg B:

∃ε>0  ∀δ>0  ∃x∈X  ∃y∈X:  ∣y−x∣<δ  and  ∣f(y)−f(x)∣≥ε.\exists\varepsilon > 0\ \ \forall\delta > 0\ \ \exists x \in X\ \ \exists y \in X:\ \ |y - x| < \delta\ \text{ and }\ |f(y) - f(x)| \geq \varepsilon.

So we must name one tolerance ε\varepsilon, and then, for every δ\delta the adversary offers, find two points closer than δ\delta whose values differ by at least ε\varepsilon.

Scratch work. The steepness is near 00, so take both points there, one twice the other: x=tx = t and y=t2y = \frac t2. Then ∣y−x∣=t2|y - x| = \frac t2 and ∣1y−1x∣=2t−1t=1t\big|\frac1y - \frac1x\big| = \frac2t - \frac1t = \frac1t. The values differ by 1t\frac1t, which is at least 11 as long as t≤1t \leq 1, and the points are closer than δ\delta as long as t<2δt < 2\delta. So ε=1\varepsilon = 1 should work, with t=min⁡(1,δ)t = \min(1, \delta).

Proof. Take ε=1\varepsilon = 1. Let δ>0\delta > 0, and set t=min⁡(1,δ)t = \min(1, \delta), x=tx = t, y=t2y = \frac t2. Both lie in (0,1](0, 1]. Then ∣y−x∣=t2<δ|y - x| = \frac t2 < \delta and ∣f(y)−f(x)∣=1t≥1=ε|f(y) - f(x)| = \frac1t \geq 1 = \varepsilon.

Notice the shape: the witness points depend on δ\delta, which is allowed, because in the negation they come after δ\delta. The same function on [12,1][\frac12, 1] is uniformly continuous: there ∣f(y)−f(x)∣=∣x−y∣xy≤4∣x−y∣|f(y) - f(x)| = \frac{|x - y|}{xy} \leq 4|x - y|, so δ=ε4\delta = \frac\varepsilon4 works at every point at once. Uniformity fails only because (0,1](0, 1] lets the points run towards the steep end. 2A.9 Continuous Functions proves that this cannot happen on a closed bounded interval.

Dependence. Variables introduced by ∃\exists may depend on every variable introduced before them, and on nothing introduced after. Writers often record this explicitly: N=N(ε)N = N(\varepsilon), δ=δ(ε,x)\delta = \delta(\varepsilon, x). When reading a long statement, it pays to write out what each ∃\exists-variable may depend on. In Ricci flow papers this is often the hardest part. A constant "depending only on the dimension and κ\kappa" is a precise claim that it does not depend on the particular flow, the point or the time.

Example 5.7 Pointwise and uniform convergence

The same swap separates two ways in which functions fnf_n can converge to a function ff on a set XX. Pointwise convergence is

∀x∈X  ∀ε>0  ∃N  ∀n≥N: ∣fn(x)−f(x)∣<ε,\forall x \in X\ \ \forall\varepsilon > 0\ \ \exists N\ \ \forall n \geq N:\ |f_n(x) - f(x)| < \varepsilon,

and uniform convergence moves ∀x\forall x to the end:

∀ε>0  ∃N  ∀n≥N  ∀x∈X: ∣fn(x)−f(x)∣<ε.\forall\varepsilon > 0\ \ \exists N\ \ \forall n \geq N\ \ \forall x \in X:\ |f_n(x) - f(x)| < \varepsilon.

In the first, the threshold is N(ε,x)N(\varepsilon, x); in the second, N(ε)N(\varepsilon) must serve every point.

Take fn(x)=xnf_n(x) = x^n on X=[0,1)X = [0, 1). At each fixed xx, xn→0x^n \to 0 (a geometric sequence, 2A.6 Sequences), so fn→0f_n \to 0 pointwise. But the threshold depends on xx: to have xn<12x^n < \frac12 we need n>log⁡2log⁡(1/x)n > \frac{\log 2}{\log(1/x)}, which grows without bound as x→1x \to 1. And no single NN can work: for any nn, the point x=2−1/nx = 2^{-1/n} lies in [0,1)[0, 1) and has xn=12x^n = \frac12. So the convergence is not uniform. The difference matters. A uniform limit of continuous functions is continuous (2B.5 Uniform Convergence and Arzelà–Ascoli); a pointwise limit need not be, and the same xnx^n, now on [0,1][0, 1], converges pointwise to a function that is 00 on [0,1)[0, 1) and jumps to 11 at x=1x = 1.

How to read a long statement. When a sentence has four or more quantifiers, read it in three passes. First, underline each quantified variable and mark it ∀\forall or ∃\exists. Second, for each ∃\exists-variable, list the variables to its left: those are what it may depend on. Third, read the final property with all of that in mind, and ask what would go wrong if one of the quantifiers moved. Most statements in analysis survive this procedure in a minute, and the ones that don't are the ones worth slowing down for.

Definitions as games

A useful way to read a quantified statement is as a two-player game. An adversary makes the ∀\forall moves and tries to make the final property fail; you make the ∃\exists moves and try to make it hold. Moves are made in order, left to right, and each player sees all earlier moves. The statement is true exactly when you have a winning strategy: a rule for your moves, in terms of the moves made so far, that always wins.

Take the statement that the decimal truncations of 2\sqrt2 form a Cauchy sequence (2A.4 The Real Numbers):

  1. The adversary names a tolerance: ε=0.001\varepsilon = 0.001, say.
  2. You name a starting point: N=3N = 3, because truncations agreeing to 3 decimal places differ by at most 10−310^{-3}.
  3. The adversary names any n,m≥3n, m \geq 3.
  4. You win if ∣an−am∣≤0.001|a_n - a_m| \leq 0.001, and with N=3N = 3 you always do.

Your strategy is "N(ε)=N(\varepsilon) = the least NN with 10−N≤ε10^{-N} \leq \varepsilon". It answers every possible move of the adversary, so the statement is true.

Figure 5.3. Reading "∀ε ∃N ∀n,m≥N\forall \varepsilon\ \exists N\ \forall n, m \geq N: ∣an−am∣≤ε|a_n - a_m| \leq \varepsilon" as a game. The adversary plays each ∀\forall, you play each ∃\exists, in order. A proof is a winning strategy: NN as a function of the adversary's earlier move ε\varepsilon.

Negation, in this picture, swaps the roles of the players. That is why negating swaps ∀\forall and ∃\exists.

Play the game for the sequence an=(−1)na_n = (-1)^n, which does not settle down, and you will feel the swap. Whatever strategy you try for "∀ε ∃N\forall\varepsilon\ \exists N", the adversary wins by choosing ε=1\varepsilon = 1 at the first move: whatever NN you then name, they answer with n=Nn = N and m=N+1m = N + 1, two terms that differ by 22. The adversary has a winning strategy, and that strategy is the proof of the negation. In every game of this kind exactly one player has a winning strategy, so exactly one of a statement and its negation is true; finding out which is the whole work, and the game tells you what each side would have to do.

The game also explains a piece of advice that sounds odd at first: when trying to prove a statement, first try to disprove it. Playing the adversary's side, looking for the move that would beat you, shows you where the difficulty is. If you cannot find a winning move for the adversary, the place where you got stuck usually points to your own strategy.

In the world Model A tolerance is a contract

Engineering specifications are ε–δ statements. Suppose a workshop cuts square tiles that must have area within ε\varepsilon of 100 cm2100\ \text{cm}^2. The question for the machinist is: how accurately must the side length ss be cut, that is, what tolerance δ\delta on ∣s−10∣|s - 10| guarantees ∣s2−100∣≤ε|s^2 - 100| \leq \varepsilon?

Factor: ∣s2−100∣=∣s−10∣ ∣s+10∣|s^2 - 100| = |s - 10|\,|s + 10|. If ∣s−10∣≤δ|s - 10| \leq \delta and δ≤1\delta \leq 1, then ∣s+10∣≤21|s + 10| \leq 21, so ∣s2−100∣≤21δ|s^2 - 100| \leq 21\delta. Choosing

δ=min⁡(1,ε21)\delta = \min\Big(1, \frac{\varepsilon}{21}\Big)

guarantees the area tolerance. For a tolerance of ε=0.5 cm2\varepsilon = 0.5\ \text{cm}^2, the side must be cut to within 0.5/21≈0.024 cm0.5/21 \approx 0.024\ \text{cm}, about a quarter of a millimetre. This is exactly the proof that s↦s2s \mapsto s^2 is continuous at s=10s = 10. The min⁡\min with 11 is the standard device for first confining ss to a region where the other factor, ∣s+10∣|s + 10|, can be bounded. It is the same "bound the other factor" step as in 2A.4 The Real Numbers.

Figure 5.4. A tolerance contract: to keep the area within ±0.5 cm2\pm 0.5\ \text{cm}^2 of 100100 (horizontal band), the side must be within about ±0.024\pm 0.024 cm of 1010 (vertical band). The ε–δ definition of continuity is exactly this kind of contract, required for every ε\varepsilon.

The shape of a proof

A small number of proof patterns account for nearly everything in analysis. Recognising them makes long proofs readable: each paragraph is usually one of these moves.

To prove ∀x∈X, P(x)\forall x \in X,\ P(x): say "Let x∈Xx \in X be arbitrary", and prove P(x)P(x) using only that x∈Xx \in X. Nothing about xx may be assumed beyond that.

To prove ∃x∈X, P(x)\exists x \in X,\ P(x): exhibit a specific xx (a witness) and check P(x)P(x). Or, sometimes, show that assuming no such xx exists leads to a contradiction. That gives existence without telling you what xx is. The least upper bound theorem (2A.4 The Real Numbers) produces suprema that way: by construction, but as a limit nobody can write down in closed form.

To use a hypothesis ∀x, P(x)\forall x,\ P(x): apply it to whichever xx is useful (specialise). Specialising to a cleverly chosen value is often the whole proof.

To use a hypothesis ∃x, P(x)\exists x,\ P(x): give the object a name ("let x0x_0 be such that P(x0)P(x_0)") and work with it. You may not choose which such xx it is.

To prove P  ⟹  QP \implies Q: assume PP and derive QQ (direct proof); or assume ¬Q\neg Q and derive ¬P\neg P (contrapositive); or assume PP and ¬Q\neg Q and derive a contradiction.

To prove P  ⟺  QP \iff Q: prove both directions separately.

To prove uniqueness: suppose xx and x′x' both have the property and show x=x′x = x'.

Without loss of generality. When cases are symmetric (say, a≤ba \leq b or b≤ab \leq a, with the roles of aa and bb interchangeable), it is enough to treat one of them. Say why the other case is the same.

Contradiction or contrapositive?

Both indirect methods start by assuming that something is false, and beginners often use contradiction for everything. The two are different, and it is worth choosing deliberately.

To prove P  ⟹  QP \implies Q by contrapositive, you assume ¬Q\neg Q and prove ¬P\neg P. You know exactly what you are aiming for. Example: if n2n^2 is even, then nn is even. Directly, you would have to extract information about nn from n2n^2, which is awkward. The contrapositive, if nn is odd, then n2n^2 is odd, is one line: n=2k+1n = 2k + 1 gives n2=2(2k2+2k)+1n^2 = 2(2k^2 + 2k) + 1.

To prove a statement SS by contradiction, you assume ¬S\neg S and derive any false statement. You do not know in advance which falsehood you will reach, which makes the method more flexible and the proof harder to plan. It earns its keep when the negation gives you an object to work with. The irrationality of 2\sqrt2 (2A.3 Integers and Rationals) is the classic case: assuming 2=pq\sqrt2 = \frac pq in lowest terms hands you two integers, and the contradiction is that both are even. So is the contradiction–compactness template at the end of this chapter: assuming a uniform bound fails hands you a whole sequence of counterexamples.

Two pieces of advice follow. If a "proof by contradiction" assumes PP and ¬Q\neg Q, and then derives ¬P\neg P without ever using PP, it was really a contrapositive proof, and it reads better written as one. And if a direct proof is available, use it: a direct proof shows why the conclusion holds, which an indirect proof sometimes hides.

The ε/2 trick and its relatives

Many statements in analysis say that some quantity can be made smaller than any ε>0\varepsilon > 0. When the quantity is a sum of two pieces, you make each piece smaller than ε/2\varepsilon/2:

∣a−c∣≤∣a−b∣+∣b−c∣<ε2+ε2=ε.|a - c| \leq |a - b| + |b - c| < \frac{\varepsilon}{2} + \frac{\varepsilon}{2} = \varepsilon.

You have already seen this proving that equivalence of Cauchy sequences is transitive (2A.4 The Real Numbers). With three pieces it becomes the "ε/3\varepsilon/3 argument", used for example to show that a uniform limit of continuous functions is continuous (2B.5 Uniform Convergence and Arzelà–Ascoli). The precise fractions are unimportant. Any argument that ends with "<Cε< C\varepsilon" for a constant CC not depending on ε\varepsilon proves the same thing, because ε\varepsilon was arbitrary. Writers say "≲ε\lesssim \varepsilon" or "O(ε)O(\varepsilon)" and move on.

Proposition 5.8 A quantity smaller than every ε is zero

Let xx be a real number with ∣x∣≤ε|x| \leq \varepsilon for every ε>0\varepsilon > 0. Then x=0x = 0. More generally, if ∣x∣≤Cε|x| \leq C\varepsilon for every ε>0\varepsilon > 0, where CC does not depend on ε\varepsilon, then x=0x = 0.

Proof. Suppose x≠0x \neq 0. Apply the hypothesis with ε=∣x∣/(2C)\varepsilon = |x|/(2C), which is positive: it gives ∣x∣≤∣x∣/2|x| \leq |x|/2, so ∣x∣≤0|x| \leq 0, a contradiction.

This tiny proposition is how most equalities in analysis are proved: to show two quantities are equal, show their difference is at most ε\varepsilon for every ε>0\varepsilon > 0. It is also the reason for the "let ε>0\varepsilon > 0 be arbitrary" that opens so many proofs.

Proof by cases. To prove a statement when you know "AA or BB", prove it assuming AA and then prove it assuming BB. The cases must cover every possibility, and saying why they do is part of the proof. Trichotomy (x<0x < 0, x=0x = 0 or x>0x > 0) is the commonest source of cases in analysis, as in the proofs about absolute value in 2A.3 Integers and Rationals.

An annotated proof

Here is a short proof with every move labelled, to show how the patterns above combine. The statement anticipates 2A.9 Continuous Functions.

Claim. If ff and gg are continuous at aa, then so is f+gf + g. That is: assuming

∀ε>0 ∃δ>0 ∀x: ∣x−a∣<δ  ⟹  ∣f(x)−f(a)∣<ε,\forall\varepsilon > 0\ \exists\delta > 0\ \forall x:\ |x - a| < \delta \implies |f(x) - f(a)| < \varepsilon,

and the same for gg, prove the same for f+gf + g.

Proof.

  1. Let ε>0\varepsilon > 0. [To prove a ∀\forall: take an arbitrary one.]
  2. By continuity of ff, applied with ε2\frac\varepsilon2, there is δ1>0\delta_1 > 0 such that ∣x−a∣<δ1|x - a| < \delta_1 implies ∣f(x)−f(a)∣<ε2|f(x) - f(a)| < \frac\varepsilon2. [Use a ∀\forall hypothesis: specialise it, here to ε2\frac\varepsilon2, because we plan to split ε\varepsilon into two halves. Then use the ∃\exists it gives: name the witness δ1\delta_1.]
  3. Likewise there is δ2>0\delta_2 > 0 with ∣x−a∣<δ2  ⟹  ∣g(x)−g(a)∣<ε2|x - a| < \delta_2 \implies |g(x) - g(a)| < \frac\varepsilon2. [The same two moves for gg. The witness gets a new name: it need not equal δ1\delta_1.]
  4. Set δ=min⁡(δ1,δ2)>0\delta = \min(\delta_1, \delta_2) > 0. [To prove an ∃\exists: exhibit a witness. It depends on ε\varepsilon, through δ1\delta_1 and δ2\delta_2, which is allowed.]
  5. Let xx satisfy ∣x−a∣<δ|x - a| < \delta. [Another ∀\forall, and the hypothesis of an implication: assume it.]
  6. Then ∣x−a∣<δ1|x - a| < \delta_1 and ∣x−a∣<δ2|x - a| < \delta_2, so
∣(f+g)(x)−(f+g)(a)∣≤∣f(x)−f(a)∣+∣g(x)−g(a)∣<ε2+ε2=ε.|(f + g)(x) - (f + g)(a)| \leq |f(x) - f(a)| + |g(x) - g(a)| < \frac\varepsilon2 + \frac\varepsilon2 = \varepsilon.

[The triangle inequality splits the quantity into two pieces, each controlled by one hypothesis: the ε/2 trick.]

Every proof in the next six chapters is built from these same moves. When one looks impenetrable, label its sentences in this way, and the structure usually appears.

Writing ε–δ and ε–N proofs

Everything above comes together in one kind of proof that you will write hundreds of times: showing that a statement of the form "∀ε>0 ∃δ>0…\forall \varepsilon > 0\ \exists \delta > 0 \dots" or "∀ε>0 ∃N…\forall \varepsilon > 0\ \exists N \dots" is true. Beginners often find these proofs mysterious, because the finished proof starts with a choice of δ\delta that seems to come from nowhere. It does come from somewhere: a piece of scratch work done backwards, from the conclusion you want to the condition that guarantees it. The finished proof then runs forwards. Seeing both halves is the whole secret.

The method

  1. Write down what you must prove, with the quantifiers in order. Identify the adversary's moves (∀\forall) and yours (∃\exists).
  2. Scratch work. Start from the final inequality you need (∣f(x)−L∣<ε|f(x) - L| < \varepsilon, say) and rewrite the left side to make the quantity you control (∣x−a∣|x - a|, or 1/n1/n) appear. Look for an inequality of the form
∣f(x)−L∣≤(something bounded)×∣x−a∣.|f(x) - L| \leq (\text{something bounded}) \times |x - a|.

If the "something" is not bounded, first restrict to a region where it is (typically by requiring δ≤1\delta \leq 1). Then read off a δ\delta that works. 3. Write the proof forwards. "Let ε>0\varepsilon > 0. Set δ=…\delta = \dots. Let xx satisfy ∣x−a∣<δ|x - a| < \delta. Then …" and run the inequalities in the forward direction, ending at <ε< \varepsilon. 4. Check dependencies. Your δ\delta may depend on ε\varepsilon and on anything chosen before it, never on xx (which is chosen after it).

Example 5.9 A reciprocal near 2

Claim. ∀ε>0 ∃δ>0 ∀x: ∣x−2∣<δ  ⟹  ∣1x−12∣<ε\forall \varepsilon > 0\ \exists \delta > 0\ \forall x:\ |x - 2| < \delta \implies \big|\tfrac1x - \tfrac12\big| < \varepsilon.

Scratch work. We need to make ∣1x−12∣\big|\tfrac1x - \tfrac12\big| small. Put it over a common denominator:

∣1x−12∣=∣2−x∣2∣x∣=∣x−2∣2∣x∣.\Big|\frac1x - \frac12\Big| = \frac{|2 - x|}{2|x|} = \frac{|x - 2|}{2|x|}.

The quantity we control, ∣x−2∣|x - 2|, has appeared. The other factor, 12∣x∣\frac{1}{2|x|}, is not bounded: it blows up as x→0x \to 0. So first keep xx away from 00. If ∣x−2∣<1|x - 2| < 1 then 1<x<31 < x < 3, so 12∣x∣<12\frac{1}{2|x|} < \frac12, and then ∣1x−12∣<12∣x−2∣\big|\frac1x - \frac12\big| < \frac12|x - 2|. To make this less than ε\varepsilon it is enough that ∣x−2∣<2ε|x - 2| < 2\varepsilon. We need both conditions, so take δ=min⁡(1,2ε)\delta = \min(1, 2\varepsilon).

Proof. Let ε>0\varepsilon > 0, and set δ=min⁡(1,2ε)\delta = \min(1, 2\varepsilon), which is positive. Let xx satisfy ∣x−2∣<δ|x - 2| < \delta. Since δ≤1\delta \leq 1, x>1x > 1, so 2∣x∣>22|x| > 2. Then

∣1x−12∣=∣x−2∣2∣x∣<δ2≤2ε2=ε.\Big|\frac1x - \frac12\Big| = \frac{|x - 2|}{2|x|} < \frac{\delta}{2} \leq \frac{2\varepsilon}{2} = \varepsilon.

Notice that the proof never explains where δ\delta came from. Readers are expected to verify that it works, not to rediscover it. When you read such a proof and are puzzled by the choice, reconstruct the scratch work.

Example 5.10 A cube near 2, and why the scratch work may be wasteful

Claim. x↦x3x \mapsto x^3 is continuous at 22: ∀ε>0 ∃δ>0 ∀x: ∣x−2∣<δ  ⟹  ∣x3−8∣<ε\forall\varepsilon > 0\ \exists\delta > 0\ \forall x:\ |x - 2| < \delta \implies |x^3 - 8| < \varepsilon.

Scratch work. Factor to make ∣x−2∣|x - 2| appear: x3−8=(x−2)(x2+2x+4)x^3 - 8 = (x - 2)(x^2 + 2x + 4). The other factor is unbounded on R\mathbb{R}, so confine xx first: if ∣x−2∣<1|x - 2| < 1, then 1<x<31 < x < 3, and x2+2x+4<9+6+4=19x^2 + 2x + 4 < 9 + 6 + 4 = 19. So ∣x3−8∣<19∣x−2∣|x^3 - 8| < 19|x - 2|, and ∣x−2∣<ε19|x - 2| < \frac{\varepsilon}{19} is enough. Take δ=min⁡(1,ε19)\delta = \min(1, \frac{\varepsilon}{19}).

Proof. Let ε>0\varepsilon > 0 and δ=min⁡(1,ε19)\delta = \min(1, \frac{\varepsilon}{19}). If ∣x−2∣<δ|x - 2| < \delta, then 1<x<31 < x < 3, so 0<x2+2x+4<190 < x^2 + 2x + 4 < 19, and ∣x3−8∣=∣x−2∣(x2+2x+4)<19δ≤ε|x^3 - 8| = |x - 2|(x^2 + 2x + 4) < 19\delta \leq \varepsilon.

The bound 1919 is crude: near x=2x = 2 the other factor is about 1212, and a careful reader could squeeze δ\delta larger. That does not matter. The definition asks for some δ\delta, not the best one, and a generous bound that is easy to check is better than a tight one that needs an argument of its own. Analysis is the art of throwing away what you can afford to lose. What you may not do is throw away something that depends on xx, such as replacing x2+2x+4x^2 + 2x + 4 by "x2+2x+4x^2 + 2x + 4 evaluated at the worst xx" without first confining xx to a bounded interval.

Example 5.11 A Cauchy sequence, from the definition

Claim. The sequence an=2n+1na_n = \frac{2n + 1}{n} (n≥1n \geq 1) is Cauchy: ∀ε>0 ∃N ∀n,m≥N: ∣an−am∣≤ε\forall \varepsilon > 0\ \exists N\ \forall n, m \geq N:\ |a_n - a_m| \leq \varepsilon.

Scratch work. an=2+1na_n = 2 + \frac1n, so ∣an−am∣=∣1n−1m∣|a_n - a_m| = \big|\frac1n - \frac1m\big|. Both 1n\frac1n and 1m\frac1m lie in (0,1N](0, \frac1N] when n,m≥Nn, m \geq N, so their difference is at most 1N\frac1N. We need 1N≤ε\frac1N \leq \varepsilon: any N≥1/εN \geq 1/\varepsilon works, and one exists by the Archimedean property (2A.4 The Real Numbers).

Proof. Let ε>0\varepsilon > 0, and choose a natural number N≥1/εN \geq 1/\varepsilon, N≥1N \geq 1. For n,m≥Nn, m \geq N, both 1n\frac1n and 1m\frac1m lie in (0,1N](0, \frac1N], so ∣an−am∣=∣1n−1m∣≤1N≤ε|a_n - a_m| = \big|\frac1n - \frac1m\big| \leq \frac1N \leq \varepsilon.

Example 5.12 Proving that something fails

Claim. The sequence an=(−1)n+1na_n = (-1)^n + \frac1n (n≥1n \geq 1) is not Cauchy.

What must be shown. By Example 5.4: ∃ε>0 ∀N ∃n,m≥N: ∣an−am∣>ε\exists \varepsilon > 0\ \forall N\ \exists n, m \geq N:\ |a_n - a_m| > \varepsilon. Now the roles are reversed: you choose ε\varepsilon (once, at the start), the adversary chooses NN, and you must answer with nn and mm.

Scratch work. Consecutive terms are near +1+1 and −1-1, so they differ by nearly 22. Try ε=1\varepsilon = 1 and n=2Nn = 2N, m=2N+1m = 2N + 1: then an−am=2+12N−12N+1>2a_n - a_m = 2 + \frac{1}{2N} - \frac{1}{2N+1} > 2.

Proof. Take ε=1\varepsilon = 1. Given any N≥1N \geq 1, let n=2Nn = 2N and m=2N+1m = 2N + 1, both at least NN. Then an−am=1+12N−(−1+12N+1)=2+12N−12N+1>2>1a_n - a_m = 1 + \frac{1}{2N} - \big(-1 + \frac{1}{2N+1}\big) = 2 + \frac{1}{2N} - \frac{1}{2N+1} > 2 > 1.

Careful Four common mistakes in ε–δ proofs
  1. Choosing δ\delta (or NN) in terms of xx (or nn). In "∀ε ∃δ ∀x\forall \varepsilon\ \exists \delta\ \forall x", the δ\delta is chosen before xx. A δ\delta that mentions xx answers a different, weaker statement (that is exactly the difference between continuity at each point and uniform continuity).
  2. Checking one ε\varepsilon. Showing that δ=0.01\delta = 0.01 works for ε=0.1\varepsilon = 0.1 proves nothing about "for every ε\varepsilon". The proof must handle an arbitrary ε\varepsilon, so your δ\delta is a formula in ε\varepsilon.
  3. Running the scratch work backwards and calling it a proof. Scratch work often has the form "I need AA; AA follows from BB; BB follows from CC". That is fine for finding δ\delta, but the proof must start from what is given (∣x−a∣<δ|x - a| < \delta) and arrive at what is wanted. Each step must be an implication in the forward direction.
  4. Forgetting to bound the other factor. In Example 5.9, ∣x−2∣|x - 2| was multiplied by 12∣x∣\frac{1}{2|x|}, which is unbounded. Without the min⁡(1,… )\min(1, \dots), there is no δ\delta that works. Look for the factor that could blow up, and confine the variable first.

Writing for a reader

A proof is not only a verification; it is an argument addressed to a reader who has not seen your scratch paper. A few habits make the difference between a proof that can be checked in a minute and one that cannot.

  • Say what you are about to prove, and by which method: "We prove the contrapositive", "Suppose, for a contradiction, that…". The reader then knows what the paragraph is for.
  • Introduce every symbol before you use it, with its quantifier: "Let ε>0\varepsilon > 0", "choose NN such that…". A symbol that appears from nowhere forces the reader to guess whether it is arbitrary or chosen.
  • One step per sentence, each justified by a reason the reader can name: a hypothesis, an earlier result, an inequality. "By the triangle inequality" costs four words and saves the reader a minute.
  • Signpost long proofs. Split them into named steps ("Existence. … Uniqueness. …"), and say at the start of each what it achieves.
  • Write in sentences. Symbols are abbreviations inside sentences, not a replacement for them. "⇒\Rightarrow" between two displayed lines hides whether you mean "implies", "so", or "it suffices to show".

None of this is decoration. Most mistakes in proofs are made at a step whose justification was never written down, and writing it down is how you find them.

Contradiction with a sequence of counterexamples

One proof pattern deserves a name of its own, because it runs through this guidebook from the next chapter to Perelman's canonical neighbourhood theorem. Call it the contradiction–compactness template.

Many theorems assert a uniform bound: "there is a constant CC such that, for every object in some class, a certain quantity is at most CC". Often the most natural proof is by contradiction:

  1. Suppose not. By Theorem 5.3, for every CC there is an object in the class whose quantity exceeds CC. Taking C=1,2,3,…C = 1, 2, 3, \dots gives a sequence of counterexamples, each worse than the last.
  2. Normalise. Rescale or recentre each counterexample so that they are comparable, for example so that the quantity of interest equals 11.
  3. Extract a limit. Use a compactness theorem to pass to a subsequence that converges to some limiting object.
  4. Examine the limit. Show that the limit has a property no object can have, or one that contradicts the normalisation.
  5. Conclude. The assumption was false, so the uniform bound holds.
Figure 5.5. The contradiction–compactness template. Step 3 needs a compactness theorem, and which one changes as the guidebook goes on: Bolzano–Weierstrass for sequences of real numbers (2A.6 Sequences), compact metric spaces (2B.3 Compactness), Arzelà–Ascoli for functions (2B.5 Uniform Convergence and Arzelà–Ascoli), Cheeger–Gromov for Riemannian manifolds (9B.4 Convergence of Manifolds), and Hamilton's compactness theorem for Ricci flows (11B.3 Compactness of Ricci Flows).

The first instance comes in 2A.9 Continuous Functions: a continuous function on a closed interval [a,b][a, b] is bounded. Suppose not; then for each nn there is a point xnx_n with ∣f(xn)∣>n|f(x_n)| > n. By Bolzano–Weierstrass (2A.6 Sequences) some subsequence converges to a point xx of [a,b][a, b]. By continuity, ff at nearby points is close to f(x)f(x), yet ∣f(xnk)∣→∞|f(x_{n_k})| \to \infty. Contradiction. The pattern is visible even in this small case: counterexamples, a limit, a contradiction at the limit.

Where this goes The template at full strength

Perelman's canonical neighbourhood theorem (12B.5 The Canonical Neighbourhood Theorem) is the central technical result of his proof. Roughly, and leaving out the precise class of flows (which takes a page to define), it says:

For every ε>0\varepsilon > 0 there is r>0r > 0 such that, for every Ricci flow in the class and every point (x,t)(x, t) of it with scalar curvature R(x,t)≥r−2R(x, t) \geq r^{-2}, the point has an ε\varepsilon-canonical neighbourhood.

Its quantifier form is ∀ε ∃r ∀flow ∀(x,t)\forall \varepsilon\ \exists r\ \forall \text{flow}\ \forall (x, t): R≥r−2  ⟹  R \geq r^{-2} \implies (neighbourhood exists). The negation is: ∃ε ∀r ∃flow ∃(x,t)\exists \varepsilon\ \forall r\ \exists \text{flow}\ \exists (x, t) with R≥r−2R \geq r^{-2} and no ε\varepsilon-canonical neighbourhood. The proof takes r=1/kr = 1/k for k=1,2,3,…k = 1, 2, 3, \dots, which gives a sequence of flows and points with ever larger curvature and no good neighbourhood. It rescales each flow so the curvature at the bad point is 11, extracts a limit using Hamilton's compactness theorem, shows that the limit is a "κ-solution", and finally shows that κ-solutions do have canonical neighbourhoods. That last step contradicts the choice of the counterexamples. It is the template above, one step at a time. You now have all the logic it needs.

Equality and substitution

One last piece of logic is used so constantly it is easy to overlook. Equality is an equivalence relation (reflexive, symmetric, transitive), and equal things can be substituted for each other in any statement: if x=yx = y then P(x)  ⟺  P(y)P(x) \iff P(y), and f(x)=f(y)f(x) = f(y) for any function ff. That is what makes a chain of equalities a proof.

The second half, x=y  ⟹  f(x)=f(y)x = y \implies f(x) = f(y), is not automatic when objects are defined as equivalence classes. It is exactly the well-definedness that had to be checked for every operation on integers, rationals and reals (2A.3 Integers and Rationals, 2A.4 The Real Numbers). A "function" that fails it isn't a function. So the logic of equality and the construction of quotients are two sides of the same requirement.

Recall Where we stand

Statements are built from connectives and quantifiers. Negation swaps ∀\forall and ∃\exists and pushes inward. The order of different quantifiers matters, because ∃\exists-variables may depend only on what comes before them, and moving a ∀\forall to the front turns a pointwise statement into a uniform one. Proofs are made from a small set of moves, including the ε/2 trick and the contradiction–compactness template. Chapter 2A.6 Sequences puts all of this to work on sequences of real numbers.

Exercises

Exercise 5.13 Five negations

Write each statement in quantifier form, then write its negation in quantifier form and in plain English. (a) The sequence (an)(a_n) is bounded. (b) The sequence (an)(a_n) is eventually constant. (c) The function f:R→Rf : \mathbb{R} \to \mathbb{R} is continuous at 00. (d) The function f:R→Rf : \mathbb{R} \to \mathbb{R} is uniformly continuous. (e) Every nonempty set of natural numbers has a least element.

Solution

(a) ∃M ∀n:∣an∣≤M\exists M\ \forall n: |a_n| \leq M. Negation: ∀M ∃n:∣an∣>M\forall M\ \exists n: |a_n| > M ("for every bound, some term exceeds it"). (b) ∃N ∀n≥N:an=aN\exists N\ \forall n \geq N: a_n = a_N. Negation: ∀N ∃n≥N:an≠aN\forall N\ \exists n \geq N: a_n \neq a_N. (c) ∀ε>0 ∃δ>0 ∀x:∣x∣<δ  ⟹  ∣f(x)−f(0)∣<ε\forall \varepsilon > 0\ \exists \delta > 0\ \forall x: |x| < \delta \implies |f(x) - f(0)| < \varepsilon. Negation: ∃ε>0 ∀δ>0 ∃x:∣x∣<δ\exists \varepsilon > 0\ \forall \delta > 0\ \exists x: |x| < \delta and ∣f(x)−f(0)∣≥ε|f(x) - f(0)| \geq \varepsilon ("there are points arbitrarily close to 00 where ff is at least ε\varepsilon away from f(0)f(0)"). (d) As in Example 5.5 with X=RX = \mathbb{R}. Negation: ∃ε>0 ∀δ>0 ∃x,y:∣x−y∣<δ\exists \varepsilon > 0\ \forall \delta > 0\ \exists x, y: |x - y| < \delta and ∣f(x)−f(y)∣≥ε|f(x) - f(y)| \geq \varepsilon. (e) ∀S⊆N:S≠∅  ⟹  ∃m∈S ∀s∈S:m≤s\forall S \subseteq \mathbb{N}: S \neq \varnothing \implies \exists m \in S\ \forall s \in S: m \leq s. Negation: ∃S⊆N:S≠∅\exists S \subseteq \mathbb{N}: S \neq \varnothing and ∀m∈S ∃s∈S:s<m\forall m \in S\ \exists s \in S: s < m.

Exercise 5.14 Which way implies which?

For each pair, decide whether either statement implies the other, and give a counterexample where one doesn't. (Here xx and yy range over R\mathbb{R}.) (a) ∀x ∃y:y>x\forall x\ \exists y: y > x and ∃y ∀x:y>x\exists y\ \forall x: y > x. (b) ∀x ∃y:y2=x2\forall x\ \exists y: y^2 = x^2 and ∃y ∀x:y2=x2\exists y\ \forall x: y^2 = x^2. (c) ∃x ∀y:x≤y2\exists x\ \forall y: x \leq y^2 and ∀y ∃x:x≤y2\forall y\ \exists x: x \leq y^2.

Solution

(a) The first is true and the second false: there is no largest real. (b) The first is true (take y=xy = x), the second false: it would need a single yy with y2=x2y^2 = x^2 for every xx. (c) Both are true: x=0x = 0 works for every yy in the first, and then the second follows, since ∃∀\exists\forall always implies ∀∃\forall\exists.

Exercise 5.15 Your own tolerance contract

Find an explicit δ(ε)\delta(\varepsilon) such that ∣x−2∣<δ|x - 2| < \delta implies ∣x3−8∣<ε|x^3 - 8| < \varepsilon. Then answer: to make cubes of side about 22 cm whose volume is within 0.1 cm30.1\ \text{cm}^3 of 8 cm38\ \text{cm}^3, how accurately must the side be cut?

Hint

x3−8=(x−2)(x2+2x+4)x^3 - 8 = (x - 2)(x^2 + 2x + 4). If ∣x−2∣<1|x - 2| < 1 then 1<x<31 < x < 3, so x2+2x+4<19x^2 + 2x + 4 < 19.

Solution

Take δ=min⁡(1,ε/19)\delta = \min(1, \varepsilon/19). If ∣x−2∣<δ|x - 2| < \delta, then 1<x<31 < x < 3, so 0<x2+2x+4<9+6+4=190 < x^2 + 2x + 4 < 9 + 6 + 4 = 19, and ∣x3−8∣=∣x−2∣ (x2+2x+4)<19δ≤ε|x^3 - 8| = |x - 2|\,(x^2 + 2x + 4) < 19\delta \leq \varepsilon. For ε=0.1\varepsilon = 0.1, δ=0.1/19≈0.0053\delta = 0.1/19 \approx 0.0053: the side must be cut to within about 0.050.05 mm. (The true largest δ\delta is a little bigger, since x2+2x+4x^2 + 2x + 4 is close to 1212, not 1919, near x=2x = 2; a bound need not be sharp to be useful.)

Exercise 5.16 Using "smaller than every ε"

Let aa and bb be reals with a≤b+εa \leq b + \varepsilon for every ε>0\varepsilon > 0. Prove that a≤ba \leq b. Then show that if an≤ba_n \leq b for every nn and ana_n converges to aa (that is, ∀ε>0 ∃N ∀n≥N:∣an−a∣≤ε\forall \varepsilon > 0\ \exists N\ \forall n \geq N: |a_n - a| \leq \varepsilon), then a≤ba \leq b.

Solution

Suppose a>ba > b, and take ε=(a−b)/2>0\varepsilon = (a - b)/2 > 0. The hypothesis gives a≤b+(a−b)/2a \leq b + (a - b)/2, that is, a−b≤(a−b)/2a - b \leq (a - b)/2, so a−b≤0a - b \leq 0: a contradiction. For the second part, let ε>0\varepsilon > 0, and choose NN from the convergence with that ε\varepsilon. Then a≤aN+∣a−aN∣≤b+εa \leq a_N + |a - a_N| \leq b + \varepsilon. As ε\varepsilon was arbitrary, the first part gives a≤ba \leq b. Notice how the proof specialises the hypothesis "∀n\forall n" to the single index NN.

Exercise 5.17 Play the game

Show, by describing a winning strategy for the ∃\exists player, that ∀ε>0 ∃N ∀n≥N:nn+1≥1−ε\forall \varepsilon > 0\ \exists N\ \forall n \geq N: \frac{n}{n + 1} \geq 1 - \varepsilon. Then show the statement ∃N ∀ε>0 ∀n≥N:nn+1≥1−ε\exists N\ \forall \varepsilon > 0\ \forall n \geq N: \frac{n}{n+1} \geq 1 - \varepsilon is false, by describing a winning strategy for the adversary.

Solution

First statement: given ε\varepsilon, choose NN with N≥1/εN \geq 1/\varepsilon; then for n≥Nn \geq N, 1−nn+1=1n+1<1N≤ε1 - \tfrac{n}{n+1} = \tfrac{1}{n+1} < \tfrac1N \leq \varepsilon. Second: whatever NN you choose, the adversary picks n=Nn = N and ε=12(N+1)\varepsilon = \tfrac{1}{2(N+1)}; then NN+1=1−1N+1<1−ε\tfrac{N}{N+1} = 1 - \tfrac{1}{N+1} < 1 - \varepsilon.

Exercise 5.18 A truth table

Use a truth table to show that (P∧Q)  ⟹  R(P \wedge Q) \implies R is equivalent to P  ⟹  (Q  ⟹  R)P \implies (Q \implies R). (This is why a theorem with two hypotheses can be proved by assuming the first, then assuming the second, then proving the conclusion.)

Solution

There are eight rows. Both statements are false exactly when PP and QQ are true and RR is false, and true in the other seven rows: (P∧Q)  ⟹  R(P \wedge Q) \implies R fails only when P∧QP \wedge Q is true and RR false; P  ⟹  (Q  ⟹  R)P \implies (Q \implies R) fails only when PP is true and Q  ⟹  RQ \implies R is false, that is, QQ true and RR false.

Exercise 5.19 Negating with conditions

Negate, keeping conditions on quantifiers in place, and say in words what the negation means: (a) ∀x>0 ∃n∈N:1n<x\forall x > 0\ \exists n \in \mathbb{N}: \frac1n < x; (b) ∃M>0 ∀x∈[0,1]:∣f(x)∣≤M\exists M > 0\ \forall x \in [0, 1]: |f(x)| \leq M; (c) ∀ε>0 ∃δ>0 ∀x,y∈[0,1]:∣x−y∣<δ  ⟹  ∣f(x)−f(y)∣<ε\forall \varepsilon > 0\ \exists \delta > 0\ \forall x, y \in [0,1]: |x - y| < \delta \implies |f(x) - f(y)| < \varepsilon.

Solution

(a) ∃x>0 ∀n∈N:1n≥x\exists x > 0\ \forall n \in \mathbb{N}: \frac1n \geq x: some positive number lies below every 1n\frac1n (false in R\mathbb{R}, by the Archimedean property). (b) ∀M>0 ∃x∈[0,1]:∣f(x)∣>M\forall M > 0\ \exists x \in [0,1]: |f(x)| > M: ff is unbounded on [0,1][0,1]. (c) ∃ε>0 ∀δ>0 ∃x,y∈[0,1]:∣x−y∣<δ\exists \varepsilon > 0\ \forall \delta > 0\ \exists x, y \in [0,1]: |x - y| < \delta and ∣f(x)−f(y)∣≥ε|f(x) - f(y)| \geq \varepsilon: ff is not uniformly continuous on [0,1][0,1]; there are pairs of points as close as you like whose values differ by at least a fixed amount.

Exercise 5.20 A square root near 4

Find δ(ε)\delta(\varepsilon) with ∣x−4∣<δ|x - 4| < \delta, x≥0x \geq 0   ⟹  ∣x−2∣<ε\implies |\sqrt x - 2| < \varepsilon. Write the scratch work, then the proof.

Hint

Multiply and divide by x+2\sqrt x + 2: x−2=x−4x+2\sqrt x - 2 = \frac{x - 4}{\sqrt x + 2}. The denominator is at least 22.

Solution

Scratch: ∣x−2∣=∣x−4∣x+2≤∣x−4∣2|\sqrt x - 2| = \frac{|x - 4|}{\sqrt x + 2} \leq \frac{|x - 4|}{2}, so ∣x−4∣<2ε|x - 4| < 2\varepsilon suffices, with no need to confine xx first because the other factor is already bounded. Proof: let ε>0\varepsilon > 0 and δ=2ε\delta = 2\varepsilon. If x≥0x \geq 0 and ∣x−4∣<δ|x - 4| < \delta, then ∣x−2∣=∣x−4∣x+2≤∣x−4∣2<ε|\sqrt x - 2| = \frac{|x - 4|}{\sqrt x + 2} \leq \frac{|x - 4|}{2} < \varepsilon.

Exercise 5.21 Find the flaw

Here is a "proof" that f(x)=x2f(x) = x^2 is uniformly continuous on R\mathbb{R}. Let ε>0\varepsilon > 0 and x∈Rx \in \mathbb{R}. Set δ=min⁡(1,ε/(2∣x∣+1))\delta = \min\big(1, \varepsilon/(2|x| + 1)\big). If ∣y−x∣<δ|y - x| < \delta, then ∣y+x∣≤2∣x∣+1|y + x| \leq 2|x| + 1, so ∣y2−x2∣=∣y−x∣ ∣y+x∣<δ(2∣x∣+1)≤ε|y^2 - x^2| = |y - x|\,|y + x| < \delta(2|x| + 1) \leq \varepsilon. What has actually been proved, and why is it not uniform continuity? Is x2x^2 uniformly continuous on R\mathbb{R}?

Solution

The δ\delta depends on xx, so the proof establishes ∀x ∀ε ∃δ ∀y\forall x\ \forall \varepsilon\ \exists \delta\ \forall y, which is continuity at every point, not ∀ε ∃δ ∀x ∀y\forall \varepsilon\ \exists \delta\ \forall x\ \forall y. In fact x2x^2 is not uniformly continuous on R\mathbb{R}: take ε=1\varepsilon = 1; for any δ>0\delta > 0, let x=1/δx = 1/\delta and y=x+δ/2y = x + \delta/2; then ∣y−x∣<δ|y - x| < \delta but y2−x2=δx+δ2/4>1y^2 - x^2 = \delta x + \delta^2/4 > 1.

Exercise 5.22 Rehearsal: parse a theorem from the end of the route

Here is a statement of the same shape as one in Perelman's work, in simplified form:

There is a constant κ>0\kappa > 0, depending only on TT and ρ\rho, such that for every Ricci flow g(t)g(t), t∈[0,T)t \in [0, T), on a closed 3-manifold with "normalised initial data", and every point xx, time tt and radius r<ρr < \rho: if ∣Rm∣≤r−2|\mathrm{Rm}| \leq r^{-2} on the ball B(x,r)B(x, r) at time tt, then vol⁡B(x,r)≥κr3\operatorname{vol} B(x, r) \geq \kappa r^3.

(a) Write its quantifier skeleton, using ∃κ\exists \kappa, ∀g\forall g, and so on. (b) Write the negation. (c) Describe, in one or two sentences, what a sequence of counterexamples would look like, as in step 1 of the contradiction–compactness template. This is Perelman's κ-noncollapsing theorem (12A.4 κ-Noncollapsing), here only as an exercise in reading. You don't need to know what any of the geometric words mean.

Solution

(a) ∃κ>0 ∀g ∀(x,t) ∀r<ρ\exists \kappa > 0\ \forall g\ \forall (x, t)\ \forall r < \rho: (∣Rm∣≤r−2\big(|\mathrm{Rm}| \leq r^{-2} on B(x,r))  ⟹  vol⁡B(x,r)≥κr3B(x, r)\big) \implies \operatorname{vol} B(x, r) \geq \kappa r^3. (b) ∀κ>0 ∃g ∃(x,t) ∃r<ρ\forall \kappa > 0\ \exists g\ \exists (x, t)\ \exists r < \rho: ∣Rm∣≤r−2|\mathrm{Rm}| \leq r^{-2} on B(x,r)B(x, r) and vol⁡B(x,r)<κr3\operatorname{vol} B(x, r) < \kappa r^3. (c) Taking κ=1/k\kappa = 1/k gives, for each kk, a flow and a ball of radius rkr_k on which curvature is controlled at the scale rkr_k, but whose volume is less than rk3/kr_k^3/k: balls that are more and more "collapsed" relative to their size. (Perelman's actual proof of this theorem doesn't use compactness. It uses a monotone quantity, the W\mathcal{W}-entropy, which you'll meet in 12A.3 The 𝓦-Entropy.)

Free resources for this chapter

Chosen for what this chapter covers, and all free to read or watch. Where a lecture covers more than this chapter, the minutes to watch are given, and the link starts there when it can. Links checked Nov 6, 2026.

Read

Watch 3 lectures and talks

© 2026 Neckpinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.