From 1bf49d9895114d657ae7d833521e902689726a90 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 01:08:43 +0100 Subject: [PATCH 1/8] second-order-logic/metatheory: the recursion clause for addition Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0332 second-order-arithmetic.tex: forall w (u(x') = u(x)') -> u(w') = u(w)'. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 88f51df1018ccc1e81262d6a8ea6fa82f2089a01) --- .../second-order-logic/metatheory/second-order-arithmetic.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/second-order-logic/metatheory/second-order-arithmetic.tex b/content/second-order-logic/metatheory/second-order-arithmetic.tex index e9636909..3af63a88 100644 --- a/content/second-order-logic/metatheory/second-order-arithmetic.tex +++ b/content/second-order-logic/metatheory/second-order-arithmetic.tex @@ -118,8 +118,8 @@ We can use this equivalence to define addition in $\Th{PA^{2\dagger}}$ by the following formula: \[ -!A_+(x,y,z) \ident \lexists[u][(u(\Obj 0)=x \land \lforall[w][u(x')=u - (x)'] \land u(y)=z)] +!A_+(x,y,z) \ident \lexists[u][(u(\Obj 0)=x \land \lforall[w][u(w')=u + (w)'] \land u(y)=z)] \] It should be clear that $\Sat{N}{!A_+(\num k, \num l, \num m)}$ iff $k+l=m$. From 065d4f8fadc8315e20f9441f27bada2d8829ada5 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 01:08:44 +0100 Subject: [PATCH 2/8] second-order-logic/syntax-and-semantics: modified assignments, v_0 Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0326 satisfaction.tex: the three definitions of modified assignments write s[m/y], s[M/y], s[f/y] for s[m/x](y), s[M/X](y), s[f/u](y). - OLP-0324 introduction.tex: \Obj v_0 and v_0 -> \Obj{v_0} (as in the formulas displayed before). Co-Authored-By: Claude Opus 5.5 (cherry picked from commit b2bdd8917d5c9de5bf1a7a062d6e4b6afd27737b) --- .../syntax-and-semantics/introduction.tex | 4 ++-- .../syntax-and-semantics/satisfaction.tex | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/second-order-logic/syntax-and-semantics/introduction.tex b/content/second-order-logic/syntax-and-semantics/introduction.tex index cca94007..ba4d172d 100644 --- a/content/second-order-logic/syntax-and-semantics/introduction.tex +++ b/content/second-order-logic/syntax-and-semantics/introduction.tex @@ -51,8 +51,8 @@ interpretations of $\Obj{V^1_0}$ are the same that we can assign to a $1$-place !!{predicate} like $\Obj{P^1_0}$, i.e., subsets of~$\Domain{M}$. Quantification over them then amounts to saying that -$\lforall[\Obj{v_0}][(\Obj{V^1_0}(\Obj v_0) \lor \lnot - \Obj{V^1_0}(v_0))]$ holds for all ways of assigning a subset +$\lforall[\Obj{v_0}][(\Obj{V^1_0}(\Obj{v_0}) \lor \lnot + \Obj{V^1_0}(\Obj{v_0}))]$ holds for all ways of assigning a subset of~$\Domain{M}$ as the value of $\Obj{V^1_0}$, or for at least one. Since every set either contains or fails to contain a given object, both are true in any !!{structure}. diff --git a/content/second-order-logic/syntax-and-semantics/satisfaction.tex b/content/second-order-logic/syntax-and-semantics/satisfaction.tex index 80d2ae26..c79326f6 100644 --- a/content/second-order-logic/syntax-and-semantics/satisfaction.tex +++ b/content/second-order-logic/syntax-and-semantics/satisfaction.tex @@ -66,21 +66,21 @@ If $s$ is !!a{variable} assignment for !!a{structure}~$\Struct M$ and $m \in \Domain{M}$, then the assignment~$\Subst{s}{m}{x}$ is the !!{variable} assignment defined by - \[\Subst{s}{m}{y} = \begin{cases} + \[\Subst{s}{m}{x}(y) = \begin{cases} m & \text{if } y \ident x\\ s(y) & \text{otherwise}, \end{cases}\] If $X$ is an $n$-place relation !!{variable} and $M \subseteq \Domain{M}^n$, then $\Subst{s}{M}{X}$ is the !!{variable} assignment defined by - \[\Subst{s}{M}{y} = \begin{cases} + \[\Subst{s}{M}{X}(y) = \begin{cases} M & \text{if } y \ident X\\ s(y) & \text{otherwise}. \end{cases}\] If $u$ is an $n$-place function !!{variable} and $f\colon \Domain{M}^n \to \Domain{M}$, then $\Subst{s}{f}{u}$ is the !!{variable} assignment defined by - \[\Subst{s}{f}{y} = \begin{cases} + \[\Subst{s}{f}{u}(y) = \begin{cases} f & \text{if } y \ident u\\ s(y) & \text{otherwise}. \end{cases}\] From 5c1449f6618dea7d6c27b16ab8f9c96157f7a6ef Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 01:32:35 +0100 Subject: [PATCH 3/8] second-order-logic/metatheory: Gamma_0, the language of Loewenheim-Skolem Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0334 compactness.tex: the bound on the A^{>=n} concerns the finite subset Gamma_0, not Gamma (which contains all of them). - OLP-0331 introduction.tex: 'if Gamma has an infinite model it has a denumerable model' fails for uncountable languages; stated for an enumerable language. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 90aac0fcbfe3986d95161dc79002d43729c0cf04) --- content/second-order-logic/metatheory/compactness.tex | 4 ++-- content/second-order-logic/metatheory/introduction.tex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/second-order-logic/metatheory/compactness.tex b/content/second-order-logic/metatheory/compactness.tex index 86ca137d..17d41630 100644 --- a/content/second-order-logic/metatheory/compactness.tex +++ b/content/second-order-logic/metatheory/compactness.tex @@ -54,8 +54,8 @@ \] It is finitely satisfiable, since for any finite subset~$\Gamma_0 \subseteq \Gamma$ -there is some $k$ so that $!A^{\ge k} \in \Gamma$ but no $!A^{\ge n} -\in \Gamma$ for $n>k$. If $\Domain{M}$ has $k$ !!{element}s, +there is some $k$ so that $!A^{\ge k} \in \Gamma_0$ but no $!A^{\ge n} +\in \Gamma_0$ for $n>k$. If $\Domain{M}$ has $k$ !!{element}s, $\Sat{M}{\Gamma_0}$. But, $\Gamma$ is not satisfiable: if $\Sat{M}{\lnot \fn{Inf}}$, $\Domain{M}$ must be finite, say, of size~$k$. Then $\Sat/{M}{!A^{\ge k+1}}$. diff --git a/content/second-order-logic/metatheory/introduction.tex b/content/second-order-logic/metatheory/introduction.tex index f601e985..6a720edc 100644 --- a/content/second-order-logic/metatheory/introduction.tex +++ b/content/second-order-logic/metatheory/introduction.tex @@ -32,7 +32,7 @@ First-order logic also has two more properties: it is compact (if every finite subset of a set~$\Gamma$ of !!{sentence}s is satisfiable, $\Gamma$ itself is satisfiable) and the L\"owenheim--Skolem Theorem -holds for it (if $\Gamma$ has an infinite model it has +holds for it (if a set~$\Gamma$ of !!{sentence}s of !!a{enumerable} !!{language} has an infinite model it has !!a{denumerable} model). Both of these results fail for second-order logic. Again, the reason is that second-order logic can express facts about the size of !!{domain}s that first-order logic cannot. From a9e783fd4becec3678e0f797e235c98675e4198c Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 01:32:35 +0100 Subject: [PATCH 4/8] power-of-continuum: a parenthesis, the size of the domain, s(X) Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0340 power-of-continuum.tex: missing parenthesis in Pow(Y, R, X); the sentence said to hold iff |M| = |R| holds whenever |M| >= |R| (u = identity) and allows repeated codes, so it now asks for an injection of the domain into some Y with Cont(Y); s(Z) -> s(X) and 'ruled out be' in the proof of Cont(Y). Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 3f6c95d38ca5c19049b397cce66f04d8fb24f228) --- .../sol-and-set-theory/power-of-continuum.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/second-order-logic/sol-and-set-theory/power-of-continuum.tex b/content/second-order-logic/sol-and-set-theory/power-of-continuum.tex index 83d02ba8..e8090687 100644 --- a/content/second-order-logic/sol-and-set-theory/power-of-continuum.tex +++ b/content/second-order-logic/sol-and-set-theory/power-of-continuum.tex @@ -60,7 +60,7 @@ \fn{Pow}(Y, R, X) \ident \\ \lforall[Z][(Z \subseteq X \lif \lexists[x][(Y(x) \land \fn{Codes}(x, R, Z))])] \land {} \\ \lforall[x][(Y(x) \lif - \lforall[Z][(\fn{Codes}(x, R, Z) \lif Z \subseteq X)]] + \lforall[Z][(\fn{Codes}(x, R, Z) \lif Z \subseteq X)])] \end{multline*} expresses that $s(Y)$ $s(R)$-codes the power set of~$s(X)$, i.e., the elements of $s(Y)$ $s(R)$-code exactly the subsets of $s(X)$. @@ -115,16 +115,16 @@ of~$s(X)$, which $\fn{Aleph}_0(X)$ says is countable. So $s(Y)$ is at least as large as the power of the continuum, although it may be larger (if multiple elements of $s(Y)$ code the same subset of~$X$). - This is ruled out be the last conjunct, which requires the - association between elements of $s(Y)$ and subsets of $s(Z)$ via + This is ruled out by the last conjunct, which requires the + association between elements of $s(Y)$ and subsets of $s(X)$ via $s(R)$ to be !!{injective}. \end{proof} \begin{prop} $\cardeq{\Domain{M}}{\Real}$ iff \begin{multline*} - \Sat{M}{\lexists[X][\lexists[Y][\lexists[R][(\fn{Aleph}_0(X) \land \fn{Pow}(Y, R, X) \land \\ - \lexists[u][(\lforall[x][\lforall[y][(\eq[u(x)][u(y)] \lif \eq[x][y])]] \land {} \\\lforall[y][(Y(y) \lif \lexists[x][\eq[y][u(x)]])])])]]]}. + \Sat{M}{\lexists[Y][(\fn{Cont}(Y) \land {} \\ + \lexists[u][(\lforall[x][\lforall[y][(\eq[u(x)][u(y)] \lif \eq[x][y])]] \land \lforall[x][Y(u(x))])])]}. \end{multline*} \end{prop} From 48ed97b3b80bb220b6302b1e91c5ed02e628ec14 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sat, 28 Nov 2026 01:32:35 +0100 Subject: [PATCH 5/8] inf-count: the last element of a finite enumeration Found while reviewing the French translation (KokunoYumeto/OpenLogic-fr): - OLP-0329 inf-count.tex: f(m_k) = m_{k+1} is undefined for the last element of a finite enumeration (the explanation before the proposition sets f(m_k) = m_k there). Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 0b3dfc11e1e39e656e4b4f0886515ef0ba2cdc09) --- content/second-order-logic/syntax-and-semantics/inf-count.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/second-order-logic/syntax-and-semantics/inf-count.tex b/content/second-order-logic/syntax-and-semantics/inf-count.tex index abdf012b..1d7a5c67 100644 --- a/content/second-order-logic/syntax-and-semantics/inf-count.tex +++ b/content/second-order-logic/syntax-and-semantics/inf-count.tex @@ -84,7 +84,8 @@ \begin{proof} Suppose $\Domain{M}$ is !!{enumerable}, and let $m_0$, $m_1$, \dots, be an enumeration. By removing repetitions we can guarantee that no $m_k$ -appears twice. Define $f(m_k) = m_{k+1}$ and let $s(z) = m_0$ and +appears twice. Define $f(m_k) = m_{k+1}$ (or $f(m_k) = m_k$ if $m_k$ is the last +!!{element} of the enumeration) and let $s(z) = m_0$ and $s(u) = f$. We show that \[ \Sat{M}{\lforall[X][((X(z) \land \lforall[x][(X(x) \lif X(u(x)))]) From be947ee547f39776f04011f244c4a176786e5f89 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:48 +0100 Subject: [PATCH 6/8] second-order-logic/syntax-and-semantics: fix assignments, formula syntax and semantic scope 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-1777 OLP-0323 syntax-and-semantics.tex:13: The editorial note uses singular there is with the plural subject issues. - HV-1783 OLP-0716 language-of-sol.tex:34: Undefined term token: the configured token is sentence, whose plural is produced by the s suffix. - HV-1789 OLP-0326 satisfaction.tex:124: Mutual exclusion states disjointness, but the displayed biconditional states complementarity; the later converse repeats this mistake. - HV-1791 OLP-0326 satisfaction.tex:204: Quantifying X captures any free X in A or B, invalidating the claimed equivalence. - HV-1794 OLP-0329 inf-count.tex:63: An empty enumeration exists for the empty set, but the seeded characterization requires z in M. - HV-1795 OLP-0329 inf-count.tex:69: The orbit may repeat, whereas the immediately preceding convention defines enumerations without repetitions. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 8c92ee29165f48c35b37858a35dce294481acea2) --- .../syntax-and-semantics/inf-count.tex | 6 +++--- .../syntax-and-semantics/language-of-sol.tex | 2 +- .../syntax-and-semantics/satisfaction.tex | 11 ++++++----- .../syntax-and-semantics/syntax-and-semantics.tex | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/content/second-order-logic/syntax-and-semantics/inf-count.tex b/content/second-order-logic/syntax-and-semantics/inf-count.tex index 1d7a5c67..fd07763c 100644 --- a/content/second-order-logic/syntax-and-semantics/inf-count.tex +++ b/content/second-order-logic/syntax-and-semantics/inf-count.tex @@ -60,14 +60,14 @@ \[ m_0, m_1, m_2, \dots \] -of its !!{element}s (without repetitions but possibly finite). Such an enumeration exists +of its !!{element}s (without repetitions but possibly finite). For nonempty~$M$, such an enumeration exists iff there is !!a{element} $z \in M$ and a function $f\colon M \to M$ such that $z$, $f(z)$, $f(f(z))$, \dots, are all the !!{element}s of~$M$. For if the enumeration exists, $z = m_0$ and $f(m_k) = m_{k+1}$ (or $f(m_k) = m_k$ if $m_k$ is the last !!{element} of the enumeration) are the requisite !!{element} and function. On the other hand, if such -a $z$ and $f$ exist, then $z$, $f(z)$, $f(f(z))$, \dots, is an -enumeration of~$M$, and $M$ is !!{enumerable}. We can express the +a $z$ and $f$ exist, then removing repetitions from $z$, $f(z)$, +$f(f(z))$, \dots, gives an enumeration of~$M$, and $M$ is !!{enumerable}. We can express the existence of $z$ and~$f$ in second-order logic to produce a !!{sentence} true in !!a{structure} iff the !!{structure} is !!{enumerable}: diff --git a/content/second-order-logic/syntax-and-semantics/language-of-sol.tex b/content/second-order-logic/syntax-and-semantics/language-of-sol.tex index 1f43aaf2..f80d0473 100644 --- a/content/second-order-logic/syntax-and-semantics/language-of-sol.tex +++ b/content/second-order-logic/syntax-and-semantics/language-of-sol.tex @@ -31,7 +31,7 @@ In first-order logic, the !!{identity}~$\eq$ is usually included. In first-order logic, the non-logical symbols of a language~$\Lang{L}$ are crucial to allow us to express anything interesting. There are of -course !!{sentences} that use no non-logical symbols, but with +course !!{sentence}s that use no non-logical symbols, but with only~$\eq$ it is hard to say anything interesting. In second-order logic, since we have an unlimited supply of relation and function variables, we can say anything we can say in a first-order language diff --git a/content/second-order-logic/syntax-and-semantics/satisfaction.tex b/content/second-order-logic/syntax-and-semantics/satisfaction.tex index c79326f6..6ddb4258 100644 --- a/content/second-order-logic/syntax-and-semantics/satisfaction.tex +++ b/content/second-order-logic/syntax-and-semantics/satisfaction.tex @@ -121,8 +121,8 @@ contain the second-order !!{variable}s $X$ and~$Y$ (here understood to be one-place). The corresponding first-order !!{sentence} $\lforall[z][(\Atom{P}{z} \liff \lnot \Atom{R}{z})]$ says that - whatever falls under the interpretation of~$P$ does not fall under - the interpretation of~$R$ and vice versa. In !!a{structure}, the + each object falls under the interpretation of~$P$ iff it does not + fall under the interpretation of~$R$. In !!a{structure}, the interpretation of !!a{predicate}~$P$ is given by the interpretation~$\Assign{P}{M}$. But for second-order !!{variable}s like $X$ and~$Y$, the interpretation is provided, not by the @@ -133,8 +133,8 @@ assignment~$s$. $\Sat{M}{\lforall[z][(\Atom{X}{z} \liff \lnot \Atom{Y}{z})]}[s]$ - whenever the !!{element}s of~$s(X)$ are not !!{element}s of~$s(Y)$, - and vice versa, i.e., iff $s(Y) = \Domain{M} \setminus s(X)$. For + iff every object is in exactly one of~$s(X)$ and~$s(Y)$, + i.e., iff $s(Y) = \Domain{M} \setminus s(X)$. For instance, take $\Domain{M} = \{1, 2, 3\}$. Since no !!{predicate}s, !!{function}s, or !!{constant}s are involved, the domain of~$\Struct{M}$ is all that is relevant. Now for $s_1(X) = \{1, 2\}$ @@ -201,7 +201,8 @@ \begin{enumerate} \item Prove that in second-order logic $!A \land !B$ is equivalent to $\lforall[X][(!A \lif (!B \lif \lforall[x][X(x)])\lif - \lforall[x][X(x)])]$. + \lforall[x][X(x)])]$, where the one-place relation variable~$X$ + does not occur free in~$!A$ or~$!B$. \item Find a second-order formula using only $\lforall$ and $\lif$ equivalent to $!A \lor !B$. \end{enumerate} diff --git a/content/second-order-logic/syntax-and-semantics/syntax-and-semantics.tex b/content/second-order-logic/syntax-and-semantics/syntax-and-semantics.tex index 75e51494..92496816 100644 --- a/content/second-order-logic/syntax-and-semantics/syntax-and-semantics.tex +++ b/content/second-order-logic/syntax-and-semantics/syntax-and-semantics.tex @@ -10,7 +10,7 @@ \begin{editorial} Basic syntax and semantics for SOL covered so far. As a chapter it's too short. Substitution for second-order variables has to be covered -to be able to talk about !!{derivation} systems for SOL, and there's some +to be able to talk about !!{derivation} systems for SOL, and there are some subtle issues there. \end{editorial} From c24e6fc4139b8cb73efd5c2430f4ee04c8fca0ea Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:48 +0100 Subject: [PATCH 7/8] second-order-logic/metatheory: fix metatheorem statements and model 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-1802 OLP-0332 second-order-arithmetic.tex:112: Containing the tail does not force successor closure of extra elements below n. - HV-1805 OLP-0333 undecidability-and-axiomatizability.tex:33: The displayed satisfaction equivalence leaves M unquantified; validity requires all arithmetic structures. - HV-1807 OLP-0333 undecidability-and-axiomatizability.tex:35: Replacement of the arithmetic constants/functions by variables may capture existing bound variables unless they are renamed first. - HV-1811 OLP-0334 compactness.tex:57: After the branch’s Γ-to-Γ0 repair, the largest required positive index still need not exist when Γ0 has no cardinality sentence. - HV-1812 OLP-0335 loewenheim-skolem.tex:3: The copied section metadata names compactness although this file is the Löwenheim–Skolem section. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit de75be25dac5fdb43094a3d4a7d6101893c4e6ae) --- content/second-order-logic/metatheory/compactness.tex | 4 ++-- content/second-order-logic/metatheory/loewenheim-skolem.tex | 2 +- .../metatheory/second-order-arithmetic.tex | 5 +++-- .../metatheory/undecidability-and-axiomatizability.tex | 4 +++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/content/second-order-logic/metatheory/compactness.tex b/content/second-order-logic/metatheory/compactness.tex index 17d41630..af6fc759 100644 --- a/content/second-order-logic/metatheory/compactness.tex +++ b/content/second-order-logic/metatheory/compactness.tex @@ -54,8 +54,8 @@ \] It is finitely satisfiable, since for any finite subset~$\Gamma_0 \subseteq \Gamma$ -there is some $k$ so that $!A^{\ge k} \in \Gamma_0$ but no $!A^{\ge n} -\in \Gamma_0$ for $n>k$. If $\Domain{M}$ has $k$ !!{element}s, +let $k$ be the largest $n$ such that $!A^{\ge n}\in\Gamma_0$, +taking $k=1$ if no such sentence occurs. If $\Domain{M}$ has $k$ !!{element}s, $\Sat{M}{\Gamma_0}$. But, $\Gamma$ is not satisfiable: if $\Sat{M}{\lnot \fn{Inf}}$, $\Domain{M}$ must be finite, say, of size~$k$. Then $\Sat/{M}{!A^{\ge k+1}}$. diff --git a/content/second-order-logic/metatheory/loewenheim-skolem.tex b/content/second-order-logic/metatheory/loewenheim-skolem.tex index 250687f4..2807b40a 100644 --- a/content/second-order-logic/metatheory/loewenheim-skolem.tex +++ b/content/second-order-logic/metatheory/loewenheim-skolem.tex @@ -1,6 +1,6 @@ % Part: second-order-logic % Chapter: metatheory -% Section: compactness +% Section: loewenheim-skolem \documentclass[../../../include/open-logic-section]{subfiles} diff --git a/content/second-order-logic/metatheory/second-order-arithmetic.tex b/content/second-order-logic/metatheory/second-order-arithmetic.tex index 3af63a88..3632937c 100644 --- a/content/second-order-logic/metatheory/second-order-arithmetic.tex +++ b/content/second-order-logic/metatheory/second-order-arithmetic.tex @@ -109,8 +109,9 @@ \[ !B(x, Y) \ident Y(x) \land \lforall[y][(Y(y) \lif Y(y'))] \] -Clearly, $!B(\num n, Y)$ is satisfied by a set $Y \subseteq \Nat$ iff -$\Setabs{m}{n \le m} \subseteq Y$, so we can take $!A_\le(x, y) \ident +If $!B(\num n, Y)$ is satisfied by a set $Y \subseteq \Nat$, then +$\Setabs{m}{n \le m} \subseteq Y$. This tail itself satisfies +$!B(\num n, Y)$, so we can take $!A_\le(x, y) \ident \lforall[Y][(!B(x, Y) \lif Y(y))]$. To see that addition is definable observe that $k+l=m$ iff there is a diff --git a/content/second-order-logic/metatheory/undecidability-and-axiomatizability.tex b/content/second-order-logic/metatheory/undecidability-and-axiomatizability.tex index 512b0475..87dcd314 100644 --- a/content/second-order-logic/metatheory/undecidability-and-axiomatizability.tex +++ b/content/second-order-logic/metatheory/undecidability-and-axiomatizability.tex @@ -30,8 +30,10 @@ Let $!A$ be !!a{sentence} in the language of arithmetic. $\Sat{N}{!A}$ iff $\Th{PA^2} \Entails !A$. Let $!P$ be the conjunction of the nine axioms of~$\Th{PA^2}$. $\Th{PA^2} \Entails !A$ iff $\Entails !P \lif -!A$, i.e., $\Sat{M}{!P \lif !A}$. Now consider the !!{sentence} +!A$, i.e., $\Sat{M}{!P \lif !A}$ for every arithmetic !!{structure}~$\Struct{M}$. Now consider the !!{sentence} $\lforall[z][\lforall[u][\lforall[u'][\lforall[u''][\lforall[L][(!P' \lif !A')]]]]]$ resulting by +first renaming bound variables so that $z$, $u$, $u'$, $u''$, and~$L$ +do not occur in~$!P$ or~$!A$, and then replacing $\Obj{0}$ by $z$, $\prime$ by the one-place function variable $u$, $+$ and $\times$ by the two-place function-variables $u'$ and $u''$, respectively, From a58390b6e884672eb8ce4d922dd4487182a18099 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Sun, 29 Nov 2026 10:30:48 +0100 Subject: [PATCH 8/8] second-order-logic/sol-and-set-theory: fix second-order encodings and set-theoretic scope 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-1815 OLP-0337 introduction.tex:2: The copied Chapter comment names a different chapter slug. - HV-1817 OLP-0338 comparing-sets.tex:2: The copied chapter metadata uses a slug different from the actual containing chapter. - HV-1820 OLP-0339 cardinalities.tex:2: The copied Chapter comment names a different chapter slug. - HV-1821 OLP-0339 cardinalities.tex:23: Inf(X) omits closure of X under the injective function, so finite X can satisfy the formula. Its nested existential matrix also has a missing closing parenthesis. - HV-1822 OLP-0339 cardinalities.tex:34: The seed excludes the empty enumerable set, and equality with every closed Y forces X to be the whole domain; the closing delimiters are also misplaced. - HV-1823 OLP-0339 cardinalities.tex:53: The Aleph1 condition accepts every finite X and rejects every uncountable X by testing Y=X. - HV-1824 OLP-0340 power-of-continuum.tex:2: The copied Chapter comment names a different chapter slug. - HV-1825 OLP-0340 power-of-continuum.tex:29: Plural relations disagrees with the singular verb relates. - HV-1829 OLP-0340 power-of-continuum.tex:96: Pow permits repeated codes, so an arbitrary coding set may have cardinality larger than the continuum. - HV-1830 OLP-0340 power-of-continuum.tex:108: The biconditional matrix is not visibly grouped inside the surrounding conjunction; the quantifier macro prints no grouping parentheses. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 55b40ca5396bfbf08e1e4e424d0f47096640d59a) --- .../sol-and-set-theory/cardinalities.tex | 20 ++++++++++--------- .../sol-and-set-theory/comparing-sets.tex | 2 +- .../sol-and-set-theory/introduction.tex | 2 +- .../sol-and-set-theory/power-of-continuum.tex | 9 +++++---- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/content/second-order-logic/sol-and-set-theory/cardinalities.tex b/content/second-order-logic/sol-and-set-theory/cardinalities.tex index 19b56e1d..840e50c2 100644 --- a/content/second-order-logic/sol-and-set-theory/cardinalities.tex +++ b/content/second-order-logic/sol-and-set-theory/cardinalities.tex @@ -1,5 +1,5 @@ % Part: second-order-logic -% Chapter: sol-and-sets +% Chapter: sol-and-set-theory % Section: cardinalities \documentclass[../../../include/open-logic-section]{subfiles} @@ -20,9 +20,9 @@ \begin{prop} The formula $\fn{Inf}(X) \ident$ \begin{multline*} -\lexists[u][(\lforall[x][\lforall[y][(\eq[u(x)][u(y)] \lif +\lexists[u][(\lforall[x][(X(x) \lif X(u(x)))] \land {} \\\lforall[x][\lforall[y][(\eq[u(x)][u(y)] \lif \eq[x][y])]] \land {} \\\lexists[y][(X(y) \land \lforall[x][(X(x) - \lif \eq/[y][u(x)])]])] + \lif \eq/[y][u(x)])])])] \end{multline*} is satisfied with respect to a variable assignment~$s$ iff $s(X)$ is infinite. @@ -31,9 +31,10 @@ \begin{prop} The formula $\fn{Count}(X) \ident $ \begin{multline*} +\lforall[x][\lnot X(x)] \lor {} \\ \lexists[z][\lexists[u][(X(z) \land \lforall[x][(X(x) \lif X(u(x)))] \land {} \\ \lforall[Y][((Y(z) \land - \lforall[x][(Y(x) \lif Y(u(x)))]) \lif X = Y])]]) + \lforall[x][(Y(x) \lif Y(u(x)))]) \lif X \subseteq Y)])]] \end{multline*} is satisfied with respect to a variable assignment~$s$ iff $s(X)$ is !!{enumerable}. @@ -50,11 +51,12 @@ smallest size a set can be without being countable (i.e., of size~$\aleph_0$). We can define ``$X$ has size $\aleph_0$'' as $\fn{Aleph}_0(X) \liff \fn{Inf}(X) \land \fn{Count}(X)$. $X$ has size -$\aleph_1$ iff all its subsets are finite or have size~$\aleph_0$, but -is not itself of size~$\aleph_0$. Hence we can express this by the -formula $\fn{Aleph_1}(X) \ident \lforall[Y][(Y \subseteq X \lif - (\lnot\fn{Inf}(Y) \lor \fn{Aleph}_0(Y)))] \land \lnot -\fn{Aleph}_0(X)$. Being of size $\aleph_2$ is defined similarly, etc. +$\aleph_1$ iff it is infinite, is not of size~$\aleph_0$, and every +subset not equinumerous with it is finite or has size~$\aleph_0$. +Hence we can express this by the formula +$\fn{Aleph_1}(X) \ident \fn{Inf}(X) \land \lnot\fn{Aleph}_0(X) \land +\lforall[Y][((Y \subseteq X \land \lnot\cardeq{X}{Y}) \lif + (\lnot\fn{Inf}(Y) \lor \fn{Aleph}_0(Y)))]$. Being of size $\aleph_2$ is defined similarly, etc. There is one size of special interest, the so-called cardinality of the continuum. It is the size of $\Pow{\Nat}$, or, equivalently, the diff --git a/content/second-order-logic/sol-and-set-theory/comparing-sets.tex b/content/second-order-logic/sol-and-set-theory/comparing-sets.tex index c4161ad6..9e38871b 100644 --- a/content/second-order-logic/sol-and-set-theory/comparing-sets.tex +++ b/content/second-order-logic/sol-and-set-theory/comparing-sets.tex @@ -1,5 +1,5 @@ % Part: second-order-logic -% Chapter: sol-and-sets +% Chapter: sol-and-set-theory % Section: comparing-sets \documentclass[../../../include/open-logic-section]{subfiles} diff --git a/content/second-order-logic/sol-and-set-theory/introduction.tex b/content/second-order-logic/sol-and-set-theory/introduction.tex index f6fafe8a..52ce9388 100644 --- a/content/second-order-logic/sol-and-set-theory/introduction.tex +++ b/content/second-order-logic/sol-and-set-theory/introduction.tex @@ -1,5 +1,5 @@ % Part: second-order-logic -% Chapter: sol-and-sets +% Chapter: sol-and-set-theory % Section: introduction \documentclass[../../../include/open-logic-section]{subfiles} diff --git a/content/second-order-logic/sol-and-set-theory/power-of-continuum.tex b/content/second-order-logic/sol-and-set-theory/power-of-continuum.tex index e8090687..6f9d448a 100644 --- a/content/second-order-logic/sol-and-set-theory/power-of-continuum.tex +++ b/content/second-order-logic/sol-and-set-theory/power-of-continuum.tex @@ -1,5 +1,5 @@ % Part: second-order-logic -% Chapter: sol-and-sets +% Chapter: sol-and-set-theory % Section: power-of-continuum \documentclass[../../../include/open-logic-section]{subfiles} @@ -26,7 +26,7 @@ We can, however, \emph{simulate} quantification over sets of sets, if the domain is large enough. The idea is to make use of the fact that -two-place relations~$R$ relates !!{element}s of the !!{domain} to +a two-place relation~$R$ relates !!{element}s of the !!{domain} to !!{element}s of the !!{domain}. Given such an~$R$, we can collect all the !!{element}s to which some~$x$ is $R$-related: $\Setabs{y \in \Domain{M}}{R(x,y)}$ is the set ``coded by''~$x$. Conversely, if @@ -93,7 +93,8 @@ number line,~$\Real$. If the !!{domain} is large enough to code the power set of !!a{denumerable} set, we can express that a set is the size of the continuum by saying that it is equinumerous with any -set~$Y$ that codes the power set of set~$X$ of size~$\aleph_0$. (If the +set~$Y$ that codes each subset of a set~$X$ of size~$\aleph_0$ +exactly once. (If the domain is not large enough, i.e., it contains no subset equinumerous with~$\Real$, then there can also be no relation that codes~$\Pow{X}$.) \end{explain} @@ -105,7 +106,7 @@ \lexists[X][\lexists[R][((\fn{Aleph}_0(X) \land \fn{Pow}(Y, R, X)) \land \\ \lforall[x][\lforall[y][((Y(x) \land {} - Y(y) \land \lforall[z][R(x,z) \liff R(y,z)]) \lif \eq[x][y])]])]] + Y(y) \land \lforall[z][(R(x,z) \liff R(y,z))]) \lif \eq[x][y])]])]] \end{multline*} expresses that $\cardeq{s(Y)}{\Real}$. \end{prop}