24
$\begingroup$

(Some report that my question is similar to another post. However, that post is talking about writing the "proof", rather than "stating" the theorem. "Proving" a theorem is NOT of the same structure and situation as "stating" a theorem. So this question is not duplicated to the other! Do not let it to be closed! And by the way, I'm also the OP of that question...)

In writing a textbook, when we need to state a theorem that is a universal quantification, we can use the word

"for all ..."(or equivalently "for every", "for any", "for arbitrary", "for each")

or

"let ...",

Which of these ways is more ideal? Why?

Although I think writing as "for all" is the more natural way to reflect the logical structure, that is a universal quantifier $\forall$, the popular style I have seen tends to use "let".

Any theoretical aspect or experience is welcome.

Example set 1.

  1. For all natural numbers $n$, if $n$ is even, then $n$ squared is even.

  2. Let $n$ be a natural number. If $n$ is even, then $n$ squared is even.

Example set 2.

  1. Let $A,B$ be two sets. If for all $x\in A$, $x\in B$, then we say $A$ is a subset of $B$.

  2. For all pairs $A,B$ of sets, if for all $x\in A$, $x\in B$, then we say $A$ is a subset of $B$.

Example set 3.

  1. Let $Y$ be a subspace of $X$. Then $Y$ is compact if and only if every covering of $Y$ by sets open in $X$ contains a finite subcollection covering $Y$. (Munkres Topology Lemma 26.1)

  2. For all subspaces $Y$ of $X$, $Y$ is compact if and only if every covering of $Y$ by sets open in $X$ contains a finite subcollection covering $Y$.

Example set 4.

  1. For every $f:X\to Y$ being a bijective continuous function, if $X$ is compact and $Y$ is Hausdorff, then $f$ is a homeomorphism. (adapted by me, maybe ill-grammared?)
  2. For every bijective continuous function $f:X\to Y$, if $X$ is compact and $Y$ is Hausdorff, then $f$ is a homeomorphism. (adapted by me.)
  3. Let $f:X\to Y$ be a bijective continuous function. If $X$ is compact and $Y$ is Hausdorff, then $f$ is a homeomorphism. (Munkres Topology Theorem 26.6)

New added example set 5 (I skipped the quantification on $E,f:E\to\mathbb{R},L,c$, just focus on the key part here.)

  1. If "$\forall\varepsilon>0,\exists\delta>0,\forall x\in E,0<|x-c|<\delta\rightarrow |f(x)-L|<\varepsilon$", then we say $f(x)$ converges to $L$ when $x$ approaches $c$.
  2. If, for all $\varepsilon>0$, there exists $\delta>0$ such that for all $x\in E$, if $0<|x-c|<\delta$ then $|f(x)-L|<\varepsilon$", then we say $f(x)$ converges to $L$ when $x$ approaches $c$. (Using "for all")
  3. If let $\varepsilon>0$, there is $\delta>0$, such that let $x\in E$, if $0<|x-c|<\delta$ then $|f(x)-L|<\varepsilon$", then we call $f(x)$ converges to $L$ when $x$ approaches $c$. (Using "let". I think this type is not natural. But I can't tell why.)
$\endgroup$
16
  • 4
    $\begingroup$ If the conditions on the object are large like "equicontinuous sqeuence of $L^1$ functions", then I would go for "Let", but if the conditions on the object are very small, like "natural number" or "compact set" or "Noetherian module" etc. then I would go for "for all". So for the first and third example, I would go for "For all", but for the second one I would go for let because we are asking for pairs of subspaces, which seems odd. It's all opinion though, and this is mine. I'm not even sure I'm consistent on this though! $\endgroup$ Oct 10, 2016 at 8:58
  • 5
  • $\begingroup$ @MauroALLEGRANZA But in "proving a theorem" and "stating a theorem", I'm not sure it is the same situation. $\endgroup$
    – Eric
    Oct 10, 2016 at 9:16
  • $\begingroup$ I note that you reorganized the first phrase in Examples 1.1 and 4.2. The same less awkward reorganizations in Examples 2 and 3 are "For all pairs of sets, $A, B$, ...", "For all subspaces, $Y \subset X$, ...". Why the extra commas? Appositives. Also, in several places, you have written "called" where "say" would be more appropriate. Also, I know the standard is to italicize, but everyone would benefit from correct punctuation here: 'we say "$A$ is a subset of $B$".' $\endgroup$ Oct 10, 2016 at 12:44
  • $\begingroup$ @EricTowers Thanks for mentioning that. $\endgroup$
    – Eric
    Oct 10, 2016 at 13:01

6 Answers 6

19
$\begingroup$

If you're doing informal mathematics, there's really no difference. I guess from a type-theoretic perspective, it's kind of the difference between $$x:\mathbb{R} \vdash P(x) \qquad \mbox{and} \qquad \vdash (\forall x:\mathbb{R})\,P(x).$$

The former is arguably better, because it doesn't presuppose that we're working in a category that interprets universal quantification. So "let" is preferable to "for all" for this reason. But, again, unless you're doing highly formal mathematics, it's not really worth worrying about. (I say that, but a part of me finds the question fascinating, and I've just gone and favourited it.)

$\endgroup$
12
  • 1
    $\begingroup$ I haven't studied type theory or category yet, but I feel what you mentioned is exactly what I want. Can you explain a little bit more to help me understand the two formula you gave? $\endgroup$
    – Eric
    Oct 10, 2016 at 9:21
  • 4
    $\begingroup$ @Eric, sure. Basically, $x:\mathbb{R} \vdash P(x)$ means "in the context $x\in \mathbb{R}$, it holds that $P(x)$." Whereas $\vdash (\forall x:\mathbb{R})\,P(x)$ "in the empty context, it holds that for all $x \in \mathbb{R}$, we have $P(x)$." Type theorists tend to prefer the symbol $:$ to $\in$, because their account of the meaning of this symbol is completely different to the materialistic account familiar to most mathematicians. $\endgroup$ Oct 10, 2016 at 11:19
  • 2
    $\begingroup$ I don't see how this comes anywhere near answering the question. This question isn't asking about type theory, category theory, or formal systems; it's asking about the English language and proof writing. $\endgroup$ Oct 11, 2016 at 1:55
  • 2
    $\begingroup$ @TannerSwett, the answer to all such questions is: "If you're doing informal mathematics, there's really no difference." What else really needs to be said here? By the way, type theory is basically entirely about proofs; look up the phrase 'propositions as types, proofs as programs' if you're interested. $\endgroup$ Oct 11, 2016 at 2:09
  • 2
    $\begingroup$ @TannerSwett, yes, I indeed asked for the formal mathematics, not English language. In particular, the whole question is concerned about the correspondence with human language and the formal logic structure behind these. My original post have a tag on logic, but it had been removed by someone else. $\endgroup$
    – Eric
    Oct 11, 2016 at 4:21
12
$\begingroup$

In your first example, either is fine. In your second example, 2 is ungrammatical - you cannot just replace "Let" with "For all", the "be" has to be deleted (or replaced with "that are"). Otherwise, either is fine.

In all three examples, you'll notice that your "For all" example results in a long, slightly awkwardly-phrased sentence with at least three clauses. The "Let" version divides the sentence into two simpler sentences, so the reader can process it one step at a time.

In general, "For all" is okay as long as the thing you're quantifying over is small and doesn't really require any work to understand. If the reader's going to have to think about it even a little - e.g. "system of linear equations in five variables" - I'd use "Let".

Also - and I'm pretty sure this is just a personal preference - I try to avoid having more than two parts to a sentence in a mathematical theorem, if I can. "If $X$ then $Y$" is fine, but "If $X$ then if $Y$ then $Z$" is ugly. Similarly, "For all $x$, if $Y$ then $Z$" is complicated, and it gets worse the more complicated $x$, $Y$, and $Z$ are.

$\endgroup$
2
  • $\begingroup$ I'd added the fifth example set. What do you think about that case? $\endgroup$
    – Eric
    Oct 10, 2016 at 9:18
  • $\begingroup$ Both 1 and 2 are unwieldy and hard to understand. 3 isn't grammatical - you can't use "be" like that. For this case, I wouldn't use either - I'd use "suppose". That is: "Suppose that for every $\epsilon > 0$ there is a $\delta > 0$ such that for every $x \in E$, if $0 < |x - c| < \delta$, then $|f(x) - L| < \epsilon$. Then we say $f(x)$ converges to $L$ as $x$ approaches $c$." $\endgroup$ Oct 10, 2016 at 9:40
7
$\begingroup$

As a personal point of view I would first "fix" what I'm working with with a let, and then state my property with for all if needed.

So my canonical form would be:

Let a be something, b be something, and c be something. If for all d such that something on a,b,c and d then we have something great on a,b,c

I think it is the more readable way to state a theorem.

So to go through your examples:

Example set 1.

Let $n$ be a natural number. If $n$ is even, then $n$ squared is even.

Example set 2.

Let $A,B$ be two sets. If for all $x\in A$, we have $x\in B$, then we say that $A$ is a subset of $B$.

Example set 3.

Let $Y$ be a subspace of $X$. $Y$ is compact if and only if every covering of $Y$ by sets open in $X$ contains a finite subcollection covering $Y$. (Munkres Topology Lemma 26.1)

Example set 4.

Let $f:X\to Y$ be a bijective continuous function. If $X$ is compact and $Y$ is Hausdorff, then $f$ is a homeomorphism. (Munkres Topology Theorem 26.6)

** example set 5**

Let $E,f:E\to\mathbb{R},L,c$ be things. If for all $\varepsilon>0$, there exists $\delta>0$, such that for all $x\in E$, $0<|x-c|<\delta\rightarrow |f(x)-L|<\varepsilon$", then we say $f(x)$ converges to $L$ when $x$ approaches $c$.

$\endgroup$
8
  • 1
    $\begingroup$ In #2: I consider "If for all $x\in A$, $x\in B$ ..." quite poor style. (I know the OP did the same thing.) Commas often have mathematical meanings, so one should essentially never separate two mathematical statements with a mere comma. Here, it looks like the $x\in B$ is still part of the hypothesis's quantifier. "If $x\in B$ for all $x\in A$" is better, or "If $x\in A$ implies $x\in B$" perhaps. (And all the math quantifiers in a row in #5 is basically unreadable; the OP's options with more words are better.) I hope @Eric read this too. $\endgroup$ Oct 11, 2016 at 7:13
  • $\begingroup$ @GregMartin I edited to take into account your comment. Is it better now? Thanks. $\endgroup$
    – wece
    Oct 11, 2016 at 7:38
  • $\begingroup$ I don't think it is appropriate for $d$s to smother on $a$s, $b$s or $c$s in a mathematical textbook. Otherwise, I agree. :) $\endgroup$
    – tomasz
    Oct 11, 2016 at 8:13
  • $\begingroup$ @tomasz :D I didn't even know this word before you comment ... Thanks for pointing out the typo ... (spell checking works in mysterious ways ...) $\endgroup$
    – wece
    Oct 11, 2016 at 8:17
  • $\begingroup$ I liked the smothering version! As for your edits, yes, #2 is fine now (we've rediscovered the whole purpose of "we have" in math writing), and #5 is much better. In definitions, I prefer to put the term being defined before the definition itself. And I'd still rather avoid the use of the $\to$ in the final implication (as well as the comma separating $x\in E$ and that implication). $\endgroup$ Oct 11, 2016 at 8:19
3
$\begingroup$

Some of this is a matter of style - which isn't very important. But there are a few "technical" problems with some of your examples.

Examples 2.1 and 2.2:

If for all $x \in A$, $x \in B$, then ...

If you parse this as "If ( for all $x \in A$ and $x \in B$ ) ..." it doesn't make sense. The intended meaning is "For all $x$, if $x \in A$ implies that $x \in B$, we say ...".

Since you are considering the $x$'s "one at a time" here, I would prefer "for each/any/every $x$" to "for all $x$".

Example 3.2:

I would prefer "for each/any/every subspace" to "for all subspaces", for the same reason as above.

Examples 4.1, 4.2

The grammar seems a bit convoluted here. The main statement is of the form "If (the premises) then (the conclusion)" but you have a subsidiary clause (stating the properties of $X$ and $Y$) after the premises. I would re-order 4.1 as something like

If $X$ is compact and $Y$ is Hausdorff, then every bijective continuous function $f:X \to Y$ is a homeomorphism.

and similarly for 4.2.

Example 5.3

"If let $\epsilon > 0$ ..." is not correct English grammar. You need a clause after the "If", but "let $\epsilon > 0$ ... then $|f(x)−L|< \epsilon$" is a complete sentence, not a clause within the bigger sentence starting with "If".

$\endgroup$
4
  • $\begingroup$ For your first paragraph, doesn't anybody call the $\forall$ "for all"? (which is equivalent to "for *") $\endgroup$
    – Eric
    Oct 11, 2016 at 1:43
  • $\begingroup$ In your re-order Examples 4.1, if it just started by "If $X$ is compact and $Y$ is Hausdorff", it relatively lacks the feel of "universal quantification". The quantification became implicit. $\endgroup$
    – Eric
    Oct 11, 2016 at 1:47
  • $\begingroup$ I disagree with the sentiment that style is not very important. I think all mathematicians come across papers that are nigh on impossible to read precisely because of their terrible style. $\endgroup$
    – tomasz
    Oct 11, 2016 at 8:16
  • $\begingroup$ @alephzero why you said "If you parse this as "If ( for all x∈ ) ..." it doesn't make sense. "? Due to grammartical reason or logical reason? $\endgroup$
    – Eric
    Oct 18, 2016 at 5:17
2
$\begingroup$

One instance where this can matter is when working with formal logic, particularly quantifier logic. In that case, $\forall$ has a very specific meaning, and it is very important to clearly distinguish the formal logic itself and the meta-logic of proving things about the formal logic. For that reason, it may be clearer to avoid the phrase "for all" entirely from the meta-logic, to avoid any confusion with the $\forall$ symbol.

$\endgroup$
2
  • $\begingroup$ Wow! I'm the first time to heard about this! But it is too common to see a sentence like "for all $\epsilon>0$, there exists $\delta>0$, ...". Isn't it proper? $\endgroup$
    – Eric
    Oct 10, 2016 at 18:15
  • $\begingroup$ Isn't this only true when reasoning about logic? When reasoning about math, the point is to use logic. $\endgroup$
    – djechlin
    Oct 11, 2016 at 3:23
2
$\begingroup$

I might misunderstand your question, and I'm not a logician, but I can't resist to give an answer here. In my point of view it is more important to be clear and easy to read than to write a logically 100% correct statement.

I think that in some of your examples, you should use neither "Let" or "For all", but rather use words, to make the statements easier to digest (I'm well aware, and respect that others think different). Suggestions:

Example 1

The square of an even number is even.

If it is not clear enough that this holds for all even numbers, then maybe:

The square of every even number is again even.

Example 2

We say that $A$ is a subset of $B$ if every element of $A$ also belongs to $B$.

Example 4

Every bijective continuous mapping from a compact space to a Hausdorff space is a homeomorphism.

$\endgroup$
2
  • 1
    $\begingroup$ Here's my interpretation of your contribution: the statements must still be 100% logically correct—but that can often be accomplished through only (or mostly) words, as these examples show. Math symbols $\ne$ rigor! $\endgroup$ Oct 11, 2016 at 7:15
  • $\begingroup$ Yes, you are correct. Thanks for clarifying. $\endgroup$
    – mickep
    Oct 11, 2016 at 9:10

Not the answer you're looking for? Browse other questions tagged .