Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/methods/induction/induction-on-N.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/methods/induction/inductive-definitions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/methods/induction/relations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/methods/induction/strong-induction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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<k$, then $P(k)$'' thus automatically
establishes~$P(0)$.

Expand Down
2 changes: 1 addition & 1 deletion content/methods/induction/structural-induction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
\end{prob}

Let's give another proof by structural induction: a proper initial
segment of a string~$t$ of symbols is any string~$s$ that agrees with
segment of a string~$t$ of symbols is any non-empty string~$s$ that agrees with
$t$ symbol by symbol, read from the left, but $t$ is longer. So,
e.g., $[a \circ {}$ is a proper initial segment of $[a \circ b]$, but
neither are $[b \circ {}$ (they disagree at the second symbol) nor $[a
Expand Down
8 changes: 4 additions & 4 deletions content/methods/proofs/inference-patterns.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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$.
Expand All @@ -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$:
Expand Down
2 changes: 1 addition & 1 deletion content/methods/proofs/proof-by-contradiction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading