Skip to content
Merged
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/content.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
study from this PDF.

The Open Logic Project provides many mechanisms by which a text can be
generate which is more appropriate for teaching or self-study. For
generated which is more appropriate for teaching or self-study. For
instance, by default, the text will make all logical operators
primitives and carry out all cases for all operators in proofs. But
it is much better to leave some of these cases as exercises. The Open
Expand Down
4 changes: 2 additions & 2 deletions content/methods/induction/induction-on-N.tex
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
\item The \emph{induction step}, for all $k$, if $P(k)$ then~$P(k+1)$.
\end{enumerate}

(1) Is proved by inspecting a $6$-sided die. It has all 6 sides, and
every number between $1$ and~$6$ shows up one on of the sides. So it
(1) is proved by inspecting a $6$-sided die. It has all 6 sides, and
every number between $1$ and~$6$ shows up on one of the sides. So it
is possible to throw any number between $1$ and~$6$ using a single
die.

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 @@ -63,7 +63,7 @@
\]
for all combinations of two letters. In the third step, we apply (2)
again, to any two nice terms we've constructed so far. We get new nice
term such as $[\mathrm{a} \circ [\mathrm{a} \circ
terms such as $[\mathrm{a} \circ [\mathrm{a} \circ
\mathrm{a}]]$---where $t$ is $\mathrm{a}$ from step~1 and $s$ is
$[\mathrm{a} \circ \mathrm{a}]$ from step~2---and $[[\mathrm{b} \circ
\mathrm{c}] \circ [\mathrm{d} \circ \mathrm{b}]]$ constructed out
Expand Down
4 changes: 2 additions & 2 deletions content/methods/induction/relations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
& = \max(1,0) + 1 = 2.
\end{align*}

Here, of course, we assume that $s_1$ an $s_2$ are nice terms, and make
Here, of course, we assume that $s_1$ and $s_2$ are nice terms, and make
use of the fact that every nice term is either a letter or of the form
$[s_1 \circ s_2]$. It is again important that it can be of this form in
only one way. To see why, consider again the bracketless terms we
Expand All @@ -151,7 +151,7 @@
s_1 & = \mathrm{a} \text{ and} &
s_2 & = \mathrm{b} \circ \mathrm{c} \circ \mathrm{d},
\intertext{or as $r_1 \circ r_2$ with}
r_1 & = \mathrm{a} \circ b \text{ and} &
r_1 & = \mathrm{a} \circ \mathrm{b} \text{ and} &
r_2 &= \mathrm{c} \circ \mathrm{d}.
\end{align*}
Calculating $g$ according to the first way of reading it would give
Expand Down
4 changes: 2 additions & 2 deletions content/methods/induction/structural-induction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
So far we have used induction to establish results about all natural
numbers. But a corresponding principle can be used directly to prove
results about all !!{element}s of an inductively defined set. This
often called \emph{structural} induction, because it depends on the
is often called \emph{structural} induction, because it depends on the
structure of the inductively defined objects.

Generally, an inductive definition is given by (a)~a list of
``initial'' !!{element}s of the set and (b)~a list of operations which
produce new !!{element}s of the set from old ones. In the case of nice
terms, for instance, the initial objects are the letters. We only have
one operation: the operations are
one operation: it is
\begin{align*}
o(s_1, s_2) = & [s_1 \circ s_2]
\end{align*}
Expand Down
2 changes: 1 addition & 1 deletion content/methods/methods.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
explanations of various proof methods a non-mathematics student may
be unfamiliar with. It currently contains a chapter on how to write
proofs, and a chapter on induction, but additional sections for
those, exercises, and a chapter on mathematical terminology is also
those, exercises, and a chapter on mathematical terminology are also
planned.
\end{editorial}

Expand Down
2 changes: 1 addition & 1 deletion content/methods/proofs/example-1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
\cup C)$ is !!a{element} of $A \cup (B \cap C)$.
\begin{quote}
Since this is a conjunction, we must prove each conjunct
separately. Lets start with the first: let's prove that every
separately. Let's start with the first: let's prove that every
!!{element} of $A \cup (B \cap C)$ is also !!a{element} of $(A
\cup B) \cap (A \cup C)$.

Expand Down
2 changes: 1 addition & 1 deletion content/methods/proofs/example-2.tex
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
hang of this.
\end{quote}
$A \cup (C \setminus A) = C$ iff $A \cup (C \setminus A) \subseteq
C$ and $C \subseteq (A \cup (C \setminus A)$. First we prove that
C$ and $C \subseteq (A \cup (C \setminus A))$. First we prove that
$A \cup (C \setminus A) \subseteq C$. Let $z \in A \cup (C
\setminus A)$. So, either $z \in A$ or $z \in (C \setminus A)$.
\begin{quote}
Expand Down
6 changes: 3 additions & 3 deletions content/methods/proofs/inference-patterns.tex
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ \subsection{Proving a Conjunction}
\subsection{Proving a Disjunction}

When what you are proving takes the form of a disjunction (i.e., it is
an statement of the form ``$p$ or $q$''), it is enough to show that
a statement of the form ``$p$ or $q$''), it is enough to show that
one of the disjuncts is true. However, it basically never happens
that either disjunct just follows from the assumptions of your
theorem. More often, the assumptions of your theorem are themselves
Expand Down Expand Up @@ -112,7 +112,7 @@ \subsection{Conditional Proof}
the first conditional and another one for the second. Sometimes,
however, it is possible to prove an ``iff'' statement by chaining
together a bunch of other ``iff'' statements so that you start with
``$p$'' an end with ``$q$''---but in that case you have to make sure
``$p$'' and end with ``$q$''---but in that case you have to make sure
that each step really is an ``iff.''

\subsection{Universal Claims}
Expand Down Expand Up @@ -144,7 +144,7 @@ \subsection{Universal Claims}
assuming that an arbitrary object (``$x$'') has the property~$P$, and
show (based only on definitions or what you are allowed to assume)
that $x$ has the property~$Q$. Because you have not stipulated what
$x$ is specifically, other that it has the property $P$, then you can
$x$ is specifically, other than it has the property $P$, then you can
assert that everything with $P$ has the property~$Q$. In short, $x$ is a
stand-in for \emph{all} things with property~$P$.

Expand Down
2 changes: 1 addition & 1 deletion content/methods/proofs/introduction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
comfortable with !!a{derivation} system---probably a natural deduction or
Fitch style !!{derivation} system, or perhaps a proof-tree system. You probably
remember doing proofs in these systems, either proving !!a{formula}
or show that a given argument is valid. In order to do this, you
or showing that a given argument is valid. In order to do this, you
applied the rules of the system until you got the desired end
result. In reasoning \emph{about} logic, we also prove things, but in
most cases we are not using !!a{derivation} system. In fact, most of the
Expand Down
4 changes: 2 additions & 2 deletions content/methods/proofs/proof-by-contradiction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
\subseteq C$.
\begin{quote}
Let's proceed indirectly: we assume the negation of what we want
to etablish.
to establish.
\end{quote}
Suppose not, i.e., $A \nsubseteq C$.
\begin{quote}
Expand Down Expand Up @@ -187,7 +187,7 @@
Assume, by way of contradiction, that $A \neq B$.
\begin{quote}
Our assumption for the proof by contradiction is that $A \neq
B$. Since $A = B$ iff $A \subseteq B$ an $B \subseteq A$, we get
B$. Since $A = B$ iff $A \subseteq B$ and $B \subseteq A$, we get
that $A \neq B$ iff $A \nsubseteq B$ \emph{or} $B \nsubseteq
A$. (Note how important it is to be careful when manipulating
negations!{}) To prove a contradiction from this disjunction, we
Expand Down
4 changes: 2 additions & 2 deletions content/methods/proofs/reading-proofs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
before we prove it, etc. Let's unpack it. The proposition proved is a
general claim about any sets $A$ and $B$, and when the proof mentions
$A$ or $B$, these are variables for arbitrary sets. The general
claims the proof establishes is what's required to prove identity of
claims the proof establishes are what's required to prove identity of
sets, i.e., that every !!{element} of the left side of the identity is
!!a{element} of the right and vice versa.

Expand Down Expand Up @@ -81,7 +81,7 @@
Here's another version of the proof above, with everything made
explicit:
\begin{proof}{}
[By definition of $=$ for sets, $A \cap (A \cup B) = A$ we have to
[By definition of $=$ for sets, to show $A \cap (A \cup B) = A$ we have to
show (a) $A \cap (A \cup B) \subseteq A$ and (b) $A \subseteq A \cap (A
\cup B)$. (a): By definition of $\subseteq$, we have to show
that if $z \in A \cap (A \cup B)$, then $z \in A$.] If $z \in A
Expand Down
2 changes: 1 addition & 1 deletion content/methods/proofs/resources.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

\olfileid{mth}{prf}{res}

\section{Other Resources}
\olsection{Other Resources}

There are many books on how to do proofs in mathematics which may be
useful. Check out \emph{How to Read and do Proofs: An Introduction to
Expand Down
4 changes: 2 additions & 2 deletions content/methods/proofs/starting-proofs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Next, you may have some assumptions that you are able to use (this
will be made clearer when we talk about the \emph{type} of proof you
are doing in the next section). Write these at the top of the page and
are doing in the following sections). Write these at the top of the page and
make sure to flag that they are assumptions (i.e., if you are assuming
$p$, write ``assume that $p$,'' or ``suppose that $p$''). Finally,
there might be some definitions in the question that you need to know.
Expand All @@ -30,7 +30,7 @@
what they mean.}

How you set up your proof will also be dependent upon the form of the
question. The next section provides details on how to set up your proof
question. The following sections provide details on how to set up your proof
based on the type of sentence.

\end{document}
2 changes: 1 addition & 1 deletion content/methods/proofs/using-definitions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

\begin{document}

\olfileid{mod}{prf}{def}
\olfileid{mth}{prf}{def}

\olsection{Using Definitions}

Expand Down
12 changes: 6 additions & 6 deletions content/sets-functions-relations/arithmetization/cauchy.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}$
Expand All @@ -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
Expand Down Expand Up @@ -187,7 +187,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion content/sets-functions-relations/arithmetization/cuts.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
% Chapter: induction
% Section: induction

\documentclass[../../include/open-logic-section]{subfiles}
\documentclass[../../../include/open-logic-section]{subfiles}

\begin{document}

Expand All @@ -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.
Expand Down Expand Up @@ -109,25 +109,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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
6 changes: 3 additions & 3 deletions content/sets-functions-relations/relations/reflections.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions content/sets-functions-relations/sets/important-sets.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
4 changes: 2 additions & 2 deletions content/sets-functions-relations/sets/russells-paradox.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
Loading
Loading