A different trailhead: constructing the reals from Cauchy sequences
import /Freeks/reals.book(section 2 まで)
A different trailhead: construct the reals from Cauchy sequences of rational numbers. Rather than the axiomatic reals of reals.book, we start from \(\mathbb{Q}\) alone and posit the reals, lim, and the quotient map (sequences whose difference tends to 0 have the same limit) as axioms, then build real arithmetic.
1 Axioms for the reals
word(,s) …
\(\mathbb{R}\)word(s,s)F …
\(\lim\)Let \(C\) be the set of Cauchy sequences of rational numbers. \(\lim\) is a surjection from \(C\) onto \(\mathbb{R}\), and \(\lim s = \lim t\) holds exactly when \(s - t\) converges to 0 (the quotient map). A rational number \(q\) is the limit of the constant sequence.
RealC …
\(\forall s \, ( s \in C \Longleftrightarrow s \in \mathbb{M} \to \mathbb{Q} , \forall e \in \mathbb{Q} . ( 0 < e \Longrightarrow \exists N \in \mathbb{M} . \forall m \in \mathbb{M} . \forall n \in \mathbb{M} . ( N \le m , N \le n \Longrightarrow s ( m ) + ( - ( s ( n ) ) ) \le e , s ( n ) + ( - ( s ( m ) ) ) \le e ) ) )\) Real𝕄 …
\(\begin{cases} s \in C \Longrightarrow \lim ( s ) \in \mathbb{R} \\ x \in \mathbb{R} \Longrightarrow \exists s \in C . x = \lim ( s ) \\ s , t \in C \Longrightarrow ( \lim ( s ) = \lim ( t ) \Longleftrightarrow \forall e \in \mathbb{Q} . ( 0 < e \Longrightarrow \exists N \in \mathbb{M} . \forall n \in \mathbb{M} . ( N \le n \Longrightarrow s ( n ) + ( - ( t ( n ) ) ) \le e , t ( n ) + ( - ( s ( n ) ) ) \le e ) ) ) \\ q \in \mathbb{Q} \Longrightarrow q \in \mathbb{R} , \lim ( \mathbb{M} \times \{ q \} ) = q \end{cases}\) 2 The sum of sequences is Cauchy
The termwise sum of Cauchy sequences \(s, t\) is again Cauchy: \(s + t\) (take \(\varepsilon/2\) for each).
Es …
\(s , t \in C \Longrightarrow \exists u \in \mathbb{M} \to \mathbb{Q} . \forall n \in \mathbb{M} . u ( n ) = s ( n ) + t ( n )\) \(\blacktriangleleft\) RealC ,ax_s ,+∈ℚ ,\(\mathbb{W}.\) ,AxℤThe values of a sequence are rational: if \(s : \mathbb{N} \to \mathbb{Q}\) then \(s_n \in \mathbb{Q}\) (the meaning of \(\mathrm{ap}\); this series of books has no prop defining \(\mathrm{ap}\), so we posit it as an assumption).
Rap …
\(s \in \mathbb{M} \to \mathbb{Q} , n \in \mathbb{M} \Longrightarrow s ( n ) \in \mathbb{Q}\) 3 Laws of ordered fields
The order is determined by "the difference is a nonnegative fraction": \(x \le y \iff 0 \le y - x\). The laws of an ordered field follow from the sum, the product, antisymmetry, and totality of nonnegative numbers.
Ks …
\(x , y \in \mathbb{Q} \Longrightarrow ( x \le y \Longleftrightarrow 0 \le y + ( - x ) )\) \(\blacktriangleleft\) ≤ℚ ,QR ,L01 ,\(\mathbb{W}.\) ,AxℤKn …
\(z \in \mathbb{Q} , 0 \le z \Longrightarrow \exists r \in \mathbb{M} . \exists s \in \mathbb{M} ^{\times} . s \cdot z = r\) \(\blacktriangleleft\) ≤ℚ ,QR ,÷ℚ ,\(\mathbb{W}.\) ,AxℤKq …
\(q \in \mathbb{Q} , a \in \mathbb{M} , b \in \mathbb{M} ^{\times} , b \cdot q = a \Longrightarrow 0 \le q\) \(\blacktriangleleft\) Ldiv ,Lle ,QR ,L01 ,\(\mathbb{W}.\) ,AxℤO1 …
\(x \in \mathbb{Q} \Longrightarrow x \le x\) \(\blacktriangleleft\) Ks ,Kq ,QR ,L01 ,\(\mathbb{W}.\) ,AxℤKp …
\(x , y \in \mathbb{Q} , 0 \le x , 0 \le y \Longrightarrow 0 \le x + y\) \(\blacktriangleleft\) Kn ,Kq ,QR ,⋅𝕄:D ,ℤ⊂ℚ ,\(\mathbb{W}.\) ,AxℤKm …
\(x , y \in \mathbb{Q} , 0 \le x , 0 \le y \Longrightarrow 0 \le x \cdot y\) \(\blacktriangleleft\) Kn ,Kq ,QR ,⋅𝕄:D ,ℤ⊂ℚ ,\(\mathbb{W}.\) ,AxℤKz …
\(x \in \mathbb{Q} , 0 \le x , 0 \le - x \Longrightarrow x = 0\) \(\blacktriangleleft\) Kn ,LQc ,QR ,⋅𝕄:D ,ℤ⊂ℚ ,\(\mathbb{W}.\) ,AxℤKt …
\(x \in \mathbb{Q} \Longrightarrow 0 \le x \mathbin{\rm o\!r} 0 \le - x\) \(\blacktriangleleft\) Kq ,QR ,÷ℚ ,\(\mathbb{W}.\) ,AxℤO2 …
\(x , y , z \in \mathbb{Q} , x \le y \le z \Longrightarrow x \le z\) \(\blacktriangleleft\) Ks ,Kp ,QR ,\(\mathbb{W}.\) ,AxℤO3 …
\(x , y \in \mathbb{Q} , x \le y , y \le x \Longrightarrow x = y\) \(\blacktriangleleft\) Ks ,Kz ,QR ,\(\mathbb{W}.\) ,AxℤO4 …
\(x , y \in \mathbb{Q} \Longrightarrow x \le y \mathbin{\rm o\!r} y \le x\) \(\blacktriangleleft\) Ks ,Kt ,QR ,\(\mathbb{W}.\) ,AxℤO5 …
\(x , y , z \in \mathbb{Q} , x \le y \Longrightarrow x + z \le y + z\) \(\blacktriangleleft\) Ks ,QR ,\(\mathbb{W}.\) ,AxℤN1 …
\(z \in \mathbb{Q} , 0 \le z \Longrightarrow \exists r \in \mathbb{M} . \exists s \in \mathbb{M} ^{\times} . z = r / s\) \(\blacktriangleleft\) Kn ,Ldiv ,ℤ⊂ℚ ,\(\mathbb{W}.\) ,AxℤO6 …
\(x , y , z \in \mathbb{Q} , 0 \le z , x \le y \Longrightarrow z \cdot x \le z \cdot y\) \(\blacktriangleleft\) Ks ,Km ,QR ,\(\mathbb{W}.\) ,Axℤ