Topology (Munkres)
Standard Library: The real numbers
Axioms and Definitions
The field structure
$\reals$ is a set.
LaTeX source
\begin{signature}
\label{sig1}
$\reals$ is a set.
\end{signature}
$x + y$ is a set.
LaTeX source
\begin{signature}
\label{sig3}
$x + y$ is a set.
\end{signature}
$x \rmul y$ is a set.
LaTeX source
\begin{signature}
\label{sig4}
$x \rmul y$ is a set.
\end{signature}
For all $a, b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
LaTeX source
\begin{axiom}
\label{real_add_closed}
For all $a, b\in\reals$ we have $a + b\in\reals$.
\end{axiom}
For all $a, b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $a \rmul b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
LaTeX source
\begin{axiom}
\label{real_mul_closed}
For all $a, b\in\reals$ we have $a \rmul b\in\reals$.
\end{axiom}
For all $a, b, c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $(a + b) + c = a + (b + c)$.
LaTeX source
\begin{axiom}
\label{real_add_assoc}
For all $a, b, c\in\reals$ we have $(a + b) + c = a + (b + c)$.
\end{axiom}
For all $a, b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $a + b = b + a$.
LaTeX source
\begin{axiom}
\label{real_add_comm}
For all $a, b\in\reals$ we have $a + b = b + a$.
\end{axiom}
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $0 + a = a$.
LaTeX source
\begin{axiom}
\label{real_add_ident}
$0\in\reals$ and for all $a\in\reals$ we have $0 + a = a$.
\end{axiom}
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $\neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + \neg{a} = 0$.
LaTeX source
\begin{axiom}
\label{real_add_inverse}
For all $a\in\reals$ we have $\neg{a}\in\reals$ and $a + \neg{a} = 0$.
\end{axiom}
For all $a, b, c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $(a \rmul b) \rmul c = a \rmul (b \rmul c)$.
LaTeX source
\begin{axiom}
\label{real_mul_assoc}
For all $a, b, c\in\reals$ we have $(a \rmul b) \rmul c = a \rmul (b \rmul c)$.
\end{axiom}
For all $a, b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $a \rmul b = b \rmul a$.
LaTeX source
\begin{axiom}
\label{real_mul_comm}
For all $a, b\in\reals$ we have $a \rmul b = b \rmul a$.
\end{axiom}
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $1 \rmul a = a$.
LaTeX source
\begin{axiom}
\label{real_mul_ident}
$1\in\reals$ and $1\neq 0$ and for all $a\in\reals$ we have $1 \rmul a = a$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$.
Then $\inv{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \rmul \inv{a} = 1$.
LaTeX source
\begin{axiom}
\label{real_mul_inverse}
Suppose $a\in\reals$ and $a\neq 0$.
Then $\inv{a}\in\reals$ and $a \rmul \inv{a} = 1$.
\end{axiom}
For all $a, b, c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $a \rmul (b + c) = (a \rmul b) + (a \rmul c)$.
LaTeX source
\begin{axiom}
\label{real_distrib}
For all $a, b, c\in\reals$ we have $a \rmul (b + c) = (a \rmul b) + (a \rmul c)$.
\end{axiom}
$a - b = a + \neg{b}$.
LaTeX source
\begin{definition}
\label{real_sub}
$a - b = a + \neg{b}$.
\end{definition}
$a / b = a \rmul \inv{b}$.
LaTeX source
\begin{definition}
\label{real_div}
$a / b = a \rmul \inv{b}$.
\end{definition}
Number literals
$2 = 1 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_2}
$2 = 1 + 1$.
\end{axiom}
$3 = 2 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_3}
$3 = 2 + 1$.
\end{axiom}
$4 = 3 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_4}
$4 = 3 + 1$.
\end{axiom}
$5 = 4 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_5}
$5 = 4 + 1$.
\end{axiom}
$6 = 5 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_6}
$6 = 5 + 1$.
\end{axiom}
$7 = 6 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_7}
$7 = 6 + 1$.
\end{axiom}
$8 = 7 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_8}
$8 = 7 + 1$.
\end{axiom}
$9 = 8 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_9}
$9 = 8 + 1$.
\end{axiom}
$10 = 9 + 1$.
LaTeX source
\begin{axiom}
\label{def_of_10}
$10 = 9 + 1$.
\end{axiom}
$100 = 10 \rmul 10$.
LaTeX source
\begin{axiom}
\label{def_of_100}
$100 = 10 \rmul 10$.
\end{axiom}
Order relation
The next abbreviation is a hack. The symbol " < " cannot be introduced by axioms. By contrast, the symbol "\rless" is a built-in symbol in Naproche-ZF.
$a < b$ iff $a \rless b$.
LaTeX source
\begin{abbreviation}
\label{real_lt}
$a < b$ iff $a \rless b$.
\end{abbreviation}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a\class{latex-symbol-tip latex-symbol-id-neq}{\neq} b$.
Then $a < b$ or $b < a$.
LaTeX source
\begin{axiom}
\label{real_lt_trichotomy}
Suppose $a\in\reals$ and $b\in\reals$ and $a\neq b$.
Then $a < b$ or $b < a$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a\class{latex-symbol-tip latex-symbol-id-neq}{\neq} b$ and $a < b$.
Then it is wrong that $b < a$.
LaTeX source
\begin{axiom}
\label{real_lt_asym}
Suppose $a\in\reals$ and $b\in\reals$ and $a\neq b$ and $a < b$.
Then it is wrong that $b < a$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$ and $b < c$.
Then $a < c$.
LaTeX source
\begin{axiom}
\label{real_lt_trans}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$ and $a < b$ and $b < c$.
Then $a < c$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$.
Then $a + c < b + c$.
LaTeX source
\begin{axiom}
\label{real_lt_add}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$ and $a < b$.
Then $a + c < b + c$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$ and $0 < c$.
Then $a \rmul c < b \rmul c$.
LaTeX source
\begin{axiom}
\label{real_lt_mul_pos}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$ and $a < b$ and $0 < c$.
Then $a \rmul c < b \rmul c$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then it is wrong that $a < a$.
LaTeX source
\begin{axiom}
\label{real_lt_irreflexive}
Suppose $a\in\reals$.
Then it is wrong that $a < a$.
\end{axiom}
$a > b$ iff $b < a$.
LaTeX source
\begin{abbreviation}
\label{real_gt}
$a > b$ iff $b < a$.
\end{abbreviation}
$a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ iff $a < b$ or $a = b$.
LaTeX source
\begin{abbreviation}
\label{real_at_most}
$a \leq b$ iff $a < b$ or $a = b$.
\end{abbreviation}
$a \class{latex-symbol-tip latex-symbol-id-geq}{\geq} b$ iff $b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$.
LaTeX source
\begin{abbreviation}
\label{real_at_least}
$a \geq b$ iff $b \leq a$.
\end{abbreviation}
$a$ is positive iff $a > 0$.
LaTeX source
\begin{abbreviation}
\label{real_positive}
$a$ is positive iff $a > 0$.
\end{abbreviation}
$a$ is nonnegative iff $a \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$.
LaTeX source
\begin{abbreviation}
\label{real_nonnegative}
$a$ is nonnegative iff $a \geq 0$.
\end{abbreviation}
$a$ is negative iff $a < 0$.
LaTeX source
\begin{abbreviation}
\label{real_negative}
$a$ is negative iff $a < 0$.
\end{abbreviation}
$a$ is nonpositive iff $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 0$.
LaTeX source
\begin{abbreviation}
\label{real_nonpositive}
$a$ is nonpositive iff $a \leq 0$.
\end{abbreviation}
$b$ is an upper bound of $A$ iff $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
LaTeX source
\begin{definition}
\label{real_upper_bound}
$b$ is an upper bound of $A$ iff $b\in\reals$ and $A\subseteq\reals$ and for all $a\in A$ we have $a \leq b$.
\end{definition}
$A$ is bounded above iff there exists $b$ such that $b$ is an upper bound of $A$.
LaTeX source
\begin{definition}
\label{real_bounded_above}
$A$ is bounded above iff there exists $b$ such that $b$ is an upper bound of $A$.
\end{definition}
$b$ is a lower bound of $A$ iff $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$.
LaTeX source
\begin{definition}
\label{real_lower_bound}
$b$ is a lower bound of $A$ iff $b\in\reals$ and $A\subseteq\reals$ and for all $a\in A$ we have $b \leq a$.
\end{definition}
$A$ is bounded below iff there exists $b$ such that $b$ is a lower bound of $A$.
LaTeX source
\begin{definition}
\label{real_bounded_below}
$A$ is bounded below iff there exists $b$ such that $b$ is a lower bound of $A$.
\end{definition}
$A$ is bounded iff $A$ is bounded above and $A$ is bounded below.
LaTeX source
\begin{definition}
\label{real_bounded}
$A$ is bounded iff $A$ is bounded above and $A$ is bounded below.
\end{definition}
$p$ is a supremum of $A$ iff $p$ is an upper bound of $A$ and for all $b$ such that $b$ is an upper bound of $A$ we have $p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
LaTeX source
\begin{definition}
\label{real_supremum}
$p$ is a supremum of $A$ iff $p$ is an upper bound of $A$ and for all $b$ such that $b$ is an upper bound of $A$ we have $p \leq b$.
\end{definition}
$p$ is an infimum of $A$ iff $p$ is a lower bound of $A$ and for all $b$ such that $b$ is a lower bound of $A$ we have $p \class{latex-symbol-tip latex-symbol-id-geq}{\geq} b$.
LaTeX source
\begin{definition}
\label{real_infimum}
$p$ is an infimum of $A$ iff $p$ is a lower bound of $A$ and for all $b$ such that $b$ is a lower bound of $A$ we have $p \geq b$.
\end{definition}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $A$ is bounded above.
Then there exists $p$ such that $p$ is a supremum of $A$.
LaTeX source
\begin{axiom}
\label{real_completeness_axiom}
Suppose $A\subseteq\reals$ and $A\neq \emptyset$ and $A$ is bounded above.
Then there exists $p$ such that $p$ is a supremum of $A$.
\end{axiom}
$m$ is a maximum of $A$ iff $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$.
LaTeX source
\begin{definition}
\label{real_maximum}
$m$ is a maximum of $A$ iff $m\in A$ and for all $a\in A$ we have $a \leq m$.
\end{definition}
$m$ is a minimum of $A$ iff $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$.
LaTeX source
\begin{definition}
\label{real_minimum}
$m$ is a minimum of $A$ iff $m\in A$ and for all $a\in A$ we have $m \leq a$.
\end{definition}
$\intervalclosed{a}{b} = \{x \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals \mid a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b\}$.
LaTeX source
\begin{definition}
\label{intervalclosed}
$\intervalclosed{a}{b} = \{x \in \reals \mid a \leq x \leq b\}$.
\end{definition}
$\intervalopen{a}{b} = \{ x \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals \mid a < x < b\}$.
LaTeX source
\begin{definition}
\label{intervalopen}
$\intervalopen{a}{b} = \{ x \in \reals \mid a < x < b\}$.
\end{definition}
$\intervalopenInfiniteLeft{b} = \{ x \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals \mid x < b\}$.
LaTeX source
\begin{definition}
\label{intervalopen_infinite_left}
$\intervalopenInfiniteLeft{b} = \{ x \in \reals \mid x < b\}$.
\end{definition}
$\intervalopenInfiniteRight{a} = \{ x \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals \mid x > a\}$.
LaTeX source
\begin{definition}
\label{intervalopen_infinite_right}
$\intervalopenInfiniteRight{a} = \{ x \in \reals \mid x > a\}$.
\end{definition}
$\intervalclosedInfiniteLeft{b} = \{ x \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals \mid x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b\}$.
LaTeX source
\begin{definition}
\label{intervalclosed_infinite_left}
$\intervalclosedInfiniteLeft{b} = \{ x \in \reals \mid x \leq b\}$.
\end{definition}
$\intervalclosedInfiniteRight{a} = \{ x \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals \mid x \class{latex-symbol-tip latex-symbol-id-geq}{\geq} a\}$.
LaTeX source
\begin{definition}
\label{intervalclosed_infinite_right}
$\intervalclosedInfiniteRight{a} = \{ x \in \reals \mid x \geq a\}$.
\end{definition}
Natural numbers
$\naturalsPlus$ is a set.
LaTeX source
\begin{signature}
\label{sig2}
$\naturalsPlus$ is a set.
\end{signature}
$\naturalsPlus \class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \reals$.
LaTeX source
\begin{axiom}
\label{real_naturals_subset_reals}
$\naturalsPlus \subseteq \reals$.
\end{axiom}
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
LaTeX source
\begin{axiom}
\label{real_one_in_naturals}
$1\in\naturalsPlus$.
\end{axiom}
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $1 < n$ or $1 = n$.
LaTeX source
\begin{axiom}
\label{real_one_leq_naturalsplus}
For all $n\in\naturalsPlus$ we have $1 < n$ or $1 = n$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose $a < n + 1$ or $a = n + 1$.
Then $a < n$ or $a = n$ or $a = n + 1$.
LaTeX source
\begin{axiom}
\label{real_succ_discrete}
Suppose $a\in\naturalsPlus$ and $n\in\naturalsPlus$.
Suppose $a < n + 1$ or $a = n + 1$.
Then $a < n$ or $a = n$ or $a = n + 1$.
\end{axiom}
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
LaTeX source
\begin{axiom}
\label{real_naturals_closed_succ}
For all $n\in\naturalsPlus$ we have $n + 1\in\naturalsPlus$.
\end{axiom}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Then $\naturalsPlus \class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$.
LaTeX source
\begin{axiom}
\label{real_naturals_smallest}
Suppose $A\subseteq\reals$ and $1\in A$ and for all $n\in A$ we have $n + 1\in A$.
Then $\naturalsPlus \subseteq A$.
\end{axiom}
$\naturals = \naturalsPlus \union \{0\}$.
LaTeX source
\begin{definition}
\label{naturals}
$\naturals = \naturalsPlus \union \{0\}$.
\end{definition}
$n$ is a natural number iff $n\class{latex-symbol-tip latex-symbol-id-in}{\in} \naturals$.
LaTeX source
\begin{abbreviation}
\label{num_naturalnumber}
$n$ is a natural number iff $n\in \naturals$.
\end{abbreviation}
Integers
$\integers = \{x \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals \mid \text{$x \in \naturalsPlus$ or $x=0$ or $\neg{x} \in \naturalsPlus$}\}$.
LaTeX source
\begin{definition}
\label{real_integers}
$\integers = \{x \in \reals \mid \text{$x \in \naturalsPlus$ or $x=0$ or $\neg{x} \in \naturalsPlus$}\}$.
\end{definition}
$x$ is an integer iff $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$.
LaTeX source
\begin{abbreviation}
\label{real_integer}
$x$ is an integer iff $x\in\integers$.
\end{abbreviation}
Rational numbers
$\rationals = \{ a / b \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers, b\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{0\}\}$.
LaTeX source
\begin{definition}
\label{real_rationals}
$\rationals = \{ a / b \mid a\in\integers, b\in\integers\setminus\{0\}\}$.
\end{definition}
$x$ is rational iff $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\rationals$.
LaTeX source
\begin{abbreviation}
\label{real_rational}
$x$ is rational iff $x\in\rationals$.
\end{abbreviation}
$x$ is irrational iff $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\rationals$.
LaTeX source
\begin{abbreviation}
\label{real_irrational}
$x$ is irrational iff $x\in\reals$ and $x\notin\rationals$.
\end{abbreviation}
Absolute values
$\abs{a}$ is a set.
LaTeX source
\begin{signature}
\label{sig8}
$\abs{a}$ is a set.
\end{signature}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$.
Then $\abs{a} = a$.
LaTeX source
\begin{axiom}
\label{real_abs_nonneg}
Suppose $a\in\reals$ and $a \geq 0$.
Then $\abs{a} = a$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < 0$.
Then $\abs{a} = \neg{a}$.
LaTeX source
\begin{axiom}
\label{real_abs_neg}
Suppose $a\in\reals$ and $a < 0$.
Then $\abs{a} = \neg{a}$.
\end{axiom}
Integer powers
$\exp{x}{y}$ is a set.
LaTeX source
\begin{signature}
\label{sig7}
$\exp{x}{y}$ is a set.
\end{signature}
For all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $\exp{a}{1} = a$.
LaTeX source
\begin{axiom}
\label{real_pow_one}
For all $a\in\reals$ we have $\exp{a}{1} = a$.
\end{axiom}
For all $a, n$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\exp{a}{n+1} = \exp{a}{n} \rmul a$.
LaTeX source
\begin{axiom}
\label{real_pow_succ}
For all $a, n$ such that $a\in\reals$ and $n\in\naturalsPlus$ we have $\exp{a}{n+1} = \exp{a}{n} \rmul a$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$.
Then $\exp{a}{0} = 1$.
LaTeX source
\begin{axiom}
\label{real_pow_zero}
Suppose $a\in\reals$ and $a\neq 0$.
Then $\exp{a}{0} = 1$.
\end{axiom}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $\exp{a}{\neg{n}} = 1 / (\exp{a}{n})$.
LaTeX source
\begin{axiom}
\label{real_pow_neg}
Suppose $a\in\reals$ and $a\neq 0$ and $n\in\naturalsPlus$.
Then $\exp{a}{\neg{n}} = 1 / (\exp{a}{n})$.
\end{axiom}
Square roots
$\sqrt{x}$ is a set.
LaTeX source
\begin{signature}
\label{sig9}
$\sqrt{x}$ is a set.
\end{signature}
Suppose that $x \class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $x \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$.
Then $\sqrt{x} \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals$ and $\sqrt{x} \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$ and $\sqrt{x} \rmul \sqrt{x} = x$.
LaTeX source
\begin{axiom}
\label{positive_square_root}
Suppose that $x \in\reals$ and $x \geq 0$.
Then $\sqrt{x} \in \reals$ and $\sqrt{x} \geq 0$ and $\sqrt{x} \rmul \sqrt{x} = x$.
\end{axiom}
Sequences and finite sums
$\initialSegment{n} = \{k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n\}$.
LaTeX source
\begin{definition}
\label{initial_segment_naturalsplus}
$\initialSegment{n} = \{k\in\naturalsPlus \mid k \leq n\}$.
\end{definition}
$a$ is a finite sequence of real numbers iff there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{n}}{\reals}$.
LaTeX source
\begin{definition}
\label{finite_real_sequence}
$a$ is a finite sequence of real numbers iff
there exists $n\in\naturalsPlus$ such that
$a\in\funs{\initialSegment{n}}{\reals}$.
\end{definition}
$a$ is an infinite sequence of real numbers iff $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{\reals}$.
LaTeX source
\begin{definition}
\label{infinite_real_sequence}
$a$ is an infinite sequence of real numbers iff
$a\in\funs{\naturalsPlus}{\reals}$.
\end{definition}
$s$ is the sequence of partial sums associated with $a$ iff $a$ is an infinite sequence of real numbers and $s$ is an infinite sequence of real numbers and $s(1) = a(1)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $s(n + 1) = s(n) + a(n + 1)$.
LaTeX source
\begin{definition}
\label{partial_sums_sequence}
$s$ is the sequence of partial sums associated with $a$ iff
$a$ is an infinite sequence of real numbers and
$s$ is an infinite sequence of real numbers and
$s(1) = a(1)$ and
for all $n\in\naturalsPlus$ we have
$s(n + 1) = s(n) + a(n + 1)$.
\end{definition}
$x$ is the sum of $a$ iff there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{n}}{\reals}$ and there exists $s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{n}}{\reals}$ such that $s(1) = a(1)$ and for all $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ we have $s(k + 1) = s(k) + a(k + 1)$ and $x = s(n)$.
LaTeX source
\begin{definition}
\label{sum_of_finite_sequence}
$x$ is the sum of $a$ iff
there exists $n\in\naturalsPlus$ such that
$a\in\funs{\initialSegment{n}}{\reals}$ and
there exists $s\in\funs{\initialSegment{n}}{\reals}$ such that
$s(1) = a(1)$ and
for all $k\in\naturalsPlus$ such that $k + 1 \leq n$ we have
$s(k + 1) = s(k) + a(k + 1)$ and
$x = s(n)$.
\end{definition}
Simple consequences of the axioms
Results using only the field structure
Suppose $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $c + a = a$.
Then $c = 0$.
LaTeX source
\begin{proposition}
\label{real_add_ident_unique}
Suppose $c\in\reals$ and for all $a\in\reals$ we have $c + a = a$.
Then $c = 0$.
\end{proposition}
Suppose $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ we have $c \rmul a = a$.
Then $c = 1$.
LaTeX source
\begin{proposition}
\label{real_mul_ident_unique}
Suppose $c\in\reals$ and for all $a\in\reals$ we have $c \rmul a = a$.
Then $c = 1$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b = 0$.
Then $b = \neg{a}$.
LaTeX source
\begin{proposition}
\label{real_add_inverse_unique}
Suppose $a\in\reals$ and $b\in\reals$ and $a + b = 0$.
Then $b = \neg{a}$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \rmul b = 1$.
Then $b = \inv{a}$.
LaTeX source
\begin{proposition}
\label{real_mul_inverse_unique}
Suppose $a\in\reals$ and $a\neq 0$ and $b\in\reals$ and $a \rmul b = 1$.
Then $b = \inv{a}$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a = b$.
Then $a + c = b + c$.
LaTeX source
\begin{proposition}
\label{real_add_eq_subst}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$ and $a = b$.
Then $a + c = b + c$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + c = b + c$.
Then $a = b$.
LaTeX source
\begin{proposition}
\label{real_add_cancel}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$ and $a + c = b + c$.
Then $a = b$.
\end{proposition}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $0 \rmul a = 0$.
LaTeX source
\begin{proposition}
\label{real_mul_zero}
Suppose $a\in\reals$.
Then $0 \rmul a = 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\neg{a} = \neg{1} \rmul a$.
LaTeX source
\begin{proposition}
\label{real_neg_as_mul}
Suppose $a\in\reals$.
Then $\neg{a} = \neg{1} \rmul a$.
\end{proposition}
Proof
Follows by Axiom 13, Axiom 14, Axiom 18, Axiom 20, Axiom 21, Axiom 23, Proposition 435, Proposition 439.
LaTeX source
\begin{proof}
Follows by \cref{real_mul_ident,real_add_inverse,real_add_closed,real_mul_comm,real_distrib,real_mul_zero,real_mul_closed,real_add_inverse_unique}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\neg{(\neg{a})} = a$.
LaTeX source
\begin{proposition}
\label{real_neg_neg}
Suppose $a\in\reals$.
Then $\neg{(\neg{a})} = a$.
\end{proposition}
Proof
Follows by Axiom 16, Axiom 18, Proposition 435.
LaTeX source
\begin{proof}
Follows by \cref{real_add_inverse,real_add_comm,real_add_inverse_unique}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \rmul b = 1$.
Then $a \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$.
LaTeX source
\begin{lemma}
\label{real_mul_unit_left_nonzero}
Suppose $a\in\reals$ and $b\in\reals$ and $a \rmul b = 1$.
Then $a \neq 0$.
\end{lemma}
Proof
Follows by Axiom 21, Proposition 439.
LaTeX source
\begin{proof}
Follows by \cref{real_mul_zero,real_mul_ident}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$.
Then $\inv{\inv{a}} = a$.
LaTeX source
\begin{proposition}
\label{real_inv_inv}
Suppose $a\in\reals$ and $a\neq 0$.
Then $\inv{\inv{a}} = a$.
\end{proposition}
Proof
Follows by Axiom 20, Axiom 22, Lemma 8, Proposition 436.
LaTeX source
\begin{proof}
Follows by \cref{real_mul_inverse,real_mul_comm,real_mul_unit_left_nonzero,real_mul_inverse_unique}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \rmul b = a \rmul c$.
Then $b = c$.
LaTeX source
\begin{proposition}
\label{real_mul_cancel}
Suppose $a\in\reals$ and $a\neq 0$ and $b\in\reals$ and $c\in\reals$ and $a \rmul b = a \rmul c$.
Then $b = c$.
\end{proposition}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \rmul b = 0$.
Then $a = 0$ or $b = 0$.
LaTeX source
\begin{proposition}
\label{real_mul_zero_product}
Suppose $a\in\reals$ and $b\in\reals$ and $a \rmul b = 0$.
Then $a = 0$ or $b = 0$.
\end{proposition}
Proof
Follows by Axiom 19, Axiom 21, Axiom 22, Proposition 439.
LaTeX source
\begin{proof}
Follows by \cref{real_mul_inverse,real_mul_assoc,real_mul_zero,real_mul_ident}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(a + b) \rmul c = (a \rmul c) + (b \rmul c)$.
LaTeX source
\begin{lemma}
\label{real_right_distrib}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$.
Then $(a + b) \rmul c = (a \rmul c) + (b \rmul c)$.
\end{lemma}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $a \rmul \neg{b} = \neg{(a \rmul b)}$.
LaTeX source
\begin{lemma}
\label{real_mul_neg_right}
Suppose $a\in\reals$ and $b\in\reals$.
Then $a \rmul \neg{b} = \neg{(a \rmul b)}$.
\end{lemma}
Proof
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $w\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(x + y) + (z + w) = (x + (y + z)) + w$.
LaTeX source
\begin{lemma}
\label{real_add_regroup}
Suppose $x\in\reals$ and $y\in\reals$ and $z\in\reals$ and $w\in\reals$.
Then $(x + y) + (z + w) = (x + (y + z)) + w$.
\end{lemma}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\neg{(a + b)} = \neg{a} + \neg{b}$.
LaTeX source
\begin{lemma}
\label{real_neg_addition}
Suppose $a\in\reals$ and $b\in\reals$.
Then $\neg{(a + b)} = \neg{a} + \neg{b}$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $a - (a - b) = b$.
LaTeX source
\begin{lemma}
\label{real_sub_sub_cancel}
Suppose $a\in\reals$ and $b\in\reals$.
Then $a - (a - b) = b$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $b - a = \neg{(a - b)}$.
LaTeX source
\begin{lemma}
\label{real_sub_swap_neg}
Suppose $a\in\reals$ and $b\in\reals$.
Then $b - a = \neg{(a - b)}$.
\end{lemma}
Miscellaneous results (involving natural numbers and powers)
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
LaTeX source
\begin{proposition}
\label{real_naturals_induction}
Suppose $A\subseteq\naturalsPlus$ and $1\in A$ and for all $n\in A$ we have $n + 1\in A$.
Then for all $n\in\naturalsPlus$ we have $n\in A$.
\end{proposition}
$\exp{\neg{1}}{2} = 1$.
LaTeX source
\begin{proposition}
\label{real_neg_one_square}
$\exp{\neg{1}}{2} = 1$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(a + b) \rmul (a - b) = \exp{a}{2} - \exp{b}{2}$.
LaTeX source
\begin{proposition}
\label{real_diff_squares}
Suppose $a\in\reals$ and $b\in\reals$.
Then $(a + b) \rmul (a - b) = \exp{a}{2} - \exp{b}{2}$.
\end{proposition}
Proof
We have $(a + b) \rmul (a - b) = ((a \rmul a) + 0) + \neg{(b \rmul b)}$ by Axiom 13, Axiom 14, Axiom 18, Axiom 20, Axiom 23, Definition 64, Lemma 9, Lemma 10, Lemma 11.
Thus $(a + b) \rmul (a - b) = \exp{a}{2} - \exp{b}{2}$ by Axiom 14, Axiom 15, Axiom 17, Axiom 18, Axiom 24, Axiom 42, Axiom 49, Axiom 50, Definition 64.
LaTeX source
\begin{proof}
We have $(a + b) \rmul (a - b) = ((a \rmul a) + 0) + \neg{(b \rmul b)}$
by \cref{real_sub,real_add_closed,real_add_inverse,real_distrib,real_mul_closed,real_right_distrib,real_add_regroup,real_mul_comm,real_mul_neg_right}.
Thus $(a + b) \rmul (a - b) = \exp{a}{2} - \exp{b}{2}$ by \cref{def_of_2,real_mul_closed,real_add_ident,real_add_inverse,real_add_assoc,real_one_in_naturals,real_pow_succ,real_pow_one,real_sub}.
\end{proof}
$4 = 2 \rmul 2$.
LaTeX source
\begin{lemma}
\label{lemma_4_eq_2_times_2}
$4 = 2 \rmul 2$.
\end{lemma}
$6 = 3 \rmul 2$.
LaTeX source
\begin{lemma}
\label{lemma_6_eq_3_times_2}
$6 = 3 \rmul 2$.
\end{lemma}
Proof
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 21.
$2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 24.
$3\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 25.
We have $3 \rmul 2 = 3 + 3$ by Axiom 20, Axiom 21, Axiom 23, Axiom 24.
We have $3 + 3 = 6$ by Axiom 15, Axiom 24, Axiom 25, Axiom 26, Axiom 27, Axiom 28.
Thus $6 = 3 \rmul 2$.
LaTeX source
\begin{proof}
$1\in\reals$ by \cref{real_mul_ident}.
$2\in\reals$ by \cref{def_of_2,real_add_closed}.
$3\in\reals$ by \cref{def_of_3,real_add_closed}.
We have $3 \rmul 2 = 3 + 3$ by \cref{def_of_2,real_distrib,real_mul_comm,real_mul_ident}.
We have $3 + 3 = 6$ by \cref{def_of_2,def_of_3,def_of_4,def_of_5,def_of_6,real_add_assoc}.
Thus $6 = 3 \rmul 2$.
\end{proof}
Results involving the order relation (but no absolute values)
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a$ is positive and $b$ is positive.
Then $a + b$ is positive.
LaTeX source
\begin{proposition}
\label{real_pos_add}
Suppose $a\in\reals$ and $b\in\reals$ and $a$ is positive and $b$ is positive.
Then $a + b$ is positive.
\end{proposition}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a$ is negative and $b$ is negative.
Then $a + b$ is negative.
LaTeX source
\begin{proposition}
\label{real_neg_add}
Suppose $a\in\reals$ and $b\in\reals$ and $a$ is negative and $b$ is negative.
Then $a + b$ is negative.
\end{proposition}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$ and $c < d$.
Then $a + c < b + d$.
LaTeX source
\begin{proposition}
\label{real_lt_add_two}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$ and $d\in\reals$ and $a < b$ and $c < d$.
Then $a + c < b + d$.
\end{proposition}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a > 0$.
Then $\neg{a} < 0$.
LaTeX source
\begin{proposition}
\label{real_pos_imp_neg}
Suppose $a\in\reals$ and $a > 0$.
Then $\neg{a} < 0$.
\end{proposition}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{a} < 0$.
Then $a > 0$.
LaTeX source
\begin{proposition}
\label{real_neg_imp_pos}
Suppose $a\in\reals$ and $\neg{a} < 0$.
Then $a > 0$.
\end{proposition}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $a$ is positive and $b$ is positive and $c$ is positive and $d$ is positive.
Suppose $a < b$ and $c < d$.
Then $a \rmul c < b \rmul d$.
LaTeX source
\begin{proposition}
\label{real_lt_mul_pos_two}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$ and $d\in\reals$.
Suppose $a$ is positive and $b$ is positive and $c$ is positive and $d$ is positive.
Suppose $a < b$ and $c < d$.
Then $a \rmul c < b \rmul d$.
\end{proposition}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a$ is positive and $b$ is positive.
Then $a \rmul b$ is positive.
LaTeX source
\begin{lemma}
\label{real_mul_pos_pos}
Suppose $a\in\reals$ and $b\in\reals$ and $a$ is positive and $b$ is positive.
Then $a \rmul b$ is positive.
\end{lemma}
Proof
Follows by Axiom 17, Axiom 38, Proposition 439.
LaTeX source
\begin{proof}
Follows by \cref{real_add_ident,real_lt_mul_pos,real_mul_zero}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a$ is positive and $b$ is negative.
Then $a \rmul b$ is negative.
LaTeX source
\begin{lemma}
\label{real_mul_pos_neg}
Suppose $a\in\reals$ and $b\in\reals$ and $a$ is positive and $b$ is negative.
Then $a \rmul b$ is negative.
\end{lemma}
Proof
Follows by Axiom 14, Axiom 18, Lemma 10, Lemma 17, Proposition 441, Proposition 451, Proposition 452.
LaTeX source
\begin{proof}
Follows by \cref{real_add_inverse,real_neg_neg,real_neg_imp_pos,real_mul_pos_pos,real_mul_neg_right,real_mul_closed,real_pos_imp_neg}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a$ is negative and $b$ is negative.
Then $a \rmul b$ is positive.
LaTeX source
\begin{lemma}
\label{real_mul_neg_neg}
Suppose $a\in\reals$ and $b\in\reals$ and $a$ is negative and $b$ is negative.
Then $a \rmul b$ is positive.
\end{lemma}
Proof
Follows by Axiom 18, Axiom 20, Lemma 10, Lemma 17, Proposition 441, Proposition 452.
LaTeX source
\begin{proof}
Follows by \cref{real_add_inverse,real_neg_neg,real_neg_imp_pos,real_mul_pos_pos,real_mul_neg_right,real_mul_comm}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a > 0$.
Then $a \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$.
LaTeX source
\begin{lemma}
\label{real_pos_nonzero}
Suppose $a\in\reals$ and $a > 0$.
Then $a \neq 0$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < 0$.
Then $a \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$.
LaTeX source
\begin{lemma}
\label{real_neg_nonzero}
Suppose $a\in\reals$ and $a < 0$.
Then $a \neq 0$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a$ is positive and $b$ is positive.
Then $a \rmul b > 0$.
LaTeX source
\begin{proposition}
\label{real_mul_pos_pos_gt}
Suppose $a\in\reals$ and $b\in\reals$ and $a$ is positive and $b$ is positive.
Then $a \rmul b > 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a$ is negative and $b$ is negative.
Then $a \rmul b > 0$.
LaTeX source
\begin{proposition}
\label{real_mul_neg_neg_gt}
Suppose $a\in\reals$ and $b\in\reals$ and $a$ is negative and $b$ is negative.
Then $a \rmul b > 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \rmul b > 0$.
Then either $a > 0$ and $b > 0$ or $a < 0$ and $b < 0$.
LaTeX source
\begin{proposition}
\label{real_mul_pos_same_sign_rev}
Suppose $a\in\reals$ and $b\in\reals$ and $a \rmul b > 0$.
Then either $a > 0$ and $b > 0$ or $a < 0$ and $b < 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < 0$ and $0 < b$.
Then $a \rmul b < 0$.
LaTeX source
\begin{proposition}
\label{real_mul_neg_opposite_sign_left}
Suppose $a\in\reals$ and $b\in\reals$ and $a < 0$ and $0 < b$.
Then $a \rmul b < 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b < 0$ and $0 < a$.
Then $a \rmul b < 0$.
LaTeX source
\begin{proposition}
\label{real_mul_neg_opposite_sign_right}
Suppose $a\in\reals$ and $b\in\reals$ and $b < 0$ and $0 < a$.
Then $a \rmul b < 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \rmul b < 0$.
Then either $a < 0$ and $0 < b$ or $b < 0$ and $0 < a$.
LaTeX source
\begin{proposition}
\label{real_mul_neg_opposite_sign_rev}
Suppose $a\in\reals$ and $b\in\reals$ and $a \rmul b < 0$.
Then either $a < 0$ and $0 < b$ or $b < 0$ and $0 < a$.
\end{proposition}
Proof
Suppose not.
Thus $a \rmul b \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 14, Lemma 21.
Contradiction by Axiom 14, Axiom 17, Axiom 35, Proposition 454.
Contradiction.
Contradiction by Axiom 14, Axiom 17, Axiom 35, Proposition 455.
Contradiction.
LaTeX source
\begin{byCase}
\caseOf{$0 < a$ and $0 < b$.}
Contradiction by \cref{real_mul_pos_pos_gt,real_add_ident,real_mul_closed,real_lt_asym}.
\caseOf{$0 < a$ and $b < 0$.}
Contradiction.
\caseOf{$a < 0$ and $b < 0$.}
Contradiction by \cref{real_mul_neg_neg_gt,real_add_ident,real_mul_closed,real_lt_asym}.
\caseOf{$a < 0$ and $0 < b$.}
Contradiction.
\end{byCase}
LaTeX source
\begin{proof}
Suppose not.
Thus $a \rmul b \neq 0$ by \cref{real_mul_closed,real_neg_nonzero}.
\begin{byCase}
\caseOf{$0 < a$ and $0 < b$.}
Contradiction by \cref{real_mul_pos_pos_gt,real_add_ident,real_mul_closed,real_lt_asym}.
\caseOf{$0 < a$ and $b < 0$.}
Contradiction.
\caseOf{$a < 0$ and $b < 0$.}
Contradiction by \cref{real_mul_neg_neg_gt,real_add_ident,real_mul_closed,real_lt_asym}.
\caseOf{$a < 0$ and $0 < b$.}
Contradiction.
\end{byCase}
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a$ is positive and $b$ is positive.
Then $a < b$ iff $\exp{a}{2} < \exp{b}{2}$.
LaTeX source
\begin{proposition}
\label{real_pos_lt_iff_sq_lt}
Suppose $a\in\reals$ and $b\in\reals$ and $a$ is positive and $b$ is positive.
Then $a < b$ iff $\exp{a}{2} < \exp{b}{2}$.
\end{proposition}
Proof
Claim: If $a < b$ then $\exp{a}{2} < \exp{b}{2}$.
Assume $a < b$.
Thus $(b - a) \rmul (a + b) > 0$ by Axiom 13, Axiom 18, Axiom 37, Definition 64, Proposition 448, Proposition 454.
Hence $(a + b) \rmul (b - a) = \exp{b}{2} - \exp{a}{2}$ by Axiom 16, Proposition 447.
Therefore $\exp{b}{2} - \exp{a}{2} > 0$.
We have $\exp{a}{2} = a \rmul a$ by Axiom 24, Axiom 42, Axiom 49, Axiom 50.
Hence $\exp{a}{2}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14.
We have $\exp{b}{2} = b \rmul b$ by Axiom 24, Axiom 42, Axiom 49, Axiom 50.
Hence $\exp{b}{2}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14.
We have $\exp{a}{2} < \exp{b}{2}$ by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Axiom 37, Definition 64.
Claim: If $\exp{a}{2} < \exp{b}{2}$ then $a < b$.
Assume $\exp{a}{2} < \exp{b}{2}$.
Claim: $0 < b - a$.
Suppose not.
Thus either $a + b > 0$ and $b - a > 0$ or $a + b < 0$ and $b - a < 0$ by Axiom 13, Axiom 14, Axiom 16, Axiom 18, Axiom 24, Axiom 37, Axiom 42, Axiom 49, Axiom 50, Definition 64, Proposition 447, Proposition 456.
Contradiction.
Contradiction by Axiom 13, Axiom 17, Axiom 35, Lemma 20, Proposition 448.
LaTeX source
\begin{byCase}
\caseOf{$a + b > 0$ and $b - a > 0$.}
Contradiction.
\caseOf{$a + b < 0$ and $b - a < 0$.}
Contradiction by \cref{real_pos_add,real_add_ident,real_add_closed,real_pos_nonzero,real_lt_asym}.
\end{byCase}
Thus $a < b$ by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Axiom 37, Definition 64.
LaTeX source
\begin{proof}
Show if $a < b$ then $\exp{a}{2} < \exp{b}{2}$.
\begin{subproof}
Assume $a < b$.
Thus $(b - a) \rmul (a + b) > 0$ by \cref{real_pos_add,real_add_closed,real_add_inverse,real_lt_add,real_sub,real_mul_pos_pos_gt}.
Hence $(a + b) \rmul (b - a) = \exp{b}{2} - \exp{a}{2}$ by \cref{real_add_comm,real_diff_squares}.
Therefore $\exp{b}{2} - \exp{a}{2} > 0$.
We have $\exp{a}{2} = a \rmul a$ by \cref{def_of_2,real_one_in_naturals,real_pow_succ,real_pow_one}.
Hence $\exp{a}{2}\in\reals$ by \cref{real_mul_closed}.
We have $\exp{b}{2} = b \rmul b$ by \cref{def_of_2,real_one_in_naturals,real_pow_succ,real_pow_one}.
Hence $\exp{b}{2}\in\reals$ by \cref{real_mul_closed}.
We have $\exp{a}{2} < \exp{b}{2}$ by \cref{real_add_ident,real_lt_add,real_sub,real_add_assoc,real_add_inverse,real_add_comm,real_add_closed}.
\end{subproof}
Show if $\exp{a}{2} < \exp{b}{2}$ then $a < b$.
\begin{subproof}
Assume $\exp{a}{2} < \exp{b}{2}$.
Show $0 < b - a$.
\begin{subproof}
Suppose not.
Thus either $a + b > 0$ and $b - a > 0$ or $a + b < 0$ and $b - a < 0$ by \cref{def_of_2,real_one_in_naturals,real_pow_succ,real_pow_one,real_mul_closed,real_add_inverse,real_lt_add,real_sub,real_add_comm,real_diff_squares,real_add_closed,real_mul_pos_same_sign_rev}.
\begin{byCase}
\caseOf{$a + b > 0$ and $b - a > 0$.}
Contradiction.
\caseOf{$a + b < 0$ and $b - a < 0$.}
Contradiction by \cref{real_pos_add,real_add_ident,real_add_closed,real_pos_nonzero,real_lt_asym}.
\end{byCase}
\end{subproof}
Thus $a < b$ by \cref{real_add_ident,real_add_inverse,real_sub,real_add_closed,real_lt_add,real_add_assoc,real_add_comm}.
\end{subproof}
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\exp{a}{2} \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$.
LaTeX source
\begin{proposition}
\label{real_sq_nonnegative}
Suppose $a\in\reals$.
Then $\exp{a}{2} \geq 0$.
\end{proposition}
$0 < 1$.
LaTeX source
\begin{proposition}
\label{real_zero_lt_one}
$0 < 1$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a > 0$.
Then $\inv{a} > 0$.
LaTeX source
\begin{proposition}
\label{real_inv_pos}
Suppose $a\in\reals$ and $a > 0$.
Then $\inv{a} > 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < 0$.
Then $\inv{a} < 0$.
LaTeX source
\begin{proposition}
\label{real_inv_neg}
Suppose $a\in\reals$ and $a < 0$.
Then $\inv{a} < 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$.
Then $\neg{b} < \neg{a}$.
LaTeX source
\begin{proposition}
\label{real_lt_neg}
Suppose $a\in\reals$ and $b\in\reals$ and $a < b$.
Then $\neg{b} < \neg{a}$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Then $\neg{b} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \neg{a}$.
LaTeX source
\begin{lemma}
\label{real_leq_neg}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Then $\neg{b} \leq \neg{a}$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$.
LaTeX source
\begin{lemma}
\label{real_leq_trans}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$.
Suppose $a \leq b$ and $b \leq c$.
Then $a \leq c$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Then $a + c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b + c$.
LaTeX source
\begin{lemma}
\label{real_leq_add}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$.
Suppose $a \leq b$.
Then $a + c \leq b + c$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$.
Then $a = b$.
LaTeX source
\begin{lemma}
\label{real_leq_antisym}
Suppose $a\in\reals$ and $b\in\reals$.
Suppose $a \leq b$ and $b \leq a$.
Then $a = b$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$.
Then $0 < b - a$.
LaTeX source
\begin{lemma}
\label{real_lt_imp_pos_diff}
Suppose $a\in\reals$ and $b\in\reals$ and $a < b$.
Then $0 < b - a$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < b$.
Then $a - b < a$.
LaTeX source
\begin{lemma}
\label{real_sub_pos_lt}
Suppose $a\in\reals$ and $b\in\reals$ and $0 < b$.
Then $a - b < a$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $a < b$ and $c < 0$.
Then $b \rmul c < a \rmul c$.
LaTeX source
\begin{proposition}
\label{real_lt_mul_neg}
Suppose $a\in\reals$ and $b\in\reals$ and $c\in\reals$.
Suppose $a < b$ and $c < 0$.
Then $b \rmul c < a \rmul c$.
\end{proposition}
Proof
Follows by Axiom 14, Axiom 17, Axiom 18, Axiom 38, Lemma 10, Proposition 441, Proposition 465.
LaTeX source
\begin{proof}
Follows by \cref{real_add_ident,real_lt_neg,real_add_inverse,real_lt_mul_pos,real_mul_neg_right,real_mul_closed,real_neg_neg}.
\end{proof}
Suppose $p$ is a supremum of $A$ and $q$ is a supremum of $A$.
Then $p = q$.
LaTeX source
\begin{proposition}
\label{real_supremum_unique}
Suppose $p$ is a supremum of $A$ and $q$ is a supremum of $A$.
Then $p = q$.
\end{proposition}
Proof
Follows by Definition 66, Definition 71, Lemma 25.
LaTeX source
\begin{proof}
Follows by \cref{real_supremum,real_upper_bound,real_leq_antisym}.
\end{proof}
Suppose $p$ is an infimum of $A$ and $q$ is an infimum of $A$.
Then $p = q$.
LaTeX source
\begin{proposition}
\label{real_infimum_unique}
Suppose $p$ is an infimum of $A$ and $q$ is an infimum of $A$.
Then $p = q$.
\end{proposition}
Proof
Follows by Definition 68, Definition 72, Lemma 25.
LaTeX source
\begin{proof}
Follows by \cref{real_infimum,real_lower_bound,real_leq_antisym}.
\end{proof}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $m$ is a maximum of $A$.
Then $m$ is a supremum of $A$.
LaTeX source
\begin{proposition}
\label{real_maximum_is_supremum}
Suppose $A\subseteq\reals$ and $m$ is a maximum of $A$.
Then $m$ is a supremum of $A$.
\end{proposition}
Proof
Follows by Definition 1, Definition 66, Definition 71, Definition 73.
LaTeX source
\begin{proof}
Follows by \cref{subseteq,real_maximum,real_upper_bound,real_supremum}.
\end{proof}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $p$ is a supremum of $A$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Then $p$ is a maximum of $A$.
LaTeX source
\begin{proposition}
\label{real_supremum_in_set_is_maximum}
Suppose $A\subseteq\reals$ and $p$ is a supremum of $A$ and $p\in A$.
Then $p$ is a maximum of $A$.
\end{proposition}
Proof
Follows by Definition 66, Definition 71, Definition 73.
LaTeX source
\begin{proof}
Follows by \cref{real_supremum,real_upper_bound,real_maximum}.
\end{proof}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $m$ is a maximum of $A$.
Suppose $p$ is a supremum of $A$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Then $m = p$.
LaTeX source
\begin{proposition}
\label{real_maximum_eq_supremum}
Suppose $A\subseteq\reals$ and $m$ is a maximum of $A$.
Suppose $p$ is a supremum of $A$ and $p\in A$.
Then $m = p$.
\end{proposition}
Proof
Follows by Proposition 467, Proposition 469.
LaTeX source
\begin{proof}
Follows by \cref{real_maximum_is_supremum,real_supremum_unique}.
\end{proof}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $A$ is bounded above and $b$ is an upper bound of $A$.
Then $b$ is a supremum of $A$ iff for all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $b - \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < a$.
LaTeX source
\begin{proposition}
\label{real_supremum_characterization}
Suppose $A\subseteq\reals$ and $A$ is bounded above and $b$ is an upper bound of $A$.
Then $b$ is a supremum of $A$ iff for all $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$ there exists $a\in A$ such that $b - \epsilon < a$.
\end{proposition}
Proof
Claim: If $b$ is a supremum of $A$ then for all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $b - \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < a$.
Assume $b$ is a supremum of $A$.
Fix $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Assume $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Follows by Axiom 13, Axiom 18, Axiom 34, Axiom 35, Axiom 39, Definition 1, Definition 64, Definition 66, Definition 71, Lemma 27.
Claim: If for all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $b - \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < a$ then $b$ is a supremum of $A$.
Assume for all $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ such that $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ there exists $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $b - \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < a$.
Follows by Axiom 13, Axiom 18, Axiom 34, Axiom 35, Definition 1, Definition 64, Definition 66, Definition 71, Lemma 13, Lemma 26.
LaTeX source
\begin{proof}
Show if $b$ is a supremum of $A$ then for all $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$ there exists $a\in A$ such that $b - \epsilon < a$.
\begin{subproof}
Assume $b$ is a supremum of $A$.
Fix $\epsilon$.
Assume $\epsilon\in\reals$ and $0 < \epsilon$.
Follows by \cref{subseteq,real_supremum,real_upper_bound,real_add_inverse,real_sub,real_add_closed,real_lt_trichotomy,real_sub_pos_lt,real_lt_irreflexive,real_lt_asym}.
\end{subproof}
Show if for all $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$ there exists $a\in A$ such that $b - \epsilon < a$ then $b$ is a supremum of $A$.
\begin{subproof}
Assume for all $\epsilon$ such that $\epsilon\in\reals$ and $0 < \epsilon$ there exists $a\in A$ such that $b - \epsilon < a$.
Follows by \cref{subseteq,real_upper_bound,real_lt_trichotomy,real_add_inverse,real_sub,real_add_closed,real_lt_imp_pos_diff,real_sub_sub_cancel,real_lt_asym,real_supremum}.
\end{subproof}
\end{proof}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $A$ is bounded below.
Then there exists $p$ such that $p$ is an infimum of $A$.
LaTeX source
\begin{proposition}
\label{real_infimum_exists}
Suppose $A\subseteq\reals$ and $A\neq \emptyset$ and $A$ is bounded below.
Then there exists $p$ such that $p$ is an infimum of $A$.
\end{proposition}
Proof
Let $L = \{ x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$x$ is a lower bound of $A$}\}$.
Take $l$ such that $l$ is a lower bound of $A$.
Thus $L\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Take $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Follows by Axiom 40, Definition 1, Definition 66, Definition 67, Definition 68, Definition 71, Definition 72.
LaTeX source
\begin{proof}
Let $L = \{ x\in\reals \mid \text{$x$ is a lower bound of $A$}\}$.
Take $l$ such that $l$ is a lower bound of $A$.
Thus $L\neq \emptyset$.
Take $a$ such that $a\in A$.
Follows by \cref{subseteq,real_lower_bound,real_upper_bound,real_bounded_above,real_completeness_axiom,real_supremum,real_infimum}.
\end{proof}
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $x < n$.
LaTeX source
\begin{proposition}
\label{real_archimedean_property}
Suppose $x\in\reals$.
Then there exists $n\in\naturalsPlus$ such that $x < n$.
\end{proposition}
Proof
Suppose not.
Let $A = \naturalsPlus$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 42.
Thus $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Take $p$ such that $p$ is a supremum of $A$ by Axiom 34, Axiom 40, Axiom 41, Definition 1, Definition 66, Definition 67.
Take $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $p - 1 < n$ by Axiom 21, Axiom 41, Definition 67, Definition 71, Proposition 462, Proposition 472.
Contradiction by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Axiom 21, Axiom 35, Axiom 37, Axiom 45, Definition 1, Definition 64, Definition 66, Definition 71.
LaTeX source
\begin{proof}
Suppose not.
Let $A = \naturalsPlus$.
$1\in A$ by \cref{real_one_in_naturals}.
Thus $A\neq \emptyset$.
Take $p$ such that $p$ is a supremum of $A$ by \cref{real_naturals_subset_reals,subseteq,real_lt_trichotomy,real_upper_bound,real_bounded_above,real_completeness_axiom}.
Take $n\in A$ such that $p - 1 < n$ by \cref{real_naturals_subset_reals,real_bounded_above,real_supremum,real_mul_ident,real_zero_lt_one,real_supremum_characterization}.
Contradiction by \cref{subseteq,real_supremum,real_naturals_closed_succ,real_upper_bound,real_mul_ident,real_sub,real_add_inverse,real_add_closed,real_lt_add,real_add_assoc,real_add_ident,real_add_comm,real_lt_asym}.
\end{proof}
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then there exist $k, n$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ and $k < x$ and $x < n$.
LaTeX source
\begin{proposition}
\label{real_generalized_archimedean_property}
Suppose $x\in\reals$.
Then there exist $k, n$ such that $k\in\integers$ and $n\in\integers$ and $k < x$ and $x < n$.
\end{proposition}
Proof
Follows by Axiom 18, Axiom 41, Definition 1, Definition 82, Proposition 441, Proposition 465, Proposition 474.
LaTeX source
\begin{proof}
Follows by \cref{real_archimedean_property,real_add_inverse,real_naturals_subset_reals,subseteq,real_lt_neg,real_integers,real_neg_neg}.
\end{proof}
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $x$ is positive.
Then there exists $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < x$.
LaTeX source
\begin{proposition}
\label{real_small_reciprocal}
Suppose $x\in\reals$ and $x$ is positive.
Then there exists $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < x$.
\end{proposition}
Proof
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $\inv{x} < N$ by Axiom 22, Lemma 20, Proposition 474.
Thus $0 < 1 / N$ and $1 / N < x$ by Axiom 14, Axiom 17, Axiom 19, Axiom 20, Axiom 21, Axiom 22, Axiom 36, Axiom 38, Axiom 41, Definition 1, Definition 65, Lemma 20, Proposition 463.
LaTeX source
\begin{proof}
Take $N\in\naturalsPlus$ such that $\inv{x} < N$ by \cref{real_pos_nonzero,real_mul_inverse,real_archimedean_property}. Thus $0 < 1 / N$ and $1 / N < x$ by \cref{real_naturals_subset_reals,subseteq,real_add_ident,real_pos_nonzero,real_mul_inverse,real_inv_pos,real_lt_trans,real_mul_ident,real_mul_closed,real_lt_mul_pos,real_mul_comm,real_mul_assoc,real_div}.
\end{proof}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose there exists $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$.
Suppose it is wrong that $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Then there exists $b\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that $b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
LaTeX source
\begin{lemma}
\label{real_naturals_split_succ}
Suppose $A\subseteq\naturalsPlus$ and $n\in\naturalsPlus$.
Suppose there exists $a\in A$ such that $a \leq n + 1$.
Suppose it is wrong that $n + 1\in A$.
Then there exists $b\in A$ such that $b \leq n$.
\end{lemma}
Proof
Follows by Axiom 44, Definition 1.
LaTeX source
\begin{proof}
Follows by \cref{subseteq,real_succ_discrete}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ and $a \class{latex-symbol-tip latex-symbol-id-neq}{\neq} n + 1$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
LaTeX source
\begin{lemma}
\label{real_naturals_leq_succ_elim}
Suppose $a\in\naturalsPlus$ and $n\in\naturalsPlus$.
Suppose $a \leq n + 1$ and $a \neq n + 1$.
Then $a \leq n$.
\end{lemma}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Suppose for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have it is wrong that $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Then for all $b\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
LaTeX source
\begin{lemma}
\label{real_naturals_minimum_at_succ}
Suppose $A\subseteq\naturalsPlus$ and $n\in\naturalsPlus$ and $n + 1\in A$.
Suppose for all $a\in A$ we have it is wrong that $a \leq n$.
Then for all $b\in A$ we have $n + 1 \leq b$.
\end{lemma}
Proof
Follows by Axiom 34, Axiom 41, Definition 1, Lemma 29.
LaTeX source
\begin{proof}
Follows by \cref{real_naturals_subset_reals,subseteq,real_lt_trichotomy,real_naturals_leq_succ_elim}.
\end{proof}
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ and $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Then there exists $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ such that for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$.
LaTeX source
\begin{proposition}
\label{real_naturals_least_element}
Suppose $A\subseteq\naturalsPlus$ and $A\neq \emptyset$.
Then there exists $m\in A$ such that for all $a\in A$ we have $m \leq a$.
\end{proposition}
Proof
Let $S = \{ n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if there exists $a\in A$ such that $a \leq n$ then there exists $m\in A$ such that for all $a\in A$ we have $m \leq a$}\}$.
Follows by Axiom 41, Axiom 42, Axiom 43, Axiom 45, Definition 1, Lemma 25, Lemma 28, Lemma 30, Proposition 10, Proposition 445.
LaTeX source
\begin{proof}
Let $S = \{ n\in\naturalsPlus \mid \text{if there exists $a\in A$ such that $a \leq n$ then there exists $m\in A$ such that for all $a\in A$ we have $m \leq a$}\}$. Follows by \cref{real_one_leq_naturalsplus,real_naturals_subset_reals,real_one_in_naturals,real_leq_antisym,real_naturals_split_succ,real_naturals_minimum_at_succ,real_naturals_closed_succ,real_naturals_induction,nonempty_inhabited,subseteq}.
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $n = 1$ or there exists $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $n = m + 1$.
LaTeX source
\begin{lemma}
\label{real_naturals_predecessor}
Suppose $n\in\naturalsPlus$.
Then $n = 1$ or there exists $m\in\naturalsPlus$ such that $n = m + 1$.
\end{lemma}
Proof
Let $A = \{ n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{$n = 1$ or there exists $m\in\naturalsPlus$ such that $n = m + 1$}\}$.
Follows by Axiom 42, Axiom 45, Definition 1, Proposition 445.
LaTeX source
\begin{proof}
Let $A = \{ n\in\naturalsPlus \mid \text{$n = 1$ or there exists $m\in\naturalsPlus$ such that $n = m + 1$}\}$. Follows by \cref{subseteq,real_one_in_naturals,real_naturals_closed_succ,real_naturals_induction}.
\end{proof}
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$.
Then there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ such that $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ and $x < n + 1$ and either $n = 0$ or $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
LaTeX source
\begin{lemma}
\label{real_consecutive_integers_nonneg}
Suppose $x\in\reals$ and $0 \leq x$.
Then there exists $n\in\integers$ such that $n \leq x$ and $x < n + 1$ and either $n = 0$ or $n\in\naturalsPlus$.
\end{lemma}
Proof
Let $S = \{ n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid x < n\}$.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $x < N$ by Proposition 474.
Thus $S\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Take $m\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ such that for all $a\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ we have $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$ by Definition 1, Proposition 477.
Thus $x < m$.
Take $n$ such that $n = 0$.
$n \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ by Definition 82.
Thus $x < n + 1$ by Axiom 17, Axiom 41, Axiom 42, Definition 1.
Hence there exists $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ such that $k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ and $x < k + 1$ and either $k = 0$ or $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Take $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m = p + 1$ by Lemma 31.
Thus it is wrong that $x < p$ by Axiom 16, Axiom 17, Axiom 36, Axiom 37, Axiom 39, Axiom 41, Axiom 42, Definition 1, Lemma 25, Proposition 462.
Take $n$ such that $n = p$.
$n \class{latex-symbol-tip latex-symbol-id-in}{\in} \reals$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ by Definition 82.
Thus $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ by Axiom 34, Axiom 41, Definition 1.
Therefore there exists $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ such that $k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ and $x < k + 1$ and either $k = 0$ or $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
LaTeX source
\begin{byCase}
\caseOf{$m = 1$.}
Take $n$ such that $n = 0$.
$n \in \reals$.
$n\in\integers$ by \cref{real_integers}.
Thus $x < n + 1$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_ident}.
Hence there exists $k\in\integers$ such that $k \leq x$ and $x < k + 1$ and either $k = 0$ or $k\in\naturalsPlus$.
\caseOf{$m \neq 1$.}
Take $p\in\naturalsPlus$ such that $m = p + 1$ by \cref{real_naturals_predecessor}.
Thus it is wrong that $x < p$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_zero_lt_one,real_lt_add,real_add_comm,real_lt_trans,real_leq_antisym,real_lt_irreflexive}.
Take $n$ such that $n = p$.
$n \in \reals$.
$n\in\integers$ by \cref{real_integers}.
Thus $n \leq x$ by \cref{real_naturals_subset_reals,subseteq,real_lt_trichotomy}.
Therefore there exists $k\in\integers$ such that $k \leq x$ and $x < k + 1$ and either $k = 0$ or $k\in\naturalsPlus$.
\end{byCase}
LaTeX source
\begin{proof}
Let $S = \{ n\in\naturalsPlus \mid x < n\}$.
Take $N\in\naturalsPlus$ such that $x < N$ by \cref{real_archimedean_property}.
Thus $S\neq \emptyset$.
Take $m\in S$ such that for all $a\in S$ we have $m \leq a$ by \cref{subseteq,real_naturals_least_element}.
Thus $x < m$.
\begin{byCase}
\caseOf{$m = 1$.}
Take $n$ such that $n = 0$.
$n \in \reals$.
$n\in\integers$ by \cref{real_integers}.
Thus $x < n + 1$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_ident}.
Hence there exists $k\in\integers$ such that $k \leq x$ and $x < k + 1$ and either $k = 0$ or $k\in\naturalsPlus$.
\caseOf{$m \neq 1$.}
Take $p\in\naturalsPlus$ such that $m = p + 1$ by \cref{real_naturals_predecessor}.
Thus it is wrong that $x < p$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_ident,real_zero_lt_one,real_lt_add,real_add_comm,real_lt_trans,real_leq_antisym,real_lt_irreflexive}.
Take $n$ such that $n = p$.
$n \in \reals$.
$n\in\integers$ by \cref{real_integers}.
Thus $n \leq x$ by \cref{real_naturals_subset_reals,subseteq,real_lt_trichotomy}.
Therefore there exists $k\in\integers$ such that $k \leq x$ and $x < k + 1$ and either $k = 0$ or $k\in\naturalsPlus$.
\end{byCase}
\end{proof}
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ such that $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ and $x < n + 1$.
LaTeX source
\begin{proposition}
\label{real_consecutive_integers}
Suppose $x\in\reals$.
Then there exists $n\in\integers$ such that $n \leq x$ and $x < n + 1$.
\end{proposition}
Proof
Follows by Lemma 32.
Let $y = \neg{x}$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
Thus $0 < y$ by Axiom 17, Proposition 435, Proposition 465.
Take $t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ and $t \class{latex-symbol-tip latex-symbol-id-leq}{\leq} y$ and $y < t + 1$ and either $t = 0$ or $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Lemma 32.
Hence $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17, Axiom 41, Definition 1.
Claim: $t + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.
Thus $t + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$t + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
LaTeX source
\begin{byCase}
\caseOf{$t = 0$.}
$1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
Thus $t + 1\in\naturalsPlus$.
\caseOf{$t \neq 0$.}
$t + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
\end{byCase}
Let $k = \neg{(t + 1)}$.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Thus $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$.
Hence $k + 1 = \neg{t}$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Axiom 41, Axiom 42, Definition 1, Lemma 12.
There exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ such that $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ and $x < n + 1$ by Axiom 16, Axiom 17, Axiom 18, Axiom 37, Axiom 41, Axiom 42, Definition 1, Definition 82, Proposition 462.
There exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ such that $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ and $x < n + 1$ by Axiom 13, Axiom 18, Axiom 34, Axiom 41, Axiom 42, Definition 1, Lemma 22, Proposition 441.
LaTeX source
\begin{byCase}
\caseOf{$x = k + 1$.}
There exists $n\in\integers$ such that $n \leq x$ and $x < n + 1$ by \cref{real_add_inverse,real_add_comm,real_integers,real_add_ident,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_zero_lt_one,real_lt_add}.
\caseOf{$x \neq k + 1$.}
There exists $n\in\integers$ such that $n \leq x$ and $x < n + 1$ by \cref{real_add_inverse,real_leq_neg,real_neg_neg,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_lt_trichotomy}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$0 \leq x$.}
Follows by \cref{real_consecutive_integers_nonneg}.
\caseOf{$x < 0$.}
Let $y = \neg{x}$.
$y\in\reals$ by \cref{real_add_inverse}.
Thus $0 < y$ by \cref{real_add_ident,real_add_inverse_unique,real_lt_neg}.
Take $t$ such that $t\in\integers$ and $t \leq y$ and $y < t + 1$ and either $t = 0$ or $t\in\naturalsPlus$ by \cref{real_consecutive_integers_nonneg}.
Hence $t\in\reals$ by \cref{real_add_ident,real_naturals_subset_reals,subseteq}.
Show that $t + 1\in\naturalsPlus$.
\begin{subproof}
\begin{byCase}
\caseOf{$t = 0$.}
$1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
Thus $t + 1\in\naturalsPlus$.
\caseOf{$t \neq 0$.}
$t + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
\end{byCase}
\end{subproof}
Let $k = \neg{(t + 1)}$.
$k\in\reals$.
Thus $k\in\integers$.
Hence $k + 1 = \neg{t}$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_neg_addition,real_add_inverse,real_add_assoc,real_add_comm,real_add_ident}.
\begin{byCase}
\caseOf{$x = k + 1$.}
There exists $n\in\integers$ such that $n \leq x$ and $x < n + 1$ by \cref{real_add_inverse,real_add_comm,real_integers,real_add_ident,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_zero_lt_one,real_lt_add}.
\caseOf{$x \neq k + 1$.}
There exists $n\in\integers$ such that $n \leq x$ and $x < n + 1$ by \cref{real_add_inverse,real_leq_neg,real_neg_neg,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_lt_trichotomy}.
\end{byCase}
\end{byCase}
LaTeX source
\begin{proof}
\begin{byCase}
\caseOf{$0 \leq x$.}
Follows by \cref{real_consecutive_integers_nonneg}.
\caseOf{$x < 0$.}
Let $y = \neg{x}$.
$y\in\reals$ by \cref{real_add_inverse}.
Thus $0 < y$ by \cref{real_add_ident,real_add_inverse_unique,real_lt_neg}.
Take $t$ such that $t\in\integers$ and $t \leq y$ and $y < t + 1$ and either $t = 0$ or $t\in\naturalsPlus$ by \cref{real_consecutive_integers_nonneg}.
Hence $t\in\reals$ by \cref{real_add_ident,real_naturals_subset_reals,subseteq}.
Show that $t + 1\in\naturalsPlus$.
\begin{subproof}
\begin{byCase}
\caseOf{$t = 0$.}
$1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
Thus $t + 1\in\naturalsPlus$.
\caseOf{$t \neq 0$.}
$t + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
\end{byCase}
\end{subproof}
Let $k = \neg{(t + 1)}$.
$k\in\reals$.
Thus $k\in\integers$.
Hence $k + 1 = \neg{t}$ by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_neg_addition,real_add_inverse,real_add_assoc,real_add_comm,real_add_ident}.
\begin{byCase}
\caseOf{$x = k + 1$.}
There exists $n\in\integers$ such that $n \leq x$ and $x < n + 1$ by \cref{real_add_inverse,real_add_comm,real_integers,real_add_ident,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_zero_lt_one,real_lt_add}.
\caseOf{$x \neq k + 1$.}
There exists $n\in\integers$ such that $n \leq x$ and $x < n + 1$ by \cref{real_add_inverse,real_leq_neg,real_neg_neg,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_lt_trichotomy}.
\end{byCase}
\end{byCase}
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$ and $a < b$.
Then there exist $n, N$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$.
LaTeX source
\begin{lemma}
\label{real_rationals_nonneg_interval}
Suppose $a\in\reals$ and $b\in\reals$ and $0 \leq a$ and $a < b$.
Then there exist $n, N$ such that $n\in\naturalsPlus$ and $N\in\naturalsPlus$ and $n / N\in\intervalopen{a}{b}$.
\end{lemma}
Proof
$0 < b - a$ by Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < b - a$ by Axiom 13, Axiom 18, Definition 64, Proposition 476.
Thus $0 < N$ by Axiom 17, Axiom 21, Axiom 36, Axiom 41, Axiom 43, Definition 1, Proposition 462.
Hence $N\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 41, Definition 1, Lemma 20.
Therefore $0 < \inv{N}$ by Axiom 22, Axiom 41, Definition 1, Proposition 463.
Let $S = \{ n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid a < n / N\}$.
Take $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $a \rmul N < n$ by Axiom 14, Axiom 41, Definition 1, Proposition 474.
$(a \rmul N) \rmul \inv{N} < n \rmul \inv{N}$ by Axiom 14, Axiom 22, Axiom 38, Axiom 41, Definition 1.
Thus $a < n / N$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Axiom 41, Definition 1, Definition 65.
Hence $S\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ such that for all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ we have $k \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Definition 1, Proposition 477.
Let $p = k / N$.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Axiom 22, Axiom 41, Definition 1, Definition 65.
We have $a + 1 / N < b$ by Axiom 13, Axiom 14, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Axiom 21, Axiom 22, Axiom 37, Axiom 41, Definition 1, Definition 64, Definition 65.
Claim: $p < b$.
Take $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $k = m + 1$ by Lemma 31.
Claim: It is wrong that $a < m / N$.
Suppose not.
Thus $k \class{latex-symbol-tip latex-symbol-id-neq}{\neq} m + 1$.
Contradiction.
We have $p < b$ by Axiom 21, Axiom 22, Axiom 41, Definition 1, Definition 65, Lemma 9.
LaTeX source
\begin{byCase}
\caseOf{$m / N = a$.}
We have $p < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_div,real_right_distrib,real_mul_ident}.
\caseOf{$m / N \neq a$.}
We have $p < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_mul_ident,real_div,real_right_distrib,real_mul_closed,real_add_closed,real_lt_trichotomy,real_lt_add,real_lt_trans}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$k = 1$.}
We have $p < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_mul_ident,real_div,real_mul_closed,real_add_closed,real_lt_trichotomy,real_lt_add,real_add_ident,real_lt_trans}.
\caseOf{$k \neq 1$.}
Take $m\in\naturalsPlus$ such that $k = m + 1$ by \cref{real_naturals_predecessor}.
Show that it is wrong that $a < m / N$.
\begin{subproof}
Suppose not.
Thus $k \neq m + 1$.
Contradiction.
\end{subproof}
\begin{byCase}
\caseOf{$m / N = a$.}
We have $p < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_div,real_right_distrib,real_mul_ident}.
\caseOf{$m / N \neq a$.}
We have $p < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_mul_ident,real_div,real_right_distrib,real_mul_closed,real_add_closed,real_lt_trichotomy,real_lt_add,real_lt_trans}.
\end{byCase}
\end{byCase}
Thus there exist $i, j$ such that $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $j\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $i / j\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ by Definition 1, Definition 76.
LaTeX source
\begin{proof}
$0 < b - a$ by \cref{real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < b - a$ by \cref{real_add_inverse,real_sub,real_add_closed,real_small_reciprocal}.
Thus $0 < N$ by \cref{real_naturals_subset_reals,subseteq,real_mul_ident,real_add_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_trans}.
Hence $N\neq 0$ by \cref{real_naturals_subset_reals,subseteq,real_pos_nonzero}.
Therefore $0 < \inv{N}$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_inv_pos}.
Let $S = \{ n\in\naturalsPlus \mid a < n / N\}$.
Take $n\in\naturalsPlus$ such that $a \rmul N < n$ by \cref{real_naturals_subset_reals,subseteq,real_mul_closed,real_archimedean_property}.
$(a \rmul N) \rmul \inv{N} < n \rmul \inv{N}$ by \cref{real_mul_inverse,real_mul_closed,real_naturals_subset_reals,subseteq,real_lt_mul_pos}.
Thus $a < n / N$ by \cref{real_naturals_subset_reals,subseteq,real_mul_assoc,real_mul_inverse,real_mul_comm,real_mul_ident,real_div}.
Hence $S\neq \emptyset$.
Take $k\in S$ such that for all $m\in S$ we have $k \leq m$ by \cref{subseteq,real_naturals_least_element}.
Let $p = k / N$.
We have $p\in\reals$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_div,real_mul_closed}.
We have $a + 1 / N < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_mul_ident,real_div,real_mul_closed,real_sub,real_add_closed,real_lt_add,real_add_comm,real_add_assoc,real_add_inverse,real_add_ident}.
Show that $p < b$.
\begin{subproof}
\begin{byCase}
\caseOf{$k = 1$.}
We have $p < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_mul_ident,real_div,real_mul_closed,real_add_closed,real_lt_trichotomy,real_lt_add,real_add_ident,real_lt_trans}.
\caseOf{$k \neq 1$.}
Take $m\in\naturalsPlus$ such that $k = m + 1$ by \cref{real_naturals_predecessor}.
Show that it is wrong that $a < m / N$.
\begin{subproof}
Suppose not.
Thus $k \neq m + 1$.
Contradiction.
\end{subproof}
\begin{byCase}
\caseOf{$m / N = a$.}
We have $p < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_div,real_right_distrib,real_mul_ident}.
\caseOf{$m / N \neq a$.}
We have $p < b$ by \cref{real_naturals_subset_reals,subseteq,real_mul_inverse,real_mul_ident,real_div,real_right_distrib,real_mul_closed,real_add_closed,real_lt_trichotomy,real_lt_add,real_lt_trans}.
\end{byCase}
\end{byCase}
\end{subproof}
Thus there exist $i, j$ such that $i\in\naturalsPlus$ and $j\in\naturalsPlus$ and $i / j\in\intervalopen{a}{b}$ by \cref{subseteq,intervalopen}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$.
Then there exists $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\rationals$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$.
LaTeX source
\begin{proposition}
\label{real_rational_open_interval}
Suppose $a\in\reals$ and $b\in\reals$ and $a < b$.
Then there exists $p\in\rationals$ such that $p\in\intervalopen{a}{b}$.
\end{proposition}
Proof
There exists $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\rationals$ such that $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ by Axiom 17, Axiom 21, Axiom 22, Axiom 42, Definition 65, Definition 76, Definition 82, Definition 83, Proposition 22, Proposition 85, Proposition 439.
There exists $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\rationals$ such that $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ by Axiom 21, Axiom 36, Axiom 41, Axiom 43, Definition 1, Definition 82, Definition 83, Lemma 20, Lemma 33, Proposition 22, Proposition 85, Proposition 462.
LaTeX source
\begin{byCase}
\caseOf{$a < 0$.}
There exists $r\in\rationals$ such that $r\in\intervalopen{a}{b}$ by \cref{real_integers,real_one_in_naturals,real_mul_ident,singleton_iff,setminus_intro,real_add_ident,real_mul_inverse,real_div,real_mul_zero,real_rationals,intervalopen}.
\caseOf{$0 \leq a$.}
There exists $r\in\rationals$ such that $r\in\intervalopen{a}{b}$ by \cref{real_rationals_nonneg_interval,real_integers,real_naturals_subset_reals,subseteq,real_mul_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_trans,real_pos_nonzero,singleton_iff,setminus_intro,real_rationals}.
\end{byCase}
Take $n, N$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{\neg{b}}{\neg{a}}$ by Axiom 17, Axiom 18, Lemma 22, Lemma 33, Proposition 435, Proposition 465.
Let $p = \neg{(n / N)}$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$\neg{n}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\neg{\neg{n}} = n$ by Axiom 41, Definition 1, Proposition 441.
$\neg{n}\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ by Axiom 18, Axiom 41, Definition 1, Definition 82.
$N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$0 < N$ by Axiom 17, Axiom 21, Axiom 36, Axiom 43, Proposition 462.
$N\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20.
$\inv{N}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22.
$N\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers$ by Definition 82.
$N\class{latex-symbol-tip latex-symbol-id-in}{\in}\integers\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{0\}$ by Proposition 22, Proposition 85.
$(\neg{n}) / N = p$ by Axiom 20, Definition 65, Lemma 10.
Thus $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\rationals$ by Definition 83.
Hence there exists $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\rationals$ such that $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ by Axiom 18, Definition 76, Proposition 441, Proposition 465.
LaTeX source
\begin{byCase}
\caseOf{$0 < b$.}
\begin{byCase}
\caseOf{$a < 0$.}
There exists $r\in\rationals$ such that $r\in\intervalopen{a}{b}$ by \cref{real_integers,real_one_in_naturals,real_mul_ident,singleton_iff,setminus_intro,real_add_ident,real_mul_inverse,real_div,real_mul_zero,real_rationals,intervalopen}.
\caseOf{$0 \leq a$.}
There exists $r\in\rationals$ such that $r\in\intervalopen{a}{b}$ by \cref{real_rationals_nonneg_interval,real_integers,real_naturals_subset_reals,subseteq,real_mul_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_trans,real_pos_nonzero,singleton_iff,setminus_intro,real_rationals}.
\end{byCase}
\caseOf{$b \leq 0$.}
Take $n, N$ such that $n\in\naturalsPlus$ and $N\in\naturalsPlus$ and $n / N\in\intervalopen{\neg{b}}{\neg{a}}$ by \cref{real_add_inverse,real_add_ident,real_add_inverse_unique,real_leq_neg,real_lt_neg,real_rationals_nonneg_interval}.
Let $p = \neg{(n / N)}$.
$n\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
$\neg{n}\in\reals$ by \cref{real_add_inverse}.
$\neg{\neg{n}} = n$ by \cref{real_naturals_subset_reals,subseteq,real_neg_neg}.
$\neg{n}\in\integers$ by \cref{real_integers,real_naturals_subset_reals,subseteq,real_add_inverse}.
$N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
$0 < N$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_trans}.
$N\neq 0$ by \cref{real_pos_nonzero}.
$\inv{N}\in\reals$ by \cref{real_mul_inverse}.
$N\in\integers$ by \cref{real_integers}.
$N\in\integers\setminus\{0\}$ by \cref{singleton_iff,setminus_intro}.
$(\neg{n}) / N = p$ by \cref{real_div,real_mul_comm,real_mul_neg_right}.
Thus $p\in\rationals$ by \cref{real_rationals}.
Hence there exists $r\in\rationals$ such that $r\in\intervalopen{a}{b}$ by \cref{real_add_inverse,intervalopen,real_neg_neg,real_lt_neg}.
\end{byCase}
LaTeX source
\begin{proof}
\begin{byCase}
\caseOf{$0 < b$.}
\begin{byCase}
\caseOf{$a < 0$.}
There exists $r\in\rationals$ such that $r\in\intervalopen{a}{b}$ by \cref{real_integers,real_one_in_naturals,real_mul_ident,singleton_iff,setminus_intro,real_add_ident,real_mul_inverse,real_div,real_mul_zero,real_rationals,intervalopen}.
\caseOf{$0 \leq a$.}
There exists $r\in\rationals$ such that $r\in\intervalopen{a}{b}$ by \cref{real_rationals_nonneg_interval,real_integers,real_naturals_subset_reals,subseteq,real_mul_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_trans,real_pos_nonzero,singleton_iff,setminus_intro,real_rationals}.
\end{byCase}
\caseOf{$b \leq 0$.}
Take $n, N$ such that $n\in\naturalsPlus$ and $N\in\naturalsPlus$ and $n / N\in\intervalopen{\neg{b}}{\neg{a}}$ by \cref{real_add_inverse,real_add_ident,real_add_inverse_unique,real_leq_neg,real_lt_neg,real_rationals_nonneg_interval}.
Let $p = \neg{(n / N)}$.
$n\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
$\neg{n}\in\reals$ by \cref{real_add_inverse}.
$\neg{\neg{n}} = n$ by \cref{real_naturals_subset_reals,subseteq,real_neg_neg}.
$\neg{n}\in\integers$ by \cref{real_integers,real_naturals_subset_reals,subseteq,real_add_inverse}.
$N\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
$0 < N$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_trans}.
$N\neq 0$ by \cref{real_pos_nonzero}.
$\inv{N}\in\reals$ by \cref{real_mul_inverse}.
$N\in\integers$ by \cref{real_integers}.
$N\in\integers\setminus\{0\}$ by \cref{singleton_iff,setminus_intro}.
$(\neg{n}) / N = p$ by \cref{real_div,real_mul_comm,real_mul_neg_right}.
Thus $p\in\rationals$ by \cref{real_rationals}.
Hence there exists $r\in\rationals$ such that $r\in\intervalopen{a}{b}$ by \cref{real_add_inverse,intervalopen,real_neg_neg,real_lt_neg}.
\end{byCase}
\end{proof}
Results involving absolute values
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\abs{a} \class{latex-symbol-tip latex-symbol-id-geq}{\geq} 0$.
LaTeX source
\begin{proposition}
\label{real_abs_nonnegative}
Suppose $a\in\reals$.
Then $\abs{a} \geq 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\abs{a} = 0$.
Then $a = 0$.
LaTeX source
\begin{proposition}
\label{real_abs_eq_zero}
Suppose $a\in\reals$ and $\abs{a} = 0$.
Then $a = 0$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\abs{a - b} = \abs{b - a}$.
LaTeX source
\begin{proposition}
\label{real_abs_sub_swap}
Suppose $a\in\reals$ and $b\in\reals$.
Then $\abs{a - b} = \abs{b - a}$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\abs{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
LaTeX source
\begin{lemma}
\label{real_abs_in_reals}
Suppose $a\in\reals$.
Then $\abs{a}\in\reals$.
\end{lemma}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\abs{a \rmul b} = \abs{a} \rmul \abs{b}$.
LaTeX source
\begin{proposition}
\label{real_abs_mul}
Suppose $a\in\reals$ and $b\in\reals$.
Then $\abs{a \rmul b} = \abs{a} \rmul \abs{b}$.
\end{proposition}
Proof
Follows by Axiom 14, Axiom 20, Axiom 47, Proposition 439, Proposition 454.
Follows by Axiom 14, Axiom 18, Axiom 47, Axiom 48, Lemma 10, Proposition 439, Proposition 458.
Follows by Axiom 14, Axiom 18, Axiom 20, Axiom 47, Axiom 48, Lemma 10, Proposition 439, Proposition 457.
Follows by Axiom 14, Axiom 18, Axiom 20, Axiom 47, Axiom 48, Lemma 10, Proposition 441, Proposition 455.
LaTeX source
\begin{byCase}
\caseOf{$a \geq 0$ and $b \geq 0$.}
Follows by \cref{real_abs_nonneg,real_mul_closed,real_mul_zero,real_mul_comm,real_mul_pos_pos_gt}.
\caseOf{$a \geq 0$ and $b < 0$.}
Follows by \cref{real_abs_nonneg,real_abs_neg,real_mul_closed,real_mul_zero,real_mul_neg_opposite_sign_right,real_mul_neg_right,real_add_inverse}.
\caseOf{$a < 0$ and $b \geq 0$.}
Follows by \cref{real_abs_nonneg,real_abs_neg,real_mul_closed,real_mul_zero,real_mul_comm,real_mul_neg_opposite_sign_left,real_mul_neg_right,real_add_inverse}.
\caseOf{$a < 0$ and $b < 0$.}
Follows by \cref{real_abs_neg,real_abs_nonneg,real_mul_closed,real_mul_neg_neg_gt,real_mul_neg_right,real_mul_comm,real_neg_neg,real_add_inverse}.
\end{byCase}
LaTeX source
\begin{proof}
\begin{byCase}
\caseOf{$a \geq 0$ and $b \geq 0$.}
Follows by \cref{real_abs_nonneg,real_mul_closed,real_mul_zero,real_mul_comm,real_mul_pos_pos_gt}.
\caseOf{$a \geq 0$ and $b < 0$.}
Follows by \cref{real_abs_nonneg,real_abs_neg,real_mul_closed,real_mul_zero,real_mul_neg_opposite_sign_right,real_mul_neg_right,real_add_inverse}.
\caseOf{$a < 0$ and $b \geq 0$.}
Follows by \cref{real_abs_nonneg,real_abs_neg,real_mul_closed,real_mul_zero,real_mul_comm,real_mul_neg_opposite_sign_left,real_mul_neg_right,real_add_inverse}.
\caseOf{$a < 0$ and $b < 0$.}
Follows by \cref{real_abs_neg,real_abs_nonneg,real_mul_closed,real_mul_neg_neg_gt,real_mul_neg_right,real_mul_comm,real_neg_neg,real_add_inverse}.
\end{byCase}
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $\neg{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Then $\abs{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
LaTeX source
\begin{proposition}
\label{real_abs_leq_if_pm_leq}
Suppose $a\in\reals$ and $b\in\reals$.
Suppose $a \leq b$ and $\neg{a} \leq b$.
Then $\abs{a} \leq b$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\exp{\abs{a}}{2} = \exp{a}{2}$.
LaTeX source
\begin{proposition}
\label{real_abs_square}
Suppose $a\in\reals$.
Then $\exp{\abs{a}}{2} = \exp{a}{2}$.
\end{proposition}
Proof
Follows by Axiom 14, Axiom 24, Axiom 42, Axiom 47, Axiom 49, Axiom 50, Lemma 34, Proposition 461, Proposition 480, Proposition 483.
LaTeX source
\begin{proof}
Follows by \cref{def_of_2,real_abs_mul,real_abs_in_reals,real_abs_nonnegative,real_abs_nonneg,real_sq_nonnegative,real_one_in_naturals,real_pow_succ,real_pow_one,real_mul_closed}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{a}$.
LaTeX source
\begin{proposition}
\label{real_leq_abs}
Suppose $a\in\reals$.
Then $a \leq \abs{a}$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\neg{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{a}$.
LaTeX source
\begin{proposition}
\label{real_neg_leq_abs}
Suppose $a\in\reals$.
Then $\neg{a} \leq \abs{a}$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r$ is nonnegative.
Suppose $\abs{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
LaTeX source
\begin{proposition}
\label{real_abs_leq_imp_right_bound}
Suppose $a\in\reals$ and $r\in\reals$ and $r$ is nonnegative.
Suppose $\abs{a} \leq r$.
Then $a \leq r$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r$ is nonnegative.
Suppose $\abs{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
Then $\neg{r} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$.
LaTeX source
\begin{proposition}
\label{real_abs_leq_imp_left_bound}
Suppose $a\in\reals$ and $r\in\reals$ and $r$ is nonnegative.
Suppose $\abs{a} \leq r$.
Then $\neg{r} \leq a$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r$ is nonnegative.
Suppose $\neg{r} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
Then $\abs{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
LaTeX source
\begin{proposition}
\label{real_abs_leq_from_bounds}
Suppose $a\in\reals$ and $r\in\reals$ and $r$ is nonnegative.
Suppose $\neg{r} \leq a$ and $a \leq r$.
Then $\abs{a} \leq r$.
\end{proposition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r$ is nonnegative.
Suppose $\abs{a - b} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
Then $b - r \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$.
LaTeX source
\begin{proposition}
\label{real_abs_sub_leq_imp_left_bound}
Suppose $a\in\reals$ and $b\in\reals$ and $r\in\reals$ and $r$ is nonnegative.
Suppose $\abs{a - b} \leq r$.
Then $b - r \leq a$.
\end{proposition}
Proof
Follows by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 24, Proposition 489.
LaTeX source
\begin{proof}
Follows by \cref{real_add_inverse,real_sub,real_add_closed,real_abs_leq_imp_left_bound,real_leq_add,real_add_comm,real_add_assoc,real_add_ident}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r$ is nonnegative.
Suppose $\abs{a - b} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b + r$.
LaTeX source
\begin{proposition}
\label{real_abs_sub_leq_imp_right_bound}
Suppose $a\in\reals$ and $b\in\reals$ and $r\in\reals$ and $r$ is nonnegative.
Suppose $\abs{a - b} \leq r$.
Then $a \leq b + r$.
\end{proposition}
Proof
Follows by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 24, Proposition 488.
LaTeX source
\begin{proof}
Follows by \cref{real_add_inverse,real_sub,real_add_closed,real_abs_leq_imp_right_bound,real_leq_add,real_add_assoc,real_add_comm,real_add_ident}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\abs{a + b} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{a} + \abs{b}$.
LaTeX source
\begin{proposition}
\label{real_triangle_inequality}
Suppose $a\in\reals$ and $b\in\reals$.
Then $\abs{a + b} \leq \abs{a} + \abs{b}$.
\end{proposition}
Proof
We have $\neg{(a + b)} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{a} + \abs{b}$ by Axiom 13, Axiom 16, Axiom 18, Lemma 12, Lemma 23, Lemma 24, Lemma 34, Proposition 487.
Hence $\abs{a + b} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{a} + \abs{b}$ by Axiom 13, Axiom 16, Lemma 23, Lemma 24, Lemma 34, Proposition 484, Proposition 486.
LaTeX source
\begin{proof}
We have $\neg{(a + b)} \leq \abs{a} + \abs{b}$ by \cref{real_abs_in_reals,real_add_inverse,real_neg_leq_abs,real_leq_add,real_add_closed,real_add_comm,real_leq_trans,real_neg_addition}.
Hence $\abs{a + b} \leq \abs{a} + \abs{b}$ by \cref{real_abs_in_reals,real_leq_abs,real_leq_add,real_add_closed,real_add_comm,real_leq_trans,real_abs_leq_if_pm_leq}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $\abs{a - b} \class{latex-symbol-tip latex-symbol-id-geq}{\geq} \abs{\abs{a} - \abs{b}}$.
LaTeX source
\begin{proposition}
\label{real_reverse_triangle_inequality}
Suppose $a\in\reals$ and $b\in\reals$.
Then $\abs{a - b} \geq \abs{\abs{a} - \abs{b}}$.
\end{proposition}
Proof
$\abs{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 34.
Now $\abs{b}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 34.
$\abs{a - b}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 34.
$\abs{b - a} = \abs{a - b}$ by Proposition 482.
$\abs{(a - b) + b} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{a - b} + \abs{b}$ by Axiom 13, Axiom 18, Definition 64, Proposition 493.
$\abs{(b - a) + a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{b - a} + \abs{a}$ by Axiom 13, Axiom 18, Definition 64, Proposition 493.
Thus $\abs{b} + \neg{\abs{a}} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{b - a}$ by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 24.
Therefore $\abs{\abs{a} - \abs{b}} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} \abs{a - b}$ by Axiom 13, Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 14, Lemma 24, Proposition 482, Proposition 484.
LaTeX source
\begin{proof}
$\abs{a}\in\reals$ by \cref{real_abs_in_reals}.
Now $\abs{b}\in\reals$ by \cref{real_abs_in_reals}.
$\abs{a - b}\in\reals$ by \cref{real_add_inverse,real_sub,real_add_closed,real_abs_in_reals}.
$\abs{b - a} = \abs{a - b}$ by \cref{real_abs_sub_swap}.
$\abs{(a - b) + b} \leq \abs{a - b} + \abs{b}$ by \cref{real_add_inverse,real_sub,real_add_closed,real_triangle_inequality}.
$\abs{(b - a) + a} \leq \abs{b - a} + \abs{a}$ by \cref{real_add_inverse,real_sub,real_add_closed,real_triangle_inequality}.
Thus $\abs{b} + \neg{\abs{a}} \leq \abs{b - a}$ by \cref{real_sub,real_add_assoc,real_add_inverse,real_add_comm,real_add_ident,real_add_closed,real_leq_add}.
Therefore $\abs{\abs{a} - \abs{b}} \leq \abs{a - b}$ by \cref{real_sub,real_add_assoc,real_add_inverse,real_add_comm,real_add_ident,real_add_closed,real_leq_add,real_abs_sub_swap,real_sub_swap_neg,real_abs_leq_if_pm_leq}.
\end{proof}