From a813e5e8933798c9b0f04699ca0ced7eddf249cb Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 00:05:11 +0100 Subject: [PATCH 01/13] sets: the intersection of a set of sets needs it to be non-empty Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0008, unions-and-intersections.tex: the definition of \bigcap A did not require A to be non-empty. For A = \emptyset every object belongs to every element of A, so the defining condition holds of everything. The set-theory part (z/separation.tex) already requires A \neq \emptyset. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 6348061bb0f6c292ee140571b8ac0243be2e5c28) --- .../sets-functions-relations/sets/unions-and-intersections.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/sets-functions-relations/sets/unions-and-intersections.tex b/content/sets-functions-relations/sets/unions-and-intersections.tex index 6d68115ce..dc63977a1 100644 --- a/content/sets-functions-relations/sets/unions-and-intersections.tex +++ b/content/sets-functions-relations/sets/unions-and-intersections.tex @@ -118,7 +118,7 @@ \end{defn} \begin{defn} -If $A$ is a set of sets, then $\bigcap A$ is the set of objects which +If $A$ is a non-empty set of sets, then $\bigcap A$ is the set of objects which all elements of~$A$ have in common: \begin{align*} \bigcap A & = \Setabs{x}{x \text{ belongs to every !!{element} of } A}, From 7b22a708a94a5aaa0b582f2e108b41a0e622583f Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 00:05:11 +0100 Subject: [PATCH 02/13] relations: undefined I, missing hypotheses, domain of a and b Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0012, relations-as-sets.tex: K = L \cup I and H = G \cup I used an undefined I; the identity relation was just defined as \Id{\Nat}. - OLP-0014, special-properties.tex: relations that are neither reflexive nor irreflexive exist only if A has at least two elements (on a singleton the only relations are \emptyset and the identity; on \emptyset the empty relation is both). - OLP-0015, equivalence-relations.tex: "For any a, b, and n \in \PosInt" put a and b in \PosInt, but the example then takes the quotient of \Nat, with the class [0]; a, b range over \Nat. - OLP-0016, orders.tex: the extension order on A^* is linear when A has at most one element, so "not in general a linear order" (as for \subseteq a few lines above). - OLP-0018, trees.tex: the empty set is closed under \sqsubseteq but has no root, so only non-empty such sets are subtrees. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit c6f702d6f33a3bf8587884867be5d1eeffbdf488) --- .../relations/equivalence-relations.tex | 2 +- content/sets-functions-relations/relations/orders.tex | 2 +- .../sets-functions-relations/relations/relations-as-sets.tex | 4 ++-- .../sets-functions-relations/relations/special-properties.tex | 3 ++- content/sets-functions-relations/relations/trees.tex | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/content/sets-functions-relations/relations/equivalence-relations.tex b/content/sets-functions-relations/relations/equivalence-relations.tex index d8a9b17ab..647cbd6d3 100644 --- a/content/sets-functions-relations/relations/equivalence-relations.tex +++ b/content/sets-functions-relations/relations/equivalence-relations.tex @@ -62,7 +62,7 @@ \begin{ex} A nice example of equivalence relations comes from modular arithmetic. -For any $a$, $b$, and $n \in \PosInt$, say that $a \equiv_n b$ iff +For any $a$, $b \in \Nat$ and $n \in \PosInt$, say that $a \equiv_n b$ iff dividing $a$ by~$n$ gives the same remainder as dividing $b$ by~$n$. (Somewhat more symbolically: $a \equiv_n b$ iff, for some $k \in \Int$, $a - b = kn$.) Now, $\equiv_n$ is an equivalence relation, for diff --git a/content/sets-functions-relations/relations/orders.tex b/content/sets-functions-relations/relations/orders.tex index be5603f31..fbed246a3 100644 --- a/content/sets-functions-relations/relations/orders.tex +++ b/content/sets-functions-relations/relations/orders.tex @@ -75,7 +75,7 @@ sequence), $s = s'$, or $s = \tuple{s_1, \dots, s_n}$ and $s' = \tuple{s_1, \dots, s_n, s_{n+1}, \dots, s_m}$. If $s \sqsubseteq s'$ we also say that $s$ is an \emph{initial segment} of~$s'$. The -extension relation on $A^*$ is a partial order but not a linear order, +extension relation on $A^*$ is a partial order but not in general a linear order, e.g., if $a \neq b$, then $ab \not\sqsubseteq ba$ and $ba \not\sqsubseteq ab$. \end{ex} diff --git a/content/sets-functions-relations/relations/relations-as-sets.tex b/content/sets-functions-relations/relations/relations-as-sets.tex index 8fe71fc85..316c58a42 100644 --- a/content/sets-functions-relations/relations/relations-as-sets.tex +++ b/content/sets-functions-relations/relations/relations-as-sets.tex @@ -95,9 +95,9 @@ 2,1 }, \tuple{ 3,0 },\tuple{ 3,1 },\tuple{ 3,2 }, \dots\}, \] is the \emph{greater than} relation, i.e., $Gnm$ iff $n>m$. The union -of $L$ with $I$, which we might call $K=L\cup I$, is the \emph{less +of $L$ with $\Id{\Nat}$, which we might call $K=L\cup \Id{\Nat}$, is the \emph{less than or equal to} relation: $Knm$ iff $n \le m$. Similarly, $H=G \cup -I$ is the \emph{greater than or equal to relation.} These relations +\Id{\Nat}$ is the \emph{greater than or equal to relation.} These relations $L$, $G$, $K$, and $H$ are special kinds of relations called \emph{orders}. $L$ and $G$ have the property that no number bears $L$ or $G$ to itself (i.e., for all $n$, neither $Lnn$ nor $Gnn$). diff --git a/content/sets-functions-relations/relations/special-properties.tex b/content/sets-functions-relations/relations/special-properties.tex index 252cb95a9..319af5c01 100644 --- a/content/sets-functions-relations/relations/special-properties.tex +++ b/content/sets-functions-relations/relations/special-properties.tex @@ -78,7 +78,8 @@ Note that if $A \neq \emptyset$, then no irreflexive relation on~$A$ is reflexive and every asymmetric relation on~$A$ is also -anti-symmetric. However, there are $R \subseteq A^2$ that are not +anti-symmetric. However, if $A$ has at least two !!{element}s, there +are $R \subseteq A^2$ that are not reflexive and also not irreflexive, and there are anti-symmetric relations that are not asymmetric. diff --git a/content/sets-functions-relations/relations/trees.tex b/content/sets-functions-relations/relations/trees.tex index bd04588ac..d2bf7c12a 100644 --- a/content/sets-functions-relations/relations/trees.tex +++ b/content/sets-functions-relations/relations/trees.tex @@ -111,7 +111,7 @@ Slightly more generally, the set of finite sequences of natural numbers~$\Nat^*$ with the extension relation~$\sqsubseteq$ is also a tree. It is obviously not finitely branching: every $s \in \Nat^*$ has -infinitely many successors~$sn$, one for every $n \in \Nat$. Every $A +infinitely many successors~$sn$, one for every $n \in \Nat$. Every non-empty $A \subseteq \Nat^*$ which is closed under~$\sqsubseteq$ is a \emph{subtree} of~$\Nat^*$. (That is, $A$ is such that if $s \in A$ and $s' \sqsubseteq s$, then also $s' \in A$.) All finite trees can be From 5896399acf6c2b8fd9340c942ca7aa905f738642 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 00:05:11 +0100 Subject: [PATCH 03/13] functions: square root of 0, a variable name, graph, restriction, inverse Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0021, function-basics.tex: 0 is in \Nat and has no positive square root, so the function returns the non-negative square root. - OLP-0021, function-basics.tex: "Given a natural number n, g will output ... the successor of x": the argument is x. - OLP-0023, functions-relations.tex: by the definition of a relation on a set, a "relation on A \times B" is a subset of (A \times B)^2; the graph is a relation between A and B (as in the first paragraph). - OLP-0023, functions-relations.tex: the restriction of a function to C restricts only the first coordinate, while the restriction of a relation is R \cap C^2. For f(n) = n+1 on \Nat and C = {0} the first is {<0,1>}, the second empty. Only the application agrees exactly. - OLP-0024, inverses.tex: prop:bijection-inverse gives existence of the inverse; uniqueness is prop:inverse-unique. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 1450852fca45ad4066d552dce84e69866e98e9bf) --- .../functions/function-basics.tex | 4 ++-- .../functions/functions-relations.tex | 10 ++++++---- .../sets-functions-relations/functions/inverses.tex | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/content/sets-functions-relations/functions/function-basics.tex b/content/sets-functions-relations/functions/function-basics.tex index c22b78162..f676a93bb 100644 --- a/content/sets-functions-relations/functions/function-basics.tex +++ b/content/sets-functions-relations/functions/function-basics.tex @@ -67,7 +67,7 @@ \Nat$. By contrast, mapping a natural number~$n$ to a real~$x$ such that $x^2 = n$ is not functional, since each positive integer~$n$ has two square roots: $\sqrt{n}$ and~$-\sqrt{n}$. We can make it functional by -only returning the positive square root: $\sqrt{\phantom{X}} \colon +only returning the non-negative square root: $\sqrt{\phantom{X}} \colon \Nat \to \Real$. \end{ex} @@ -102,7 +102,7 @@ \begin{ex}\ollabel{examplefunext} Let $g \colon \Nat \to \Nat$ be defined such that $g(x) = x+2-1$. This tells us that $g$ is a function which takes in natural numbers and -outputs natural numbers. Given a natural number~$n$, $g$ will output +outputs natural numbers. Given a natural number~$x$, $g$ will output the predecessor of the successor of the successor of~$x$, i.e., $x+1$. \end{ex} diff --git a/content/sets-functions-relations/functions/functions-relations.tex b/content/sets-functions-relations/functions/functions-relations.tex index 6a446cf27..9d2bf55ad 100644 --- a/content/sets-functions-relations/functions/functions-relations.tex +++ b/content/sets-functions-relations/functions/functions-relations.tex @@ -58,8 +58,8 @@ \end{proof} \begin{explain} -Every function $f\colon A \to B$ has a graph, i.e., a relation on $A -\times B$ defined by $f(x) = y$. On the other hand, every relation~$R +Every function $f\colon A \to B$ has a graph, i.e., a relation between $A$ +and~$B$ defined by $f(x) = y$. On the other hand, every relation~$R \subseteq A \times B$ with the properties given in \olref{prop:graph-function} is the graph of a function~$f \colon A \to B$. Because of this close connection between functions and their @@ -92,9 +92,11 @@ \begin{explain} It follows from these definitions that $\ran{f} = \funimage{f}{\dom{f}}$, for any function~$f$. -\oliflabeldef{sfr:rel:ops:sec}{These notions are exactly as one would +\oliflabeldef{sfr:rel:ops:sec}{The application of~$f$ to~$C$ is exactly as one would expect, given the definitions in \olref[sfr][rel][ops]{sec} and our -identification of functions with relations. But two other +identification of functions with relations. The restriction of~$f$ +to~$C$, however, restricts only the first coordinate, so it is in +general not $R_f \cap C^2$. But two other operations---inverses and relative products---require a little more detail. We will provide that in \olref[inv]{sec} and \olref[cmp]{sec}.}{} diff --git a/content/sets-functions-relations/functions/inverses.tex b/content/sets-functions-relations/functions/inverses.tex index aa786be01..03421a2c6 100644 --- a/content/sets-functions-relations/functions/inverses.tex +++ b/content/sets-functions-relations/functions/inverses.tex @@ -146,7 +146,8 @@ \olref[kin]{sec} that every function $f$ induces !!a{surjection} $f' \colon A \to \ran{f}$ by letting $f'(x) = f(x)$ for all $x \in A$. Clearly, if $f$~is !!{injective}, then $f'$~is !!{bijective}, so that -it has a unique inverse by \olref{prop:bijection-inverse}. By a very +it has an inverse by \olref{prop:bijection-inverse}, which is unique by +\olref{prop:inverse-unique}. By a very minor abuse of notation, we sometimes call the inverse of $f'$ simply ``the inverse of~$f$.'' \end{explain} From 01c6cb2e84e7cfb2d5b5a3deae69ecd698886ba2 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 00:05:12 +0100 Subject: [PATCH 04/13] size-of-sets: sums, references, empty cases, diagonal proofs Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0031, pairing.tex: the k-th triangular number (0, 1, 3, 6, ...) is the sum of the natural numbers <= k; the sum of those < k is k(k-1)/2. - OLP-0031, pairing.tex: a pairing function is only injective, so its inverse is defined on its range, which may be a proper subset of \Nat; the exercise now asks to use the inverse to show A \times B enumerable. - OLP-0033, non-enumerability.tex: the parallel proof is in nen-alt, not enm-alt (and a missing full stop). - OLP-0033, non-enumerability.tex: the empty set is enumerable but there is no function from \PosInt to it, so "non-empty enumerable set". - OLP-0034, reduction.tex, and OLP-0040, reduction-alt.tex: the sequence f(Z) had a stray index k. - OLP-0034, reduction.tex: n 0's is a finite string, not an element of \Bin^\omega; h(n) is now n 0's followed by 1's. - OLP-0035, equinumerous-sets.tex (both versions of the proof): if A = \emptyset there is no x with f(x) = y; g is the enumeration. - OLP-0036, comparing-size.tex: "A is nonenumerable iff \Nat < A" uses the Axiom of Choice from left to right (without it an infinite Dedekind-finite set is neither enumerable nor above \Nat). - OLP-0036, comparing-size.tex: in Cantor's theorem the second case was the contrapositive of the first; the missing case is x \notin g(x), and the conclusion is for each x in A, not in \overline{A}. - OLP-0039, non-enumerability-alt.tex: s_n(m) is the m-th digit of the n-th string; the diagonal changes every 0 to a 1 (not "every 1 to a 0" twice); the array omitted 3, 4, 5 from N_0 = {0,1,2,...} and 5 from N_3 = {2,3,4,...}, against "m in the m-th column iff m \in N_n". - OLP-0039, non-enumerability-alt.tex: the \oliflabeldef around the footnote tested a label that never exists (the section is sth:card-arithmetic:opps), and its closing "}{}" stood after the footnote's first sentence, so the third argument took the following \end. The footnote now closes after its last sentence. - Noticed in the same check: reduction-alt.tex "contains a~$1$s". Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 25bb847da3d9a6a0c037497ee6603408a06401ed) --- .../size-of-sets/comparing-size.tex | 12 +++++++----- .../size-of-sets/equinumerous-sets.tex | 4 ++-- .../size-of-sets/non-enumerability-alt.tex | 16 ++++++++-------- .../size-of-sets/non-enumerability.tex | 4 ++-- .../size-of-sets/pairing.tex | 4 ++-- .../size-of-sets/reduction-alt.tex | 6 +++--- .../size-of-sets/reduction.tex | 6 +++--- 7 files changed, 27 insertions(+), 25 deletions(-) diff --git a/content/sets-functions-relations/size-of-sets/comparing-size.tex b/content/sets-functions-relations/size-of-sets/comparing-size.tex index 15649d152..71dbdef76 100644 --- a/content/sets-functions-relations/size-of-sets/comparing-size.tex +++ b/content/sets-functions-relations/size-of-sets/comparing-size.tex @@ -41,8 +41,9 @@ It is clear that this relation is irreflexive and transitive. (This is left as an exercise.) Using this notation, we -can say that a set $A$ is !!{enumerable} iff $\cardle{A}{\Nat}$, and -that $A$ is !!{nonenumerable} iff $\cardless{\Nat}{A}$. This allows us +can say that a set $A$ is !!{enumerable} iff $\cardle{A}{\Nat}$, and, +using the Axiom of Choice, that $A$ is !!{nonenumerable} iff +$\cardless{\Nat}{A}$. This allows us to restate \oliflabeldef{sfr:siz:nen-alt:thm:nonenum-pownat}{% \olref[sfr][siz][nen-alt]{thm:nonenum-pownat} @@ -83,10 +84,11 @@ of~$g$. Let $x \in A$ be arbitrary, we will show that $\overline{A} \neq g(x)$. If $x \in g(x)$, then it does not satisfy $x \notin g(x)$, and so by the definition of~$\overline{A}$, we have $x \notin - \overline{A}$. If $x \in \overline{A}$, it must satisfy the + \overline{A}$. If $x \notin g(x)$, it satisfies the defining property of~$\overline{A}$, i.e., $x \in A$ and $x \notin - g(x)$. Since $x$ was arbitrary, this shows that for each $x \in - \overline{A}$, $x \in g(x)$ iff $x \notin \overline{A}$, and so + g(x)$, and so $x \in \overline{A}$. Since $x$ was arbitrary, this + shows that for each $x \in A$, $x \in g(x)$ iff $x \notin + \overline{A}$, and so $g(x) \neq \overline{A}$. In other words, $\overline{A}$ cannot be in the range of~$g$, contradicting the assumption that~$g$ is surjective.}{It remains to show that $\cardneq{A}{\Pow{A}}$. For diff --git a/content/sets-functions-relations/size-of-sets/equinumerous-sets.tex b/content/sets-functions-relations/size-of-sets/equinumerous-sets.tex index d7f2c4251..7be154e60 100644 --- a/content/sets-functions-relations/size-of-sets/equinumerous-sets.tex +++ b/content/sets-functions-relations/size-of-sets/equinumerous-sets.tex @@ -72,7 +72,7 @@ Then either $A = \emptyset$ or there is !!a{surjective} function $g\colon \PosInt \to A$. If $A = \emptyset$, then $B = \emptyset$ also (otherwise there would be !!a{element}~$y \in B$ but no $x \in - A$ with $g(x) = y$). If, on the other hand, $g\colon \PosInt \to A$ + A$ with $f(x) = y$). If, on the other hand, $g\colon \PosInt \to A$ is !!{surjective}, then $\comp{g}{f} \colon \PosInt \to B$ is !!{surjective}. To see this, let $y \in B$. Since $f$ is !!{surjective}, there is an $x \in A$ such that $f(x) = y$. Since @@ -88,7 +88,7 @@ range is $A$ and whose domain is either $\Nat$ or an initial sequence of natural numbers. If $A = \emptyset$, then $B = \emptyset$ also (otherwise there would be some~$y \in B$ with no $x - \in A$ such that $g(x) = y$). So suppose we have our + \in A$ such that $f(x) = y$). So suppose we have our !!{bijection}~$g$. Then $\comp{g}{f}$ is !!a{bijection} with range~$B$ and domain the same as that of~$g$ (i.e., either $\Nat$ or an initial segment of it), so that $B$ is !!{enumerable}.} diff --git a/content/sets-functions-relations/size-of-sets/non-enumerability-alt.tex b/content/sets-functions-relations/size-of-sets/non-enumerability-alt.tex index 3c7661bf7..93623b8e4 100644 --- a/content/sets-functions-relations/size-of-sets/non-enumerability-alt.tex +++ b/content/sets-functions-relations/size-of-sets/non-enumerability-alt.tex @@ -44,13 +44,13 @@ is the set~$\Bin^\omega$ of all infinite strings of $0$'s and $1$'s. (The `$\Bin$' stands for binary, and we can just think of it as the two-element set -$\{0,1\}$.)\oliflabeldef{sfr:card-arithmetic:card-opps:sec}{\footnote{More +$\{0,1\}$.)\oliflabeldef{sth:card-arithmetic:opps:sec}{\footnote{More accurately, we should stipulate that $\Bin^\omega$ is the set of all $\omega$-sequences of $0$'s and $1$s, i.e., the set $\funfromto{\omega}{\{0,1\}}$. But the meaning of this will only -become clear in \olref[sfr][card-arithmetic][card-opps]{sec}.}{} This +become clear in \olref[sth][card-arithmetic][opps]{sec}. This slightly loose formulation should not cause any confusions -for now, however.} +for now, however.}}{} \end{explain} \begin{thm} @@ -61,8 +61,8 @@ \begin{proof} Consider any enumeration of a subset of $\Bin^\omega$. So we have some list $s_{0}$, $s_{1}$, $s_{2}$, \dots{} where every $s_n$ is an -infinite string of $0$'s and~$1$'s. Let $s_n(m)$ be the $n$th digit of -the $m$th string in this list. So we can now think of our list as an +infinite string of $0$'s and~$1$'s. Let $s_n(m)$ be the $m$th digit of +the $n$th string in this list. So we can now think of our list as an array, where $s_n(m)$ is placed at the $n$th row and $m$th column: \[ \begin{array}{c|c|c|c|c|c} @@ -78,7 +78,7 @@ which is not on this list. We will do this by specifying each of its entries, i.e., we specify $d(n)$ for all $n \in \Nat$. Intuitively, we do this by reading down the diagonal of the array above (hence the -name ``diagonal method'') and then changing every $1$ to a $0$ and +name ``diagonal method'') and then changing every $0$ to a $1$ and every $1$ to a~$0$. More abstractly, we define $d(n)$ to be $0$ or $1$ according to whether the $n$-th !!{element} of the diagonal, $s_n(n)$, is $1$ or $0$, that is: @@ -138,10 +138,10 @@ $\{2,3,4,\dots\}$; then our array would begin with \[ \begin{array}{r@{}rrrrrrr} - N_0 = \{ & \mathbf{0}, & 1, & 2, & & & & \dots\}\\ + N_0 = \{ & \mathbf{0}, & 1, & 2, & 3, & 4, & 5, & \dots\}\\ N_1 = \{ & & \mathbf{1}, & & 3, & & 5, & \dots\}\\ N_2 = \{ & 0, & 1, & & & 4\phantom{,} & & \}\\ - N_3 = \{ & & & 2, & \mathbf{3}, & 4, & & \dots\}\\ + N_3 = \{ & & & 2, & \mathbf{3}, & 4, & 5, & \dots\}\\ &\vdots & & & & & & \ddots\phantom{\}} \end{array} \] diff --git a/content/sets-functions-relations/size-of-sets/non-enumerability.tex b/content/sets-functions-relations/size-of-sets/non-enumerability.tex index 35cea38a1..8c623e5c9 100644 --- a/content/sets-functions-relations/size-of-sets/non-enumerability.tex +++ b/content/sets-functions-relations/size-of-sets/non-enumerability.tex @@ -14,7 +14,7 @@ This section proves the non-enumerability of $\Bin^\omega$ and $\Pow{\PosInt}$ using the definition in \olref[enm]{sec}. It is designed to be a little more elementary and a little more detailed - than the version in \olref[enm-alt]{sec} + than the version in \olref[nen-alt]{sec}. \end{editorial} Some sets, such as the set $\PosInt$ of positive integers, are @@ -23,7 +23,7 @@ have this property. Such sets are called \emph{!!{nonenumerable}}. First of all, it is perhaps already surprising that there are -!!{nonenumerable} sets. For any !!{enumerable} set~$A$ there is +!!{nonenumerable} sets. For any non-empty !!{enumerable} set~$A$ there is !!a{surjective} function $f \colon \PosInt \to A$. If a set is !!{nonenumerable} there is no such function. That is, no function mapping the infinitely many !!{element}s of~$\PosInt$ to~$A$ can diff --git a/content/sets-functions-relations/size-of-sets/pairing.tex b/content/sets-functions-relations/size-of-sets/pairing.tex index ae51346bc..412615a3d 100644 --- a/content/sets-functions-relations/size-of-sets/pairing.tex +++ b/content/sets-functions-relations/size-of-sets/pairing.tex @@ -31,7 +31,7 @@ $(n+1)$st row and $(m-1)$st column contains value $v + 1$. Second: the first row of our enumeration consists of the triangular numbers, starting with $0$, $1$, $3$, $6$, etc. The $k$th triangular number is -the sum of the natural numbers $< k$, which can be computed as +the sum of the natural numbers $\le k$, which can be computed as $k(k+1)/2$. Putting these two observations together, consider this function: \[ @@ -105,7 +105,7 @@ \begin{prob} Let $f \colon A \times B \to \Nat$ be an arbitrary pairing function. -Show that the inverse of $f$ is an enumeration of $A \times B$. +Use the inverse of~$f$ to show that $A \times B$ is !!{enumerable}. \end{prob} \begin{prob} diff --git a/content/sets-functions-relations/size-of-sets/reduction-alt.tex b/content/sets-functions-relations/size-of-sets/reduction-alt.tex index 09807d977..c56ae8647 100644 --- a/content/sets-functions-relations/size-of-sets/reduction-alt.tex +++ b/content/sets-functions-relations/size-of-sets/reduction-alt.tex @@ -50,8 +50,8 @@ there is an enumeration of it, $N_{1}$, $N_{2}$, $N_{3}$, \dots Define the function $f \colon \Pow{\Nat} \to \Bin^\omega$ by letting -$f(N)$ be the string $s_{k}$ such that $s_{k}(n) = 1$ iff $n \in N$, -and $s_k(n) = 0$ otherwise. +$f(N)$ be the string $s$ such that $s(n) = 1$ iff $n \in N$, +and $s(n) = 0$ otherwise. This clearly defines a function, since whenever $N \subseteq \Nat$, any $n \in \Nat$ either is !!a{element} of $N$ or isn't. For @@ -63,7 +63,7 @@ It is also !!{surjective}: every string of $0$s and $1$s corresponds to some set of natural numbers, namely the one which has as its members those natural numbers corresponding to the places where the string -contains a~$1$s. More precisely, if $s \in \Bin^\omega$, then define $N +contains a~$1$. More precisely, if $s \in \Bin^\omega$, then define $N \subseteq \Nat$ by: \[ N = \Setabs{n \in \Nat}{s(n) = 1} diff --git a/content/sets-functions-relations/size-of-sets/reduction.tex b/content/sets-functions-relations/size-of-sets/reduction.tex index cadd36849..bf2fd8f3d 100644 --- a/content/sets-functions-relations/size-of-sets/reduction.tex +++ b/content/sets-functions-relations/size-of-sets/reduction.tex @@ -49,8 +49,8 @@ there is an enumeration of it, $Z_{1}$, $Z_{2}$, $Z_{3}$, \dots Define the function $f \colon \Pow{\PosInt} \to \Bin^\omega$ by letting -$f(Z)$ be the sequence $s_{k}$ such that $s_{k}(n) = 1$ iff $n \in Z$, -and $s_k(n) = 0$ otherwise. This clearly defines a function, since +$f(Z)$ be the sequence $s$ such that $s(n) = 1$ iff $n \in Z$, +and $s(n) = 0$ otherwise. This clearly defines a function, since whenever $Z \subseteq \PosInt$, any $n \in \PosInt$ either is !!a{element} of $Z$ or isn't. For instance, the set $2\PosInt = \{2, 4, 6, \dots\}$ of positive even numbers gets mapped to the sequence @@ -94,7 +94,7 @@ $f(x_1)$, $f(x_2)$, \dots{} would then not be guaranteed to include all the !!{element}s of~$B$. For instance, \[ -h(n) = \underbrace{000\dots0}_{\text{$n$ $0$'s}} +h(n) = \underbrace{000\dots0}_{\text{$n$ $0$'s}}111\dots \] defines a function $h\colon \PosInt \to \Bin^\omega$, but $\PosInt$ is !!{enumerable}. From 302143a5bee0ef6fd4625bfe11cf9b5c8e576648 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 00:05:12 +0100 Subject: [PATCH 05/13] arithmetization: trichotomy uses the strict order Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr; the French text corrects it without a note): - OLP-0047, checking-details.tex: trichotomy is a < b or a = b or a > b (with \leq and \geq the middle disjunct is idle). Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 297ad3f2c2431a516d12faa9987436c6e22f4f24) --- .../arithmetization/checking-details.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/sets-functions-relations/arithmetization/checking-details.tex b/content/sets-functions-relations/arithmetization/checking-details.tex index 72a66ae5d..90006a92f 100644 --- a/content/sets-functions-relations/arithmetization/checking-details.tex +++ b/content/sets-functions-relations/arithmetization/checking-details.tex @@ -105,8 +105,8 @@ from \olref[sfr][rel][ord]{def:linearorder} that a total order is a relation which is reflexive, transitive, anti-symmetric, and connected. In the context of order relations, connectedness is sometimes called - \emph{trichotomy}, since for any $a$ and $b$ we have $a \leq b \lor a - = b \lor a \geq b$.} + \emph{trichotomy}, since for any $a$ and $b$ we have $a < b \lor a + = b \lor a > b$.} \begin{defn} An \emph{ordered ring} is a commutative ring which is also equipped From 8967ec27cae8c071a688fa143f0b971eded113e9 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 00:05:12 +0100 Subject: [PATCH 06/13] inductive-defs-proofs: the sum of the natural numbers up to n Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0718, introduction.tex: the expanded numerator k(k+1) + 2(k+1) is k^2 + k + 2k + 2, not 2k + k + 2k + 2 (French note). - OLP-0718, introduction.tex: the example proves 0 + 1 + ... + n = n(n+1)/2, the sum of the natural numbers up to n; the first n natural numbers, 0 to n-1, sum to n(n-1)/2 (the French text corrects this without a note). - Noticed in the same check: "closed under these functions". Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 1ee73a7a71324b33f380e674c8bd5715281d63f8) --- .../inductive-defs-proofs/introduction.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/sets-functions-relations/inductive-defs-proofs/introduction.tex b/content/sets-functions-relations/inductive-defs-proofs/introduction.tex index 1dd4f06c0..d4ca8bc79 100644 --- a/content/sets-functions-relations/inductive-defs-proofs/introduction.tex +++ b/content/sets-functions-relations/inductive-defs-proofs/introduction.tex @@ -60,9 +60,9 @@ successor function, then every natural number has property $P$. \end{defn} -\begin{ex} The sum of the first $n$ natural numbers is $\frac{n(n+1)}{2}$. \\ +\begin{ex} The sum of the natural numbers up to~$n$ is $\frac{n(n+1)}{2}$. \\ -\textbf{Base case.} The sum of the first 0 natural numbers is $0= +\textbf{Base case.} The sum of the natural numbers up to~$0$ is $0= \frac{0\cdot 1}{2}$.\\ \textbf{Inductive step.} Suppose the property holds for $k$. We will @@ -78,7 +78,7 @@ 0 + 1 + \ldots + k + (k+1) &= \frac{k(k+1)}{2} + (k+1) \tag{Add $k+1$ to both sides} \\ &= \frac{k(k+1) + 2(k+1)}{2} \\ -&= \frac{2k + k + 2k +2}{2} \\ +&= \frac{k^2 + k + 2k +2}{2} \\ &=\frac{(k+1)(k+2)}{2} \end{align*} Hence, the inductive step goes through, and we have proved the claim. @@ -93,7 +93,7 @@ question. For example, the function that joins two !!{formula}s $!!^a$ and $!B$ into a conjunction can be written as $\mathcal E _\land (!!^a, !B) = !!^a \land !B$. We can call these \emph{formula-building - functions}. The set of !!{formula}s is closed these functions: + functions}. The set of !!{formula}s is closed under these functions: whenever $!!^a$ and $!B$ are !!{formula}s, so are $\lnot !!^a$, $!!^a \land !B$, etc. \end{explain} From 359169234023e3ee380cb275dc81879aebebaeaa Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:28 +0100 Subject: [PATCH 07/13] sets-functions-relations/sets: fix word encodings, set references and missing words Found in the translations' records of errors of the English (the errata harvest of 28-29 November 2026: GPT-6 Astra, OpenAI, ChatGPT Pro mode, classified every record against 2e19d095 and made this patch; applied here by Claude Opus 5.5, Anthropic, effort max). Each issue with its sources is in ENGLISH_ERRATA_CONSOLIDATED.tsv: - HV-0009 OLP-0007 important-sets.tex:37: The referenced real-line section declares olfileid{sfr}{arith}{real} and its ordinary section label sec; it declares no realline label. Both the existence test and target must use sec, so the intended optional forward ... - HV-0010 OLP-0007 important-sets.tex:56: The inline mathematical expression runs directly into the word is. A space restores the word boundary; no symbol or mathematical claim changes. - HV-0011 OLP-0008 unions-and-intersections.tex:25: The singular count noun set requires its determiner in this figure caption. Insert the missing the. - HV-0018 OLP-0009 pairs-and-products.tex:121: The preceding definitions set A^1=A and define higher powers by actual Kuratowski pairs. For A={emptyset}, the displayed raw union identifies the length-zero word with its one-letter empty-set word; an alphabet containing a ... - HV-0020 OLP-0721 proofs-about-sets.tex:13: The repository has content/methods/proofs and no content/method/proofs; this editorial notice names a nonexistent superseding path. - HV-0023 OLP-0010 russells-paradox.tex:83: The set-theory part declares olpart{sth}{Set Theory}, and no cumul part is declared. Repair the conditional key and its paired reference so the intended optional forward link works. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit a28c9c916db5eef3854416059bf9184444d6f088) --- content/sets-functions-relations/sets/important-sets.tex | 6 +++--- .../sets-functions-relations/sets/pairs-and-products.tex | 8 +++++--- .../sets-functions-relations/sets/proofs-about-sets.tex | 2 +- .../sets-functions-relations/sets/russells-paradox.tex | 4 ++-- .../sets/unions-and-intersections.tex | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/content/sets-functions-relations/sets/important-sets.tex b/content/sets-functions-relations/sets/important-sets.tex index 85245afcc..4f290b4df 100644 --- a/content/sets-functions-relations/sets/important-sets.tex +++ b/content/sets-functions-relations/sets/important-sets.tex @@ -34,8 +34,8 @@ \Rat$, since $-1$ is an integer but not a natural number, and $\nicefrac{1}{2}$ is rational but not integer. It is less obvious that $\Rat \subsetneq \Real$, i.e., that there are some real numbers -which are not rational\oliflabeldef{sfr:arith:real:realline}{, but we'll -return to this in \olref[arith][real]{realline}}{}. +which are not rational\oliflabeldef{sfr:arith:real:sec}{, but we'll +return to this in \olref[arith][real]{sec}}{}. We'll sometimes also use the set of positive integers $\PosInt = \{1, 2, 3, \dots\}$ and the set containing just the first two natural @@ -53,7 +53,7 @@ =\{\Lambda,0,1,00,01,10,11,\\ 000,001,010,011,100,101,110,111,0000,\ldots\}. \end{multline*} -If $x=x_{1}\ldots x_{n}\in A^{*}$is a string consisting of $n$ +If $x=x_{1}\ldots x_{n}\in A^{*}$ is a string consisting of $n$ ``letters'' from $A$, then we say \emph{length} of the string is~$n$ and write $\len{x}=n$. \end{ex} diff --git a/content/sets-functions-relations/sets/pairs-and-products.tex b/content/sets-functions-relations/sets/pairs-and-products.tex index 19b18d62d..5686fae3e 100644 --- a/content/sets-functions-relations/sets/pairs-and-products.tex +++ b/content/sets-functions-relations/sets/pairs-and-products.tex @@ -118,11 +118,13 @@ !!{element}s of~$A$. For instance, if $A = \{a, b, c\}$, then the sequence ``$bac$'' can be thought of as the triple~$\tuple{b, a, c}$. Words, i.e., sequences of symbols, are of crucial importance in -computer science. By convention, we count !!{element}s of~$A$ as -sequences of length~$1$, and $\emptyset$ as the sequence of length~$0$. +computer science. To distinguish words of different lengths, represent a word of length +$n$ by $\tuple{n,w}$, where $w \in A^n$, and put +$A^0 = \{\emptyset\}$. Thus $\tuple{0,\emptyset}$ represents the +empty word, and $\tuple{1,a}$ represents the one-letter word~$a$. The set of \emph{all} words over~$A$ then is \[ -A^* = \{\emptyset\} \cup A \cup A^2 \cup A^3 \cup \dots +A^* = \bigcup_{n \in \Nat} (\{n\} \times A^n) \] \end{ex} diff --git a/content/sets-functions-relations/sets/proofs-about-sets.tex b/content/sets-functions-relations/sets/proofs-about-sets.tex index 09043fd94..29f0af538 100644 --- a/content/sets-functions-relations/sets/proofs-about-sets.tex +++ b/content/sets-functions-relations/sets/proofs-about-sets.tex @@ -10,7 +10,7 @@ \olsection{Proofs about Sets} \begin{editorial} -This section is superseded by \verb|content/method/proofs| and has +This section is superseded by \verb|content/methods/proofs| and has been removed from this chapter by default. \end{editorial} diff --git a/content/sets-functions-relations/sets/russells-paradox.tex b/content/sets-functions-relations/sets/russells-paradox.tex index b3e14850c..8c7ab012c 100644 --- a/content/sets-functions-relations/sets/russells-paradox.tex +++ b/content/sets-functions-relations/sets/russells-paradox.tex @@ -80,8 +80,8 @@ \emph{genuinely na\"ive}. It tells you only that sets obey extensionality and that, if you have some sets, you can form their union, intersection, etc. It is possible to develop set theory more -rigorously than this. \oliflabeldef{cumul:::part}{That rigour will be -reserved for Part \olref[cumul][][]{part}. For now, we will proceed +rigorously than this. \oliflabeldef{sth:::part}{That rigour will be +reserved for Part \olref[sth][][]{part}. For now, we will proceed na\"ively, and carefully try to sidestep contradictions.}{} \end{digress} diff --git a/content/sets-functions-relations/sets/unions-and-intersections.tex b/content/sets-functions-relations/sets/unions-and-intersections.tex index dc63977a1..a810c862d 100644 --- a/content/sets-functions-relations/sets/unions-and-intersections.tex +++ b/content/sets-functions-relations/sets/unions-and-intersections.tex @@ -22,7 +22,7 @@ \begin{figure} \olasset{assets/diagrams/union.tikz} - \caption{The union $A \cup B$ of two sets is set of !!{element}s of + \caption{The union $A \cup B$ of two sets is the set of !!{element}s of $A$ together with those of~$B$.} \ollabel{fig:union} \end{figure} From aaa7c261add600b8d8c0bb5fcc3585ea1b8f1940 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:28 +0100 Subject: [PATCH 08/13] sets-functions-relations/relations: fix relation examples and cross-references Found in the translations' records of errors of the English (the errata harvest of 28-29 November 2026: GPT-6 Astra, OpenAI, ChatGPT Pro mode, classified every record against 2e19d095 and made this patch; applied here by Claude Opus 5.5, Anthropic, effort max). Each issue with its sources is in ENGLISH_ERRATA_CONSOLIDATED.tsv: - HV-0026 OLP-0013 reflections.tex:46: The actual set-theory part has key sth, and its separation section has olfileid{sth}{z}{sep}; the declared NoUniversalSet theorem belongs there. Repair the conditional part key, its part reference, and the footnote theorem ... - HV-0028 OLP-0014 special-properties.tex:48: The coordinated subject Rxy and Ryx is plural, so its verb is hold. This is a grammatical repair only. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 7dd6ba758ab876437ba26e0d29c6e3fbf1d9b4dd) --- content/sets-functions-relations/relations/reflections.tex | 6 +++--- .../relations/special-properties.tex | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/sets-functions-relations/relations/reflections.tex b/content/sets-functions-relations/relations/reflections.tex index 49861c656..e714938b5 100644 --- a/content/sets-functions-relations/relations/reflections.tex +++ b/content/sets-functions-relations/relations/reflections.tex @@ -43,12 +43,12 @@ be a particular set. Indeed, it would have to be the set $\Setabs{\tuple{x,y}}{x \in y}$. But does this set exist? Given Russell's Paradox, it is a non-trivial claim that such a set exists. -In fact, \oliflabeldef{cumul:::part}{the theory of sets which we develop in -\olref[cumul][][]{part} will \emph{deny} the existence of this +In fact, \oliflabeldef{sth:::part}{the theory of sets which we develop in +\olref[sth][][]{part} will \emph{deny} the existence of this set.\footnote{Skipping ahead, here is why. For reductio, suppose $I = \Setabs{\tuple{x,y}}{x \in y}$ exists. Then $\bigcup \bigcup I$ is the universal set, contradicting -\olref[sfr][z][sep]{thm:NoUniversalSet}.}}{it is possible to +\olref[sth][z][sep]{thm:NoUniversalSet}.}}{it is possible to develop set theory in a rigorous way as an axiomatic theory, and that theory will indeed deny the existence of this set.} So, even if some relations can be treated as sets, the relation of diff --git a/content/sets-functions-relations/relations/special-properties.tex b/content/sets-functions-relations/relations/special-properties.tex index 319af5c01..9e4e2ee11 100644 --- a/content/sets-functions-relations/relations/special-properties.tex +++ b/content/sets-functions-relations/relations/special-properties.tex @@ -45,7 +45,7 @@ In a symmetric relation, $Rxy$ and $Ryx$ always hold together, or neither holds. In an anti-symmetric relation, the only way for $Rxy$ and $Ryx$ to hold together is if $x = y$. Note that this does not -\emph{require} that $Rxy$ and $Ryx$ holds when $x = y$, only that it +\emph{require} that $Rxy$ and $Ryx$ hold when $x = y$, only that it isn't ruled out. So an anti-symmetric relation can be reflexive, but it is not the case that every anti-symmetric relation is reflexive. Also note that being anti-symmetric and merely not being From 996edfbe4a4324ccf61a5c37777b28b4881a816e Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:28 +0100 Subject: [PATCH 09/13] sets-functions-relations/size-of-sets: fix enumeration indices and cardinality arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found in the translations' records of errors of the English (the errata harvest of 28-29 November 2026: GPT-6 Astra, OpenAI, ChatGPT Pro mode, classified every record against 2e19d095 and made this patch; applied here by Claude Opus 5.5, Anthropic, effort max). Each issue with its sources is in ENGLISH_ERRATA_CONSOLIDATED.tsv: - HV-0071 OLP-0027 size-of-sets-complete.tex:14: The alternative definition in enumerability-alt.tex:39–42 explicitly allows finite initial segments; the overview omits them and incorrectly excludes nonempty finite sets. The later overview at 44–46 confirms the intended scope. - HV-0072 OLP-0027 size-of-sets-complete.tex:43: Adjective agreement: definition is modified by different, not the noun difference (line 43). - HV-0073 OLP-0029 enumerability.tex:39: An order of type omega+Z has a first element and a unique immediate predecessor for each nonfirst element, but its Z-part has infinite predecessors. Finite positions are required independently by the definition at 27–31. ... - HV-0074 OLP-0029 enumerability.tex:46: The displayed list is 1,4,9,16,25; the natural-number convention includes 0 (120–121), whereas the exercise at 137 correctly calls this sequence positive squares. The qualifier prevents a mismatch in the named first five squares. - HV-0078 OLP-0029 enumerability.tex:151: The header and formula row at 148–150 include f(7). Substitution in f(n)=(-1)^n ceil((n-1)/2) gives f(7)=-ceil(3)=-3. The last row is missing exactly that seventh entry. - HV-0084 OLP-0031 pairing.tex:30: The array is indexed by natural numbers beginning at 0. Moving from column m to m-1 is defined only for m>0; for m=0 the asserted position does not exist. The diagonal formula at 38 agrees with the guarded step. - HV-0086 OLP-0031 pairing.tex:40: The construction is rather than; that is a typographical conjunction error at 40. - HV-0087 OLP-0031 pairing.tex:93: The immediately following condition is Nat\A finite. Therefore the complement is relative to Nat and the finite object is a subset of Nat; the printed phrase wrongly identifies Nat itself as the finite set. - HV-0091 OLP-0032 pairing-alt.tex:30: The construction refers to the multiple remaining empty places and uses plural remain. Add the missing plural s. - HV-0098 OLP-0033 non-enumerability.tex:196: The participle leaving is coordinated with including in the description of forming the diagonal set; include breaks the parallel construction. - HV-0109 OLP-0037 schroder-bernstein.tex:38: The proof file infinite/card-sb.tex:5 declares olfileid{sfr}{infinite}{card-sb}. Neither the conditional label nor the reference target using cardinals exists in the supplied repository. Fix both together. - HV-0110 OLP-0037 schroder-bernstein.tex:40: When the conditional reference is printed, its closing percent suppresses the line-ending space and the following For starts immediately after the period. Removing that percent restores the required intersentence space. This ... - HV-0111 OLP-0038 enumerability-alt.tex:21: The sentence needs an indefinite article and contains a stray is before by; the immediately following set-list example fixes the intended syntax. - HV-0115 OLP-0039 non-enumerability-alt.tex:26: enumerability-alt.tex:39–42 and 58–61 includes finite sets. Absence of a Nat-bijection characterizes nonenumerability only for infinite A: a singleton has no such bijection but is enumerable. Retain the same infinite-set ... - HV-0117 OLP-0039 non-enumerability-alt.tex:62: Under the bijection convention finite subsets have finite enumerations, so s_n need not exist for every n. The strings with one 1 show the ambient set is infinite. Restricting the arbitrary subset to infinite subsets justifies ... - HV-0123 OLP-0040 reduction-alt.tex:38: The chapter uses bijective enumerations (enumerability-alt.tex:39–42). A surjection can identify x_i and x_j; remove later repetitions to obtain the required bijective finite or infinite enumeration. The ... - HV-0128 OLP-0040 reduction-alt.tex:93: The displayed function is g(s)=s(1) while this chapter indexes strings from 0 (non-enumerability-alt.tex:63–74). Thus index 1 is the second element. The surjectivity explanation must refer to the same entry. - HV-0129 OLP-0040 reduction-alt.tex:98: The commented explanatory block continues the reduction f:A→B from 34–40; Y is never bound. Correct the named codomain while retaining the comment. - HV-0130 OLP-0040 reduction-alt.tex:101: The declared codomain is Bin^omega, the infinite binary strings; n zeroes alone is finite. Appending an infinite tail of ones gives a well-defined injection that is not surjective, as this commented example requires. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 4b620a94a4fe26d9f44a3251e106df97cbce7ac9) --- .../size-of-sets/enumerability-alt.tex | 2 +- .../size-of-sets/enumerability.tex | 6 +++--- .../size-of-sets/non-enumerability-alt.tex | 8 ++++---- .../size-of-sets/non-enumerability.tex | 2 +- .../size-of-sets/pairing-alt.tex | 2 +- .../size-of-sets/pairing.tex | 6 +++--- .../size-of-sets/reduction-alt.tex | 12 ++++++------ .../size-of-sets/schroder-bernstein.tex | 4 ++-- .../size-of-sets/size-of-sets-complete.tex | 4 ++-- 9 files changed, 23 insertions(+), 23 deletions(-) diff --git a/content/sets-functions-relations/size-of-sets/enumerability-alt.tex b/content/sets-functions-relations/size-of-sets/enumerability-alt.tex index 5831c1565..fc97f4dab 100644 --- a/content/sets-functions-relations/size-of-sets/enumerability-alt.tex +++ b/content/sets-functions-relations/size-of-sets/enumerability-alt.tex @@ -18,7 +18,7 @@ that section. \end{editorial} -We can specify finite set is by simply enumerating its +We can specify a finite set by simply enumerating its !!{element}s. We do this when we define a set like so: \[ A = \{a_1, a_2, \ldots, a_n\}. diff --git a/content/sets-functions-relations/size-of-sets/enumerability.tex b/content/sets-functions-relations/size-of-sets/enumerability.tex index 6989a613f..2b398ca06 100644 --- a/content/sets-functions-relations/size-of-sets/enumerability.tex +++ b/content/sets-functions-relations/size-of-sets/enumerability.tex @@ -36,14 +36,14 @@ \begin{enumerate} \item We count as enumerations only lists which have a beginning and in which every !!{element} other than the first has a single - !!{element} immediately preceding it. In other words, there are + !!{element} immediately preceding it. In addition, there are only finitely many elements between the first !!{element} of the list and any other !!{element}. In particular, this means that every !!{element} of an enumeration has a finite position: the first !!{element} has position~$1$, the second position~$2$, etc. \item We can have different enumerations of the same set~$A$ which differ by the order in which the !!{element}s appear: $4$, $1$, - $25$, $16$,~$9$ enumerates the (set of the) first five square + $25$, $16$,~$9$ enumerates the (set of the) first five positive square numbers just as well as $1$, $4$, $9$, $16$,~$25$ does. \item Redundant enumerations are still enumerations: $1$, $1$, $2$, $2$, $3$, $3$,~\dots{} enumerates the same set as $1$, $2$, @@ -148,7 +148,7 @@ f(1) & f(2) & f(3) & f(4) & f(5) & f(6) & f(7) & \dots \\ \\ - \lceil \tfrac{0}{2} \rceil & \lceil \tfrac{1}{2}\rceil & - \lceil \tfrac{2}{2} \rceil & \lceil \tfrac{3}{2} \rceil & - \lceil \tfrac{4}{2} \rceil & \lceil \tfrac{5}{2} \rceil & - \lceil \tfrac{6}{2} \rceil & \dots \\ \\ -0 & 1 & -1 & 2 & -2 & 3 & \dots +0 & 1 & -1 & 2 & -2 & 3 & -3 & \dots \end{array} \] You can also think of $f$ as defined by cases as follows: diff --git a/content/sets-functions-relations/size-of-sets/non-enumerability-alt.tex b/content/sets-functions-relations/size-of-sets/non-enumerability-alt.tex index 93623b8e4..cb28f2a44 100644 --- a/content/sets-functions-relations/size-of-sets/non-enumerability-alt.tex +++ b/content/sets-functions-relations/size-of-sets/non-enumerability-alt.tex @@ -23,14 +23,14 @@ \emph{!!{nonenumerable}} sets, i.e., sets which are not !!{enumerable} (see \olref[sfr][siz][enm-alt]{defn:enumerable}). -This might be surprising. After all, to say that $A$ is +This might be surprising. After all, to say that an infinite set $A$ is !!{nonenumerable} is to say that there is \emph{no} !!{bijection} $f \colon \Nat \to A$; that is, no function mapping the infinitely many !!{element}s of~$\Nat$ to~$A$ exhausts all of~$A$. So if $A$ is !!{nonenumerable}, there are ``more'' !!{element}s of~$A$ than there are natural numbers. -To prove that a set is !!{nonenumerable}, you have to show that no +To prove that an infinite set is !!{nonenumerable}, you have to show that no appropriate !!{bijection} can exist. The best way to do this is to show that every attempt to enumerate !!{element}s of~$A$ must leave at least one !!{element} out; this shows that no function $f\colon \Nat @@ -59,7 +59,7 @@ \end{thm} \begin{proof} -Consider any enumeration of a subset of $\Bin^\omega$. So we have some +The set $\Bin^\omega$ is infinite: the strings with a single $1$ in each possible position are distinct. Consider any enumeration of an infinite subset of $\Bin^\omega$. So we have some list $s_{0}$, $s_{1}$, $s_{2}$, \dots{} where every $s_n$ is an infinite string of $0$'s and~$1$'s. Let $s_n(m)$ be the $m$th digit of the $n$th string in this list. So we can now think of our list as an @@ -96,7 +96,7 @@ $s_0$, $s_1$, $s_2$, \dots -We have shown, given an arbitrary enumeration of some subset of +We have shown, given an arbitrary enumeration of some infinite subset of $\Bin^\omega$, that it will omit some !!{element} of $\Bin^\omega$. So there is no enumeration of the set $\Bin^\omega$, i.e., $\Bin^\omega$ is !!{nonenumerable}. diff --git a/content/sets-functions-relations/size-of-sets/non-enumerability.tex b/content/sets-functions-relations/size-of-sets/non-enumerability.tex index 8c623e5c9..7f3790ac7 100644 --- a/content/sets-functions-relations/size-of-sets/non-enumerability.tex +++ b/content/sets-functions-relations/size-of-sets/non-enumerability.tex @@ -193,7 +193,7 @@ \end{array} \] Then $\overline{Z}$ is the set obtained by going down the diagonal, -leaving out any numbers that appear along the diagonal and include +leaving out any numbers that appear along the diagonal and including those $j$ where the array has a gap in the $j$-th row/column. In the above case, we would leave out $1$ and $2$, include~$3$, leave out~$4$, etc. diff --git a/content/sets-functions-relations/size-of-sets/pairing-alt.tex b/content/sets-functions-relations/size-of-sets/pairing-alt.tex index 2fae234c5..a91e17ca0 100644 --- a/content/sets-functions-relations/size-of-sets/pairing-alt.tex +++ b/content/sets-functions-relations/size-of-sets/pairing-alt.tex @@ -27,7 +27,7 @@ \tuple{0,0} & & \tuple{0,1} & & \tuple{0,2} & & \tuple{0,3} & & \tuple{0,4} & & \dots \\ \end{array} \] -Repeat this with pairs $\tuple{1,m}$ for the place that still remain +Repeat this with pairs $\tuple{1,m}$ for the places that still remain empty, again skipping every other empty place: \[\small \begin{array}{@{}c c c c c c c c c c c@{}} diff --git a/content/sets-functions-relations/size-of-sets/pairing.tex b/content/sets-functions-relations/size-of-sets/pairing.tex index 412615a3d..6b5e996e3 100644 --- a/content/sets-functions-relations/size-of-sets/pairing.tex +++ b/content/sets-functions-relations/size-of-sets/pairing.tex @@ -27,7 +27,7 @@ in our enumeration. In fact, we can define $g$ directly by making two observations. First: -if the $n$th row and $m$th column contains value~$v$, then the +if $m > 0$ and the $n$th row and $m$th column contains value~$v$, then the $(n+1)$st row and $(m-1)$st column contains value $v + 1$. Second: the first row of our enumeration consists of the triangular numbers, starting with $0$, $1$, $3$, $6$, etc. The $k$th triangular number is @@ -37,7 +37,7 @@ \[ g(n,m) = \frac{(n+m+1)(n+m)}{2} + n \] -We often just write $g(n, m)$ rather that $g(\tuple{n, m})$, since it +We often just write $g(n, m)$ rather than $g(\tuple{n, m})$, since it is easier on the eyes. This tells you first to determine the $(n+m)^\text{th}$ triangle number, and then add $n$ to it. And it populates the array in exactly the way we would like. So in @@ -90,7 +90,7 @@ \begin{prob} A subset of $\Nat$ is said to be \emph{cofinite} iff it is the -complement of a finite set $\Nat$; that is, $A \subseteq \Nat$ is +complement in $\Nat$ of a finite subset of $\Nat$; that is, $A \subseteq \Nat$ is cofinite iff $\Nat\setminus A$ is finite. Let $I$ be the set whose !!{element}s are exactly the finite and cofinite subsets of $\Nat$. Show that $I$ is !!{enumerable}. diff --git a/content/sets-functions-relations/size-of-sets/reduction-alt.tex b/content/sets-functions-relations/size-of-sets/reduction-alt.tex index c56ae8647..864a2291b 100644 --- a/content/sets-functions-relations/size-of-sets/reduction-alt.tex +++ b/content/sets-functions-relations/size-of-sets/reduction-alt.tex @@ -35,7 +35,7 @@ a set~$A$, we provide a way of turning an enumeration of~$A$ into an enumeration of~$B$. The easiest way to do that is to define !!a{surjection} $f\colon A \to B$. If $x_1$, $x_2$, \dots{} -enumerates~$A$, then $f(x_1)$, $f(x_2)$, \dots{} would enumerate~$B$. +enumerates~$A$, then $f(x_1)$, $f(x_2)$, \dots{}, with repetitions removed, would enumerate~$B$. In our case, we are looking for !!a{surjection} $f\colon \Pow{\Nat} \to \Bin^\omega$. @@ -90,15 +90,15 @@ %For instance, !!a{surjective} function $g \colon \Bin^\omega \to X$ %does \emph{not} establish that $X$ is !!{nonenumerable}. (Consider $g %\colon \Bin^\omega \to \Bin$ defined by $g(s) = s(1)$, the function -%that maps a sequence of $0$'s and $1$'s to its first !!{element}. It -%is surjective, because some sequences start with $0$ and some start -%with $1$. But $\Bin$ is finite.) Note also that the function $f$ must +%that maps a sequence of $0$'s and $1$'s to its second !!{element}. It +%is surjective, because some sequences have $0$ as their second entry and some have +%$1$. But $\Bin$ is finite.) Note also that the function $f$ must %be surjective, or otherwise the argument does not go through: %$f(x_1)$, $f(x_2)$, \dots{} would then not be guaranteed to include -%all the !!{element}s of~$Y$. For instance, $h\colon \Nat \to +%all the !!{element}s of~$B$. For instance, $h\colon \Nat \to %\Bin^\omega$ defined by %\[ -%h(n) = \underbrace{000\dots0}_{\text{$n$ $0$'s}} +%h(n) = \underbrace{000\dots0}_{\text{$n$ $0$'s}}111\dots %\] %is a function, but $\Nat$ is !!{enumerable}. %\end{explain} diff --git a/content/sets-functions-relations/size-of-sets/schroder-bernstein.tex b/content/sets-functions-relations/size-of-sets/schroder-bernstein.tex index d2991de0a..fe011ed64 100644 --- a/content/sets-functions-relations/size-of-sets/schroder-bernstein.tex +++ b/content/sets-functions-relations/size-of-sets/schroder-bernstein.tex @@ -35,9 +35,9 @@ Indeed, although Cantor stated the result, others proved it.\footnote{For more on the history, see e.g., \citet[pp.~165--6]{Potter2004}.} -\oliflabeldef{sfr:cardinals:card-sb:sec}{We will only be in +\oliflabeldef{sfr:infinite:card-sb:sec}{We will only be in a position to \emph{prove} Schr\"oder-Bernstein in -\olref[sfr][cardinals][card-sb]{sec}.}{}% +\olref[sfr][infinite][card-sb]{sec}.}{} For now, you can (and must) take it on trust. diff --git a/content/sets-functions-relations/size-of-sets/size-of-sets-complete.tex b/content/sets-functions-relations/size-of-sets/size-of-sets-complete.tex index 774226206..cba36b2e9 100644 --- a/content/sets-functions-relations/size-of-sets/size-of-sets-complete.tex +++ b/content/sets-functions-relations/size-of-sets/size-of-sets-complete.tex @@ -11,7 +11,7 @@ This chapter discusses enumerations, countability and uncountability. Several sections come in two versions: a more elementary one, that takes enumerations to be lists, or surjections from $\PosInt$; and a -more abstract one that defines enumerations as bijections with $\Nat$. +more abstract one that defines enumerations as bijections with $\Nat$ or an initial segment. \end{editorial} \olimport{introduction} @@ -40,7 +40,7 @@ alternative versions of \olref[sfr][siz][enm]{sec}, \olref[sfr][siz][nen]{sec}, \olref[sfr][siz][red]{sec} due to Tim Button for use in his Open Set Theory text. They are slightly more -advanced and use a difference definition of enumerability more +advanced and use a different definition of enumerability more suitable in a set theory context (i.e., bijection with $\Nat$ or an initial segment, rather than being listable or being the range of a surjective function from $\PosInt$). From 6b892aaaec1174969254304269851a875d85f80a Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:28 +0100 Subject: [PATCH 10/13] sets-functions-relations/arithmetization: fix quotient arithmetic, field assumptions and Cauchy bounds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found in the translations' records of errors of the English (the errata harvest of 28-29 November 2026: GPT-6 Astra, OpenAI, ChatGPT Pro mode, classified every record against 2e19d095 and made this patch; applied here by Claude Opus 5.5, Anthropic, effort max). Each issue with its sources is in ENGLISH_ERRATA_CONSOLIDATED.tsv: - HV-0138 OLP-0044 reals.tex:24: The commented footnote asserts that sqrt(2) denotes both roots. The chapter’s square-root function convention selects the nonnegative root, and the active proof subsequently uses that root. The audit covers the repository ... - HV-0142 OLP-0044 reals.tex:62: The immediately preceding active equation binds m=2r; q is unbound in this commented alternate derivation. Use r in all three equations, preserving their inactive status. - HV-0143 OLP-0044 reals.tex:72: The supplied memorial evidence records death on4May2005; Marathi already corrects it. Birth-year uncertainty is separately preserved. - HV-0144 OLP-0044 reals.tex:80: The less-than sign is outside mathematics, has no operands, and interrupts the prose before are all smaller than 3. Delete only that character. - HV-0148 OLP-0045 cuts.tex:47: The verb allows requires an object before the infinitive in this sentence. Insert us; no mathematics changes. - HV-0154 OLP-0045 cuts.tex:105: The nonnegative clause (91–92) and the three strict-sign clauses (104–106) omit negative×zero and zero×negative. Including zero in the nonnegative factor of each mixed-sign case reduces both missing cases to nonnegative ... - HV-0156 OLP-0046 reflections.tex:29: The construction uses classes of Cauchy sequences. The bare singular count noun sequence has no determiner; the surrounding plural construction calls for sequences. - HV-0163 OLP-0047 checking-details.tex:85: Expanding the previous line at 83 gives four positive summands, not five. The commented alternate line duplicates b1b2. For all six variables equal to 1, it changes [4,4]=0 into [5,4]=1. Remove only the duplicate term and ... - HV-0165 OLP-0047 checking-details.tex:132: The one-element ring satisfies every equation at 24–35, the order clauses at 112–117, and the inverse clause at 134 vacuously. Thus nontriviality is missing, not implied. Independently opened Stacks Project, Fields, Definition ... - HV-0172 OLP-0048 cauchy.tex:30: The count noun tweak requires its article in a bit of a tweak. Insert only a. - HV-0174 OLP-0048 cauchy.tex:56: The passive phrase duplicates be. Delete the first be and retain the existing adverb position. - HV-0175 OLP-0048 cauchy.tex:101: The sentence lacks its main verb is between this and as follows. - HV-0179 OLP-0048 cauchy.tex:130: The relation just defined at 120 and used at 122–125 is Realequiv; open-logic-config.sty:1253 defines its glyph as Bumpeq, not sim_Real. The exercise names the same relation and has introduced no alias. Use the existing macro. - HV-0181 OLP-0048 cauchy.tex:145: The distributive subject each is singular. Replace are Cauchy sequences by is a Cauchy sequence, preserving the listed functions and their correct closure claim. - HV-0189 OLP-0048 cauchy.tex:184: The explicit comparison q_Real (cherry picked from commit 84c62e8c8baae194e13f2f94c9d0f74e8371dfda) --- .../arithmetization/cauchy.tex | 16 ++++++++-------- .../arithmetization/checking-details.tex | 4 ++-- .../arithmetization/cuts.tex | 6 +++--- .../arithmetization/reals.tex | 12 ++++++------ .../arithmetization/reflections.tex | 2 +- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/content/sets-functions-relations/arithmetization/cauchy.tex b/content/sets-functions-relations/arithmetization/cauchy.tex index c2313f5b7..d085bea0a 100644 --- a/content/sets-functions-relations/arithmetization/cauchy.tex +++ b/content/sets-functions-relations/arithmetization/cauchy.tex @@ -28,7 +28,7 @@ It is very easy to model decimal expansions in set theory: simply consider them as functions $d \colon \Nat \to \Nat$, where $d(n)$ is the $n$th decimal place that we are interested in. We will then need a -bit of tweak, to handle the bit of the real number that comes before +bit of a tweak, to handle the bit of the real number that comes before the decimal point (here, just $1$). We will also need a further tweak (an equivalence relation) to guarantee that, for example, $0.999\ldots = 1$. But it is not difficult to offer a perfectly rigorous @@ -53,7 +53,7 @@ \item Every real can be written as a (perhaps infinite) decimal expansion. \item The information encoded by a (perhaps infinite) decimal - expansion can be equally be encoded by a sequence of rational + expansion can equally be encoded by a sequence of rational numbers. \item A sequence of rational numbers can be thought of as a function from $\Nat$ to $\Rat$; just let $f(n)$ be the $n$th @@ -98,7 +98,7 @@ \emph{is} any Cauchy sequence. But, as in the constructions of $\Int$ and $\Rat$, this would be too na\"{i}ve: for any given real number, multiple different Cauchy sequences indicate that real number. A -simple way to see this as follows. Given a Cauchy sequence~$f$, define +simple way to see this is as follows. Given a Cauchy sequence~$f$, define $g$ to be exactly the same function as~$f$, except that $g(0)\neq f(0)$. Since the two sequences agree everywhere after the first number, we will (ultimately) want to say that they have the same @@ -127,7 +127,7 @@ \begin{prob} Let $f(n) = 0$ for every $n$. Let $g(n) = \frac{1}{(n+1)^2}$. Show that both are Cauchy sequences, and indeed that the limit of both -functions is $0$, so that also $f \sim_\Real g$. +functions is $0$, so that also $f \Realequiv g$. \end{prob} Having done this, we shall as usual write $\equivrep{f}{\Realequiv}$ @@ -143,7 +143,7 @@ \end{align*} where $(f + g)(n) = f(n) + g(n)$ and $(f \times g)(n) = f(n) \times g(n)$. Of course, we also need to check that each of $(f + g)$, -$(f-g)$ and $(f\times g)$ are Cauchy sequences when $f$ and $g$ are; +$(f-g)$ and $(f\times g)$ is a Cauchy sequence when $f$ and $g$ are; but they are, and we leave this to you. Finally, we define a notion of order. Say $\equivrep{f}{}$ is @@ -181,13 +181,13 @@ \begin{proof}[Proof sketch] Let $S$ be any non-empty set of Cauchy sequences with an upper bound. So there is some $p \in \Rat$ such that $p_{\Real}$ is an upper bound for $S$. Let $r \in S$; then there is -some $q \in \Rat$ such that $q_{\Real} < r$. So if a least upper bound +some $q \in \Rat$ such that $q_{\Real} < \equivrep{r}{}$. So if a least upper bound on $S$ exists, it is between $q_\Real$ and $p_\Real$ (inclusive). We will hone in on the l.u.b., by approaching it simultaneously from below and above. In particular, we define two functions, $f, g \colon \Nat \to \Rat$, with the aim that $f$ will hone in on the l.u.b.\ from -above, and $g$ will hone on in it from below. We start by defining: +above, and $g$ will hone in on it from below. We start by defining: \begin{align*} f(0) &= p \\ g(0) &= q @@ -209,7 +209,7 @@ \end{align*} Both $f$ and $g$ are Cauchy sequences. (This can be checked fairly easily, but we leave it as an exercise.) Note that the function $(f-g)$ -tends to $0$, since the difference between $f$ and $g$ halves at each +tends to $0$, since the difference between $f$ and $g$ is at most halved at each step. Hence $\equivrep{f}{} = \equivrep{g}{}$. We first show that $\equivrep{f}{}$ is an upper bound on $S$, i.e.\ that $(\forall h \in S)\equivrep{h}{} \leq \equivrep{f}{}$. diff --git a/content/sets-functions-relations/arithmetization/checking-details.tex b/content/sets-functions-relations/arithmetization/checking-details.tex index 90006a92f..0ce27a8ae 100644 --- a/content/sets-functions-relations/arithmetization/checking-details.tex +++ b/content/sets-functions-relations/arithmetization/checking-details.tex @@ -82,7 +82,7 @@ &= \equivrep{a_1, b_1}{} \times \equivrep{a_2 + a_3,b_2+b_3}{}\\ &= \equivrep{a_1 (a_2 + a_3) + b_1 (b_2+b_3), a_1 (b_2 + b_3) + b_1 (a_2 + a_3)}{}\\ &= \equivrep{a_1 a_2 + a_1a_3 + b_1 b_2+b_1b_3, a_1 b_2 + a_1b_3 + a_2b_1 + a_3b_1}{}\\ -% &= \equivrep{a_1 a_2 + b_1b_2 + a_1a_3 + b_1 b_2+b_1b_3, a_1 b_2 + a_1b_3 + a_2b_1 + a_3b_1}{}\\ +% &= \equivrep{a_1 a_2 + b_1b_2 + a_1a_3 + b_1b_3, a_1 b_2 + a_1b_3 + a_2b_1 + a_3b_1}{}\\ &= \equivrep{a_1a_2 + b_1b_2, a_1b_2 + a_2b_1}{} + \equivrep{a_1a_3 + b_1b_3, a_1b_3 + a_3b_1}{}\\ &= (\equivrep{a_1, b_1}{} \times \equivrep{a_2,b_2}{}) + (\equivrep{a_1, b_1}{} \times \equivrep{a_3, b_3}{})\\ &= (i \times j) + (i \times k) @@ -129,7 +129,7 @@ rationals form an ordered \emph{field}, under our given definitions of $+$, $\times$, and $\leq$: \begin{defn}\ollabel{orderedfield} -An \emph{ordered field} is an ordered ring which also satisfies: +An \emph{ordered field} is an ordered ring with $0 \neq 1$ which also satisfies: \begin{align*} \emph{Multiplicative Inverse}& & (\forall a \in S \setminus \{0\})(\exists b \in S) a\times b& = 1 \end{align*} diff --git a/content/sets-functions-relations/arithmetization/cuts.tex b/content/sets-functions-relations/arithmetization/cuts.tex index 21e714e67..b55b7c792 100644 --- a/content/sets-functions-relations/arithmetization/cuts.tex +++ b/content/sets-functions-relations/arithmetization/cuts.tex @@ -44,7 +44,7 @@ \begin{align*} \alpha \leq \beta \text{ iff }\alpha \subseteq \beta \end{align*} -This definition of an order allows to \emph{state} the central result, +This definition of an order allows us to \emph{state} the central result, that the set of cuts has the Completeness Property. Spelled out fully, the statement has this shape. If $S$ is a non-empty set of cuts with an upper bound, then $S$ has a least upper bound. In more detail: there is a cut, $\lambda$, which is an upper bound for $S$, i.e.\ $(\forall \alpha \in S)\alpha \subseteq @@ -102,8 +102,8 @@ \alpha \times \beta &\defis \begin{cases} \mathord{-}\alpha \times \mathord{-}\beta &\text{if }\alpha < 0_\Real\text{ and }\beta < 0_\Real\\ - \mathord{-}(\mathord{-}\alpha \times \beta) &\text{if }\alpha < 0_\Real \text{ and }\beta > 0_\Real\\ - \mathord{-}(\alpha \times \mathord{-}\beta) &\text{if }\alpha > 0_\Real \text{ and }\beta < 0_\Real + \mathord{-}(\mathord{-}\alpha \times \beta) &\text{if }\alpha < 0_\Real \text{ and }\beta \geq 0_\Real\\ + \mathord{-}(\alpha \times \mathord{-}\beta) &\text{if }\alpha \geq 0_\Real \text{ and }\beta < 0_\Real \end{cases} \end{align*} We then need to check that each of these definitions always yields a diff --git a/content/sets-functions-relations/arithmetization/reals.tex b/content/sets-functions-relations/arithmetization/reals.tex index bd91a72db..377e384c7 100644 --- a/content/sets-functions-relations/arithmetization/reals.tex +++ b/content/sets-functions-relations/arithmetization/reals.tex @@ -21,7 +21,7 @@ was first proved by Cantor. But it's been known for about two and a half millennia that there are irrational numbers, i.e., reals which are not rational. Indeed: -%\footnote{Now: ``$\sqrt{2}$'' equally refers to both the positive and the negative roots; but in the next few pages, I'll forget about this, and consider only the positive root.} +%\footnote{Now: ``$\sqrt{2}$'' refers to the positive square root; in the next few pages, this is the root we consider.} \begin{thm}\ollabel{root2irrational} $\sqrt{2}$ is not rational, i.e., $\sqrt{2} \notin \Rat$ \end{thm} @@ -60,16 +60,16 @@ is even. (It is easy to show that, if $x$ is odd, then $x^2$ is odd.) So $m = 2r$, for some $r \in \Nat$. Rearranging, $2r^2 = n^2$, % \begin{align*} - % (2q)^{2} &= 2n^{2}\\ - % 4q^{2} &= 2n^{2}\\ - % 2q^{2} &= n^{2} + % (2r)^{2} &= 2n^{2}\\ + % 4r^{2} &= 2n^{2}\\ + % 2r^{2} &= n^{2} % \end{align*} so $n$ is also even. So both $m$ and $n$ are even, and hence the fraction $\nicefrac{m}{n}$ \emph{can} be reduced further. Contradiction! \end{proof} -In passing, this diagrammatic proof allows us to revisit the material from \olref[his][set][mythology]{sec}. Tennenbaum (1927--2006) was a thoroughly modern mathematician; but the proof is undeniably lovely, completely rigorous, and appeals to geometric intuition! +In passing, this diagrammatic proof allows us to revisit the material from \olref[his][set][mythology]{sec}. Tennenbaum (1927--2005) was a thoroughly modern mathematician; but the proof is undeniably lovely, completely rigorous, and appeals to geometric intuition! In any case: the reals are ``more expansive'' than the rationals. In some sense, there are ``gaps'' in the rationals, and these are filled by the reals. Weierstrass realised that this describes a single property of the real numbers, which distinguishes them from the rationals, namely the Completeness Property: \emph{Every non-empty set of real numbers with an upper bound has a least upper bound.} @@ -77,7 +77,7 @@ \[ \Setabs{p \in \Rat}{p^2 < 2 \text{ or }p < 0} \] -This has an upper bound in the rationals; its !!{element}s< are all smaller than $3$, for example. But what is its least upper bound? We want to say `$\sqrt{2}$'; but we have just seen that $\sqrt{2}$ is \emph{not} rational. And there is no \emph{least} rational number greater than $\sqrt{2}$. So the set has an upper bound but no least upper bound. Hence the rationals lack the Completeness Property. +This has an upper bound in the rationals; its !!{element}s are all smaller than $3$, for example. But what is its least upper bound? We want to say `$\sqrt{2}$'; but we have just seen that $\sqrt{2}$ is \emph{not} rational. And there is no \emph{least} rational number greater than $\sqrt{2}$. So the set has an upper bound but no least upper bound. Hence the rationals lack the Completeness Property. By contrast, the continuum ``morally ought'' to have the Completeness Property. We do not just want $\sqrt{2}$ to be a real number; we want to fill all the ``gaps'' in the rational line. Indeed, we want the continuum itself to have no ``gaps'' in it. That is just what we will get via Completeness. diff --git a/content/sets-functions-relations/arithmetization/reflections.tex b/content/sets-functions-relations/arithmetization/reflections.tex index 394aa8ef3..fd9bcb9b9 100644 --- a/content/sets-functions-relations/arithmetization/reflections.tex +++ b/content/sets-functions-relations/arithmetization/reflections.tex @@ -26,7 +26,7 @@ \emph{more} rigorous than thinking of reals in terms of their familiar (possibly infinite) decimal expansions. This latter ``construction'' of the reals has some resemblance to the construction of the reals via -Cauchy sequence; but in fact, it was essentially known to +Cauchy sequences; but in fact, it was essentially known to mathematicians from the early 17th century onwards (see \olref[cauchy]{sec}). The real increase in rigour came from the realisation that the reals have the Completeness Property; the ability From bb0672103463af0c4ec58ca19955daf84f25b41f Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:29 +0100 Subject: [PATCH 11/13] sets-functions-relations/infinite: fix Dedekind algebra scope and cardinality notation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found in the translations' records of errors of the English (the errata harvest of 28-29 November 2026: GPT-6 Astra, OpenAI, ChatGPT Pro mode, classified every record against 2e19d095 and made this patch; applied here by Claude Opus 5.5, Anthropic, effort max). Each issue with its sources is in ENGLISH_ERRATA_CONSOLIDATED.tsv: - HV-0197 OLP-0050 hilberts-hotel.tex:14: The predicative infinitive following our first step must be requires to. Insert only that word. - HV-0200 OLP-0051 dedekind-algebra.tex:34: The empty set is successor-closed vacuously. Condition 3 at 26–27 requires every number be generated from 0, and the following closure definition explicitly contains its base element. Add the missing seed requirement to 3-prime. - HV-0201 OLP-0051 dedekind-algebra.tex:42: For f:{0}→{1}, the proposed witness ran(f)∪{0} contains 1 outside dom(f), so f(1) is undefined. The definition and lemma require a self-map with seed in its carrier. Restrict the closure family to subsets of A; ran(f)∪{o} is ... - HV-0211 OLP-0054 card-sb.tex:28: As in dedekind-algebra.tex, closure requires f to be defined throughout an ambient invariant set and B to lie in it. f:{0}→{1}, B={0} otherwise has no such closed domain subset. In the proof at 56, f:C→A⊆C is a self-map of ... - HV-0212 OLP-0054 card-sb.tex:52: The proposition assumes A⊆B⊆C and A≈C. Its proof at 66–68 explicitly constructs C→B bijective and says B≈C, while the second cardeq in the statement has an empty left argument. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 9339cfaa864f342790521c9baf5de293c67d4e8f) --- content/sets-functions-relations/infinite/card-sb.tex | 8 ++++---- .../infinite/dedekind-algebra.tex | 10 +++++----- .../infinite/hilberts-hotel.tex | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/content/sets-functions-relations/infinite/card-sb.tex b/content/sets-functions-relations/infinite/card-sb.tex index 7013ce39c..3b17a8d13 100644 --- a/content/sets-functions-relations/infinite/card-sb.tex +++ b/content/sets-functions-relations/infinite/card-sb.tex @@ -25,15 +25,15 @@ Using similar notation as \olref[sfr][infinite][dedekind]{Closure}, let \[ -\Closureofunder{f}{B} = \bigcap \Setabs{X}{B \subseteq X +\Closureofunder{f}{B} = \bigcap \Setabs{X \subseteq U}{B \subseteq X \text{ and $X$ is $f$-closed}} \] -for each set $B$ and function~$f$. Defined thus, +for each function $f\colon U \to U$ and set $B \subseteq U$. Defined thus, $\Closureofunder{f}{B}$ is the smallest $f$-closed set containing~$B$, in that: \begin{lem}\ollabel{Closureprops} - For any function $f$, and any $B$: + For any function $f\colon U \to U$, and any $B \subseteq U$: \begin{enumerate} \item\ollabel{Closurehaselem} $B \subseteq \Closureofunder{f}{B}$; and \item\ollabel{Closureclosed} $\Closureofunder{f}{B}$ is $f$-closed; and @@ -49,7 +49,7 @@ We need one last fact to get to Schr\"oder-Bernstein: \begin{prop}\ollabel{sbhelper} -If $A \subseteq B \subseteq C$ and $\cardeq{A}{C}$, then $\cardeq{A}{B}$ and~$\cardeq{}{C}$. +If $A \subseteq B \subseteq C$ and $\cardeq{A}{C}$, then $\cardeq{A}{B}$ and~$\cardeq{B}{C}$. \end{prop} \begin{proof} diff --git a/content/sets-functions-relations/infinite/dedekind-algebra.tex b/content/sets-functions-relations/infinite/dedekind-algebra.tex index 9088149b7..e63d3b027 100644 --- a/content/sets-functions-relations/infinite/dedekind-algebra.tex +++ b/content/sets-functions-relations/infinite/dedekind-algebra.tex @@ -31,7 +31,7 @@ using first-order logic. Dedekind's breakthrough was to reformulate condition \olref{repeatedapplication}, set-theoretically, as follows: \begin{enumerate} - \item[3$'$.] The natural numbers are the smallest set that is + \item[3$'$.] The natural numbers are the smallest set containing $0$ that is \emph{closed under the successor function}: that is, if we apply $s$ to any !!{element} of the set, we obtain another !!{element} of the set. @@ -39,9 +39,9 @@ But we shall need to spell this out slowly. \begin{defn}\ollabel{Closure} - For any function $f$, the set $X$ is $f$-\emph{closed} {iff} - $(\forall x \in X)f(x) \in X$. Now define, for any $o$: - $$\closureofunder{f}{o} = \bigcap\Setabs{X}{o \in X\text{ and }X + For any function $f\colon A \to A$, a set $X \subseteq A$ is $f$-\emph{closed} {iff} + $(\forall x \in X)f(x) \in X$. Now define, for any $o \in A$: + $$\closureofunder{f}{o} = \bigcap\Setabs{X \subseteq A}{o \in X\text{ and }X \text{ is $f$-closed}}$$ \end{defn} @@ -51,7 +51,7 @@ as !!a{element}. This next result makes that intuitive thought precise; \begin{lem}\ollabel{closureproperties} - For any function $f$ and any $o \in A$: + For any function $f\colon A \to A$ and any $o \in A$: \begin{enumerate} \item\ollabel{closurehaselem} $o \in \closureofunder{f}{o}$; and \item\ollabel{closureclosed} $\closureofunder{f}{o}$ is $f$-closed; and diff --git a/content/sets-functions-relations/infinite/hilberts-hotel.tex b/content/sets-functions-relations/infinite/hilberts-hotel.tex index c50f74223..ae977407d 100644 --- a/content/sets-functions-relations/infinite/hilberts-hotel.tex +++ b/content/sets-functions-relations/infinite/hilberts-hotel.tex @@ -11,7 +11,7 @@ The set of the natural numbers is obviously infinite. So, if we do not want to \emph{help ourselves} to the natural numbers, our first step -must be characterize an infinite set in terms that do not require +must be to characterize an infinite set in terms that do not require mentioning the natural numbers themselves. Here is a nice approach, presented by Hilbert in a lecture from 1924. He asks us to imagine \begin{quote} From 9527e54c030a216fd9b492e0ff1c849bb02b6f96 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:53 +0100 Subject: [PATCH 12/13] sets-functions-relations/inductive-defs-proofs: fix standalone section include path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found in the translations' records of errors of the English (the errata harvest of 28-29 November 2026: GPT-6 Astra, OpenAI, ChatGPT Pro mode, classified every record against 2e19d095 and made this patch; applied here by Claude Opus 5.5, Anthropic, effort max). Each issue with its sources is in ENGLISH_ERRATA_CONSOLIDATED.tsv: - HV-2712 OLP-0718 introduction.tex:5: Resolving the optional parent-document path from content/sets-functions-relations/inductive-defs-proofs requires three parent traversals to reach root/include/open-logic-section.tex. The printed path reaches nonexistent ... - HV-2713 OLP-0718 introduction.tex:14: The opening names the two fields in which induction is a proof technique. The printed in mistakenly joins them; and gives the coordinated subject matter. - HV-2715 OLP-0718 introduction.tex:54: The paragraph identifies generation by finitely many applications. That characterizes the finite-construction induction discussed here, but not transfinite induction, which the book later proves for ordinals including limit ... - HV-2718 OLP-0718 introduction.tex:92: The induction recipe at 118–130 explicitly includes unary negation and fixed-variable quantifiers as well as binary connectives. The universal claim that each constructor joins two formulas is therefore false. State the two ... - HV-2719 OLP-0718 introduction.tex:93: The formula macro contract in open-logic-config.sty:30 and sty/open-logic-formulas.sty assigns !A to a formula metavariable. The distinct !!^a prefix in open-logic-config.sty:1338–1349 is a capitalized indefinite-article term ... Co-Authored-By: Claude Opus 5.5 (cherry picked from commit db2a525948316e61b1d51b069d5fbf99e98c100e) --- .../inductive-defs-proofs/introduction.tex | 37 +++++++++---------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/content/sets-functions-relations/inductive-defs-proofs/introduction.tex b/content/sets-functions-relations/inductive-defs-proofs/introduction.tex index d4ca8bc79..7499c506a 100644 --- a/content/sets-functions-relations/inductive-defs-proofs/introduction.tex +++ b/content/sets-functions-relations/inductive-defs-proofs/introduction.tex @@ -2,7 +2,7 @@ % Chapter: induction % Section: induction -\documentclass[../../include/open-logic-section]{subfiles} +\documentclass[../../../include/open-logic-section]{subfiles} \begin{document} @@ -11,7 +11,7 @@ \olsection{Introduction} \begin{explain} -Induction is a commonly-used proof technique of mathematics in logic. +Induction is a commonly-used proof technique of mathematics and logic. You may be familiar with it from math, in which you do induction on natural numbers. As it turns out, there are lots of different kinds of mathematical and logical sets of objects that lend themselves to induction. @@ -51,8 +51,7 @@ Induction works on natural numbers because every natural number can be reached from 0 by applying the successor function a finite number of -times. This is characteristic of any set upon which we can do -induction. +times. This characterizes the form of induction considered here. \end{explain} \begin{defn}[Induction on $\Nat$] @@ -89,12 +88,12 @@ complex !!{formula}s are obtained by joining together less-complicated !!{formula}s using operators. Each operator can be seen as corresponding to a function of !!{formula}s that returns a new -!!{formula} joining these two together with the operator in -question. For example, the function that joins two !!{formula}s $!!^a$ -and $!B$ into a conjunction can be written as $\mathcal E _\land (!!^a, -!B) = !!^a \land !B$. We can call these \emph{formula-building +!!{formula} by applying the operator to its arguments (one for negation +and for a quantifier with a fixed variable, two for a binary connective). For example, the function that joins two !!{formula}s $!A$ +and $!B$ into a conjunction can be written as $\mathcal E _\land (!A, +!B) = !A \land !B$. We can call these \emph{formula-building functions}. The set of !!{formula}s is closed under these functions: -whenever $!!^a$ and $!B$ are !!{formula}s, so are $\lnot !!^a$, $!!^a \land +whenever $!A$ and $!B$ are !!{formula}s, so are $\lnot !A$, $!A \land !B$, etc. \end{explain} @@ -109,25 +108,25 @@ !!{formula}s. If we are asked to show that every !!{formula} has property $P$, follow the following steps:\\ -\textbf{Base Case.} Let $!!^a$ be an atomic !!{formula}. [\ldots] -Therefore, $!!^a$ has property $P$. +\textbf{Base Case.} Let $!A$ be an atomic !!{formula}. [\ldots] +Therefore, $!A$ has property $P$. -\textbf{Inductive Step.} Let $!!^a$ and $!B$ be !!{formula}s, both of +\textbf{Inductive Step.} Let $!A$ and $!B$ be !!{formula}s, both of which have the property $P$. -Case $\lnot$: [\ldots] Therefore, $\lnot !!^a$ has property $P$. +Case $\lnot$: [\ldots] Therefore, $\lnot !A$ has property $P$. -Case $\land$: [\ldots] Therefore, $!!^a \land !B$ has property $P$. +Case $\land$: [\ldots] Therefore, $!A \land !B$ has property $P$. -Case $\lor$: [\ldots] Therefore, $!!^a \lor !B$ has property $P$. +Case $\lor$: [\ldots] Therefore, $!A \lor !B$ has property $P$. -Case $\lif$: [\ldots] Therefore, $!!^a \lif !B$ has property $P$. +Case $\lif$: [\ldots] Therefore, $!A \lif !B$ has property $P$. -Case $\liff$: [\ldots] Therefore, $!!^a \liff !B$ has property $P$. +Case $\liff$: [\ldots] Therefore, $!A \liff !B$ has property $P$. -Case $\lforall[]$: [\ldots] Therefore, $\lforall[x] !!^a$ has property $P$. +Case $\lforall[]$: [\ldots] Therefore, $\lforall[x] !A$ has property $P$. -Case $\lexists[]$: [\ldots] Therefore, $\lexists[x] !!^a$ has property $P$. \\ +Case $\lexists[]$: [\ldots] Therefore, $\lexists[x] !A$ has property $P$. \\ Therefore, every !!{formula} has property $P$. \end{explain} From b736aa9a8adc1865116c12075741db5c32251c49 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 17:00:13 +0100 Subject: [PATCH 13/13] sets, functions, relations: line breaks for formulas the corrections lengthened A full build of open-logic-complete.tex after the corrections above set these wider than the page; nothing they say is changed unless noted: - non-enumerability.tex: "non-empty" before a formula at the line end, 10.3 pt; "nonempty" (6.9 pt left). Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 115e277fbc727299a3936eeb8cd1d00ca4574e1c) --- .../sets-functions-relations/size-of-sets/non-enumerability.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/sets-functions-relations/size-of-sets/non-enumerability.tex b/content/sets-functions-relations/size-of-sets/non-enumerability.tex index 7f3790ac7..a004aaa21 100644 --- a/content/sets-functions-relations/size-of-sets/non-enumerability.tex +++ b/content/sets-functions-relations/size-of-sets/non-enumerability.tex @@ -23,7 +23,7 @@ have this property. Such sets are called \emph{!!{nonenumerable}}. First of all, it is perhaps already surprising that there are -!!{nonenumerable} sets. For any non-empty !!{enumerable} set~$A$ there is +!!{nonenumerable} sets. For any nonempty !!{enumerable} set~$A$ there is !!a{surjective} function $f \colon \PosInt \to A$. If a set is !!{nonenumerable} there is no such function. That is, no function mapping the infinitely many !!{element}s of~$\PosInt$ to~$A$ can