8.2  The Quantifier Rules in Prose

Section 8.1 read the connective rules in the sentences of written proofs. The statements of analysis, though, are made of “for every” and “there exists”, and most of the words in an analysis proof carry a quantifier rule: “let”, “fix”, “choose”, “take”, “will do”. This section completes the dictionary with the rows for the quantifiers, equality and unique existence, for definitions, “the” and double inclusion, and for the patterns that are not single rules but are written as if they were: the lemma (“it suffices to show”) and its two “stronger” cases, induction, and symmetry (“without loss of generality”). It also makes exact one habit of analysis prose, the parenthesis “(depending on ε)”.

8.2.1. Three sentences, three rules

Section 6.1 derived “if an→L, then 2an→2L” in sixteen lines. Written the way a mathematician writes it, the same argument takes three sentences:

Let ε>0. Since an→L and ε/2>0, we may choose N∈N (depending on ε) such that |an−L|<ε/2 for every n≥N. Then for every n≥N, |2an−2L|=2|an−L|<ε.

Here is the derivation of Section 6.1 again, with the same line numbers. To keep its lines short, write A(n,ε) for |an−L|<ε and B(n,ε) for |2an−2L|<ε.

1∀ε>0∃N∈N∀n∈N(n≥N→A(n,ε))
2ε0ε0>0asm, for ∀I
3ε0/2>0arith 2
4∃N∈N∀n∈N(n≥N→A(n,ε0/2))∀E 1, 3
5N0N0∈Nasm, for ∃E
6∀n∈N(n≥N0→A(n,ε0/2))asm, for ∃E
7n0n0∈Nasm, for ∀I
8n0≥N0→A(n0,ε0/2)∀E 6, 7
9n0≥N0asm, for →I
10A(n0,ε0/2)→E 8, 9
11B(n0,ε0)arith 10
12n0≥N0→B(n0,ε0)→I 9–11
13∀n∈N(n≥N0→B(n,ε0))∀I 7–12
14∃N∈N∀n∈N(n≥N→B(n,ε0))∃I 5, 13
15∃N∈N∀n∈N(n≥N→B(n,ε0))∃E 4, 5–14
16∀ε>0∃N∈N∀n∈N(n≥N→B(n,ε))∀I 2–15
Sentence Lines
“Let ε>0.” opens the box 2–15; its closing line 16 is not written
“Since an→L and ε/2>0, we may choose N …” 3 and 4, then opens the box 5–14
“Then for every n≥N, |2an−2L|=2|an−L|<ε.” 7–13
(the paragraph ends) 14, 15, 16

Each sentence opens a box, and the boxes are nested in the order of the sentences.

  • “Let ε>0” opens the bounded ∀I box of lines 2–15 in the derivation above, with the fresh name ε0. Its closing line, line 16, is not written: the paragraph simply ends, and a reader who heard “let” knows that the box closes there.
  • “Choose N …” is two rules. The words “since an→L and ε/2>0” are the ∀E of line 4, at the term ε0/2, with its bound from line 3. The word “choose” opens the ∃E box of lines 5–14, with the fresh name N0.
  • “Then for every n≥N” opens the ∀I box of n0 and the →I box of n0≥N0 (lines 7 and 9), and the computation is lines 8, 10 and 11. The words “for every n≥N” also announce the lines that close these two boxes, 12 and 13.
  • The ∃I of line 14, which writes “some N works” from “this N works”, and the closing line 15 of the ∃E box, are silent. They are the end of the paragraph.

The one word in the paragraph that no rule asks for is the parenthesis “(depending on ε)”. It is the subject of a subsection below. First, the rows.

8.2.2. The quantifier rows

Rule Phrases Silent in plain prose?
∀I “let x∈A”; “fix ε>0”; “let ε>0 be given”; “since x was arbitrary” never the introduction; “since x was arbitrary” may be silent
∀E “in particular, for x=…”; “applying … with ε/2 in place of ε” the instance must be named when it is not the obvious one
∃I “take N=…”; “let δ:=…; then …”; “… will do” never; its dependencies are stated
∃E “choose N such that”; “by hypothesis there is k with n=2k”; “let x0 be such a point” never; the name must be fresh

The phrases in the table are mostly the bounded forms of the rules (Proposition 6.1.1): “let x∈A” opens a ∀I box whose assumption is x∈A, and “choose N∈N such that …” opens an ∃E box with the two assumptions N∈N and “…”. A bound is part of the phrase: “let ε>0” is one step, not “let ε” followed by “suppose ε>0”.

In analysis, ∀I is the first sentence of every limit proof: “Let ε>0.” ∀E is “apply the definition of an→L with ε/2”: the instance ε/2 is not the obvious one, so it is named. ∃I is the line that places a constant, “let δ:=min{1,ε/10}”, written before the computation that shows it works. ∃E is “choose N (depending on ε) such that …”, in which the name N has not been used before in the proof.

Example (A constant sequence)

Let c be a real number and let an:=c for every n∈N. Prove that an→c, and annotate each phrase with its rule.

Solution. Let ε>0 [∀I, opening]. Take N:=0 [∃I]. Let n∈N with n≥N [∀I, →I, opening]. Then |an−c|=|c−c|=0<ε, where the first equality substitutes an=c [=E] and the last step uses ε>0, the assumption of the first box. This proves an→c.

The last sentence stands for three closing lines, all silent: the →I and ∀I for n (“for every n≥N”), and the ∀I for ε (“since ε was arbitrary”). The witness “take N:=0” is placed before the work that justifies it.

Two things here are degenerate, and both are worth seeing once. The witness N depends on nothing: any N∈N works. And the assumption n≥N is never used. The box is still opened, because the goal ∀n∈N(n≥N→…) asks for it; without “let n≥N”, the line “|an−c|=0” would not say which n it is about.

8.2.3. The dependency parenthesis

In the paragraph that opened this section, N was chosen “(depending on ε)”. Section 6.4 read off a derivation the rule behind the parenthesis:

A constant chosen in a box may depend on the names of the boxes open around that box, and it does depend only on the names in the line it comes from.

In the derivation of Section 6.1, the witness N0 is obtained at line 5 from line 4, which mentions ε0, inside the box of ε0 only. So N0 may depend on ε0, and it does. In the derivation of Example (Uniformly continuous implies continuous), the witness δ0 is obtained inside the boxes of x0 and ε0, so it may depend on both; but it comes from a line that mentions ε0 alone, so it does depend only on ε0, and that is uniformity.

Diagram. Labels: may, but does not, (a) continuity at every point, let x in A, let varepsilon > 0, choose delta, the line delta comes from:\mentions x and varepsilon, (b) uniform continuity, the line delta comes from:\mentions varepsilon only

A chosen constant may depend on the names of the boxes it sits in, and does depend only on the names in the line it comes from (the solid arrows).

Numbers show why the arrows matter. Take f(x)=x2 and ε=1. At the point a≥0, the largest δ with |x2−a2|<1 for every x with |x−a|<δ is a2+1−a: about 0.41 at a=1, and about 0.005 at a=100. No single δ serves every point, so δ must depend on the point as well as on ε: panel (a). For f(x)=3x+1, |f(x)−f(a)|=3|x−a|, so δ=ε/3 works at every point at once: δ depends on ε only, panel (b).

The parenthesis is the prose record of this. “Choose N (depending on ε)” says: the boxes open here are those of ε (besides the data of the theorem, such as the sequence), and the line from which N comes mentions ε. “Choose δ (depending on ε and on x)” says that δ came from a line mentioning both, inside both boxes. A witness that came from a line mentioning neither is a constant, and the proof may say “(depending on neither)” or simply “a fixed δ”. This is why proofs in analysis say what each chosen constant depends on. A missing parenthesis is not a wrong step, but it hides the one fact a reader most needs in order to check the quantifier order, and many false proofs in analysis go wrong exactly there.

Quick check. For f(x)=x2 and ε=1, does δ=0.1 work at the point a=2? At a=10?

Solution. At a=2, yes, since 0.1<5−2≈0.236. At a=10, no: x=10.06 has |x−10|=0.06<0.1 and x2−100=1.2036≥1.

Example (The reciprocals tend to zero)

Prove that 1/n→0, for the sequence (1/n)n≥1. Annotate each phrase with its rule, and state what the chosen constant depends on.

Solution. The sequence starts at n=1, so in the definition of Section 6.1 the numbers N and n range over the positive integers Z>0. We use one school fact about the real numbers: for every real number u there is an integer greater than u. (It follows from the axioms for the real numbers; here we take it as known.)

Let ε>0 [∀I, opening]. It suffices to find N∈Z>0 with (∗)1N<ε, since then every n∈Z>0 with n≥N has 0<1/n≤1/N<ε, so |1/n−0|<ε [it suffices: the claim (∗) displayed, then used].

By the school fact, applied to u=1/ε [∀E], there is an integer greater than 1/ε; choose such an integer N [∃E], which depends on ε. Since ε>0, we have 1/ε>0, so N>0 and N∈Z>0. From N>1/ε>0, taking reciprocals reverses the inequality: 1/N<ε, which is (∗). So this N will do [∃I], and 1/n→0.

Read the proof as a skeleton. The first sentence opens the box of ε. The second is an “it suffices to show”, in the sense of the row below: it states a simpler claim (∗), shows on the spot that (∗) is enough, and leaves (∗) to be proved. The next paragraph proves (∗). It contains two different quantifier steps that both concern N: “choose” is the ∃E on the school fact, which hands over some integer beyond 1/ε and calls it N; “will do” is the ∃I that offers this N as the witness the definition asks for. Between them, the clause “so N>0 and N∈Z>0” checks the bound N∈Z>0 of the witness, which the bounded ∃I needs as a line.

The constant N depends on ε only: it came from the school fact at 1/ε, inside the box of ε. For instance, ε=0.03 has 1/ε=33.3…, and N=34 is a choice that works; so is any larger integer.

Quick check. “For every ε>0, |an−L|<ε for all large n.” Where is the hidden ∃N, and between which two quantifiers does it stand?

Solution. “For all large n” is “there is an N such that for every n≥N” (Section 6.1): the hidden ∃N stands after ∀ε>0 and before ∀n≥N. Written out, the sentence is ∀ε>0∃N∈N∀n∈N(n≥N→|an−L|<ε), the definition of an→L. Since ∃N comes after ∀ε, the N may depend on ε.

8.2.4. Equality and unique existence

Rule Phrases Silent in plain prose?
=I, =E “substituting”; chains “⋯=⋯=…”; “by (1)” yes, inside chains
∃! “there is exactly one”; “existence … uniqueness …”; “suppose y also …” never either half

In analysis, =E is at work in every chain of equalities and inequalities, such as |x2−4|=|x−2||x+2|≤5|x−2|for |x−2|<1, where each = link substitutes equals for equals and each inequality link applies one fact about order (Section 5.7). (Here |x−2|<1 gives 1<x<3, so 3<x+2<5.) The =I lines t=t that such chains rest on are never written. Unique existence (Definition 5.8.1) has two halves, which Proposition 5.8.1 separates: “2x+3=7 has exactly one real solution: x=2 is one, and if 2y+3=7, then y=2”. The first clause is existence, by ∃I; the second is uniqueness, a ∀I and →I box on a second candidate. Neither half implies the other, so neither may be silent.

The uniqueness half often stands alone, when existence is not claimed or is proved elsewhere. Uniqueness of limits is a case of this kind.

Example (A sequence has at most one limit)

Let (an) be a sequence of real numbers with an→L and an→M. Prove that L=M, and annotate each phrase with its rule.

Solution. Let ε>0 [∀I, opening]. Then ε/2>0, so, applying the definition of an→L with ε/2 in place of ε [∀E], we may choose N1∈N (depending on ε) such that |an−L|<ε/2 for every n≥N1 [∃E, fresh name N1]. Likewise, from an→M, choose N2∈N (depending on ε) such that |an−M|<ε/2 for every n≥N2 [∀E, ∃E, fresh name N2]. Let n:=max{N1,N2}. Then n∈N, n≥N1 and n≥N2, so both bounds apply at n [∀E at n, twice, with →E], and |L−M|=|(L−an)+(an−M)|≤|an−L|+|an−M|<ε2+ε2=ε, where the inequality is the triangle inequality of Example (The triangle inequality by cases), with |L−an|=|an−L|. Since ε>0 was arbitrary, |L−M|<ε for every ε>0 [∀I, closing], and Proposition 6.2.5 gives L=M [→E, citing it].

Four things in this proof are never silent, and each is visible. The instance ε/2 is named twice, because it is not the obvious instance. The two witnesses get two names, N1 and N2: the hypotheses promise a threshold for L and a threshold for M, and nothing says they are the same number, so calling both N would assert an equality nobody proved (Section 8.6 catalogues the error). The point n=max{N1,N2} is named, since the bounds are applied at it. And the closing result is cited by name.

Second readingThe bookkeeping of the two choices

What is silent is the bookkeeping of the two ∃E boxes. The line |L−M|<ε mentions neither N1, N2 nor n, so the side condition of ∃E lets it leave both boxes, and then the box of ε closes on it. The calculation chain hides its =E steps, as the row allows. The proof shows that a sequence has at most one limit: the uniqueness half of ∃!. Whether a given sequence has a limit at all is a separate question, which this proof does not touch.

8.2.5. Definitions, descriptions and sets

Three more phrases do logical work in almost every chapter of analysis: “we define”, “the”, and “the two sets are equal”.

Pattern Phrases Silent in plain prose?
a definition (a definitional extension, Proposition 5.8.2) “we define f(x):=…”; “call n perfect if …”; “write d for …” never the definition; its uses (↔E or =E with it) yes
“the” (a definite description, Definition 5.8.3) “let L be the limit of (an)”; “the least element of A”; “liman” never the existence and uniqueness behind “the”: proved or cited before the name is used
double inclusion “we show A⊆B and B⊆A”; element chasing: “let x∈A; … so x∈B”; “so A=B” never either inclusion, nor the opening “let x∈…” of each, nor the appeal to extensionality that turns “the same elements” into A=B

“The”, as in “the limit”, names an object. It may be used only once there is exactly one such object (Section 5.8): for a limit, existence is the hypothesis that (an) converges, and uniqueness is Example (A sequence has at most one limit). Chapter 5 read A⊆B as ∀x(x∈A→x∈B). Two inclusions give ∀x(x∈A↔x∈B), by ↔I inside ∀I: the two sets have the same elements. Each inclusion is an element chase: “let x∈A” opens a bounded ∀I box whose last line is x∈B. The last step, from “the same elements” to A=B, is not logic. Logic gives only the converse, that equal sets have the same elements (Example (Equal Sets Have the Same Elements)). The step itself is the axiom of extensionality, an axiom about sets (Section 5.7), and a proof cites it, as a premise or with the words “by extensionality”; it is never silent.

Second readingWhat a definition adds

A definition adds a word and proves nothing new about the old words (Proposition 5.8.2, Section 5.8). So “we define” writes an abbreviation, and every later use of it is ↔E or =E with the definition.

Example (Two inclusions)

Let A:={x∈R:x2≤2x} and B:={x∈R:0≤x≤2}. Prove that A=B, and tag the steps that carry the logic.

Solution.

  • (⊆) Let x∈A [assumption for ∀I]; so x2≤2x, that is, x(x−2)≤0.
    • If x<0, then x−2<0 too, and a product of two negative numbers is positive: x(x−2)>0. This clashes with x(x−2)≤0 [¬E], so x<0 is impossible [¬I], and x≥0 by trichotomy.
    • If x>2, then both factors are positive and the same clash follows. So x≤2.
    • Hence 0≤x≤2 [∧I], and x∈B.
  • (⊇) Let x∈B [assumption for ∀I]; so x≥0 and x−2≤0 [∧E]. A product of a non-negative and a non-positive number is at most 0, so x(x−2)≤0, that is, x2≤2x, and x∈A.
  • So A⊆B and B⊆A: every real x has x∈A↔x∈B [↔I inside ∀I]. By extensionality, A=B [∀E, →E with the axiom].

The words “that is” unwind the two sets’ definitions (↔E, silent at level 3).

Quick check. To prove {n∈Z:n2 is even}={n∈Z:n is even} by double inclusion, which inclusion is a theorem of Chapter 2, and which takes one line?

Solution. ⊆ is Theorem 2.1.3. ⊇ is one line: n=2k gives n2=2(2k2).

8.2.6. Induction, lemmas and symmetry

The rows of this table are not rules of the calculus. Each is a pattern of rules that proofs announce with a phrase of its own.

Pattern Phrases Silent in plain prose?
it suffices to show; a lemma (a cut, Lemma 2.3.3) “we first show (Claim)”; “it suffices to show”; “we claim” never the claim itself; “it suffices” may be dropped if the claim is displayed and then used
it suffices to prove something stronger “it suffices to prove the stronger …”; “in fact more is true: …” never the stronger claim; the step from it to the goal may be silent when it is one ∧E, ∨I or chain link
a stronger hypothesis gives a weaker theorem “in particular, for x∈(0,1)”; “since every such x has |x|<1, the result applies” the narrowing of the hypothesis, never
induction (Axiom 4.2.1, Theorem 4.2.2) “we argue by induction on n”; “base case”; “suppose the claim holds for n” never either the base case or the step; the induction hypothesis is stated
symmetry “without loss of generality”; “similarly”; “by symmetry” allowed only when the swap turns the statement and the hypotheses into themselves, up to identities such as |b−a|=|a−b|

It suffices to show

“It suffices to show φ” does two things. It shows on the spot that φ gives the goal, and it leaves φ to be proved: the goal is replaced by φ. As Section 1.3 observed, to show ψ it suffices to show φ when φ→ψ is in hand. A lemma is the same move in the other order: prove φ first, then use it as if it were a premise. (Logicians call both a cut; Lemma 2.3.3 (b) is the precise statement.) In analysis, “it suffices to show |an−L|<ε for n≥N” reduces a limit to one estimate; Example (The reciprocals tend to zero) made one with the claim (∗).

Diagram. Labels: shown at once, proved next, the goal, the claim varphi, the hypotheses

“It suffices to show φ”: the solid step is written on the spot, the dashed one is the rest of the proof.

Quick check. In Example (The reciprocals tend to zero), which sentence is the “it suffices” step, and what does it leave to prove?

Solution. “It suffices to find N∈Z>0 with 1/N<ε, since then …”. It leaves (∗), which the next paragraph proves.

Two cases of the move have names of their own. To prove ψ it suffices to prove a stronger φ from which ψ follows at once: to show x2<1 for 0<x<1, show x2<x, and then x2<x<1. And a theorem stays true when its hypothesis is narrowed: from “if |x|<1, then x2<1” and “every x∈(0,1) has |x|<1”, the chain of Proposition 1.4.1 gives “if x∈(0,1), then x2<1”: a stronger hypothesis, a weaker theorem.

Second readingStronger and weaker, in general

Both moves are instances of one fact about where a part sits in a formula. Weakening a part in a positive place, such as the conclusion of an implication, weakens the whole; weakening a part in a negative place, such as the hypothesis, strengthens the whole. The second-pass Section 4.9 states and proves this as Theorem 4.9.5; nothing on the main line uses it.

Induction

An induction is →E applied to Axiom 4.2.1, whose hypothesis is a conjunction: the base case P(0), and the step “for every n∈N, if P(n) then P(n+1)”. So the step is a ∀I box with a →I box inside it, and the phrase “suppose the claim holds for n” opens the inner box; its assumption is the induction hypothesis, and it must be stated, because the step uses it.

Diagram. Labels: toE on the induction axiom, base case:\P (0), step: let n in nN ;\suppose P(n); dots ; P(n + 1), forall n in nN \; P(n)

An induction: two inputs to one implication, the induction axiom (Axiom 4.2.1). The step is two boxes, the box of n and, inside it, the box of the induction hypothesis P(n).

Without loss of generality

Symmetry is a case split ∨E whose second box is the first with two letters exchanged. “Without loss of generality x≤y” writes the first box and leaves the second to the reader, who must be able to get it by swapping the letters; that works when the statement and the hypotheses come back unchanged under the swap, up to identities such as |b−a|=|a−b|.

Diagram. Labels: swap a leftrightarrow b, case a le b:\\dots \ Longrightarrow claim, case b le a: the same lines\with a, b swapped Longrightarrow claim, veeE on ``a le b or b le a''

“Without loss of generality a≤b”: the solid case is written, the dashed one is left to the reader, who gets it by the swap.

Quick check. May a proof that x2+y2≥2xy for all real x, y begin “Without loss of generality x≤y”?

Solution. Yes: swapping x and y leaves the statement unchanged, and there are no hypotheses. The case split is legitimate, though not needed, since x2+y2−2xy=(x−y)2≥0.

Example (An induction, and a legitimate symmetry)
  • (a) Let a be a real number with 0<a≤1. Prove that 0<an≤1 for every n∈N, and annotate each phrase with its rule.

  • (b) Let a and b be real numbers. Prove that |a−b|=max{a,b}−min{a,b}, with a “without loss of generality”, and write out the case split it abbreviates.

Solution. (a) For n∈N, let P(n) be the statement “0<an and an≤1”. We argue by induction on n, using Axiom 4.2.1.

Base case. a0=1, and 0<1 and 1≤1, so P(0) holds [∧I].

Step. Let n∈N [∀I, opening], and suppose P(n) holds, that is, 0<an and an≤1 [→I, opening: the induction hypothesis]. Then an+1=ana. Since an>0 [∧E] and a>0, the product ana is positive, so 0<an+1. Since a≤1 and an>0, multiplying gives ana≤an, and an≤1 [∧E], so an+1≤1. Hence P(n+1) holds [∧I].

By induction, P(n) holds for every n∈N Axiom 4.2.1.

The base case is the first hypothesis of Axiom 4.2.1, written as its own paragraph. The step is the second: “let n∈N” and “suppose P(n) holds” open its two boxes, and “hence P(n+1)” is the last line of the inner one; the closing lines “so P(n)→P(n+1), for every n” are silent. The induction hypothesis is stated in full, and each of its halves is taken out by ∧E and used: an>0 twice (for the sign of an+1, and to multiply a≤1 by an without reversing it), and an≤1 once, at the end. The statement was chosen with care: the tempting “an≤a” fails at n=0 whenever a<1, since a0=1, and an induction for it would have to start at n=1.

(b) Without loss of generality, a≤b. Then max{a,b}=b and min{a,b}=a, and since b−a≥0, |a−b|=|b−a|=b−a=max{a,b}−min{a,b}.

The phrase abbreviates a ∨E on “a≤b or b≤a”, which holds for all real a,b by trichotomy. The first box is the paragraph above. The second box, on b≤a, reads: then max{a,b}=a and min{a,b}=b, and since a−b≥0, |a−b|=a−b=max{a,b}−min{a,b}. That is the first box with a and b exchanged throughout, read through three identities: |b−a|=|a−b|, max{b,a}=max{a,b}, and min{b,a}=min{a,b}. These say that the statement is unchanged when a and b are exchanged, and there are no hypotheses to check. This is what makes the swap exact, and so what licenses “without loss of generality”.

Warning. “Without loss of generality” needs a statement and hypotheses that are unchanged by the swap. Here is a false “proof” that max{a,b}=b for all real a,b: “Without loss of generality a≤b; then max{a,b}=b.” Exchanging a and b turns the claim into max{b,a}=a, which is a different claim, so the second case is not the first one in disguise; and indeed a=2, b=1 gives max{a,b}=2≠1. Before writing “without loss of generality”, swap the letters in the statement and the hypotheses, and check that each comes back unchanged, up to identities such as |b−a|=|a−b|.

8.2.7. What the sentence does not say

Some quantifiers in mathematical English are not written at all, and some are written where they do not apply. Four habits of mathematical English cover most of them.

The hidden universal closure. A theorem stated as “if n is even, then n2 is even” means “for every integer n, if n is even, then n2 is even”. Section 5.1 introduced this convention: a letter that is not introduced anywhere, in the statement of a theorem, is read with a “for every” in front of the whole statement. It applies to the statement of a theorem, lemma or exercise, not to a line inside a proof: inside a proof every letter has been introduced by a “let” or a “choose”, and its box tells the reader which. The proof of such a theorem begins by opening the hidden box: “let n be an integer”.

“For all large n” hides an ∃N and a bound, as the Quick check above found. “Eventually” means the same. The negation of “P(n) for all large n” is “for every N there is an n≥N for which P(n) fails”, usually said “P(n) fails for infinitely many n”.

“Any” can mean “every” or “some”, and only the rest of the sentence decides (Section 5.1). “Any x∈A is positive” means every element of A is positive. “If any x∈A is positive, then A is non-empty” means: if some element of A is positive. When “any” appears, rewrite the sentence once with “every” and once with “some”, and keep the one that was meant.

Quantifiers at the end of a sentence. English lets a writer put “for some x” or “for all y” after the formula they govern, and then the order of two such phrases is unclear. “x2>y for some x for all y”, over R, has two readings: ∀y∃x(x2>y)and∃x∀y(x2>y). The first is true (for y≥0 take x=y+1, since (y+1)2=y2+2y+1>y; for y<0 take x=0). The second is false (whatever x is proposed, y=x2 refutes it). The remedy is to write the quantifiers of such a statement in front, in the order in which they apply. A trailing phrase such as “for every n≥N” is safe only when it is the last quantifier of the sentence, as in the definition of an→L.

Warning. Moving “for all x” to the end of a sentence can change continuity into uniform continuity. “|f(x)−f(y)|<ε whenever |x−y|<δ, for all x”, written after “for every ε>0 there is δ>0 such that”, does not say whether ∀x comes before ∃δ (continuity at every point) or after it (uniform continuity). The two formulas of Section 6.4 differ exactly there, and Example (The square function on the real line) shows that the difference is real: f(x)=x2 on R satisfies the first and not the second. Write the quantifiers in front.

Warning (Not allowed: quantifier steps in prose). Each sentence below might appear in a proof, and each is wrong. The tag names the entry of the catalogue in Section 8.6, or the item of the convention on silent steps in Section 8.3, that it breaks.

  • “Let ε>0 and choose N with |an−L|<ε for every n≥N. This N works for every ε>0.” The N was chosen inside the box of one ε: (N2).
  • “Some x∈A has f(x)>0. Let x∈A; then f(x)>0.” The witness of an existential is chosen (“choose x∈A with f(x)>0”, ∃E with a fresh name). Written with “let”, the second sentence claims f(x)>0 for every x∈A: (N3).
  • “Choose N with |an−L|<ε/2 for n≥N, and N with |bn−M|<ε/2 for n≥N.” One name for two witnesses: (N4).
  • “Let L be the limit of (an)”, in a proof that has not shown that (an) converges: (N14).
  • “Let ε>0. Then |an−L|<ε for every n≥N, as required”, where no sentence says what N is. The witness of ∃I, with what it depends on, is never silent (Definition 8.3.2, Section 8.3).

8.2.8. Exercises

A. Check your understanding

Exercise (A1)

Let (an) be a sequence of real numbers and L a real number. Here is a proof that if an→L and L>0, then an>0 for all large n. Its sentences are numbered.

  1. Suppose an→L and L>0. (2) Then L/2>0. (3) Choose N∈N such that |an−L|<L/2 for every n≥N. (4) Let n∈N with n≥N. (5) Then L−an≤|an−L|<L/2, so an>L/2>0. (6) Hence an>0 for every n≥N, that is, an>0 for all large n.
  • (a) Name the rule or rules carried by each sentence.
  • (b) Sentence (3) has no dependency parenthesis. What should it say, and why does N not depend on n?
  • (c) Which instance of ∀E in the proof is not the obvious one?
  • (d) Which closing lines are silent?

Solution. (a) (1) →I, opening: the hypothesis of the theorem is assumed (its two conjuncts are then available by ∧E). (2) An arithmetic step from L>0. (3) ∀E on the definition of an→L at L/2, with its bound from (2), then ∃E, opening a box with the fresh name N. (4) ∀I and →I, opening the boxes of n and of n≥N. (5) ∀E at n and →E on the line from (3), giving |an−L|<L/2; then the school fact −u≤|u| with u=an−L, and arithmetic. (6) →I and ∀I, closing (“for every n≥N”), then ∃I with the witness N (“for all large n” is ∃N∀n≥N), and the ∃E box of (3) closes, since the conclusion does not mention N.

(b) “Choose N∈N (depending on L) such that …”. N is obtained at line (3), from the definition instantiated at L/2, a term that mentions L (and the sequence, which is data). The box of n is opened only at (4), after N is chosen, so N cannot depend on n.

(c) The instance ε=L/2 in (3). It is the instance the proof is built around: any ε with 0<ε≤L would do, and L/2 leaves the margin an>L/2.

(d) The closing lines of the ∃E box (3) and of the →I box (1), “hence, if an→L and L>0, then …”. Sentence (6) writes the closings of the boxes of (4) in words, and the ∃I through “that is”.

Exercise (A2: Drill)

Each part takes a line or two. Most parts ask which rule a phrase carries, whether it may be silent, or for a judgment or a sentence.

  • (a) “Fix ε>0.” Which rule, and may it be silent?
  • (b) “Applying the hypothesis with ε/3 in place of ε.” Which rule, and may the term go unnamed?
  • (c) “Take δ:=ε/5.” Which rule, may it be silent, and what does δ depend on?
  • (d) “By hypothesis there is k with m=2k+1; choose such a k.” Which rule, and what does it require of the name?
  • (e) In “Let ε>0. Choose N such that … . Let n≥N.”, may N depend on n?
  • (f) In “Let x∈A. Let ε>0. Choose δ>0 such that …”, may δ depend on x?
  • (g) Write “x2>0 for all x≠0” with the quantifier in front.
  • (h) Negate “an>0 for all large n” with no ¬ in front of a quantifier.
  • (i) A proof of “max{a,b}≥a” begins “Without loss of generality a≤b.” Is that legitimate?
  • (j) In an induction, which sentence opens the box of the induction hypothesis?
  • (k) To prove A=B, a proof shows A⊆B and B⊆A. Which rules does that pattern use, and how does each inclusion open?
  • (l) A proof begins “Let m be the least element of A”. What must already be on the page?

Solution.

  • (a) Bounded ∀I, opening; never silent.

  • (b) ∀E at a term that is not the obvious one; the term must be named.

  • (c) ∃I’s witness, written before the work; never silent; it depends on ε.

  • (d) ∃E, with a fresh name.

  • (e) No: the box of n opens after N is chosen.

  • (f) It may, since both boxes are open; whether it does depends on the line it comes from.

  • (g) ∀x(x≠0→x2>0).

  • (h) For every N there is n≥N with an≤0.

  • (i) No: the swap turns the claim into max{b,a}≥b, a different claim; each case needs its own line (both are one line long).

  • (j) “Suppose P(n) holds”, inside “Let n∈N”.

  • (k) ↔I inside ∀I, for ∀x(x∈A↔x∈B); then A=B by ∀E and →E with the axiom of extensionality, cited. Each inclusion is a bounded ∀I that opens with “let x∈A” (or “let x∈B”).

  • (l) That such an element exists and that there is only one (∃!, a definite description). Uniqueness is one line, since two least elements are each at most the other; existence is the part that needs a reason.

B. Practice

Exercise (B1: Ambiguous English)

Each sentence has a quantifier phrase at its end. Write both readings in symbols, with the quantifiers in front, and decide whether each reading is true for the function given.

  • (a) “f(x)≤M for every real x, for some real M”, for f(x)=x.
  • (b) “x+y=0 for some real y, for every real x.”
  • (c) “|x−y|<δ implies |f(x)−f(y)|<1 for all real x,y, for some δ>0”, for f(x)=x2.

Solution. (a) ∃M∀x(f(x)≤M), “f is bounded above”, and ∀x∃M(f(x)≤M). For f(x)=x the first is false: whatever M is proposed, x=M+1 has f(x)=M+1>M. The second is true for every function: given x, take M=f(x).

(b) ∀x∃y(x+y=0) and ∃y∀x(x+y=0). The first is true: given x, take y=−x. The second is false: for any y, the two values x=−y and x=1−y give x+y=0 and x+y=1, so not every x works.

(c) ∃δ>0∀x∀y(|x−y|<δ→|f(x)−f(y)|<1) and ∀x∀y∃δ>0(|x−y|<δ→|f(x)−f(y)|<1). For f(x)=x2 the first is false: it is the uniform continuity condition at ε=1, and Example (The square function on the real line) refutes it with x=1/δ, y=1/δ+δ/2, for which |x−y|<δ and |x2−y2|=1+δ2/4≥1. The second is true for every function: given x and y, if x=y then |f(x)−f(y)|=0<1 for any δ, say δ=1; if x≠y, take δ=|x−y|, so that |x−y|<δ is false and the implication holds vacuously.

In (a) and (c), the reading with ∃ in front is the one a writer means; the other is true of every function, so it says nothing about f. In (b), the intended reading is ∀x∃y. Written with the quantifiers in front, the sentences say what they mean: “there is M such that f(x)≤M for every x”, “for every x there is y with x+y=0”, “there is δ>0 such that for all x,y, …”.

Exercise (B2: An induction, annotated)

Prove that 5n−1 is divisible by 4 for every n∈N. Annotate each phrase of your proof with its rule, and say which hypothesis of Axiom 4.2.1 each part of the proof establishes.

Solution. For n∈N, let P(n) be “4∣5n−1”, that is, “there is an integer k with 5n−1=4k”. We argue by induction on n.

Base case. 50−1=0=4⋅0, so P(0) holds, with the witness k=0 [∃I]. This is hypothesis (i) of Axiom 4.2.1.

Step. Let n∈N [∀I, opening], and suppose P(n) holds [→I, opening: the induction hypothesis]. By the induction hypothesis there is an integer k with 5n−1=4k; choose such a k (depending on n) [∃E, fresh name k]. Then 5n+1−1=5⋅5n−1=5(5n−1)+4=5⋅4k+4=4(5k+1), where the third equality substitutes 5n−1=4k [=E]. Since 5k+1 is an integer, P(n+1) holds, with the witness 5k+1 [∃I]. The step is hypothesis (ii) of Axiom 4.2.1: the ∀I on n and the →I on P(n).

By induction, 4∣5n−1 for every n∈N Axiom 4.2.1.

The ∃E box of k closes on “P(n+1)”, which does not mention k, as its side condition requires; its closing line, and those of the two boxes of the step, are silent.

Exercise (B3: Six, two and three, used later)

Let A:={n∈Z:6∣n} and B:={n∈Z:2∣n and 3∣n}. Prove A=B by double inclusion. Name each “let”, each “choose” with its fresh name, and each witness.

Solution.

  • (⊆) Let n∈A [∀I], and choose k with n=6k [∃E, k fresh]. Then n=2(3k) and n=3(2k), so 2∣n and 3∣n, with the witnesses 3k and 2k [∃I twice, ∧I]; so n∈B.
  • (⊇) Let n∈B [∀I]. Choose a with n=2a and b with n=3b [∃E twice, two fresh names: one name for both would be (N4)]. Then b=3b−2b=n−2b=2a−2b=2(a−b), so n=3b=6(a−b), and 6∣n with the witness a−b [∃I]; so n∈A.
  • So every integer n has n∈A↔n∈B [↔I inside ∀I], and by extensionality A=B.

The two ∃E boxes of (⊇) close on “n∈A”, which mentions neither a nor b.

Marking scheme. (10 points) - 2: (⊆), with k chosen and both witnesses written. - 4: (⊇): two choices with distinct names (1); the computation b=2(a−b), or another valid route to an integer c with n=6c (2); the witness named (1). - 2: the double-inclusion frame: both inclusions, each opened by “let n∈…”, and the conclusion A=B by extensionality, cited. - 2: the tags: ∀I, ∃E with fresh names, ∃I.

Fatal errors (0 for the step): one name for both witnesses; “2∣n and 3∣n, so 6∣n” asserted without an argument (N9).

C. Going deeper

Exercise (C1: When “similarly” is honest)
  • (a) Prove that max{x,y}+min{x,y}=x+y for all real x and y, with a “without loss of generality”. Then write out the ∨E it abbreviates, and check that its second box is the first with the letters exchanged.
  • (b) Let x≥0 and y be real numbers. A student proves xmax{x,y}≥xy as follows: “Without loss of generality x≤y. Then max{x,y}=y, and xy≥xy.” Explain why “without loss of generality” is not legitimate here, prove the case the student skipped, and show by an example that the hypothesis x≥0 cannot be dropped from the statement.

Solution (Hint 1). In (b), exchange x and y in the statement and in the hypothesis, and compare with the original.

Solution (Hint 2). In the case y≤x, max{x,y}=x, and the claim becomes x2≥xy.

Solution. (a) Without loss of generality x≤y. Then max{x,y}=y and min{x,y}=x, so max{x,y}+min{x,y}=y+x=x+y.

The phrase abbreviates ∨E on “x≤y or y≤x”, true for all real x,y by trichotomy. Box 1, on x≤y, is the paragraph above. Box 2, on y≤x: then max{x,y}=x and min{x,y}=y, so max{x,y}+min{x,y}=x+y. Exchanging x and y in box 1 gives “y≤x; max{y,x}=x, min{y,x}=y; max{y,x}+min{y,x}=x+y=y+x”, which is box 2 read through max{y,x}=max{x,y}, min{y,x}=min{x,y} and y+x=x+y. These identities say that the statement is unchanged by the exchange, and there are no hypotheses, so the swap is exact.

(b) Exchanging x and y changes both the hypothesis and the claim: it gives “y≥0, and ymax{y,x}≥yx”, which is not the original statement. So the case y≤x is not the case x≤y in disguise, and it needs its own argument.

Case y≤x. Then max{x,y}=x, and multiplying x≥y by x≥0 gives xmax{x,y}=x2≥xy.

With the student’s case (x≤y: xmax{x,y}=xy≥xy), this proves the claim in either case. The hypothesis x≥0 is used only in the skipped case. It cannot be dropped: x=−1, y=−2 has max{x,y}=−1, so xmax{x,y}=1, while xy=2, and 1≥2 is false.

Marking scheme. (10 points) - 2: (a) a correct computation in the case x≤y. - 3: (a) the ∨E written out, with its disjunction justified, and the exchange checked against the statement. - 2: (b) the reason: the exchange changes the hypothesis and the claim. - 2: (b) the case y≤x proved, using x≥0. - 1: (b) a counterexample without x≥0, checked. Fatal errors (0 for the step): in (b), “the other case is similar” without computing it; a counterexample that satisfies x≥0.

Exercise (C2: Moving a quantifier changes the meaning)

Give an example of a sentence of analysis, in English, that begins “for every x …”, whose meaning changes when the phrase “for every x” is moved to the end of the sentence. Write both readings in symbols and show that one is true and the other false.

Solution. An example. “For every real x>0, there is n∈Z>0 with 1/n<x.” Moved: “There is n∈Z>0 with 1/n<x, for every real x>0.” The readings are ∀x>0∃n∈Z>0(1/n<x)and∃n∈Z>0∀x>0(1/n<x). The first is true: given x>0, there is an integer n>1/x (the school fact of Example (The reciprocals tend to zero)), and n>1/x>0 gives n∈Z>0 and 1/n<x. The second is false: whatever n∈Z>0 is proposed, x=1/n is positive and 1/n<x fails. (It is natural to read the moved sentence as the second formula, since its “for every x” now comes after “there is n”; whichever reading a reader picks, the sentence no longer says one thing.)

What a different answer must have, so that it can be checked against this one: - the sentence contains “for every x” and at least one existential quantifier (“there is”, “for some”) whose scope contains a formula mentioning x; - moved to the end, “for every x” can be read as coming after the existential quantifier, so that the witness may no longer depend on x; - both readings are written in symbols with all quantifiers in front, and there is a specific interpretation (here R with its usual order) in which one reading is true and the other false, each claim checked; - the false reading is refuted by naming, for each candidate witness, a value of x that defeats it. Another correct answer, for f(x)=x2 on R, is “for every x, for every ε>0 there is δ>0 such that |f(x)−f(y)|<ε whenever |x−y|<δ” (continuity, true); with “for every x” moved to the end, it becomes the sentence of the warning, whose uniform-continuity reading Example (The square function on the real line) refutes.