I was making my way through The Art of Computer Programming, when some words got me puzzled. Here is how the book describes the principle of well-ordering:
Let "$\prec$" be a relation on set $S$, satisfying the following properties:
Given $x$, $y$ and $z$ in $S$, if $ x \prec y$ and $y \prec z$, then $x \prec z$.
Given $x$ and $y$ in $S$, exactly one of the following three possibilities is true: $x \prec y$, $x = y$, or $y \prec x$.
If $A$ is any nonempty subset of $S$, there is an element $x$ in $A$ with $x \preceq y$ for all $y$ in $A$.
This relation is said to be a well-ordering of $S$.
Set theory is definitely not my strength suit, but this seems plain wrong to me. Let $S \leftarrow \mathbb{Z}$ and $A \leftarrow S$.
Consider the "less than" ($\lt$) relation. It is transitive $(1)$, and trichotomous $(2)$; it also supports $(3)$ since there will always be some element $x \mid x \le y$.
The set hold for all three assertions, thus it should be well-ordered. (Which is not, since there is no least element.) Am I missing something, or the textbook is misleading?
Knuth has committed the sin of writing something of the form:
which can be read as:
1) there exists an $x$ such that for all $y$ $P(x, y)$
or
2) for all $y$ there exists an $x$ such that $P(x, y)$.
Reading 1) is the intended reading here. But how is the reader to know that? You should look into Knuth's rules about errata and see if he owes you a a bounty.