From 0c8d50de64fad2b0ba9a59874997aba7eacaf8a2 Mon Sep 17 00:00:00 2001 From: KokunoYumeto <208192274+KokunoYumeto@users.noreply.github.com> Date: Mon, 30 Nov 2026 22:30:17 +0100 Subject: [PATCH 1/2] methods/induction: corrections (5 places) induction-on-N.tex: - l. 31: The numbered step (2) explicitly binds k at lines 24 and 29. The next instruction says to take 1 for n when purporting to instantiate that numbered statement. inductive-definitions.tex: - l. 30: The alphabet and all displayed constructors use square brackets, explicitly called brackets at lines 20 and 37. The one description incorrectly names round parentheses; use the already established name for the actual delimiters. relations.tex: - l. 34: This worked substitution is about the fixed alphabet letter b, not an arbitrary term variable b. The next two lines explicitly compare the literal letters a and b and declare the comparison false. strong-induction.tex: - l. 43: The immediately preceding displayed antecedent is forall l(l --- content/methods/induction/induction-on-N.tex | 2 +- content/methods/induction/inductive-definitions.tex | 2 +- content/methods/induction/relations.tex | 2 +- content/methods/induction/strong-induction.tex | 2 +- content/methods/induction/structural-induction.tex | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/methods/induction/induction-on-N.tex b/content/methods/induction/induction-on-N.tex index 932cf9977..bcbebc24b 100644 --- a/content/methods/induction/induction-on-N.tex +++ b/content/methods/induction/induction-on-N.tex @@ -28,7 +28,7 @@ particular that if $P(0)$ then $P(0+1)$, i.e., $P(1)$. This follows from the general statement ``for any~$k$, if $P(k)$ then $P(k+1)$'' by putting~$0$ for~$k$. So by modus ponens, we have that~$P(1)$. From (2) -again, now taking $1$ for~$n$, we have: if $P(1)$ then~$P(2)$. Since +again, now taking $1$ for~$k$, we have: if $P(1)$ then~$P(2)$. Since we've just established~$P(1)$, by modus ponens, we have~$P(2)$. And so on. For any number~$n$, after doing this $n$~times, we eventually arrive at~$P(n)$. So (1) and~(2) together establish~$P(n)$ for any $n diff --git a/content/methods/induction/inductive-definitions.tex b/content/methods/induction/inductive-definitions.tex index 1f49ba2a7..136464012 100644 --- a/content/methods/induction/inductive-definitions.tex +++ b/content/methods/induction/inductive-definitions.tex @@ -27,7 +27,7 @@ sense. The third and fourth string look better: for every ``$[$'' there's a closing ``$]$'' (if there are any at all), and for any $\circ$ we can find ``nice'' expressions on either side, -surrounded by a pair of parentheses. +surrounded by a pair of brackets. We would like to precisely specify what counts as a ``nice term.'' First of all, every letter by itself is nice. Anything that's not diff --git a/content/methods/induction/relations.tex b/content/methods/induction/relations.tex index ec908294a..01b64a2cd 100644 --- a/content/methods/induction/relations.tex +++ b/content/methods/induction/relations.tex @@ -31,7 +31,7 @@ This definition, for instance, will tell us that $\mathrm{a} \sqsubseteq [\mathrm{b} \circ \mathrm{a}]$. For (2) says that $\mathrm{a} \sqsubseteq [\mathrm{b} \circ \mathrm{a}]$ iff $\mathrm{a} -= [\mathrm{b} \circ \mathrm{a}]$, or $\mathrm{a} \sqsubseteq b$, or += [\mathrm{b} \circ \mathrm{a}]$, or $\mathrm{a} \sqsubseteq \mathrm{b}$, or $\mathrm{a} \sqsubseteq \mathrm{a}$. The first two are false: $\mathrm{a}$ clearly isn't identical to $[\mathrm{b} \circ \mathrm{a}]$, and by~(1), $\mathrm{a} \sqsubseteq \mathrm{b}$ iff diff --git a/content/methods/induction/strong-induction.tex b/content/methods/induction/strong-induction.tex index 727e27583..11274a104 100644 --- a/content/methods/induction/strong-induction.tex +++ b/content/methods/induction/strong-induction.tex @@ -40,7 +40,7 @@ if no $x$ satisfies~$!A(x)$. In this case, the formalized version would be ``$\lforall[l][(l < k \lif P(l))]$''---and that is true if there are no $l < k$. And if $k=0$ that's exactly the case: no $l<0$, -hence ``for all $l<0$, $P(0)$'' is true, whatever $P$ is. A proof of +hence ``for all $l<0$, $P(l)$'' is true, whatever $P$ is. A proof of ``if $P(l)$ for all $l Date: Mon, 30 Nov 2026 22:30:17 +0100 Subject: [PATCH 2/2] methods/proofs: corrections (4 places) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit inference-patterns.tex: - l. 223: The immediately preceding subsection is Universal Claims (118), whereas disjunction introduction is explained in Proving a Disjunction (84). Name the actual source subsection. - l. 292: The paragraph permits using other hypotheses at 289, but the final sentence incorrectly discharges all of them. The fresh name condition at 285–287 and absence of a in p at 290 discharge only the witness assumption; the other premises remain. - l. 310: The paragraph expands A≠∅ at 304–308. The free x on the left of the final equivalence is unrelated to A: A=∅, x={∅} refutes it. Replace only that free variable by A. proof-by-contradiction.tex: - l. 134: The negated assertion at 128–133 is A⊆A∪B, whose negation is ∃x∈A (x∉A∪B). C is unrelated. The immediately following equivalence at 138–139 already supplies the correct set. Co-Authored-By: Claude Opus 5.5 --- content/methods/proofs/inference-patterns.tex | 8 ++++---- content/methods/proofs/proof-by-contradiction.tex | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/methods/proofs/inference-patterns.tex b/content/methods/proofs/inference-patterns.tex index 9040cd073..6c1a279c6 100644 --- a/content/methods/proofs/inference-patterns.tex +++ b/content/methods/proofs/inference-patterns.tex @@ -220,8 +220,7 @@ \subsection{Proof by Cases} or $x \in E$. We distinguish cases. Case 1: $x \in B$. By (c), $x \in D$. Thus, $x \in D$ or $x \in - E$. (Here we've made the inference discussed in the preceding - subsection!) + E$. (Here we've made the inference discussed in the subsection ``Proving a Disjunction''!) Case 2: $x \in C$. By (d), $x \in E$. Thus, $x \in D$ or $x \in E$. \end{proof} @@ -289,7 +288,8 @@ \subsection{Using Existence Claims} \in A$.'' Now you can reason about~$a$, use some other hypotheses, etc., until you come to a conclusion, $p$. If $p$ no longer mentions~$a$, $p$ is independent of the assumption that $a \in A$, and you've shown that it -follows just from the assumption ``for some $x$, $x \in A$.'' +follows from the assumption ``for some $x$, $x \in A$'' together +with the other hypotheses used. \begin{prop} If $A \neq \emptyset$, then $A \cup B \neq \emptyset$. @@ -307,7 +307,7 @@ \subsection{Using Existence Claims} \emptyset$ iff either some $x \in A$ is $\notin \emptyset$ or some $x \in \emptyset$ is $\notin A$. Since nothing is $\in \emptyset$, the second disjunct can never be true, and ``$x \in A$ and $x - \notin \emptyset$'' reduces to just $x \in A$. So $x \neq + \notin \emptyset$'' reduces to just $x \in A$. So $A \neq \emptyset$ iff for some $x$, $x \in A$. That's an existence claim. Now we use that existence claim by introducing a name for one of the !!{element}s of~$A$: diff --git a/content/methods/proofs/proof-by-contradiction.tex b/content/methods/proofs/proof-by-contradiction.tex index dd2697024..7d11b2782 100644 --- a/content/methods/proofs/proof-by-contradiction.tex +++ b/content/methods/proofs/proof-by-contradiction.tex @@ -131,7 +131,7 @@ also $\in A \cup B$. To understand what $A \nsubseteq A \cup B$ means, we have to use some elementary logical manipulation on the unpacked definition: it's false that every $x \in A$ is also $\in - A \cup B$ iff there is \emph{some}~$x \in A$ that is $\notin C$. + A \cup B$ iff there is \emph{some}~$x \in A$ that is $\notin A \cup B$. (This is a place where you want to be very careful: many students' attempted proofs by contradiction fail because they analyze the negation of a claim like ``all $A$s are $B$s'' incorrectly.) In