Source and provenance
This successor consumes only the independently accepted chapter slice. The exact projected TeX is shown line by line, and the source-coordinate crosswalk below materializes every coordinate used by formulas, formal objects, references, structures, and corrections. It does not claim that the crosswalk is a complete copy of each upstream source file.
Open the exact accepted projected TeX. Open the accepted chapter-slice receipt.
Accepted projected chapter
41456 bytes; SHA-256 667517b3a4671b9c63932d98f92705a3f32005e151f0ab549756fb632e755046.
\olchapter{sfr}{arith}{Arithmetization}\begin{editorial}The material in this chapter presents the construction of the numbersystems in na\"ive set theory. It is taken from Tim Button's Open SetTheory text.\end{editorial}\olfileid{sfr}{arith}{int}\olsection{From $\Nat$ to $\Int$}Here are two basic realisations:\begin{enumerate}\item Every integer can be written in the form $n - m$, with $n, m \in\Nat$.\item The information encoded in an expression $n - m$ can equally be encoded by an ordered pair $\tuple{n, m}$.\end{enumerate}We already know that the ordered pairs of natural numbers are the !!{element}s of $\Nat^2$. And we are assuming that we understand $\Nat$. So here is a na\"{i}ve suggestion, based on the two realisations we have had: \emph{let's treat integers as ordered pairs of natural numbers}.In fact, this suggestion is too na\"{i}ve. Obviously we want it to be the case that $0- 2 = 4 - 6$. But evidently $\tuple{0, 2 }\neq \tuple{4, 6}$. So we cannot simply say that $\Nat^2$ is the set of integers.Generalising from the preceding problem, what we want is the following:$$a - b = c - d \text{ iff }a + d = c + b$$(It should be obvious that this is how integers are \emph{meant} to behave: just add $b$ and $d$ to both sides.) And the easy way to guarantee this behaviour is just to define an equivalence relation between ordered pairs, $\Intequiv$, as follows:$$\tuple{ a, b } \Intequiv \tuple{c, d}\text{ iff }a + d = c + b$$We now have to show that this is an equivalence relation.\begin{prop} $\Intequiv$ is an equivalence relation.\end{prop}\begin{proof}We must show that $\Intequiv$ is reflexive, symmetric, and transitive.\emph{Reflexivity:} Evidently $\tuple{a, b} \Intequiv \tuple{a, b}$, since $a + b = b + a$.\emph{Symmetry:} Suppose $\tuple{a, b} \Intequiv \tuple{c, d}$, so $a + d = c + b$. Then $c + b = a + d$, so that $\tuple{c, d} \Intequiv \tuple{a, b}$.\emph{Transitivity:} Suppose $\tuple{a, b} \Intequiv \tuple{c, d}\Intequiv \tuple{m, n}$. So $a + d = c + b$ and $c + n = m + d$. So $a + d + c + n = c + b + m + d$, and so $a + n = m + b$. Hence $\tuple{a, b } \Intequiv \tuple{m, n}$.\end{proof}Now we can use this equivalence relation to take equivalence classes:\begin{defn}The integers are the equivalence classes, under $\Intequiv$, of ordered pairs of natural numbers; that is, $\Int = \equivclass{\Nat^2}{\Intequiv}$.\end{defn}Now, one might have plenty of different \emph{philosophical} reactions to this stipulative definition. Before we consider those reactions, though, it is worth continuing with some of the technicalities.Having said what the integers are, we shall need to define basic functions and relations on them. Let's write $\equivrep{m, n}{\Intequiv}$ for the equivalence class under $\Intequiv$ with $\tuple{m, n}$ as !!a{element}.\footnote{Note: using the notation introduced in \olref[sfr][rel][eqv]{def:equivalenceclass}, we would have written $\equivrep{\tuple{m,n}}{\Intequiv}$ for the same thing. But that's just a bit harder to read.} That is:$$\equivrep{m, n}{\Intequiv} = \Setabs{\tuple{a, b} \in \Nat^2}{\tuple{a, b}\Intequiv \tuple{m, n}}$$So now we offer some definitions:\begin{align*}\equivrep{a, b}{\Intequiv} + \equivrep{c, d}{\Intequiv} &= \equivrep{a + c, b + d}{\Intequiv}\\\equivrep{a, b}{\Intequiv} \times \equivrep{c, d}{\Intequiv} &= \equivrep{a c + b d, a d + b c}{\Intequiv}\\\equivrep{a, b}{\Intequiv} \leq \equivrep{c, d}{\Intequiv} &\text{ iff }a + d \leq b + c\end{align*}(As is common, I'm using `$ab$' stand for `$(a \times b)$', just to make the axioms easier to read.) Now, we need to make sure that these definitions behave as they \emph{ought} to. Spelling out what this means, and checking it through, is rather laborious; we relegate the details to \olref[check]{sec}. But the short point is: everything works!One final thing remains. We have constructed the integers usingnatural numbers. But this will mean that the natural numbers \emph{arenot themselves integers}. We will return to the philosophicalsignificance of this in \olref[ref]{sec}. On a purely technical front,though, we will need some way to be able to treat natural numbers\emph{as} integers. The idea is quite easy: for each $n \in \Nat$, wejust stipulate that $n_\Int = \equivrep{n, 0}{\Intequiv}$. We need toconfirm that this definition is well-behaved, i.e., that for any $m, n\in \Nat$\begin{align*}(m + n)_\Int &= m_\Int + n_\Int\\(m \times n)_\Int &= m_\Int \times n_\Int\\m \leq n &\liff m_\Int \leq n_\Int\end{align*}But this is all pretty straightforward. For example, to show that thesecond of these obtains, we can simply help ourselves to the behaviourof the natural numbers and reason as follows:\begin{align*}(m \times n)_\Int &= \equivrep{m \times n, 0}{\Intequiv} \\&= \equivrep{m \times n + 0 \times 0, m \times 0 + 0 \times n}{\Intequiv} \\&= \equivrep{m, 0}{\Intequiv} \times \equivrep{n, 0}{\Intequiv} \\&= m_\Int \times n_\Int\end{align*}We leave it as an exercise to confirm that the other two conditions hold.\begin{prob}Show that $(m + n)_\Int = m_\Int + n_\Int$ and $m \leq n \liff m_\Int \leq n_\Int$, for any $m, n \in \Nat$.\end{prob}\olfileid{sfr}{arith}{rat}\olsection{From $\Int$ to $\Rat$}We just saw how to construct the integers from the natural numbers,using some na\"{i}ve set theory. We shall now see how to construct therationals from the integers in a very similar way. Our initialrealisations are:\begin{enumerate}\item Every rational can be written in the form $\nicefrac{i}{j}$,where both $i$ and $j$ are integers but $j$ is non-zero.\item The information encoded in an expression $\nicefrac{i}{j}$can equally be encoded in an ordered pair $\tuple{ i, j}$.\end{enumerate}The obvious approach would be to think of the rationals \emph{as}ordered pairs drawn from $\Int \times (\Int \setminus \{0_\Int\})$. Asbefore, though, that would be a bit too na\"ive, since we want$\nicefrac{3}{2} = \nicefrac{6}{4}$, but $\tuple{ 3, 2}\neq \tuple{ 6,4}$. More generally, we will want the following:\[\nicefrac{a}{b} = \nicefrac{c}{d} \text{ iff } a \times d = b \times c\]To get this, we define an {equivalence relation} on $\Int \times(\Int \setminus \{0_\Int\})$ thus:\[\tuple{ a, b }\Ratequiv \tuple{ c, d} \text{ iff }a \times d = b \times c\]We must check that this is an equivalence relation. This is very muchlike the case of $\Intequiv$, and we will leave it as an exercise.\begin{prob}Show that $\Ratequiv$ is an equivalence relation.\end{prob}But it allows us to say:\begin{defn}The rationals are the equivalence classes, under $\Ratequiv$, of pairsof integers (whose second element is non-zero). That is, $\Rat =\equivclass{(\Int \times (\Int\setminus \{0_\Int\}))}{\Ratequiv}$.\end{defn}As with the integers, we also want to define some basic operations.Where $\equivrep{i,j}{\Ratequiv}$ is the equivalence class under$\Ratequiv$ with $\tuple{i, j}$ as !!a{element}, we say:\begin{align*}\equivrep{a, b}{\Ratequiv} + \equivrep{c, d}{\Ratequiv} &= \equivrep{ad + bc, bd}{\Ratequiv}\\\equivrep{a, b}{\Ratequiv} \times \equivrep{c, d}{\Ratequiv} &= \equivrep{a c, b d}{\Ratequiv}.\intertext{To define $r \leq s$ on these rationals, we use the fact that$r \le s$ iff $s - r$ is not negative, i.e., $r - s$ can be written as$\nicefrac{i}{j}$ with $i$ non-negative and $j$~positive:}\equivrep{a, b}{\Ratequiv} \leq \equivrep{c, d}{\Ratequiv} &\text{ iff }\equivrep{c, d}{\Ratequiv} - \equivrep{a, b}{\Ratequiv} =\equivrep{i_\Int, j_\Int}{\Ratequiv}\end{align*}for some $i \in \Nat$ and $0 \neq j \in \Nat$.We then need to check that these definitions behave as they\emph{ought} to; and we relegate this to \olref[check]{sec}. But theyindeed do!{} Finally, we want some way to treat integers \emph{as}rationals; so for each $i \in \Int$, we stipulate that $i_\Rat =\equivrep{i, 1_\Int}{\Ratequiv}$. Again, we check that all of thisbehaves correctly in \olref[check]{sec}.\begin{prob}Show that $(i + j)_\Rat = i_\Rat+ j_\Rat$ and $(i \times j)_\Rat =i_\Rat \times j_\Rat$ and $i \leq j \liff i_\Rat \leq j_\Rat$, for any$i, j \in \Int$.\end{prob}\olfileid{sfr}{arith}{real}\olsection{The Real Line}The next step is to show how to construct the reals from therationals. Before that, we need to understand what is\emph{distinctive} about the reals.The reals behave very much like the rationals. (Technically, both areexamples of \emph{ordered fields}; for the definition of this, see\olref[check]{orderedfield}.) Now, if you worked through the exercisesto \olref[sfr][siz][]{chap}, you will know that there are strictlymore reals than rationals, i.e., that $\cardless{\Rat}{\Real}$. Thiswas first proved by Cantor. But it's been known for about two and ahalf millennia that there are irrational numbers, i.e., reals whichare not rational. Indeed:\begin{thm}\ollabel{root2irrational}$\sqrt{2}$ is not rational, i.e., $\sqrt{2} \notin \Rat$\end{thm}\begin{proof}Suppose, for reductio, that $\sqrt{2}$ is rational. So $\sqrt{2} =\nicefrac{m}{n}$ for some natural numbers $m$ and $n$. Indeed, we canchoose $m$ and $n$ so that the fraction cannot be reduced any further.Re-organising, $m^{2} = 2n^{2}$. From here, we can complete the proofin two ways:\emph{First, geometrically} (following Tennenbaum).\footnote{Thisproof is reported by \cite{Conway2006}.} Consider these squares:\begin{center}\begin{tikzpicture}\draw[thick] (0,0) rectangle (3,3);\draw[thick, fill=red!50] (0,0) rectangle (2.3,2.3);\draw[thick, fill=yellow!50] (0.7,0.7) rectangle (3, 3);\draw[thick, fill=orange!50] (0.7,0.7) rectangle (2.3, 2.3);\draw[<->] (4, 0.7)--(4, 3);\node at (4.25, 1.85) (n) {$n$};\draw[<->] (5, 0)--(5, 3);\node at (5.25, 1.5) (m) {$m$};\end{tikzpicture}\end{center}Since $m^2 = 2n^2$, the region where the two squares of side $n$overlap has the same area as the region which neither of the twosquares cover; i.e., the area of the orange square equals the sum ofthe area of the two unshaded squares. So where the orange square hasside $p$, and each unshaded square has side $q$, $p^2 = 2q^2$. But now$\sqrt{2} = \nicefrac{p}{q}$, with $p < m$ and $q < n$ and $p, q \in\Nat$. This contradicts the fact that $m$ and $n$ were chosen to be assmall as possible.\emph{Second, formally.} Since $m^{2} = 2n^{2}$, it follows that $m$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$,so $n$ is also even. So both $m$ and $n$ are even, and hence thefraction $\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 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.}It is easy to see that the rationals do not have the Completeness Property. For example, consider the set of rationals less than $\sqrt{2}$, i.e.:\[\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.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.\olfileid{sfr}{arith}{cuts}\olsection{From $\Rat$ to $\Real$}In essence, the Completeness Property shows that any point $\alpha$ ofthe real line divides that line into two halves perfectly: those forwhich $\alpha$ is the least upper bound, and those for which $\alpha$is the greatest lower bound. To \emph{construct} the real numbers fromthe rational numbers, Dedekind suggested that we simply think of thereals as the \emph{cuts} that partition the rationals. That is, weidentify $\sqrt{2}$ with the \emph{cut} which separates the rationals$< \sqrt{2}$ from the rationals $> \sqrt{2}$.Let's tidy this up. If we cut the rational numbers into two halves, wecan uniquely identify the partition we made just by considering its\emph{bottom} half. So, getting precise, we offer the followingdefinition:\begin{defn}[Cut]A \emph{cut} $\alpha$ is any non-empty properinitial segment of the rationals with no greatest element. That is,$\alpha$ is a cut iff:\begin{enumerate}\item \emph{non-empty, proper}: $\emptyset \neq \alpha \subsetneq \Rat$\item \emph{initial}: for all $p,q \in \Rat$: if $p < q \in \alpha$ then $p \in \alpha$\item \emph{no maximum}: for all $p \in \alpha$ there is a $q \in \alpha$ such that $p < q$\end{enumerate}Then $\Real$ is the set of cuts.\end{defn}So now we can say that $\sqrt{2} = \Setabs{p \in \Rat}{p^2 < 2\text{or }p < 0}$. Of course, we need to check that this \emph{is} a cut,but we relegate that to \olref[check]{sec}.As before, having defined some entities, we next need to define basicfunctions and relations upon them. We begin with an easy one:\begin{align*}\alpha \leq \beta \text{ iff }\alpha \subseteq \beta\end{align*}This definition of an order allows 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 withan 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\lambda$, and $\lambda$ is the least such cut, i.e.\ $(\forall \beta \in \Real)((\forall \alpha \in S)\alpha \subseteq \beta \lif \lambda \subseteq \beta)$. Now here isthe proof of the result:\begin{thm}\ollabel{realcompleteness}The set of cuts has the Completeness Property.\end{thm}\begin{proof}Let $S$ be any non-empty set of cuts with an upper bound. Let $\lambda= \bigcup S$.We first claim that $\lambda$ is a cut:\begin{enumerate}\item Since $S$ has an upper bound, at least one cut is in $S$, so$\emptyset \neq \lambda$. Since $S$ is a set of cuts, $\lambda\subseteq \Rat$. Since $S$ has an upper bound, some $p \in \Rat$ isabsent from every cut $\alpha \in S$. So $p\notin \lambda$, and hence$\lambda \subsetneq \Rat$.\item Suppose $p < q \in \lambda$. So there is some $\alpha \in S$such that $q \in \alpha$. Since $\alpha$ is a cut, $p \in \alpha$. So$p \in \lambda$.\item Suppose $p \in \lambda$. So there is some $\alpha \in S$ suchthat $p \in \alpha$. Since $\alpha$ is a cut, there is some $q \in\alpha$ such that $p < q$. So $q \in \lambda$.\end{enumerate}This proves the claim. Moreover, clearly $(\forall \alpha \in S)\alpha\subseteq \bigcup S = \lambda$, i.e.\ $\lambda$ is an upper bound on $S$. So now suppose $\beta \in \mathbb{R}$ is also an upper bound, i.e.\ $(\forall \alpha \in S)\alpha \subseteq \beta$. For any $p \in \Rat$, if $p \in \lambda$, then there is $\alpha \in S$ such that $p \in \alpha$, so that $p \in \beta$. Generalizing, $\lambda \subseteq \beta$. So $\lambda$ is the \emph{least} upper bound on $S$.\end{proof}So we have a bunch of entities which satisfy the CompletenessProperty. And one way to put this is: there are no ``gaps'' in ourcuts. (So: taking further ``cuts'' of reals, rather than rationals,would yield no interesting new objects.)Next, we must define some operations on the reals. We start byembedding the rationals into the reals by stipulating that $p_\Real =\Setabs{q \in \Rat}{q < p}$ for each $p \in \Rat$. We then define:\begin{align*}\alpha + \beta &= \Setabs{p + q}{p \in \alpha \land q \in \beta}\\\alpha \times \beta &=\Setabs{p \times q}{0 \leq p \in \alpha \land 0 \leq q \in \beta} \cup 0^\mathbb{R} & \text{if }\alpha, \beta \geq 0_\Real\end{align*}To handle the other multiplication cases, first let:\begin{align*}-\alpha &= \Setabs{p - q}{p < 0 \land q \notin \alpha}\end{align*}and then stipulate:\begin{align*}\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\end{cases}\end{align*}We then need to check that each of these definitions always yields acut. And finally, we need to go through an easy (but long-winded)demonstration that the cuts, so defined, behave exactly as theyshould. But we relegate all of this to \olref[check]{sec}.\olfileid{sfr}{arith}{ref}\olsection{Some Philosophical Reflections}So much for the technicalities. But what did they achieve?Well, pretty uncontestably, they gave us some {lovely} pure mathematics. Moreover,there were some deep conceptual achievements. It was a profoundinsight, to see that the Completeness Property expresses the crucialdifference between the reals and the rationals. Moreover, the explicitconstruction of reals, as Dedekind cuts, puts the subject matter ofanalysis on a firm footing. We know that the notion of a\emph{complete ordered field} is coherent, for the cuts form just sucha field.For all that, we should air a few reservations about these achievements.First, it is not clear that thinking of reals in terms of cuts is any\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 viaCauchy sequence; but in fact, it was essentially known tomathematicians from the early 17th century onwards (see\olref[cauchy]{sec}). The real increase in rigour came from therealisation that the reals have the Completeness Property; the abilityto construct real numbers as particular sets is perhaps not, byitself, so very interesting.It is even less clear that the (much easier) arithmetization of theintegers, or of the rationals, increases rigour in those areas. Here,it is worth making a simple observation. Having \emph{constructed} theintegers as equivalence classes of ordered pairs of naturals, and thenconstructed the rationals as equivalence classes of ordered pairs ofintegers, and then constructed the reals as sets of rationals, weimmediately \emph{forget about} the constructions. In particular: noone would ever want to \emph{invoke} these constructions during amathematical proof (excepting, of course, a proof that theconstructions behaved as they were supposed to). It's much easier tospeak about a real, directly, than to speak about some set of sets ofsets of sets of sets of sets of sets of naturals.It is most doubtful of all that these definitions tell us what theintegers, rationals, or reals \emph{are}, \emph{metaphysicallyspeaking}. That is, it is doubtful that the reals (say) \emph{are}certain sets (of sets of sets\ldots). The main barrier to such a viewis that the construction could have been done in many different ways.In the case of the reals, there are some genuinely interestinglydifferent constructions (see \olref[cauchy]{sec}). But here is areally trivial way to obtain some different constructions: as in\olref[sfr][rel][ref]{sec}, we could have defined ordered pairsslightly differently; if we had used this alternative notion of anordered pair, then our constructions would have worked precisely aswell as they did, but we would have ended up with different objects.As such, there are many rival set-theoretic constructions of theintegers, the rationals, and the reals. And now it would just bearbitrary (and embarrassing) to claim that the integers (say) are\emph{these} sets, rather than \emph{those}. (As in\olref[sfr][rel][ref]{sec}, this is an instance of an argument madefamous by \citealt{Benacerraf1965}.)A further point is worth raising: there is something quite \emph{odd}about our constructions. We started with the natural numbers. We thenconstruct the integers, and construct ``the $0$ of the integers'',i.e., $ \equivrep{0,0}{\Intequiv}$. But $0 \neq\equivrep{0,0}{\Intequiv}$. Indeed, given our constructions,\emph{no} natural number is an integer. But that seems extremelycounter-intuitive. Indeed, in \olref[sfr][set][imp]{sec}, we claimedwithout much argument that $\Nat \subseteq \Rat$. If the constructionstell us exactly \emph{what} the numbers are, this claim was triviallyfalse.Standing back, then, where do we get to? Working in a na\"ive settheory, and helping ourselves to the naturals, we are able to\emph{treat} integers, rationals, and reals as certain sets. In thatsense, we can \emph{embed} the theories of these entities within a settheory. But the philosophical import of this embedding is just notthat straightforward.Of course, none of this is the last word!{} The point is only this.Showing that the arithmetization of the reals \emph{is} of deepphilosophical significance would require some additional\emph{philosophical} argument.\olfileid{sfr}{arith}{check}\olsection{Ordered Rings and Fields}Throughout this chapter, we claimed that certain definitions behave``as they ought''. In this technical appendix, we will spell out whatwe mean, and (sketch how to) show that the definitions do behave``correctly''.In \olref[int]{sec}, we defined addition and multiplication on $\Int$.We want to show that, as defined, they endow $\Int$ with the structurewe ``would want'' it to have. In particular, the structure in questionis that of a commutative ring.\begin{defn}A \emph{commutative ring} is a set $S$, equipped with specific elements $0$ and $1$ and operations $+$ and $\times$, satisfying these eight formulas:\begin{align*}\emph{Associativity}&&a + (b+ c) & = (a + b) + c \\&& (a \times b) \times c & = a \times (b\times c)\\\emph{Commutativity}&&a + b &= b+ a \\&& a \times b&= b\times a\\\emph{Identities}&&a + 0 &= a \\&& a \times 1 &= a\\\emph{Additive Inverse}&&(\exists b\in S)0&=a + b\\\emph{Distributivity}&&a \times (b+ c ) &= (a \times b) + (a \times c)\end{align*}Implicitly, these are all bound with universal quantifiers restricted to $S$. And note that the elements $0$ and~$1$ here need not be the natural numbers with the same name.\end{defn}So, to check that the integers form a commutative ring, we just needto check that we meet these eight conditions. None of the conditionsis {difficult} to establish, but this is a bit laborious. For example,here is how to prove \emph{Associativity}, in the case of addition:\begin{proof}Fix $i, j, k \in \Int$. So there are $a_1, b_1, a_2, b_2, a_3, b_3 \in\Nat$ such that $i = \equivrep{a_1, b_1}{}$ and $j =\equivrep{a_2,b_2}{}$ and $k = \equivrep{a_3, b_3}{}$. (Forlegibility, we write ``$\equivrep{x, y}{}$'' rather than``$\equivrep{x, y}{\Intequiv}$''; we'll do this throughout thissection.) Now:\begin{align*}i + (j + k) &= \equivrep{a_1, b_1}{}+(\equivrep{a_2, b_2}{} + \equivrep{a_3, b_3}{}) \\&= \equivrep{a_1, b_1}{} + \equivrep{a_2+a_3, b_2+b_3}{}\\&= \equivrep{a_1 + (a_2 + a_3), b_1 + (b_2 + b_3)}{}\\&= \equivrep{(a_1 + a_2) + a_3, (b_1 + b_2) + b_3}{}\\&= \equivrep{a_1 + a_2, b_1 + b_2}{} + \equivrep{a_3, b_3}{}\\&= (\equivrep{a_1, b_1}{} + \equivrep{a_2, b_2}{}) + \equivrep{a_3, b_3}{}\\&= (i+j) + k\end{align*}helping ourselves freely to the behavior of addition on $\Nat$.\end{proof}Equally, here is how to prove \emph{Additive Inverse}:\begin{proof}Fix $i \in \Int$, so that $i = \equivrep{a,b}{}$ for some $a,b \in\Nat$. Let $j = \equivrep{b,a}{} \in \Int$. Helping ourselves to thebehaviour of the naturals, $(a+b) + 0 = 0 + (a+b)$, so that$\tuple{a+b, b+a} \sim_\Int \tuple{0,0}$ by definition, and hence$\equivrep{a+b, b+a}{} = \equivrep{0, 0}{} = 0_\Int$. So now $i + j =\equivrep{a,b}{}+\equivrep{b,a}{}=\equivrep{a+b, b+a}{}= \equivrep{0,0}{} = 0_\Int$.\end{proof}And here is a proof of \emph{Distributivity}:\begin{proof}As above, fix $i = \equivrep{a_1, b_1}{}$ and $j =\equivrep{a_2,b_2}{}$ and $k = \equivrep{a_3, b_3}{}$. Now:\begin{align*}i \times (j + k)&= \equivrep{a_1, b_1}{} \times (\equivrep{a_2,b_2}{} + \equivrep{a_3, b_3}{})\\&= \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_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)\end{align*}\end{proof}We leave it as an exercise to prove the remaining five conditions.Having done that, we have shown that $\Int$ constitutes a commutativering, i.e., that addition and multiplication (as defined) behave asthey should.\begin{prob}Prove that $\Int$ is a commutative ring.\end{prob}But our task is not over. As well as defining addition andmultiplication over $\Int$, we defined an ordering relation, $\leq$,and we must check that this behaves as it should. In more detail, wemust show that $\Int$ constitutes an \emph{ordered} ring.\footnote{Recallfrom \olref[sfr][rel][ord]{def:linearorder} that a total orderis 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$.}\begin{defn}An \emph{ordered ring} is a commutative ring which is also equippedwith a total order relation, $\leq$, such that:\begin{align*}a \leq b &\lif a + c \leq b + c\\(a \leq b \land 0 \leq c) &\lif a \times c \leq b \times c\end{align*}\end{defn}\begin{prob}Prove that $\Int$ is an ordered ring.\end{prob}As before, it is laborious but routine to show that~$\Int$, asconstructed, is an ordered ring. We will leave that to you.This takes care of the integers. But now we need to show very similarthings of the rationals. In particular, we now need to show that therationals 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:\begin{align*}\emph{Multiplicative Inverse}& & (\forall a \in S \setminus \{0\})(\exists b \in S) a\times b& = 1\end{align*}\end{defn}Once you have shown that $\Int$ constitutes an ordered ring, it iseasy but laborious to show that $\Rat$ constitutes an ordered field.\begin{prob}Prove that $\Rat$ is an ordered field.\end{prob}Having dealt with the integers and the rationals, it only remains todeal with the reals. In particular, we need to show that $\Real$constitutes a \emph{complete} ordered field, i.e., an ordered fieldwith the Completeness Property. Now, \olref[cuts]{realcompleteness}established that $\Real$ has the Completeness Property. However, itremains to run through the (tedious) of checking that $\Real$ is anordered field.Before tearing off into \emph{that} laborious exercise, we need tocheck some more ``immediate'' things. For example, we need a guaranteethat $\alpha + \beta$, as defined, is indeed a \emph{cut}, for anycuts $\alpha$ and $\beta$. Here is a proof of that fact:\begin{proof}Since $\alpha$ and $\beta$ are both cuts, $\alpha + \beta = \Setabs{p+ q}{p \in \alpha \land q \in \beta}$ is a non-empty proper subset of$\Rat$. Now suppose $x < p + q$ for some $p \in \alpha$ and $q \in \beta$.Then $x - p < q$, so $x - p \in \beta$, and $x = p + (x - p) \in\alpha + \beta$. So $\alpha + \beta$ is an initial segment of $\Rat$.Finally, for any $p + q \in \alpha + \beta$, since $\alpha$ and$\beta$ are both cuts, there are $p_1 \in \alpha$ and $q_1 \in \beta$such that $p < p_1$ and $q < q_1$; so $p + q < p_1 + q_1 \in \alpha +\beta$; so $\alpha + \beta$ has no maximum.\end{proof}Similar efforts will allow you to check that $\alpha - \beta$ and$\alpha \times \beta$ and $\alpha \div \beta$ are cuts (in the lastcase, ignoring the case where $\beta$ is the zero-cut). Again, though,we will simply leave this to you.\begin{prob}Prove that $\Real$ is an ordered field.\end{prob}But here is a small loose end to tidy up. In\olref[cuts]{sec}, we suggest that we can take $\sqrt{2} =\Setabs{p \in \Rat}{p < 0 \text{ or }p^2 < 2}$. But we do need to showthat this set is a \emph{cut}. Here is a proof of that fact:\begin{proof}Clearly this is a nonempty proper initial segment of the rationals; soit suffices to show that it has no maximum. In particular, it sufficesto show that, where $p$ is a positive rational with $p^2 < 2$ and $q =\frac{2p+2}{p+2}$, both $p < q$ and $q^2 < 2$. To see that $p < q$,just note:\begin{align*}p^2 &< 2\\p^2 + 2p &< 2 + 2p\\p(p + 2) &< 2 + 2p\\p &< \tfrac{2+2p}{p+2} = q\end{align*}To see that $q^2 < 2$, just note:\begin{align*}p^2 &< 2\\2p^2 + 4p + 2 &< p^2 + 4p+ 4\\4p^2 + 8p + 4 &< 2(p^2 + 4p + 4)\\(2p+2)^2 & <2(p+2)^2\\\tfrac{(2p+2)^2}{(p+2)^2} &< 2\\q^2 &< 2\end{align*}\end{proof}\olfileid{sfr}{arith}{cauchy}\olsection{Appendix: the Reals as Cauchy Sequences}In \olref[cuts]{sec}, we constructed the reals as Dedekind cuts. Inthis section, we explain an alternative construction. It builds onCauchy's definition of (what we now call) a Cauchy sequence; but theuse of this definition to \emph{construct} the reals is due to othernineteenth-century authors, notably Weierstrass, Heine, M\'{e}ray andCantor. (For a nice history, see \citeauthor{OConnorRobertson:RN}\citeyear{OConnorRobertson:RN}.)Before we get to the nineteenth century, it's worth considering SimonStevin (1548--1620). In brief, Stevin realised that we can think ofeach real in terms of its decimal expansion. Thus even an irrationalnumber, like $\sqrt{2}$, has a nice decimal expansion, beginning:\[1.41421356237\ldots\]It is very easy to model decimal expansions in set theory: simplyconsider them as functions $d \colon \Nat \to \Nat$, where $d(n)$ isthe $n$th decimal place that we are interested in. We will then need abit of tweak, to handle the bit of the real number that comes beforethe 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 rigorousconstruction of the real numbers, in the manner of Stevin, within settheory.Stevin is not our focus. (For more on Stevin, see\citealt{KatzKatz2012}.) But here is a closely related thought.Instead of treating $\sqrt{2}$'s decimal expansion directly, we caninstead consider a \emph{sequence} of increasingly accurate rationalapproximations to $\sqrt{2}$, by considering the increasingly preciseexpansions:\[1, 1.4, 1.414, 1.4142, 1.41421,\ldots\]The idea that reals can be considered via ``increasingly goodapproximations'' provides us with the basis for another sequence ofinsights (akin to the realisations that we used when constructing$\Rat$ from $\Int$, or $\Int$ from $\Nat$). The basic insights arethese:\begin{enumerate}\item Every real can be written as a (perhaps infinite) decimalexpansion.\item The information encoded by a (perhaps infinite) decimalexpansion can be equally be encoded by a sequence of rationalnumbers.\item A sequence of rational numbers can be thought of as afunction from $\Nat$ to $\Rat$; just let $f(n)$ be the $n$thrational in the sequence.\end{enumerate}Of course, not just \emph{any} function from $\Nat$ to $\Rat$ willgive us a real number. For instance, consider this function:\[f(n) =\begin{cases}1 & \text{if }n\text{ is odd}\\0 &\text{if }n\text{ is even}\end{cases}\]Essentially the worry here is that the sequence $0,1,0,1,0,1,0,\ldots$doesn't seem to ``hone in'' on any real. So: to ensure that weconsider sequences which do hone in on some real, we need to restrictour attention to sequences which have some \emph{limit}.We have already encountered the idea of a limit, in\olref[his][set][limits]{sec}. But we cannot use \emph{quite} the samedefinition as we used there. The expression ``$(\forall \epsilon>0)$''there tacitly involved quantification over the real numbers; and wewere considering the limits of functions on the real numbers; soinvoking that definition would be to help ourselves to the realnumbers; and they are exactly what we were aiming to \emph{construct}.Fortunately, we can work with a closely related idea of a limit.\begin{defn}\ollabel{def:CauchySequence}A function $f: \Nat \to \Rat$ is a \emph{Cauchy sequence} iff forany positive $\epsilon \in \Rat$ we have that $(\exists \ell \in\Nat)(\forall m, n > \ell)|f(m) - f(n)| < \epsilon$.\end{defn}The general idea of a limit is the same as before: if you want acertain level of precision (measured by~$\epsilon$), there is a``region'' to look in (any input greater than~$\ell$). And it is easyto see that our sequence $1$, $1.4$, $1.414$, $1.4142$,$1.41421$\ldots has a limit: if you want to approximate $\sqrt{2}$ towithin an error of $\nicefrac{1}{10^{n}}$, then just look to any entryafter the $n$th.The obvious thought, then, would be to say that a real number just\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. Asimple way to see this as follows. Given a Cauchy sequence~$f$, define$g$ to be exactly the same function as~$f$, except that $g(0)\neqf(0)$. Since the two sequences agree everywhere after the firstnumber, we will (ultimately) want to say that they have the samelimit, in the sense employed in \olref{def:CauchySequence},and so should be thought of ``defining'' the same real. So, we shouldreally think of these Cauchy sequences as the same real number.Consequently, we again need to define an equivalence relation on theCauchy sequences, and identify real numbers with equivalencerelations. First we need the idea of a function which tends to $0$ inthe limit. For any function $h : \Nat \to \Rat$, say that \emph{$h$tends to $0$} iff for any positive $\epsilon \in \Rat$ we have that$(\exists \ell \in \Nat)(\forall n > \ell)|h(n)| <\epsilon$.\footnote{Compare this with the definition of $\lim_{x\mathord{\rightarrow}\infty}f(x) = 0$ in\olref[his][set][limits]{sec}.} Further, where $f$ and $g$ arefunctions $\Nat \to \Rat$, let $(f-g)(n) = f(n) - g(n)$. Now define:\[f \Realequiv g \text{ iff $(f-g)$ tends to $0$}.\]We need to check that $\Realequiv$ is an equivalence relation; and itis. We can then, if we like, define the reals as the equivalenceclasses, under $\Realequiv$, of all Cauchy sequences from $\Nat \to\Rat$.\begin{prob}Let $f(n) = 0$ for every $n$. Let $g(n) = \frac{1}{(n+1)^2}$. Showthat both are Cauchy sequences, and indeed that the limit of bothfunctions is $0$, so that also $f \sim_\Real g$.\end{prob}Having done this, we shall as usual write $\equivrep{f}{\Realequiv}$for the equivalence class with $f$ as !!a{element}. However, to keepthings readable, in what follows we will drop the subscript and writejust $\equivrep{f}{}$. We also stipulate that, for each $q \in \Rat$,we have $q_{\Real} = \equivrep{c_{q}}{}$, where $c_{q}$ is theconstant function $c_q(n) = q$ for all $n \in \Nat$. We then definebasic relations and operations on the reals, e.g.:\begin{align*}\equivrep{f}{} + \equivrep{g}{} &= \equivrep{(f + g)}{} \\\equivrep{f}{} \times \equivrep{g}{} &= \equivrep{(f \times g)}{}\end{align*}where $(f + g)(n) = f(n) + g(n)$ and $(f \times g)(n) = f(n) \timesg(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;but they are, and we leave this to you.Finally, we define we a notion of order. Say $\equivrep{f}{}$ is\emph{positive} iff both $\equivrep{f}{}\neq 0_\Rat$ and $(\exists\ell \in \Nat)(\forall n > \ell)0 < f(n)$. Then say $\equivrep{f}{} <\equivrep{g}{}$ iff $\equivrep{(g - f)}{}$ is positive. We have tocheck that this is well-defined (i.e., that it does not depend uponchoice of ``representative'' function from the equivalence class).But having done this, it is quite easy to show that these yield theright algebraic properties; that is:\begin{thm}\ollabel{thm:cauchyorderedfield}The Cauchy sequences constitute an ordered field.\end{thm}\begin{proof}Exercise.\end{proof}\begin{prob}Prove that the Cauchy sequences constitute an ordered field.\end{prob}It is harder to prove that the reals, so constructed, have theCompleteness Property, so we will give the proof.\begin{thm}Every non-empty set of Cauchy sequences with an upper bound has aleast upper bound.\end{thm}\begin{proof}[Proof sketch] Let $S$ be any non-empty set of Cauchysequences 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 issome $q \in \Rat$ such that $q_{\Real} < r$. So if a least upper boundon $S$ exists, it is between $q_\Real$ and $p_\Real$ (inclusive).We will hone in on the l.u.b., by approaching it simultaneously frombelow 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.\ fromabove, and $g$ will hone on in it from below. We start by defining:\begin{align*}f(0) &= p \\g(0) &= q\end{align*}Then, where $a_n = \frac{f(n) + g(n)}{2}$, let:\footnote{This is arecursive definition. But we have not \emph{yet} given any reason tothink that recursive definitions are ok.}\begin{align*}f(n+1) &=\begin{cases}a_n &\text{if }(\forall h \in S)\equivrep{h}{} \leq (a_n)_\Real\\f(n)&\text{otherwise}\end{cases}\\g(n+1) &=\begin{cases}a_n &\text{if }(\exists h \in S)\equivrep{h}{} \geq (a_n)_\Real\\g(n) &\text{otherwise}\end{cases}\end{align*}Both $f$ and $g$ are Cauchy sequences. (This can be checked fairlyeasily, 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 eachstep. 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}{}$.(We will invoke \olref{thm:cauchyorderedfield} as we go.) Let $h \in S$ andsuppose, for reductio, that $\equivrep{f}{} < \equivrep{h}{}$, so that$0_\Real < \equivrep{(h-f)}{}$. Since $f$ is a monotonicallydecreasing Cauchy sequence, there is some $n \in \Nat$ such that$\equivrep{(c_{f(n)} - f)}{} < \equivrep{(h-f)}{}$. So:\[(f(n))_\Real = \equivrep{c_{f(n)}}{} < \equivrep{f}{} + \equivrep{(h-f)}{} = \equivrep{h}{},\]contradicting the fact that, by construction, $\equivrep{h}{} \leq (f(n))_\Real$.We next show that $\equivrep{f}{} = \equivrep{g}{}$ is the \emph{least} upper bound on $S$. So let $j$ be any Cauchy sequence and suppose $\equivrep{j}{} < \equivrep{g}{}$. Reasoning as above (using the fact that $g$ is \emph{increasing}), there is $n \in \Nat$ such that $\equivrep{j}{} < (g(n))_\Real$. But by construction there is $h \in S$ such that $(g(n))_\Real \leq \equivrep{h}{}$, so $\equivrep{j}{} < \equivrep{h}{}$ and therefore $\equivrep{j}{}$ is not an upper bound on $S$.\end{proof}\OLEndChapterHook
content/sets-functions-relations/arithmetization/arithmetization.tex
1 exact source-coordinate anchors materialized from the accepted slice ledgers.
Line 8 · structure · records
structure-00040\olchapter{Arithmetization}
content/sets-functions-relations/arithmetization/integers.tex
58 exact source-coordinate anchors materialized from the accepted slice ledgers.
Line 10 · formula-context · records
projected-formula-0002339 projected-formula-0002340\olfileid{sfr}{arith}{int}Line 11 · formula, structure · records
projected-formula-0002339 projected-formula-0002340 structure-00041\olsection{From $\Nat$ to $\Int$}Line 14 · formula-context · records
projected-formula-0002341 projected-formula-0002342\begin{enumerate}Line 15 · formula, formula-context · records
projected-formula-0002341 projected-formula-0002342 projected-formula-0002343 projected-formula-0002344\item Every integer can be written in the form $n - m$, with $n, m \in\Nat$.Line 16 · formula, formula-context · records
projected-formula-0002341 projected-formula-0002342 projected-formula-0002343 projected-formula-0002344\item The information encoded in an expression $n - m$ can equally be encoded by an ordered pair $\tuple{n, m}$.Line 17 · formula-context · records
projected-formula-0002343 projected-formula-0002344 projected-formula-0002345 projected-formula-0002346\end{enumerate}Line 18 · formula · records
projected-formula-0002345 projected-formula-0002346We already know that the ordered pairs of natural numbers are the !!{element}s of $\Nat^2$. And we are assuming that we understand $\Nat$. So here is a na\"{i}ve suggestion, based on the two realisations we have had: \emph{let's treat integers as ordered pairs of natural numbers}.Line 20 · formula · records
projected-formula-0002347 projected-formula-0002348 projected-formula-0002349In fact, this suggestion is too na\"{i}ve. Obviously we want it to be the case that $0- 2 = 4 - 6$. But evidently $\tuple{0, 2 }\neq \tuple{4, 6}$. So we cannot simply say that $\Nat^2$ is the set of integers.Line 22 · formula-context · records
projected-formula-0002350Generalising from the preceding problem, what we want is the following:Line 23 · formula, formula-context · records
projected-formula-0002350 projected-formula-0002351 projected-formula-0002352 projected-formula-0002353$$a - b = c - d \text{ iff }a + d = c + b$$Line 24 · formula, formula-context · records
projected-formula-0002350 projected-formula-0002351 projected-formula-0002352 projected-formula-0002353 projected-formula-0002354(It should be obvious that this is how integers are \emph{meant} to behave: just add $b$ and $d$ to both sides.) And the easy way to guarantee this behaviour is just to define an equivalence relation between ordered pairs, $\Intequiv$, as follows:Line 25 · formula, formula-context · records
projected-formula-0002351 projected-formula-0002352 projected-formula-0002353 projected-formula-0002354$$\tuple{ a, b } \Intequiv \tuple{c, d}\text{ iff }a + d = c + b$$Line 26 · formula-context · records
projected-formula-0002354 projected-formula-0002355We now have to show that this is an equivalence relation.Line 27 · formal-object, formula · records
projected-env-000337 projected-formula-0002355\begin{prop} $\Intequiv$ is an equivalence relation.Line 28 · formal-object, formula-context · records
projected-env-000337 projected-formula-0002355\end{prop}Line 29 · formula-context · records
projected-formula-0002356\begin{proof}Line 30 · formula · records
projected-formula-0002356We must show that $\Intequiv$ is reflexive, symmetric, and transitive.Line 31 · formula-context · records
projected-formula-0002356 projected-formula-0002357 projected-formula-0002358Line 32 · formula · records
projected-formula-0002357 projected-formula-0002358\emph{Reflexivity:} Evidently $\tuple{a, b} \Intequiv \tuple{a, b}$, since $a + b = b + a$.Line 33 · formula-context · records
projected-formula-0002357 projected-formula-0002358 projected-formula-0002359 projected-formula-0002360 projected-formula-0002361 projected-formula-0002362Line 34 · formula · records
projected-formula-0002359 projected-formula-0002360 projected-formula-0002361 projected-formula-0002362\emph{Symmetry:} Suppose $\tuple{a, b} \Intequiv \tuple{c, d}$, so $a + d = c + b$. Then $c + b = a + d$, so that $\tuple{c, d} \Intequiv \tuple{a, b}$.Line 35 · formula-context · records
projected-formula-0002359 projected-formula-0002360 projected-formula-0002361 projected-formula-0002362 projected-formula-0002363 projected-formula-0002364 projected-formula-0002365 projected-formula-0002366 projected-formula-0002367 projected-formula-0002368Line 36 · formula · records
projected-formula-0002363 projected-formula-0002364 projected-formula-0002365 projected-formula-0002366 projected-formula-0002367 projected-formula-0002368\emph{Transitivity:} Suppose $\tuple{a, b} \Intequiv \tuple{c, d}\Intequiv \tuple{m, n}$. So $a + d = c + b$ and $c + n = m + d$. So $a + d + c + n = c + b + m + d$, and so $a + n = m + b$. Hence $\tuple{a, b } \Intequiv \tuple{m, n}$.Line 37 · formula-context · records
projected-formula-0002363 projected-formula-0002364 projected-formula-0002365 projected-formula-0002366 projected-formula-0002367 projected-formula-0002368\end{proof}Line 41 · formal-object, formula-context · records
projected-env-000339 projected-formula-0002369 projected-formula-0002370\begin{defn}Line 42 · formal-object, formula · records
projected-env-000339 projected-formula-0002369 projected-formula-0002370The integers are the equivalence classes, under $\Intequiv$, of ordered pairs of natural numbers; that is, $\Int = \equivclass{\Nat^2}{\Intequiv}$.Line 43 · formal-object, formula-context · records
projected-env-000339 projected-formula-0002369 projected-formula-0002370\end{defn}Line 47 · formula, formula-context, reference · records
projected-formula-0002371 projected-formula-0002372 projected-formula-0002373 projected-formula-0002374 projected-formula-0002375 reference-000080Having said what the integers are, we shall need to define basic functions and relations on them. Let's write $\equivrep{m, n}{\Intequiv}$ for the equivalence class under $\Intequiv$ with $\tuple{m, n}$ as !!a{element}.\footnote{Note: using the notation introduced in \olref[sfr][rel][eqv]{def:equivalenceclass}, we would have written $\equivrep{\tuple{m,n}}{\Intequiv}$ for the same thing. But that's just a bit harder to read.} That is:[olref reference to sfr:rel:eqv:def:equivalenceclass]Line 48 · formula, formula-context · records
projected-formula-0002371 projected-formula-0002372 projected-formula-0002373 projected-formula-0002374 projected-formula-0002375$$\equivrep{m, n}{\Intequiv} = \Setabs{\tuple{a, b} \in \Nat^2}{\tuple{a, b}\Intequiv \tuple{m, n}}$$Line 49 · formula-context · records
projected-formula-0002375 projected-formula-0002376So now we offer some definitions:Line 50 · formal-object, formula · records
projected-env-000340 projected-formula-0002376\begin{align*}Line 51 · formal-object, formula-context · records
projected-env-000340 projected-formula-0002376\equivrep{a, b}{\Intequiv} + \equivrep{c, d}{\Intequiv} &= \equivrep{a + c, b + d}{\Intequiv}\\Line 52 · formal-object · records
projected-env-000340\equivrep{a, b}{\Intequiv} \times \equivrep{c, d}{\Intequiv} &= \equivrep{a c + b d, a d + b c}{\Intequiv}\\Line 53 · formal-object · records
projected-env-000340\equivrep{a, b}{\Intequiv} \leq \equivrep{c, d}{\Intequiv} &\text{ iff }a + d \leq b + cLine 54 · formal-object, formula-context · records
projected-env-000340 projected-formula-0002377 projected-formula-0002378\end{align*}Line 55 · formula, reference, source-correction · records
TR006-SOURCE-PROSE-001 projected-formula-0002377 projected-formula-0002378 reference-000081(As is common, I'm using `$ab$' stand for `$(a \times b)$', just to make the axioms easier to read.) Now, we need to make sure that these definitions behave as they \emph{ought} to. Spelling out what this means, and checking it through, is rather laborious; we relegate the details to \olref[check]{sec}. But the short point is: everything works![olref reference to sfr:arith:check:sec]Line 60 · reference · records
reference-000082[olref reference to sfr:arith:ref:sec]Line 61 · formula-context · records
projected-formula-0002379though, we will need some way to be able to treat natural numbersLine 62 · formula, formula-context · records
projected-formula-0002379 projected-formula-0002380\emph{as} integers. The idea is quite easy: for each $n \in \Nat$, weLine 63 · formula, formula-context · records
projected-formula-0002379 projected-formula-0002380 projected-formula-0002381just stipulate that $n_\Int = \equivrep{n, 0}{\Intequiv}$. We need toLine 64 · formula, formula-context · records
projected-formula-0002380 projected-formula-0002381confirm that this definition is well-behaved, i.e., that for any $m, nLine 65 · formula-context · records
projected-formula-0002381 projected-formula-0002382\in \Nat$Line 66 · formal-object, formula · records
projected-env-000341 projected-formula-0002382\begin{align*}Line 67 · formal-object, formula-context · records
projected-env-000341 projected-formula-0002382(m + n)_\Int &= m_\Int + n_\Int\\Line 68 · formal-object · records
projected-env-000341(m \times n)_\Int &= m_\Int \times n_\Int\\Line 69 · formal-object · records
projected-env-000341m \leq n &\liff m_\Int \leq n_\IntLine 70 · formal-object · records
projected-env-000341\end{align*}Line 75 · formula-context · records
projected-formula-0002383% Helping myself to the behaviour of the natural numbers, evidently:Line 76 · formal-object, formula · records
projected-env-000342 projected-formula-0002383\begin{align*}Line 77 · formal-object, formula-context · records
projected-env-000342 projected-formula-0002383% (m + n)_\Int = \equivrep{m + n, 0}{\Intequiv} = \equivrep{m + n, 0 + 0}{\Intequiv} = \equivrep{m, 0}{\Intequiv} + \equivrep{n, 0}{\Intequiv} = m_\Int + n_\Int\\Line 78 · formal-object · records
projected-env-000342(m \times n)_\Int &= \equivrep{m \times n, 0}{\Intequiv} \\Line 79 · formal-object · records
projected-env-000342&= \equivrep{m \times n + 0 \times 0, m \times 0 + 0 \times n}{\Intequiv} \\Line 80 · formal-object · records
projected-env-000342&= \equivrep{m, 0}{\Intequiv} \times \equivrep{n, 0}{\Intequiv} \\Line 81 · formal-object · records
projected-env-000342&= m_\Int \times n_\IntLine 82 · formal-object · records
projected-env-000342\end{align*}Line 85 · formal-object, formula-context · records
projected-env-000343 projected-formula-0002384 projected-formula-0002385 projected-formula-0002386\begin{prob}Line 86 · formal-object, formula · records
projected-env-000343 projected-formula-0002384 projected-formula-0002385 projected-formula-0002386Show that $(m + n)_\Int = m_\Int + n_\Int$ and $m \leq n \liff m_\Int \leq n_\Int$, for any $m, n \in \Nat$.Line 87 · formal-object, formula-context · records
projected-env-000343 projected-formula-0002384 projected-formula-0002385 projected-formula-0002386\end{prob}
content/sets-functions-relations/arithmetization/rationals.tex
54 exact source-coordinate anchors materialized from the accepted slice ledgers.
Line 9 · formula-context · records
projected-formula-0002387 projected-formula-0002388\olfileid{sfr}{arith}{rat}Line 10 · formula, structure · records
projected-formula-0002387 projected-formula-0002388 structure-00042\olsection{From $\Int$ to $\Rat$}Line 16 · formula-context · records
projected-formula-0002389\begin{enumerate}Line 17 · formula, formula-context · records
projected-formula-0002389 projected-formula-0002390 projected-formula-0002391 projected-formula-0002392\item Every rational can be written in the form $\nicefrac{i}{j}$,Line 18 · formula, formula-context · records
projected-formula-0002389 projected-formula-0002390 projected-formula-0002391 projected-formula-0002392 projected-formula-0002393where both $i$ and $j$ are integers but $j$ is non-zero.Line 19 · formula, formula-context · records
projected-formula-0002390 projected-formula-0002391 projected-formula-0002392 projected-formula-0002393 projected-formula-0002394\item The information encoded in an expression $\nicefrac{i}{j}$Line 20 · formula, formula-context · records
projected-formula-0002393 projected-formula-0002394can equally be encoded in an ordered pair $\tuple{ i, j}$.Line 21 · formula-context · records
projected-formula-0002394\end{enumerate}Line 22 · formula-context · records
projected-formula-0002395The obvious approach would be to think of the rationals \emph{as}Line 23 · formula · records
projected-formula-0002395ordered pairs drawn from $\Int \times (\Int \setminus \{0_\Int\})$. AsLine 24 · formula-context · records
projected-formula-0002395 projected-formula-0002396 projected-formula-0002397before, though, that would be a bit too na\"ive, since we wantLine 25 · formula · records
projected-formula-0002396 projected-formula-0002397$\nicefrac{3}{2} = \nicefrac{6}{4}$, but $\tuple{ 3, 2}\neq \tuple{ 6,Line 26 · formula-context · records
projected-formula-0002396 projected-formula-0002397 projected-formula-00023984}$. More generally, we will want the following:Line 27 · formula · records
projected-formula-0002398\[Line 28 · formula-context · records
projected-formula-0002398\nicefrac{a}{b} = \nicefrac{c}{d} \text{ iff } a \times d = b \times cLine 29 · formula-context · records
projected-formula-0002399\]Line 30 · formula · records
projected-formula-0002399To get this, we define an {equivalence relation} on $\Int \timesLine 31 · formula-context · records
projected-formula-0002399 projected-formula-0002400(\Int \setminus \{0_\Int\})$ thus:Line 32 · formula · records
projected-formula-0002400\[Line 33 · formula-context · records
projected-formula-0002400\tuple{ a, b }\Ratequiv \tuple{ c, d} \text{ iff }a \times d = b \times cLine 35 · formula-context · records
projected-formula-0002401We must check that this is an equivalence relation. This is very muchLine 36 · formula · records
projected-formula-0002401like the case of $\Intequiv$, and we will leave it as an exercise.Line 37 · formal-object, formula-context · records
projected-env-000345 projected-formula-0002401 projected-formula-0002402\begin{prob}Line 38 · formal-object, formula · records
projected-env-000345 projected-formula-0002402Show that $\Ratequiv$ is an equivalence relation.Line 39 · formal-object, formula-context · records
projected-env-000345 projected-formula-0002402\end{prob}Line 41 · formal-object, formula-context · records
projected-env-000346 projected-formula-0002403\begin{defn}Line 42 · formal-object, formula, formula-context · records
projected-env-000346 projected-formula-0002403 projected-formula-0002404The rationals are the equivalence classes, under $\Ratequiv$, of pairsLine 43 · formal-object, formula, formula-context · records
projected-env-000346 projected-formula-0002403 projected-formula-0002404of integers (whose second element is non-zero). That is, $\Rat =Line 44 · formal-object, formula-context · records
projected-env-000346 projected-formula-0002404\equivclass{(\Int \times (\Int\setminus \{0_\Int\}))}{\Ratequiv}$.Line 45 · formal-object · records
projected-env-000346\end{defn}Line 47 · formula-context · records
projected-formula-0002405As with the integers, we also want to define some basic operations.Line 48 · formula, formula-context · records
projected-formula-0002405 projected-formula-0002406 projected-formula-0002407Where $\equivrep{i,j}{\Ratequiv}$ is the equivalence class underLine 49 · formula, formula-context · records
projected-formula-0002405 projected-formula-0002406 projected-formula-0002407 projected-formula-0002408$\Ratequiv$ with $\tuple{i, j}$ as !!a{element}, we say:Line 50 · formal-object, formula, formula-context · records
projected-env-000347 projected-formula-0002406 projected-formula-0002407 projected-formula-0002408\begin{align*}Line 51 · formal-object, formula-context · records
projected-env-000347 projected-formula-0002408\equivrep{a, b}{\Ratequiv} + \equivrep{c, d}{\Ratequiv} &= \equivrep{ad + bc, bd}{\Ratequiv}\\Line 52 · formal-object · records
projected-env-000347\equivrep{a, b}{\Ratequiv} \times \equivrep{c, d}{\Ratequiv} &= \equivrep{a c, b d}{\Ratequiv}.Line 53 · formal-object · records
projected-env-000347\intertext{To define $r \leq s$ on these rationals, we use the fact thatLine 54 · formal-object · records
projected-env-000347$r \le s$ iff $s - r$ is not negative, i.e., $r - s$ can be written asLine 55 · formal-object · records
projected-env-000347$\nicefrac{i}{j}$ with $i$ non-negative and $j$~positive:}Line 56 · formal-object · records
projected-env-000347\equivrep{a, b}{\Ratequiv} \leq \equivrep{c, d}{\Ratequiv} &\text{ iff }Line 57 · formal-object · records
projected-env-000347\equivrep{c, d}{\Ratequiv} - \equivrep{a, b}{\Ratequiv} =Line 58 · formal-object · records
projected-env-000347\equivrep{i_\Int, j_\Int}{\Ratequiv}Line 59 · formal-object, formula-context · records
projected-env-000347 projected-formula-0002409 projected-formula-0002410\end{align*}Line 60 · formula · records
projected-formula-0002409 projected-formula-0002410for some $i \in \Nat$ and $0 \neq j \in \Nat$.Line 63 · reference · records
reference-000083[olref reference to sfr:arith:check:sec]Line 64 · formula-context · records
projected-formula-0002411 projected-formula-0002412indeed do!{} Finally, we want some way to treat integers \emph{as}Line 65 · formula · records
projected-formula-0002411 projected-formula-0002412rationals; so for each $i \in \Int$, we stipulate that $i_\Rat =Line 66 · formula-context · records
projected-formula-0002411 projected-formula-0002412\equivrep{i, 1_\Int}{\Ratequiv}$. Again, we check that all of thisLine 67 · reference · records
reference-000084[olref reference to sfr:arith:check:sec]Line 69 · formal-object, formula-context · records
projected-env-000348 projected-formula-0002413 projected-formula-0002414\begin{prob}Line 70 · formal-object, formula, formula-context · records
projected-env-000348 projected-formula-0002413 projected-formula-0002414 projected-formula-0002415Show that $(i + j)_\Rat = i_\Rat+ j_\Rat$ and $(i \times j)_\Rat =Line 71 · formal-object, formula, formula-context · records
projected-env-000348 projected-formula-0002413 projected-formula-0002414 projected-formula-0002415 projected-formula-0002416i_\Rat \times j_\Rat$ and $i \leq j \liff i_\Rat \leq j_\Rat$, for anyLine 72 · formal-object, formula, formula-context · records
projected-env-000348 projected-formula-0002415 projected-formula-0002416$i, j \in \Int$.Line 73 · formal-object, formula-context · records
projected-env-000348 projected-formula-0002416\end{prob}
content/sets-functions-relations/arithmetization/reals.tex
49 exact source-coordinate anchors materialized from the accepted slice ledgers.
Line 10 · structure · records
structure-00043\olsection{The Real Line}Line 18 · reference · records
reference-000085[olref reference to sfr:arith:check:orderedfield]Line 19 · formula-context, reference · records
projected-formula-0002417 reference-000086[olref reference to sfr:siz::chap]to \olref[sfr][siz][]{chap}, you will know that there are strictlyLine 20 · formula · records
projected-formula-0002417more reals than rationals, i.e., that $\cardless{\Rat}{\Real}$. ThisLine 21 · formula-context · records
projected-formula-0002417was first proved by Cantor. But it's been known for about two and aLine 25 · formal-object, formula-context · records
projected-env-000349 projected-formula-0002418 projected-formula-0002419\begin{thm}\ollabel{root2irrational}Line 26 · formal-object, formula · records
projected-env-000349 projected-formula-0002418 projected-formula-0002419$\sqrt{2}$ is not rational, i.e., $\sqrt{2} \notin \Rat$Line 27 · formal-object, formula-context · records
projected-env-000349 projected-formula-0002418 projected-formula-0002419\end{thm}Line 29 · formula-context · records
projected-formula-0002420 projected-formula-0002421\begin{proof}Line 30 · formula, formula-context · records
projected-formula-0002420 projected-formula-0002421 projected-formula-0002422 projected-formula-0002423Suppose, for reductio, that $\sqrt{2}$ is rational. So $\sqrt{2} =Line 31 · formula, formula-context · records
projected-formula-0002420 projected-formula-0002421 projected-formula-0002422 projected-formula-0002423 projected-formula-0002424 projected-formula-0002425\nicefrac{m}{n}$ for some natural numbers $m$ and $n$. Indeed, we canLine 32 · formula, formula-context · records
projected-formula-0002422 projected-formula-0002423 projected-formula-0002424 projected-formula-0002425 projected-formula-0002426choose $m$ and $n$ so that the fraction cannot be reduced any further.Line 33 · formula, formula-context · records
projected-formula-0002424 projected-formula-0002425 projected-formula-0002426Re-organising, $m^{2} = 2n^{2}$. From here, we can complete the proofLine 34 · formula-context · records
projected-formula-0002426in two ways:Line 37 · reference · records
reference-000087[cite reference to Conway2006]Line 39 · formal-object · records
projected-env-000350\begin{tikzpicture}Line 40 · formal-object · records
projected-env-000350\draw[thick] (0,0) rectangle (3,3);Line 41 · formal-object · records
projected-env-000350\draw[thick, fill=red!50] (0,0) rectangle (2.3,2.3);Line 42 · formal-object · records
projected-env-000350\draw[thick, fill=yellow!50] (0.7,0.7) rectangle (3, 3);Line 43 · formal-object · records
projected-env-000350\draw[thick, fill=orange!50] (0.7,0.7) rectangle (2.3, 2.3);Line 44 · formal-object, formula-context · records
projected-env-000350 projected-formula-0002427\draw[<->] (4, 0.7)--(4, 3);Line 45 · formal-object, formula · records
projected-env-000350 projected-formula-0002427\node at (4.25, 1.85) (n) {$n$};Line 46 · formal-object, formula-context · records
projected-env-000350 projected-formula-0002427 projected-formula-0002428\draw[<->] (5, 0)--(5, 3);Line 47 · formal-object, formula · records
projected-env-000350 projected-formula-0002428\node at (5.25, 1.5) (m) {$m$};Line 48 · formal-object, formula-context · records
projected-env-000350 projected-formula-0002428\end{tikzpicture}Line 49 · formula-context · records
projected-formula-0002429 projected-formula-0002430\end{center}Line 50 · formula · records
projected-formula-0002429 projected-formula-0002430Since $m^2 = 2n^2$, the region where the two squares of side $n$Line 51 · formula-context · records
projected-formula-0002429 projected-formula-0002430overlap has the same area as the region which neither of the twoLine 53 · formula-context · records
projected-formula-0002431 projected-formula-0002432 projected-formula-0002433the area of the two unshaded squares. So where the orange square hasLine 54 · formula, formula-context · records
projected-formula-0002431 projected-formula-0002432 projected-formula-0002433 projected-formula-0002434 projected-formula-0002435 projected-formula-0002436 projected-formula-0002437side $p$, and each unshaded square has side $q$, $p^2 = 2q^2$. But nowLine 55 · formula, formula-context · records
projected-formula-0002431 projected-formula-0002432 projected-formula-0002433 projected-formula-0002434 projected-formula-0002435 projected-formula-0002436 projected-formula-0002437 projected-formula-0002438 projected-formula-0002439$\sqrt{2} = \nicefrac{p}{q}$, with $p < m$ and $q < n$ and $p, q \inLine 56 · formula, formula-context · records
projected-formula-0002434 projected-formula-0002435 projected-formula-0002436 projected-formula-0002437 projected-formula-0002438 projected-formula-0002439\Nat$. This contradicts the fact that $m$ and $n$ were chosen to be asLine 57 · formula-context · records
projected-formula-0002438 projected-formula-0002439small as possible.Line 58 · formula-context · records
projected-formula-0002440 projected-formula-0002441Line 59 · formula, formula-context · records
projected-formula-0002440 projected-formula-0002441 projected-formula-0002442 projected-formula-0002443\emph{Second, formally.} Since $m^{2} = 2n^{2}$, it follows that $m$Line 60 · formula, formula-context · records
projected-formula-0002440 projected-formula-0002441 projected-formula-0002442 projected-formula-0002443 projected-formula-0002444 projected-formula-0002445 projected-formula-0002446is even. (It is easy to show that, if $x$ is odd, then $x^2$ is odd.)Line 61 · formula, formula-context · records
projected-formula-0002442 projected-formula-0002443 projected-formula-0002444 projected-formula-0002445 projected-formula-0002446So $m = 2r$, for some $r \in \Nat$. Rearranging, $2r^2 = n^2$,Line 62 · formula-context · records
projected-formula-0002444 projected-formula-0002445 projected-formula-0002446% \begin{align*}Line 66 · formula-context · records
projected-formula-0002447 projected-formula-0002448 projected-formula-0002449% \end{align*}Line 67 · formula, formula-context · records
projected-formula-0002447 projected-formula-0002448 projected-formula-0002449 projected-formula-0002450so $n$ is also even. So both $m$ and $n$ are even, and hence theLine 68 · formula, formula-context · records
projected-formula-0002447 projected-formula-0002448 projected-formula-0002449 projected-formula-0002450fraction $\nicefrac{m}{n}$ \emph{can} be reduced further.Line 69 · formula-context · records
projected-formula-0002450Contradiction!Line 72 · reference · records
reference-000088[olref reference to his:set:mythology:sec]Line 76 · formula, formula-context · records
projected-formula-0002451 projected-formula-0002452It is easy to see that the rationals do not have the Completeness Property. For example, consider the set of rationals less than $\sqrt{2}$, i.e.:Line 77 · formula, formula-context · records
projected-formula-0002451 projected-formula-0002452\[Line 78 · formula-context · records
projected-formula-0002452\Setabs{p \in \Rat}{p^2 < 2 \text{ or }p < 0}Line 79 · formula-context · records
projected-formula-0002453 projected-formula-0002454 projected-formula-0002455 projected-formula-0002456\]Line 80 · formula · records
projected-formula-0002453 projected-formula-0002454 projected-formula-0002455 projected-formula-0002456This 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.Line 82 · formula · records
projected-formula-0002457By 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.
content/sets-functions-relations/arithmetization/cuts.tex
81 exact source-coordinate anchors materialized from the accepted slice ledgers.
Line 9 · formula-context · records
projected-formula-0002458 projected-formula-0002459\olfileid{sfr}{arith}{cuts}Line 10 · formula, structure · records
projected-formula-0002458 projected-formula-0002459 structure-00044\olsection{From $\Rat$ to $\Real$}Line 12 · formula · records
projected-formula-0002460In essence, the Completeness Property shows that any point $\alpha$ ofLine 13 · formula-context · records
projected-formula-0002460 projected-formula-0002461 projected-formula-0002462the real line divides that line into two halves perfectly: those forLine 14 · formula · records
projected-formula-0002461 projected-formula-0002462which $\alpha$ is the least upper bound, and those for which $\alpha$Line 15 · formula-context · records
projected-formula-0002461 projected-formula-0002462is the greatest lower bound. To \emph{construct} the real numbers fromLine 17 · formula-context · records
projected-formula-0002463reals as the \emph{cuts} that partition the rationals. That is, weLine 18 · formula, formula-context · records
projected-formula-0002463 projected-formula-0002464 projected-formula-0002465identify $\sqrt{2}$ with the \emph{cut} which separates the rationalsLine 19 · formula, formula-context · records
projected-formula-0002463 projected-formula-0002464 projected-formula-0002465$< \sqrt{2}$ from the rationals $> \sqrt{2}$.Line 26 · formal-object, formula-context · records
projected-env-000354 projected-formula-0002466\begin{defn}[Cut]Line 27 · formal-object, formula · records
projected-env-000354 projected-formula-0002466A \emph{cut} $\alpha$ is any non-empty properLine 28 · formal-object, formula-context · records
projected-env-000354 projected-formula-0002466 projected-formula-0002467initial segment of the rationals with no greatest element. That is,Line 29 · formal-object, formula · records
projected-env-000354 projected-formula-0002467$\alpha$ is a cut iff:Line 30 · formal-object, formula-context · records
projected-env-000354 projected-formula-0002467 projected-formula-0002468\begin{enumerate}Line 31 · formal-object, formula, formula-context · records
projected-env-000354 projected-formula-0002468 projected-formula-0002469 projected-formula-0002470 projected-formula-0002471\item \emph{non-empty, proper}: $\emptyset \neq \alpha \subsetneq \Rat$Line 32 · formal-object, formula, formula-context · records
projected-env-000354 projected-formula-0002468 projected-formula-0002469 projected-formula-0002470 projected-formula-0002471 projected-formula-0002472 projected-formula-0002473 projected-formula-0002474\item \emph{initial}: for all $p,q \in \Rat$: if $p < q \in \alpha$ then $p \in \alpha$Line 33 · formal-object, formula, formula-context · records
projected-env-000354 projected-formula-0002469 projected-formula-0002470 projected-formula-0002471 projected-formula-0002472 projected-formula-0002473 projected-formula-0002474\item \emph{no maximum}: for all $p \in \alpha$ there is a $q \in \alpha$ such that $p < q$Line 34 · formal-object, formula-context · records
projected-env-000354 projected-formula-0002472 projected-formula-0002473 projected-formula-0002474 projected-formula-0002475\end{enumerate}Line 35 · formal-object, formula · records
projected-env-000354 projected-formula-0002475Then $\Real$ is the set of cuts.Line 36 · formal-object, formula-context · records
projected-env-000354 projected-formula-0002475\end{defn}Line 38 · formula · records
projected-formula-0002476So now we can say that $\sqrt{2} = \Setabs{p \in \Rat}{p^2 < 2\text{Line 39 · formula-context · records
projected-formula-0002476or }p < 0}$. Of course, we need to check that this \emph{is} a cut,Line 40 · reference · records
reference-000089[olref reference to sfr:arith:check:sec]Line 43 · formula-context · records
projected-formula-0002477functions and relations upon them. We begin with an easy one:Line 44 · formal-object, formula · records
projected-env-000355 projected-formula-0002477\begin{align*}Line 45 · formal-object, formula-context · records
projected-env-000355 projected-formula-0002477\alpha \leq \beta \text{ iff }\alpha \subseteq \betaLine 46 · formal-object · records
projected-env-000355\end{align*}Line 48 · formula-context · records
projected-formula-0002478that the set of cuts has the Completeness Property. Spelled out fully,Line 49 · formula, formula-context · records
projected-formula-0002478 projected-formula-0002479 projected-formula-0002480 projected-formula-0002481 projected-formula-0002482the statement has this shape. If $S$ is a non-empty set of cuts withLine 50 · formula, formula-context · records
projected-formula-0002478 projected-formula-0002479 projected-formula-0002480 projected-formula-0002481 projected-formula-0002482 projected-formula-0002483 projected-formula-0002484an 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 \subseteqLine 51 · formula, formula-context · records
projected-formula-0002479 projected-formula-0002480 projected-formula-0002481 projected-formula-0002482 projected-formula-0002483 projected-formula-0002484\lambda$, and $\lambda$ is the least such cut, i.e.\ $(\forall \beta \in \Real)((\forall \alpha \in S)\alpha \subseteq \beta \lif \lambda \subseteq \beta)$. Now here isLine 52 · formula-context · records
projected-formula-0002483 projected-formula-0002484the proof of the result:Line 54 · formal-object · records
projected-env-000356\begin{thm}\ollabel{realcompleteness}Line 55 · formal-object · records
projected-env-000356The set of cuts has the Completeness Property.Line 56 · formal-object · records
projected-env-000356\end{thm}Line 58 · formula-context · records
projected-formula-0002485 projected-formula-0002486\begin{proof}Line 59 · formula · records
projected-formula-0002485 projected-formula-0002486Let $S$ be any non-empty set of cuts with an upper bound. Let $\lambdaLine 60 · formula-context · records
projected-formula-0002485 projected-formula-0002486= \bigcup S$.Line 61 · formula-context · records
projected-formula-0002487%\Setabs{p \in \Rat}{(\exists \alpha \in S)p \in \alpha}$$Line 62 · formula · records
projected-formula-0002487We first claim that $\lambda$ is a cut:Line 63 · formula-context · records
projected-formula-0002487 projected-formula-0002488 projected-formula-0002489\begin{enumerate}Line 64 · formula, formula-context, source-correction · records
TR006-SOURCE-PROSE-002 projected-formula-0002488 projected-formula-0002489 projected-formula-0002490 projected-formula-0002491 projected-formula-0002492\item Since $S$ has an upper bound, at least one cut is in $S$, soLine 65 · formula, formula-context · records
projected-formula-0002488 projected-formula-0002489 projected-formula-0002490 projected-formula-0002491 projected-formula-0002492 projected-formula-0002493 projected-formula-0002494$\emptyset \neq \lambda$. Since $S$ is a set of cuts, $\lambdaLine 66 · formula, formula-context · records
projected-formula-0002490 projected-formula-0002491 projected-formula-0002492 projected-formula-0002493 projected-formula-0002494 projected-formula-0002495 projected-formula-0002496\subseteq \Rat$. Since $S$ has an upper bound, some $p \in \Rat$ isLine 67 · formula, formula-context · records
projected-formula-0002493 projected-formula-0002494 projected-formula-0002495 projected-formula-0002496 projected-formula-0002497absent from every cut $\alpha \in S$. So $p\notin \lambda$, and henceLine 68 · formula, formula-context · records
projected-formula-0002495 projected-formula-0002496 projected-formula-0002497 projected-formula-0002498 projected-formula-0002499$\lambda \subsetneq \Rat$.Line 69 · formula, formula-context · records
projected-formula-0002497 projected-formula-0002498 projected-formula-0002499 projected-formula-0002500 projected-formula-0002501 projected-formula-0002502\item Suppose $p < q \in \lambda$. So there is some $\alpha \in S$Line 70 · formula, formula-context · records
projected-formula-0002498 projected-formula-0002499 projected-formula-0002500 projected-formula-0002501 projected-formula-0002502 projected-formula-0002503such that $q \in \alpha$. Since $\alpha$ is a cut, $p \in \alpha$. SoLine 71 · formula, formula-context · records
projected-formula-0002500 projected-formula-0002501 projected-formula-0002502 projected-formula-0002503 projected-formula-0002504 projected-formula-0002505$p \in \lambda$.Line 72 · formula, formula-context · records
projected-formula-0002503 projected-formula-0002504 projected-formula-0002505 projected-formula-0002506 projected-formula-0002507 projected-formula-0002508\item Suppose $p \in \lambda$. So there is some $\alpha \in S$ suchLine 73 · formula, formula-context · records
projected-formula-0002504 projected-formula-0002505 projected-formula-0002506 projected-formula-0002507 projected-formula-0002508 projected-formula-0002509 projected-formula-0002510that $p \in \alpha$. Since $\alpha$ is a cut, there is some $q \inLine 74 · formula, formula-context · records
projected-formula-0002506 projected-formula-0002507 projected-formula-0002508 projected-formula-0002509 projected-formula-0002510\alpha$ such that $p < q$. So $q \in \lambda$.Line 75 · formula-context · records
projected-formula-0002509 projected-formula-0002510 projected-formula-0002511\end{enumerate}Line 76 · formula, formula-context · records
projected-formula-0002511 projected-formula-0002512 projected-formula-0002513 projected-formula-0002514 projected-formula-0002515 projected-formula-0002516 projected-formula-0002517 projected-formula-0002518 projected-formula-0002519 projected-formula-0002520 projected-formula-0002521 projected-formula-0002522 projected-formula-0002523This proves the claim. Moreover, clearly $(\forall \alpha \in S)\alphaLine 77 · formula, formula-context · records
projected-formula-0002511 projected-formula-0002512 projected-formula-0002513 projected-formula-0002514 projected-formula-0002515 projected-formula-0002516 projected-formula-0002517 projected-formula-0002518 projected-formula-0002519 projected-formula-0002520 projected-formula-0002521 projected-formula-0002522 projected-formula-0002523\subseteq \bigcup S = \lambda$, i.e.\ $\lambda$ is an upper bound on $S$. So now suppose $\beta \in \mathbb{R}$ is also an upper bound, i.e.\ $(\forall \alpha \in S)\alpha \subseteq \beta$. For any $p \in \Rat$, if $p \in \lambda$, then there is $\alpha \in S$ such that $p \in \alpha$, so that $p \in \beta$. Generalizing, $\lambda \subseteq \beta$. So $\lambda$ is the \emph{least} upper bound on $S$.Line 78 · formula-context · records
projected-formula-0002512 projected-formula-0002513 projected-formula-0002514 projected-formula-0002515 projected-formula-0002516 projected-formula-0002517 projected-formula-0002518 projected-formula-0002519 projected-formula-0002520 projected-formula-0002521 projected-formula-0002522 projected-formula-0002523\end{proof}Line 85 · formula-context · records
projected-formula-0002524Next, we must define some operations on the reals. We start byLine 86 · formula, formula-context · records
projected-formula-0002524 projected-formula-0002525embedding the rationals into the reals by stipulating that $p_\Real =Line 87 · formula, formula-context · records
projected-formula-0002524 projected-formula-0002525 projected-formula-0002526\Setabs{q \in \Rat}{q < p}$ for each $p \in \Rat$. We then define:Line 88 · formal-object, formula, formula-context · records
projected-env-000359 projected-formula-0002525 projected-formula-0002526\begin{align*}Line 89 · formal-object, formula-context · records
projected-env-000359 projected-formula-0002526\alpha + \beta &= \Setabs{p + q}{p \in \alpha \land q \in \beta}\\Line 90 · formal-object · records
projected-env-000359% \alpha - \beta &\defis \Setabs{p - q}{p \in \alpha \land q \in \Rat \setminus \beta}\\Line 91 · formal-object · records
projected-env-000359\alpha \times \beta &=Line 92 · formal-object · records
projected-env-000359\Setabs{p \times q}{0 \leq p \in \alpha \land 0 \leq q \in \beta} \cup 0^\mathbb{R} & \text{if }\alpha, \beta \geq 0_\RealLine 93 · formal-object · records
projected-env-000359% \alpha \div \beta &\defisLine 94 · formal-object · records
projected-env-000359% \Setabs{\nicefrac{p}{q}}{p \in \alpha \land q \in \Rat \setminus \beta} & \text{if }\alpha \geq 0_\Real, \beta > 0_\RealLine 95 · formal-object · records
projected-env-000359\end{align*}Line 96 · formula-context · records
projected-formula-0002527To handle the other multiplication cases, first let: %that $0_\Real \times \alpha = 0_\Real = \alpha \times 0_\Real$, and add:Line 97 · formal-object, formula · records
projected-env-000360 projected-formula-0002527\begin{align*}Line 98 · formal-object, formula-context · records
projected-env-000360 projected-formula-0002527-\alpha &= \Setabs{p - q}{p < 0 \land q \notin \alpha}Line 99 · formal-object · records
projected-env-000360\end{align*}Line 100 · formula-context · records
projected-formula-0002528and then stipulate:Line 101 · formal-object, formula · records
projected-env-000362 projected-formula-0002528\begin{align*}Line 102 · formal-object, formula-context · records
projected-env-000362 projected-formula-0002528\alpha \times \beta &\defisLine 103 · formal-object · records
projected-env-000362\begin{cases}Line 104 · formal-object · records
projected-env-000362\mathord{-}\alpha \times \mathord{-}\beta &\text{if }\alpha < 0_\Real\text{ and }\beta < 0_\Real\\Line 105 · formal-object · records
projected-env-000362\mathord{-}(\mathord{-}\alpha \times \beta) &\text{if }\alpha < 0_\Real \text{ and }\beta > 0_\Real\\Line 106 · formal-object · records
projected-env-000362\mathord{-}(\alpha \times \mathord{-}\beta) &\text{if }\alpha > 0_\Real \text{ and }\beta < 0_\RealLine 107 · formal-object · records
projected-env-000362\end{cases}Line 108 · formal-object · records
projected-env-000362\end{align*}Line 112 · reference · records
reference-000090[olref reference to sfr:arith:check:sec]
content/sets-functions-relations/arithmetization/reflections.tex
13 exact source-coordinate anchors materialized from the accepted slice ledgers.
Line 10 · structure · records
structure-00045\olsection{Some Philosophical Reflections}Line 31 · reference · records
reference-000091[olref reference to sfr:arith:cauchy:sec]Line 68 · reference · records
reference-000092[olref reference to sfr:arith:cauchy:sec]Line 70 · reference · records
reference-000093[olref reference to sfr:rel:ref:sec]Line 78 · reference · records
reference-000094[olref reference to sfr:rel:ref:sec]Line 79 · reference · records
reference-000095[citealt reference to Benacerraf1965]Line 82 · formula-context · records
projected-formula-0002529about our constructions. We started with the natural numbers. We thenLine 83 · formula, formula-context · records
projected-formula-0002529 projected-formula-0002530 projected-formula-0002531construct the integers, and construct ``the $0$ of the integers'',Line 84 · formula, formula-context · records
projected-formula-0002529 projected-formula-0002530 projected-formula-0002531i.e., $ \equivrep{0,0}{\Intequiv}$. But $0 \neqLine 85 · formula-context · records
projected-formula-0002530 projected-formula-0002531\equivrep{0,0}{\Intequiv}$. Indeed, given our constructions,Line 87 · formula-context, reference · records
projected-formula-0002532 reference-000096[olref reference to sfr:set:imp:sec]counter-intuitive. Indeed, in \olref[sfr][set][imp]{sec}, we claimedLine 88 · formula · records
projected-formula-0002532without much argument that $\Nat \subseteq \Rat$. If the constructionsLine 89 · formula-context · records
projected-formula-0002532tell us exactly \emph{what} the numbers are, this claim was trivially
content/sets-functions-relations/arithmetization/checking-details.tex
147 exact source-coordinate anchors materialized from the accepted slice ledgers.
Line 11 · structure · records
structure-00046\olsection{Ordered Rings and Fields}Line 18 · formula, formula-context, reference · records
projected-formula-0002533 projected-formula-0002534 reference-000097In \olref[int]{sec}, we defined addition and multiplication on $\Int$.[olref reference to sfr:arith:int:sec]Line 19 · formula, formula-context · records
projected-formula-0002533 projected-formula-0002534We want to show that, as defined, they endow $\Int$ with the structureLine 20 · formula-context · records
projected-formula-0002534we ``would want'' it to have. In particular, the structure in questionLine 23 · formal-object, formula-context · records
projected-env-000364 projected-formula-0002535 projected-formula-0002536 projected-formula-0002537 projected-formula-0002538 projected-formula-0002539\begin{defn}Line 24 · formal-object, formula, formula-context · records
projected-env-000364 projected-formula-0002535 projected-formula-0002536 projected-formula-0002537 projected-formula-0002538 projected-formula-0002539 projected-formula-0002540A \emph{commutative ring} is a set $S$, equipped with specific elements $0$ and $1$ and operations $+$ and $\times$, satisfying these eight formulas:Line 25 · formal-object, formula, formula-context · records
projected-env-000363 projected-env-000364 projected-formula-0002535 projected-formula-0002536 projected-formula-0002537 projected-formula-0002538 projected-formula-0002539 projected-formula-0002540\begin{align*}Line 26 · formal-object, formula-context · records
projected-env-000363 projected-env-000364 projected-formula-0002540\emph{Associativity}&&a + (b+ c) & = (a + b) + c \\Line 27 · formal-object · records
projected-env-000363 projected-env-000364&& (a \times b) \times c & = a \times (b\times c)\\Line 28 · formal-object · records
projected-env-000363 projected-env-000364\emph{Commutativity}&&a + b &= b+ a \\Line 29 · formal-object · records
projected-env-000363 projected-env-000364&& a \times b&= b\times a\\Line 30 · formal-object · records
projected-env-000363 projected-env-000364\emph{Identities}&&a + 0 &= a \\Line 31 · formal-object · records
projected-env-000363 projected-env-000364&& a \times 1 &= a\\Line 32 · formal-object · records
projected-env-000363 projected-env-000364\emph{Additive Inverse}&&(\exists b\in S)0&=a + b\\Line 33 · formal-object · records
projected-env-000363 projected-env-000364\emph{Distributivity}&&a \times (b+ c ) &= (a \times b) + (a \times c)Line 34 · formal-object, formula-context · records
projected-env-000363 projected-env-000364 projected-formula-0002541 projected-formula-0002542 projected-formula-0002543\end{align*}Line 35 · formal-object, formula · records
projected-env-000364 projected-formula-0002541 projected-formula-0002542 projected-formula-0002543Implicitly, these are all bound with universal quantifiers restricted to $S$. And note that the elements $0$ and~$1$ here need not be the natural numbers with the same name.Line 36 · formal-object, formula-context · records
projected-env-000364 projected-formula-0002541 projected-formula-0002542 projected-formula-0002543\end{defn}Line 43 · formula-context · records
projected-formula-0002544 projected-formula-0002545\begin{proof}Line 44 · formula, formula-context · records
projected-formula-0002544 projected-formula-0002545 projected-formula-0002546 projected-formula-0002547Fix $i, j, k \in \Int$. So there are $a_1, b_1, a_2, b_2, a_3, b_3 \inLine 45 · formula, formula-context · records
projected-formula-0002544 projected-formula-0002545 projected-formula-0002546 projected-formula-0002547 projected-formula-0002548\Nat$ such that $i = \equivrep{a_1, b_1}{}$ and $j =Line 46 · formula, formula-context · records
projected-formula-0002546 projected-formula-0002547 projected-formula-0002548 projected-formula-0002549\equivrep{a_2,b_2}{}$ and $k = \equivrep{a_3, b_3}{}$. (ForLine 47 · formula, formula-context · records
projected-formula-0002548 projected-formula-0002549 projected-formula-0002550legibility, we write ``$\equivrep{x, y}{}$'' rather thanLine 48 · formula, formula-context · records
projected-formula-0002549 projected-formula-0002550``$\equivrep{x, y}{\Intequiv}$''; we'll do this throughout thisLine 49 · formula-context · records
projected-formula-0002550 projected-formula-0002551section.) Now:Line 50 · formal-object, formula · records
projected-env-000365 projected-formula-0002551\begin{align*}Line 51 · formal-object, formula-context · records
projected-env-000365 projected-formula-0002551i + (j + k) &= \equivrep{a_1, b_1}{}+(\equivrep{a_2, b_2}{} + \equivrep{a_3, b_3}{}) \\Line 52 · formal-object · records
projected-env-000365&= \equivrep{a_1, b_1}{} + \equivrep{a_2+a_3, b_2+b_3}{}\\Line 53 · formal-object · records
projected-env-000365&= \equivrep{a_1 + (a_2 + a_3), b_1 + (b_2 + b_3)}{}\\Line 54 · formal-object · records
projected-env-000365&= \equivrep{(a_1 + a_2) + a_3, (b_1 + b_2) + b_3}{}\\Line 55 · formal-object · records
projected-env-000365&= \equivrep{a_1 + a_2, b_1 + b_2}{} + \equivrep{a_3, b_3}{}\\Line 56 · formal-object · records
projected-env-000365&= (\equivrep{a_1, b_1}{} + \equivrep{a_2, b_2}{}) + \equivrep{a_3, b_3}{}\\Line 57 · formal-object · records
projected-env-000365&= (i+j) + kLine 58 · formal-object, formula-context · records
projected-env-000365 projected-formula-0002552\end{align*}Line 59 · formula · records
projected-formula-0002552helping ourselves freely to the behavior of addition on $\Nat$.Line 60 · formula-context · records
projected-formula-0002552\end{proof}Line 64 · formula-context · records
projected-formula-0002553 projected-formula-0002554 projected-formula-0002555\begin{proof}Line 65 · formula, formula-context · records
projected-formula-0002553 projected-formula-0002554 projected-formula-0002555 projected-formula-0002556Fix $i \in \Int$, so that $i = \equivrep{a,b}{}$ for some $a,b \inLine 66 · formula, formula-context · records
projected-formula-0002553 projected-formula-0002554 projected-formula-0002555 projected-formula-0002556 projected-formula-0002557\Nat$. Let $j = \equivrep{b,a}{} \in \Int$. Helping ourselves to theLine 67 · formula, formula-context · records
projected-formula-0002556 projected-formula-0002557 projected-formula-0002558behaviour of the naturals, $(a+b) + 0 = 0 + (a+b)$, so thatLine 68 · formula, formula-context · records
projected-formula-0002557 projected-formula-0002558 projected-formula-0002559 projected-formula-0002560$\tuple{a+b, b+a} \sim_\Int \tuple{0,0}$ by definition, and henceLine 69 · formula, formula-context · records
projected-formula-0002558 projected-formula-0002559 projected-formula-0002560$\equivrep{a+b, b+a}{} = \equivrep{0, 0}{} = 0_\Int$. So now $i + j =Line 70 · formula-context · records
projected-formula-0002559 projected-formula-0002560\equivrep{a,b}{}+\equivrep{b,a}{}=\equivrep{a+b, b+a}{}= \equivrep{0,Line 76 · formula-context · records
projected-formula-0002561 projected-formula-0002562\begin{proof}Line 77 · formula, formula-context · records
projected-formula-0002561 projected-formula-0002562 projected-formula-0002563As above, fix $i = \equivrep{a_1, b_1}{}$ and $j =Line 78 · formula, formula-context · records
projected-formula-0002561 projected-formula-0002562 projected-formula-0002563 projected-formula-0002564\equivrep{a_2,b_2}{}$ and $k = \equivrep{a_3, b_3}{}$. Now:Line 79 · formal-object, formula, formula-context · records
projected-env-000368 projected-formula-0002563 projected-formula-0002564\begin{align*}Line 80 · formal-object, formula-context · records
projected-env-000368 projected-formula-0002564i \times (j + k)Line 81 · formal-object · records
projected-env-000368&= \equivrep{a_1, b_1}{} \times (\equivrep{a_2,b_2}{} + \equivrep{a_3, b_3}{})\\Line 82 · formal-object · records
projected-env-000368&= \equivrep{a_1, b_1}{} \times \equivrep{a_2 + a_3,b_2+b_3}{}\\Line 83 · formal-object · records
projected-env-000368&= \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)}{}\\Line 84 · formal-object · records
projected-env-000368&= \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}{}\\Line 85 · formal-object · records
projected-env-000368% &= \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}{}\\Line 86 · formal-object · records
projected-env-000368&= \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}{}\\Line 87 · formal-object · records
projected-env-000368&= (\equivrep{a_1, b_1}{} \times \equivrep{a_2,b_2}{}) + (\equivrep{a_1, b_1}{} \times \equivrep{a_3, b_3}{})\\Line 88 · formal-object · records
projected-env-000368&= (i \times j) + (i \times k)Line 89 · formal-object · records
projected-env-000368\end{align*}Line 92 · formula-context · records
projected-formula-0002565We leave it as an exercise to prove the remaining five conditions.Line 93 · formula · records
projected-formula-0002565Having done that, we have shown that $\Int$ constitutes a commutativeLine 94 · formula-context · records
projected-formula-0002565ring, i.e., that addition and multiplication (as defined) behave asLine 97 · formal-object, formula-context · records
projected-env-000370 projected-formula-0002566\begin{prob}Line 98 · formal-object, formula · records
projected-env-000370 projected-formula-0002566Prove that $\Int$ is a commutative ring.Line 99 · formal-object, formula-context · records
projected-env-000370 projected-formula-0002566\end{prob}Line 101 · formula-context · records
projected-formula-0002567 projected-formula-0002568But our task is not over. As well as defining addition andLine 102 · formula · records
projected-formula-0002567 projected-formula-0002568multiplication over $\Int$, we defined an ordering relation, $\leq$,Line 103 · formula-context · records
projected-formula-0002567 projected-formula-0002568 projected-formula-0002569and we must check that this behaves as it should. In more detail, weLine 104 · formula · records
projected-formula-0002569must show that $\Int$ constitutes an \emph{ordered} ring.\footnote{RecallLine 105 · formula-context, reference · records
projected-formula-0002569 reference-000098from \olref[sfr][rel][ord]{def:linearorder} that a total order[olref reference to sfr:rel:ord:def:linearorder]Line 107 · formula-context · records
projected-formula-0002570 projected-formula-0002571 projected-formula-0002572In the context of order relations, connectedness is sometimes calledLine 108 · formula · records
projected-formula-0002570 projected-formula-0002571 projected-formula-0002572\emph{trichotomy}, since for any $a$ and $b$ we have $a \leq b \lor aLine 109 · formula-context · records
projected-formula-0002570 projected-formula-0002571 projected-formula-0002572= b \lor a \geq b$.}Line 111 · formal-object · records
projected-env-000372\begin{defn}Line 112 · formal-object, formula-context · records
projected-env-000372 projected-formula-0002573An \emph{ordered ring} is a commutative ring which is also equippedLine 113 · formal-object, formula, formula-context · records
projected-env-000372 projected-formula-0002573 projected-formula-0002574with a total order relation, $\leq$, such that:Line 114 · formal-object, formula, formula-context · records
projected-env-000371 projected-env-000372 projected-formula-0002573 projected-formula-0002574\begin{align*}Line 115 · formal-object, formula-context · records
projected-env-000371 projected-env-000372 projected-formula-0002574a \leq b &\lif a + c \leq b + c\\Line 116 · formal-object · records
projected-env-000371 projected-env-000372(a \leq b \land 0 \leq c) &\lif a \times c \leq b \times cLine 117 · formal-object · records
projected-env-000371 projected-env-000372\end{align*}Line 118 · formal-object · records
projected-env-000372\end{defn}Line 120 · formal-object, formula-context · records
projected-env-000373 projected-formula-0002575\begin{prob}Line 121 · formal-object, formula · records
projected-env-000373 projected-formula-0002575Prove that $\Int$ is an ordered ring.Line 122 · formal-object, formula-context · records
projected-env-000373 projected-formula-0002575\end{prob}Line 124 · formula · records
projected-formula-0002576As before, it is laborious but routine to show that~$\Int$, asLine 125 · formula-context · records
projected-formula-0002576constructed, is an ordered ring. We will leave that to you.Line 129 · formula-context · records
projected-formula-0002577 projected-formula-0002578 projected-formula-0002579rationals form an ordered \emph{field}, under our given definitions ofLine 130 · formula · records
projected-formula-0002577 projected-formula-0002578 projected-formula-0002579$+$, $\times$, and $\leq$:Line 131 · formal-object, formula-context · records
projected-env-000375 projected-formula-0002577 projected-formula-0002578 projected-formula-0002579\begin{defn}\ollabel{orderedfield}Line 132 · formal-object, formula-context · records
projected-env-000375 projected-formula-0002580An \emph{ordered field} is an ordered ring which also satisfies:Line 133 · formal-object, formula · records
projected-env-000374 projected-env-000375 projected-formula-0002580\begin{align*}Line 134 · formal-object, formula-context · records
projected-env-000374 projected-env-000375 projected-formula-0002580\emph{Multiplicative Inverse}& & (\forall a \in S \setminus \{0\})(\exists b \in S) a\times b& = 1Line 135 · formal-object · records
projected-env-000374 projected-env-000375\end{align*}Line 136 · formal-object · records
projected-env-000375\end{defn}Line 138 · formula, formula-context · records
projected-formula-0002581 projected-formula-0002582Once you have shown that $\Int$ constitutes an ordered ring, it isLine 139 · formula, formula-context · records
projected-formula-0002581 projected-formula-0002582easy but laborious to show that $\Rat$ constitutes an ordered field.Line 141 · formal-object, formula-context · records
projected-env-000376 projected-formula-0002583\begin{prob}Line 142 · formal-object, formula · records
projected-env-000376 projected-formula-0002583Prove that $\Rat$ is an ordered field.Line 143 · formal-object, formula-context · records
projected-env-000376 projected-formula-0002583\end{prob}Line 145 · formula-context · records
projected-formula-0002584Having dealt with the integers and the rationals, it only remains toLine 146 · formula · records
projected-formula-0002584deal with the reals. In particular, we need to show that $\Real$Line 147 · formula-context · records
projected-formula-0002584constitutes a \emph{complete} ordered field, i.e., an ordered fieldLine 148 · formula-context, reference · records
projected-formula-0002585 reference-000099[olref reference to sfr:arith:cuts:realcompleteness]with the Completeness Property. Now, \olref[cuts]{realcompleteness}Line 149 · formula, formula-context · records
projected-formula-0002585 projected-formula-0002586established that $\Real$ has the Completeness Property. However, itLine 150 · formula, formula-context, source-correction · records
TR006-SOURCE-PROSE-003 projected-formula-0002585 projected-formula-0002586remains to run through the (tedious) of checking that $\Real$ is anLine 151 · formula-context · records
projected-formula-0002586ordered field.Line 154 · formula-context · records
projected-formula-0002587check some more ``immediate'' things. For example, we need a guaranteeLine 155 · formula, formula-context · records
projected-formula-0002587 projected-formula-0002588 projected-formula-0002589that $\alpha + \beta$, as defined, is indeed a \emph{cut}, for anyLine 156 · formula, formula-context · records
projected-formula-0002587 projected-formula-0002588 projected-formula-0002589cuts $\alpha$ and $\beta$. Here is a proof of that fact:Line 158 · formula-context · records
projected-formula-0002590 projected-formula-0002591 projected-formula-0002592\begin{proof}Line 159 · formula · records
projected-formula-0002590 projected-formula-0002591 projected-formula-0002592Since $\alpha$ and $\beta$ are both cuts, $\alpha + \beta = \Setabs{pLine 160 · formula-context · records
projected-formula-0002590 projected-formula-0002591 projected-formula-0002592 projected-formula-0002593 projected-formula-0002594 projected-formula-0002595 projected-formula-0002596+ q}{p \in \alpha \land q \in \beta}$ is a non-empty proper subset ofLine 161 · formula, formula-context · records
projected-formula-0002593 projected-formula-0002594 projected-formula-0002595 projected-formula-0002596 projected-formula-0002597 projected-formula-0002598 projected-formula-0002599$\Rat$. Now suppose $x < p + q$ for some $p \in \alpha$ and $q \in \beta$.Line 162 · formula, formula-context · records
projected-formula-0002593 projected-formula-0002594 projected-formula-0002595 projected-formula-0002596 projected-formula-0002597 projected-formula-0002598 projected-formula-0002599 projected-formula-0002600 projected-formula-0002601Then $x - p < q$, so $x - p \in \beta$, and $x = p + (x - p) \inLine 163 · formula, formula-context · records
projected-formula-0002597 projected-formula-0002598 projected-formula-0002599 projected-formula-0002600 projected-formula-0002601 projected-formula-0002602 projected-formula-0002603\alpha + \beta$. So $\alpha + \beta$ is an initial segment of $\Rat$.Line 164 · formula, formula-context · records
projected-formula-0002600 projected-formula-0002601 projected-formula-0002602 projected-formula-0002603 projected-formula-0002604 projected-formula-0002605 projected-formula-0002606Finally, for any $p + q \in \alpha + \beta$, since $\alpha$ andLine 165 · formula, formula-context · records
projected-formula-0002602 projected-formula-0002603 projected-formula-0002604 projected-formula-0002605 projected-formula-0002606 projected-formula-0002607 projected-formula-0002608 projected-formula-0002609$\beta$ are both cuts, there are $p_1 \in \alpha$ and $q_1 \in \beta$Line 166 · formula, formula-context · records
projected-formula-0002604 projected-formula-0002605 projected-formula-0002606 projected-formula-0002607 projected-formula-0002608 projected-formula-0002609 projected-formula-0002610such that $p < p_1$ and $q < q_1$; so $p + q < p_1 + q_1 \in \alpha +Line 167 · formula, formula-context · records
projected-formula-0002607 projected-formula-0002608 projected-formula-0002609 projected-formula-0002610\beta$; so $\alpha + \beta$ has no maximum.Line 168 · formula-context · records
projected-formula-0002610\end{proof}Line 170 · formula, formula-context · records
projected-formula-0002611 projected-formula-0002612 projected-formula-0002613Similar efforts will allow you to check that $\alpha - \beta$ andLine 171 · formula, formula-context · records
projected-formula-0002611 projected-formula-0002612 projected-formula-0002613 projected-formula-0002614$\alpha \times \beta$ and $\alpha \div \beta$ are cuts (in the lastLine 172 · formula, formula-context · records
projected-formula-0002612 projected-formula-0002613 projected-formula-0002614case, ignoring the case where $\beta$ is the zero-cut). Again, though,Line 173 · formula-context · records
projected-formula-0002614we will simply leave this to you.Line 175 · formal-object, formula-context · records
projected-env-000378 projected-formula-0002615\begin{prob}Line 176 · formal-object, formula · records
projected-env-000378 projected-formula-0002615Prove that $\Real$ is an ordered field.Line 177 · formal-object, formula-context · records
projected-env-000378 projected-formula-0002615\end{prob}Line 179 · formula-context · records
projected-formula-0002616But here is a small loose end to tidy up. InLine 180 · formula, reference · records
projected-formula-0002616 reference-000100[olref reference to sfr:arith:cuts:sec]\olref[cuts]{sec}, we suggest that we can take $\sqrt{2} =Line 181 · formula-context · records
projected-formula-0002616\Setabs{p \in \Rat}{p < 0 \text{ or }p^2 < 2}$. But we do need to showLine 186 · formula-context · records
projected-formula-0002617 projected-formula-0002618 projected-formula-0002619it suffices to show that it has no maximum. In particular, it sufficesLine 187 · formula, formula-context · records
projected-formula-0002617 projected-formula-0002618 projected-formula-0002619 projected-formula-0002620 projected-formula-0002621 projected-formula-0002622to show that, where $p$ is a positive rational with $p^2 < 2$ and $q =Line 188 · formula, formula-context · records
projected-formula-0002617 projected-formula-0002618 projected-formula-0002619 projected-formula-0002620 projected-formula-0002621 projected-formula-0002622\frac{2p+2}{p+2}$, both $p < q$ and $q^2 < 2$. To see that $p < q$,Line 189 · formula-context · records
projected-formula-0002620 projected-formula-0002621 projected-formula-0002622 projected-formula-0002623just note:Line 190 · formal-object, formula · records
projected-env-000379 projected-formula-0002623\begin{align*}Line 191 · formal-object, formula-context · records
projected-env-000379 projected-formula-0002623p^2 &< 2\\Line 192 · formal-object · records
projected-env-000379p^2 + 2p &< 2 + 2p\\Line 193 · formal-object · records
projected-env-000379p(p + 2) &< 2 + 2p\\Line 194 · formal-object · records
projected-env-000379p &< \tfrac{2+2p}{p+2} = qLine 195 · formal-object, formula-context · records
projected-env-000379 projected-formula-0002624\end{align*}Line 196 · formula, formula-context · records
projected-formula-0002624 projected-formula-0002625To see that $q^2 < 2$, just note:Line 197 · formal-object, formula, formula-context · records
projected-env-000380 projected-formula-0002624 projected-formula-0002625\begin{align*}Line 198 · formal-object, formula-context · records
projected-env-000380 projected-formula-0002625p^2 &< 2\\Line 199 · formal-object · records
projected-env-0003802p^2 + 4p + 2 &< p^2 + 4p+ 4\\Line 200 · formal-object · records
projected-env-0003804p^2 + 8p + 4 &< 2(p^2 + 4p + 4)\\Line 201 · formal-object · records
projected-env-000380(2p+2)^2 & <2(p+2)^2\\Line 202 · formal-object · records
projected-env-000380\tfrac{(2p+2)^2}{(p+2)^2} &< 2\\Line 203 · formal-object · records
projected-env-000380q^2 &< 2Line 204 · formal-object · records
projected-env-000380\end{align*}
content/sets-functions-relations/arithmetization/cauchy.tex
154 exact source-coordinate anchors materialized from the accepted slice ledgers.
Line 11 · structure · records
structure-00047\olsection{Appendix: the Reals as Cauchy Sequences}Line 13 · reference · records
reference-000101[olref reference to sfr:arith:cuts:sec]Line 18 · reference · records
reference-000102[citeauthor reference to OConnorRobertson:RN]Line 19 · reference · records
reference-000103[citeyear reference to OConnorRobertson:RN]Line 23 · formula-context · records
projected-formula-0002626each real in terms of its decimal expansion. Thus even an irrationalLine 24 · formula, formula-context · records
projected-formula-0002626 projected-formula-0002627number, like $\sqrt{2}$, has a nice decimal expansion, beginning:Line 25 · formula, formula-context · records
projected-formula-0002626 projected-formula-0002627\[Line 26 · formula-context · records
projected-formula-00026271.41421356237\ldotsLine 28 · formula-context · records
projected-formula-0002628 projected-formula-0002629It is very easy to model decimal expansions in set theory: simplyLine 29 · formula, formula-context · records
projected-formula-0002628 projected-formula-0002629 projected-formula-0002630consider them as functions $d \colon \Nat \to \Nat$, where $d(n)$ isLine 30 · formula, formula-context · records
projected-formula-0002628 projected-formula-0002629 projected-formula-0002630the $n$th decimal place that we are interested in. We will then need aLine 31 · formula-context · records
projected-formula-0002630 projected-formula-0002631bit of tweak, to handle the bit of the real number that comes beforeLine 32 · formula, formula-context · records
projected-formula-0002631 projected-formula-0002632the decimal point (here, just $1$). We will also need a further tweakLine 33 · formula, formula-context · records
projected-formula-0002631 projected-formula-0002632(an equivalence relation) to guarantee that, for example, $0.999\ldotsLine 34 · formula-context · records
projected-formula-0002632= 1$. But it is not difficult to offer a perfectly rigorousLine 39 · formula-context, reference · records
projected-formula-0002633 reference-000104[citealt reference to KatzKatz2012]\citealt{KatzKatz2012}.) But here is a closely related thought.Line 40 · formula · records
projected-formula-0002633Instead of treating $\sqrt{2}$'s decimal expansion directly, we canLine 41 · formula-context · records
projected-formula-0002633 projected-formula-0002634instead consider a \emph{sequence} of increasingly accurate rationalLine 42 · formula · records
projected-formula-0002634approximations to $\sqrt{2}$, by considering the increasingly preciseLine 43 · formula-context · records
projected-formula-0002634 projected-formula-0002635expansions:Line 44 · formula · records
projected-formula-0002635\[Line 45 · formula-context · records
projected-formula-00026351, 1.4, 1.414, 1.4142, 1.41421,\ldotsLine 49 · formula-context · records
projected-formula-0002636 projected-formula-0002637 projected-formula-0002638 projected-formula-0002639insights (akin to the realisations that we used when constructingLine 50 · formula · records
projected-formula-0002636 projected-formula-0002637 projected-formula-0002638 projected-formula-0002639$\Rat$ from $\Int$, or $\Int$ from $\Nat$). The basic insights areLine 51 · formula-context · records
projected-formula-0002636 projected-formula-0002637 projected-formula-0002638 projected-formula-0002639these:Line 58 · formula-context · records
projected-formula-0002640 projected-formula-0002641 projected-formula-0002642 projected-formula-0002643\item A sequence of rational numbers can be thought of as aLine 59 · formula · records
projected-formula-0002640 projected-formula-0002641 projected-formula-0002642 projected-formula-0002643function from $\Nat$ to $\Rat$; just let $f(n)$ be the $n$thLine 60 · formula-context · records
projected-formula-0002640 projected-formula-0002641 projected-formula-0002642 projected-formula-0002643rational in the sequence.Line 61 · formula-context · records
projected-formula-0002644 projected-formula-0002645\end{enumerate}Line 62 · formula · records
projected-formula-0002644 projected-formula-0002645Of course, not just \emph{any} function from $\Nat$ to $\Rat$ willLine 63 · formula-context · records
projected-formula-0002644 projected-formula-0002645 projected-formula-0002646give us a real number. For instance, consider this function:Line 64 · formula · records
projected-formula-0002646\[Line 65 · formula-context · records
projected-formula-0002646f(n) =\begin{cases}Line 69 · formula-context · records
projected-formula-0002647\]Line 70 · formula · records
projected-formula-0002647Essentially the worry here is that the sequence $0,1,0,1,0,1,0,\ldots$Line 71 · formula-context · records
projected-formula-0002647doesn't seem to ``hone in'' on any real. So: to ensure that weLine 76 · formula-context, reference · records
projected-formula-0002648 reference-000105[olref reference to his:set:limits:sec]\olref[his][set][limits]{sec}. But we cannot use \emph{quite} the sameLine 77 · formula · records
projected-formula-0002648definition as we used there. The expression ``$(\forall \epsilon>0)$''Line 78 · formula-context · records
projected-formula-0002648there tacitly involved quantification over the real numbers; and weLine 83 · formal-object, formula-context · records
projected-env-000384 projected-formula-0002649\begin{defn}\ollabel{def:CauchySequence}Line 84 · formal-object, formula, formula-context · records
projected-env-000384 projected-formula-0002649 projected-formula-0002650 projected-formula-0002651A function $f: \Nat \to \Rat$ is a \emph{Cauchy sequence} iff forLine 85 · formal-object, formula, formula-context · records
projected-env-000384 projected-formula-0002649 projected-formula-0002650 projected-formula-0002651any positive $\epsilon \in \Rat$ we have that $(\exists \ell \inLine 86 · formal-object, formula-context · records
projected-env-000384 projected-formula-0002650 projected-formula-0002651\Nat)(\forall m, n > \ell)|f(m) - f(n)| < \epsilon$.Line 87 · formal-object · records
projected-env-000384\end{defn}Line 89 · formula-context · records
projected-formula-0002652The general idea of a limit is the same as before: if you want aLine 90 · formula, formula-context · records
projected-formula-0002652 projected-formula-0002653certain level of precision (measured by~$\epsilon$), there is aLine 91 · formula, formula-context · records
projected-formula-0002652 projected-formula-0002653 projected-formula-0002654 projected-formula-0002655 projected-formula-0002656 projected-formula-0002657``region'' to look in (any input greater than~$\ell$). And it is easyLine 92 · formula, formula-context · records
projected-formula-0002653 projected-formula-0002654 projected-formula-0002655 projected-formula-0002656 projected-formula-0002657 projected-formula-0002658 projected-formula-0002659to see that our sequence $1$, $1.4$, $1.414$, $1.4142$,Line 93 · formula, formula-context · records
projected-formula-0002654 projected-formula-0002655 projected-formula-0002656 projected-formula-0002657 projected-formula-0002658 projected-formula-0002659 projected-formula-0002660$1.41421$\ldots has a limit: if you want to approximate $\sqrt{2}$ toLine 94 · formula, formula-context · records
projected-formula-0002658 projected-formula-0002659 projected-formula-0002660 projected-formula-0002661within an error of $\nicefrac{1}{10^{n}}$, then just look to any entryLine 95 · formula, formula-context · records
projected-formula-0002660 projected-formula-0002661after the $n$th.Line 97 · formula-context · records
projected-formula-0002662The obvious thought, then, would be to say that a real number justLine 98 · formula, formula-context · records
projected-formula-0002662 projected-formula-0002663\emph{is} any Cauchy sequence. But, as in the constructions of $\Int$Line 99 · formula, formula-context · records
projected-formula-0002662 projected-formula-0002663and $\Rat$, this would be too na\"{i}ve: for any given real number,Line 100 · formula-context · records
projected-formula-0002663 projected-formula-0002664multiple different Cauchy sequences indicate that real number. ALine 101 · formula, formula-context, source-correction · records
TR006-SOURCE-PROSE-004 projected-formula-0002664 projected-formula-0002665 projected-formula-0002666 projected-formula-0002667simple way to see this as follows. Given a Cauchy sequence~$f$, defineLine 102 · formula, formula-context · records
projected-formula-0002664 projected-formula-0002665 projected-formula-0002666 projected-formula-0002667$g$ to be exactly the same function as~$f$, except that $g(0)\neqLine 103 · formula-context · records
projected-formula-0002665 projected-formula-0002666 projected-formula-0002667f(0)$. Since the two sequences agree everywhere after the firstLine 105 · reference · records
reference-000106[olref reference to sfr:arith:cauchy:def:CauchySequence]Line 110 · formula-context, source-correction · records
TR006-SOURCE-PROSE-005 projected-formula-0002668Cauchy sequences, and identify real numbers with equivalenceLine 111 · formula, formula-context, source-correction · records
TR006-SOURCE-PROSE-005 projected-formula-0002668 projected-formula-0002669 projected-formula-0002670relations. First we need the idea of a function which tends to $0$ inLine 112 · formula, formula-context · records
projected-formula-0002668 projected-formula-0002669 projected-formula-0002670 projected-formula-0002671 projected-formula-0002672the limit. For any function $h : \Nat \to \Rat$, say that \emph{$h$Line 113 · formula, formula-context · records
projected-formula-0002669 projected-formula-0002670 projected-formula-0002671 projected-formula-0002672 projected-formula-0002673tends to $0$} iff for any positive $\epsilon \in \Rat$ we have thatLine 114 · formula, formula-context · records
projected-formula-0002671 projected-formula-0002672 projected-formula-0002673 projected-formula-0002674$(\exists \ell \in \Nat)(\forall n > \ell)|h(n)| <Line 115 · formula, formula-context · records
projected-formula-0002673 projected-formula-0002674\epsilon$.\footnote{Compare this with the definition of $\lim_{xLine 116 · formula-context · records
projected-formula-0002674 projected-formula-0002675 projected-formula-0002676\mathord{\rightarrow}\infty}f(x) = 0$ inLine 117 · formula, formula-context, reference · records
projected-formula-0002675 projected-formula-0002676 projected-formula-0002677 projected-formula-0002678 reference-000107[olref reference to his:set:limits:sec]\olref[his][set][limits]{sec}.} Further, where $f$ and $g$ areLine 118 · formula, formula-context · records
projected-formula-0002675 projected-formula-0002676 projected-formula-0002677 projected-formula-0002678 projected-formula-0002679functions $\Nat \to \Rat$, let $(f-g)(n) = f(n) - g(n)$. Now define:Line 119 · formula, formula-context · records
projected-formula-0002677 projected-formula-0002678 projected-formula-0002679\[Line 120 · formula-context · records
projected-formula-0002679f \Realequiv g \text{ iff $(f-g)$ tends to $0$}.Line 121 · formula-context · records
projected-formula-0002680\]Line 122 · formula · records
projected-formula-0002680We need to check that $\Realequiv$ is an equivalence relation; and itLine 123 · formula-context · records
projected-formula-0002680 projected-formula-0002681 projected-formula-0002682is. We can then, if we like, define the reals as the equivalenceLine 124 · formula · records
projected-formula-0002681 projected-formula-0002682classes, under $\Realequiv$, of all Cauchy sequences from $\Nat \toLine 125 · formula-context · records
projected-formula-0002681 projected-formula-0002682\Rat$.Line 127 · formal-object, formula-context · records
projected-env-000385 projected-formula-0002683 projected-formula-0002684 projected-formula-0002685\begin{prob}Line 128 · formal-object, formula · records
projected-env-000385 projected-formula-0002683 projected-formula-0002684 projected-formula-0002685Let $f(n) = 0$ for every $n$. Let $g(n) = \frac{1}{(n+1)^2}$. ShowLine 129 · formal-object, formula-context · records
projected-env-000385 projected-formula-0002683 projected-formula-0002684 projected-formula-0002685 projected-formula-0002686 projected-formula-0002687that both are Cauchy sequences, and indeed that the limit of bothLine 130 · formal-object, formula · records
projected-env-000385 projected-formula-0002686 projected-formula-0002687functions is $0$, so that also $f \sim_\Real g$.Line 131 · formal-object, formula-context · records
projected-env-000385 projected-formula-0002686 projected-formula-0002687\end{prob}Line 133 · formula, formula-context · records
projected-formula-0002688 projected-formula-0002689Having done this, we shall as usual write $\equivrep{f}{\Realequiv}$Line 134 · formula, formula-context · records
projected-formula-0002688 projected-formula-0002689for the equivalence class with $f$ as !!a{element}. However, to keepLine 135 · formula-context · records
projected-formula-0002689 projected-formula-0002690 projected-formula-0002691things readable, in what follows we will drop the subscript and writeLine 136 · formula, formula-context · records
projected-formula-0002690 projected-formula-0002691 projected-formula-0002692 projected-formula-0002693just $\equivrep{f}{}$. We also stipulate that, for each $q \in \Rat$,Line 137 · formula, formula-context · records
projected-formula-0002690 projected-formula-0002691 projected-formula-0002692 projected-formula-0002693 projected-formula-0002694 projected-formula-0002695we have $q_{\Real} = \equivrep{c_{q}}{}$, where $c_{q}$ is theLine 138 · formula, formula-context · records
projected-formula-0002692 projected-formula-0002693 projected-formula-0002694 projected-formula-0002695constant function $c_q(n) = q$ for all $n \in \Nat$. We then defineLine 139 · formula-context · records
projected-formula-0002694 projected-formula-0002695 projected-formula-0002696basic relations and operations on the reals, e.g.:Line 140 · formal-object, formula · records
projected-env-000386 projected-formula-0002696\begin{align*}Line 141 · formal-object, formula-context · records
projected-env-000386 projected-formula-0002696\equivrep{f}{} + \equivrep{g}{} &= \equivrep{(f + g)}{} \\Line 142 · formal-object · records
projected-env-000386\equivrep{f}{} \times \equivrep{g}{} &= \equivrep{(f \times g)}{}Line 143 · formal-object, formula-context · records
projected-env-000386 projected-formula-0002697 projected-formula-0002698\end{align*}Line 144 · formula, formula-context · records
projected-formula-0002697 projected-formula-0002698 projected-formula-0002699where $(f + g)(n) = f(n) + g(n)$ and $(f \times g)(n) = f(n) \timesLine 145 · formula, formula-context · records
projected-formula-0002697 projected-formula-0002698 projected-formula-0002699 projected-formula-0002700 projected-formula-0002701 projected-formula-0002702 projected-formula-0002703g(n)$. Of course, we also need to check that each of $(f + g)$,Line 146 · formula, formula-context · records
projected-formula-0002699 projected-formula-0002700 projected-formula-0002701 projected-formula-0002702 projected-formula-0002703$(f-g)$ and $(f\times g)$ are Cauchy sequences when $f$ and $g$ are;Line 147 · formula-context · records
projected-formula-0002700 projected-formula-0002701 projected-formula-0002702 projected-formula-0002703but they are, and we leave this to you.Line 149 · formula, formula-context, source-correction · records
TR006-SOURCE-PROSE-006 projected-formula-0002704 projected-formula-0002705 projected-formula-0002706Finally, we define we a notion of order. Say $\equivrep{f}{}$ isLine 150 · formula, formula-context, source-correction · records
TR006-SOURCE-FORMULA-007 projected-formula-0002704 projected-formula-0002705 projected-formula-0002706 projected-formula-0002707\emph{positive} iff both $\equivrep{f}{}\neq 0_\Rat$ and $(\existsLine 151 · formula, formula-context · records
projected-formula-0002705 projected-formula-0002706 projected-formula-0002707 projected-formula-0002708\ell \in \Nat)(\forall n > \ell)0 < f(n)$. Then say $\equivrep{f}{} <Line 152 · formula, formula-context · records
projected-formula-0002707 projected-formula-0002708\equivrep{g}{}$ iff $\equivrep{(g - f)}{}$ is positive. We have toLine 153 · formula-context · records
projected-formula-0002708check that this is well-defined (i.e., that it does not depend uponLine 161 · formal-object · records
projected-env-000387\begin{thm}\ollabel{thm:cauchyorderedfield}Line 162 · formal-object · records
projected-env-000387The Cauchy sequences constitute an ordered field.Line 163 · formal-object · records
projected-env-000387\end{thm}Line 169 · formal-object · records
projected-env-000389\begin{prob}Line 170 · formal-object · records
projected-env-000389Prove that the Cauchy sequences constitute an ordered field.Line 171 · formal-object · records
projected-env-000389\end{prob}Line 176 · formal-object · records
projected-env-000390\begin{thm}Line 177 · formal-object · records
projected-env-000390Every non-empty set of Cauchy sequences with an upper bound has aLine 178 · formal-object · records
projected-env-000390least upper bound.Line 179 · formal-object · records
projected-env-000390\end{thm}Line 181 · formula, formula-context · records
projected-formula-0002709 projected-formula-0002710\begin{proof}[Proof sketch] Let $S$ be any non-empty set of CauchyLine 182 · formula, formula-context · records
projected-formula-0002709 projected-formula-0002710 projected-formula-0002711 projected-formula-0002712 projected-formula-0002713sequences with an upper bound. So there is some $p \in \Rat$ such thatLine 183 · formula, formula-context · records
projected-formula-0002710 projected-formula-0002711 projected-formula-0002712 projected-formula-0002713 projected-formula-0002714 projected-formula-0002715$p_{\Real}$ is an upper bound for $S$. Let $r \in S$; then there isLine 184 · formula, formula-context · records
projected-formula-0002711 projected-formula-0002712 projected-formula-0002713 projected-formula-0002714 projected-formula-0002715 projected-formula-0002716 projected-formula-0002717 projected-formula-0002718some $q \in \Rat$ such that $q_{\Real} < r$. So if a least upper boundLine 185 · formula, formula-context · records
projected-formula-0002714 projected-formula-0002715 projected-formula-0002716 projected-formula-0002717 projected-formula-0002718on $S$ exists, it is between $q_\Real$ and $p_\Real$ (inclusive).Line 187 · formula-context · records
projected-formula-0002719We will hone in on the l.u.b., by approaching it simultaneously fromLine 188 · formula, formula-context · records
projected-formula-0002719 projected-formula-0002720below and above. In particular, we define two functions, $f, g \colonLine 189 · formula, formula-context · records
projected-formula-0002719 projected-formula-0002720 projected-formula-0002721\Nat \to \Rat$, with the aim that $f$ will hone in on the l.u.b.\ fromLine 190 · formula, formula-context, source-correction · records
TR006-SOURCE-PROSE-008 projected-formula-0002720 projected-formula-0002721 projected-formula-0002722above, and $g$ will hone on in it from below. We start by defining:Line 191 · formal-object, formula, formula-context · records
projected-env-000391 projected-formula-0002721 projected-formula-0002722\begin{align*}Line 192 · formal-object, formula-context · records
projected-env-000391 projected-formula-0002722f(0) &= p \\Line 193 · formal-object · records
projected-env-000391g(0) &= qLine 194 · formal-object, formula-context · records
projected-env-000391 projected-formula-0002723\end{align*}Line 195 · formula · records
projected-formula-0002723Then, where $a_n = \frac{f(n) + g(n)}{2}$, let:\footnote{This is aLine 196 · formula-context · records
projected-formula-0002723recursive definition. But we have not \emph{yet} given any reason toLine 197 · formula-context · records
projected-formula-0002724think that recursive definitions are ok.}Line 198 · formal-object, formula · records
projected-env-000394 projected-formula-0002724\begin{align*}Line 199 · formal-object, formula-context · records
projected-env-000394 projected-formula-0002724f(n+1) &=Line 200 · formal-object · records
projected-env-000394\begin{cases}Line 201 · formal-object · records
projected-env-000394a_n &\text{if }(\forall h \in S)\equivrep{h}{} \leq (a_n)_\Real\\Line 202 · formal-object · records
projected-env-000394f(n)&\text{otherwise}Line 203 · formal-object · records
projected-env-000394\end{cases}\\Line 204 · formal-object · records
projected-env-000394g(n+1) &=Line 205 · formal-object · records
projected-env-000394\begin{cases}Line 206 · formal-object · records
projected-env-000394a_n &\text{if }(\exists h \in S)\equivrep{h}{} \geq (a_n)_\Real\\Line 207 · formal-object · records
projected-env-000394g(n) &\text{otherwise}Line 208 · formal-object · records
projected-env-000394\end{cases}Line 209 · formal-object, formula-context · records
projected-env-000394 projected-formula-0002725 projected-formula-0002726\end{align*}Line 210 · formula, formula-context · records
projected-formula-0002725 projected-formula-0002726 projected-formula-0002727Both $f$ and $g$ are Cauchy sequences. (This can be checked fairlyLine 211 · formula, formula-context · records
projected-formula-0002725 projected-formula-0002726 projected-formula-0002727 projected-formula-0002728 projected-formula-0002729 projected-formula-0002730easily, but we leave it as an exercise.) Note that the function $(f-g)$Line 212 · formula, formula-context · records
projected-formula-0002727 projected-formula-0002728 projected-formula-0002729 projected-formula-0002730 projected-formula-0002731tends to $0$, since the difference between $f$ and $g$ halves at eachLine 213 · formula, formula-context · records
projected-formula-0002728 projected-formula-0002729 projected-formula-0002730 projected-formula-0002731step. Hence $\equivrep{f}{} = \equivrep{g}{}$.Line 215 · formula, formula-context · records
projected-formula-0002732 projected-formula-0002733 projected-formula-0002734 projected-formula-0002735We first show that $\equivrep{f}{}$ is an upper bound on $S$, i.e.\ that $(\forall h \in S)\equivrep{h}{} \leq \equivrep{f}{}$.Line 216 · formula, formula-context, reference · records
projected-formula-0002732 projected-formula-0002733 projected-formula-0002734 projected-formula-0002735 projected-formula-0002736 reference-000108(We will invoke \olref{thm:cauchyorderedfield} as we go.) Let $h \in S$ and[olref reference to sfr:arith:cauchy:thm:cauchyorderedfield]Line 217 · formula, formula-context · records
projected-formula-0002735 projected-formula-0002736 projected-formula-0002737 projected-formula-0002738suppose, for reductio, that $\equivrep{f}{} < \equivrep{h}{}$, so thatLine 218 · formula, formula-context · records
projected-formula-0002736 projected-formula-0002737 projected-formula-0002738 projected-formula-0002739$0_\Real < \equivrep{(h-f)}{}$. Since $f$ is a monotonicallyLine 219 · formula, formula-context · records
projected-formula-0002737 projected-formula-0002738 projected-formula-0002739 projected-formula-0002740decreasing Cauchy sequence, there is some $n \in \Nat$ such thatLine 220 · formula, formula-context · records
projected-formula-0002739 projected-formula-0002740 projected-formula-0002741$\equivrep{(c_{f(n)} - f)}{} < \equivrep{(h-f)}{}$. So:Line 221 · formula, formula-context · records
projected-formula-0002740 projected-formula-0002741\[Line 222 · formula-context · records
projected-formula-0002741(f(n))_\Real = \equivrep{c_{f(n)}}{} < \equivrep{f}{} + \equivrep{(h-f)}{} = \equivrep{h}{},Line 223 · formula-context · records
projected-formula-0002742\]Line 224 · formula · records
projected-formula-0002742contradicting the fact that, by construction, $\equivrep{h}{} \leq (f(n))_\Real$.Line 226 · formula, source-correction · records
TR006-SOURCE-PROSE-009 projected-formula-0002743 projected-formula-0002744 projected-formula-0002745 projected-formula-0002746 projected-formula-0002747 projected-formula-0002748 projected-formula-0002749 projected-formula-0002750 projected-formula-0002751 projected-formula-0002752 projected-formula-0002753 projected-formula-0002754We next show that $\equivrep{f}{} = \equivrep{g}{}$ is the \emph{least} upper bound on $S$. So let $j$ be any Cauchy sequence and suppose $\equivrep{j}{} < \equivrep{g}{}$. Reasoning as above (using the fact that $g$ is \emph{increasing}), there is $n \in \Nat$ such that $\equivrep{j}{} < (g(n))_\Real$. But by construction there is $h \in S$ such that $(g(n))_\Real \leq \equivrep{h}{}$, so $\equivrep{j}{} < \equivrep{h}{}$ and therefore $\equivrep{j}{}$ is not an upper bound on $S$.Line 227 · formula-context · records
projected-formula-0002743 projected-formula-0002744 projected-formula-0002745 projected-formula-0002746 projected-formula-0002747 projected-formula-0002748 projected-formula-0002749 projected-formula-0002750 projected-formula-0002751 projected-formula-0002752 projected-formula-0002753 projected-formula-0002754\end{proof}
content/sets-functions-relations/sets-functions-relations-complete.tex
0 exact source-coordinate anchors materialized from the accepted slice ledgers.
content/sets-functions-relations/infinite/infinite.tex
0 exact source-coordinate anchors materialized from the accepted slice ledgers.