230 The Least Upper Bound

0. What it says

\begin{equation} \boxed {\sup K\ \lhd \ x \quad \Longleftrightarrow \quad k\ \lhd \ x\ \text {for every}\ k\ \text {yielded by}\ K} \label {eq:lub} \tag{14944}\end{equation}
\begin{equation} \boxed {\text {that is an adjunction, written out}} \tag{14945}\end{equation}

I. Route 1 — \(\sup \) is a left adjoint

Let \(\Delta \) send a term to the constant family at it.

\begin{align} \sup K\ \lhd \ x\ &\Longleftrightarrow \ K\ \lhd \ \Delta x \tag{14946}\\ \Delta x\ \lhd \ K\ &\Longleftrightarrow \ x\ \lhd \ \inf K \tag{14947}\end{align}
\begin{equation} \boxed {\sup \ \dashv \ \Delta \ \dashv \ \inf } \tag{14948}\end{equation}
\begin{equation} \boxed {\text {LUB is not a construction; it is the existence of a left adjoint}} \tag{14949}\end{equation}



§228.12 here


route 3, representability \(\sup \) exists iff the least such \(x\) does
uniqueness by (U2) the supremum is unique


\begin{equation} \boxed {\text {and no Dedekind cut appears, because no set of rationals is formed}} \tag{14950}\end{equation}

II. Route 2 — \(\bigcup \ \dashv \ \mathcal {P}\)

\begin{equation} \textstyle \bigcup y\ \lhd \ x \quad \Longleftrightarrow \quad y\ \lhd \ \mathcal {P}(x) \tag {§228.12 V} \end{equation}



Read as


\(\bigcup y\lhd x\) \(\sup \) of the members of \(y\) is below \(x\)
\(y\lhd \mathcal {P}(x)\) every member of \(y\) is below \(x\)


\begin{equation} \boxed {\text {the Union--Power adjunction \emph {is} (14944)}} \tag{14951}\end{equation}
\begin{equation} \boxed {\text {two of the nine axioms, and the completeness of}\ \mathbb {R},\ \text {are one statement}} \tag{14952}\end{equation}

III. Route 3 — located tests

\(K\) a generator of reals, \(\mathrm {b}\) a bound.

\begin{align} \mathsf {Lo}_{\sup }(q)&:\equiv \ \mathsf {Ex}\bigl (\mathsf {Lo}_{(\cdot )}(q),\ K\bigr ) &&\text {some member exceeds } q \tag{14953}\\ \mathsf {Up}_{\sup }(q)&:\equiv \ \mathsf {All}\bigl (\mathsf {Up}_{(\cdot )}(q),\ K\bigr ) &&\text {every member is below } q \tag{14954}\end{align}




holds because



(C1) exclusive a member cannot both exceed and fall below
(C2) monotone each \(\mathsf {Lo}_{r}\) is
(C3) located dovetail \(K\) against the rationals the work



\begin{equation} \boxed {\text {locatedness is where the generator is needed, and the only place}} \tag{14955}\end{equation}
\begin{equation} \boxed {\text {§219 Prop.~219.4, unfolded}} \tag{14956}\end{equation}

IV. Route 4 — bisection

\begin{align} a_{0}&:=\text {a member}, \qquad b_{0}:=\text {the bound} \tag{14957}\\ m&:=\tfrac 12(a_{n}\oplus b_{n}) \tag{14958}\\ a_{n+1},b_{n+1}&:= \begin {cases} m,\ b_{n} & \text {some member exceeds } m\\ a_{n},\ m & \text {none does} \end {cases} \tag{14959}\end{align}
\begin{align} b_{n}\ominus a_{n}&=\frac {b_{0}\ominus a_{0}}{2^{n}} \tag{14960}\\ \Rightarrow \quad &\text {a nested interval stream} \tag{14961}\end{align}
\begin{equation} \boxed {\nu X.\ \mathrm {cns}\bigl (\langle a,b\rangle ,X\bigr ) \qquad \text {guarded, so §224.1 licenses it}} \tag{14962}\end{equation}
\begin{equation} \boxed {\text {the supremum is a System N real, produced digit by digit}} \tag{14963}\end{equation}



Step decides


\(n\) the \(n\)-th binary digit
the test “does some member exceed \(m\)”
terminates because \(K\) is a generator


V. Route 5 — a monotone charge

\begin{align} v\ &\text {a valuation, §65} \tag{14964}\\ v(A\sqcup B)\oplus v(A\sqcap B)&=v(A)\oplus v(B) &&\text {(M)} \tag{14965}\\ A\ \lhd \ B\ &\Rightarrow \ v(A)\preceq v(B) \tag{14966}\end{align}
\begin{equation} \boxed {\sup _{n}v(A_{n})=v\Bigl (\textstyle \bigsqcup _{n}A_{n}\Bigr )} \tag{14967}\end{equation}
\begin{equation} \boxed {\text {the supremum of the charges is the charge of the join --- and the join exists by route 1}} \tag{14968}\end{equation}

VI. The five, and the scope




Route needs gives



1 adjoint the order \(\sup \) as a former
2 \(\bigcup \dashv \mathcal {P}\) (R) the same, in sets
3 located tests a generator the digits
4 bisection a generator, a bound a stream
5 charge (M) continuity of \(v\)



\begin{equation} \boxed {\text {all five require}\ K\ \text {to be a generator}} \tag{14969}\end{equation}
\begin{equation} \boxed {\text {a family no rule produces has no supremum here, and is not a family of this system}} \tag{14970}\end{equation}

VII. The five theorems

Each is one paragraph, and each uses (14944) once.

Cauchy completeness.

\begin{align} S&:=\lgroup x\ \mid \ x\prec x_{n}\ \text {for all but finitely many } n\rgroup \tag{14971}\\ L&:=\sup S \tag{14972}\end{align}
\begin{equation} \boxed {x_{n}\ \longrightarrow \ L} \tag{14973}\end{equation}
\(S\) is nonempty and bounded above because the sequence is Cauchy; \(L\) is approached from both sides for the same reason.

Bolzano–Weierstrass.

\begin{align} S&:=\lgroup x\ \mid \ x\prec x_{n}\ \text {for infinitely many } n\rgroup \tag{14974}\\ L&:=\sup S \tag{14975}\end{align}
\begin{equation} \boxed {L\ \text {is a limit point; extract at each scale}} \tag{14976}\end{equation}

Heine–Borel.

\begin{align} S&:=\lgroup x\in [a,b]\ \mid \ [a,x]\ \text {has a finite subcover}\rgroup \tag{14977}\\ L&:=\sup S \tag{14978}\end{align}

Some \(U\) in the cover contains \(L\), hence an interval around \(L\); so \(L\) is in \(S\), and \(L\) can be pushed right unless \(L=b\).

\begin{equation} \boxed {L=b} \tag{14979}\end{equation}

Intermediate value.

\begin{align} f(a)\prec \mathrm {o}\prec f(b), \qquad S&:=\lgroup x\ \mid \ f(x)\prec \mathrm {o}\rgroup , \qquad L:=\sup S \tag{14980}\end{align}
\begin{equation} \boxed {f(L)=\mathrm {o}} \tag{14981}\end{equation}
Neither \(f(L)\succ \mathrm {o}\) nor \(f(L)\prec \mathrm {o}\) survives continuity at \(L\).

Extreme value.

Heine–Borel gives boundedness. Let \(M:=\sup f\). If \(M\) is not attained then \(1/(M\ominus f)\) is continuous and unbounded on a compact interval — against boundedness.

\begin{equation} \boxed {f\ \text {attains}\ M} \tag{14982}\end{equation}



Theorem the set whose \(\sup \) is taken


Cauchy eventually below the tail
Bolzano–Weierstrass below infinitely often
Heine–Borel finitely coverable up to here
IVT where \(f\) is negative
EVT the values of \(f\)


\begin{equation} \boxed {\text {five theorems, five sets, one property}} \tag{14983}\end{equation}

VIII. Which survive in module H




Statement module L module H



LUB for a located generator \(\checkmark\) \(\checkmark\)
Cauchy, with a modulus \(\checkmark\) \(\checkmark\)
Bolzano–Weierstrass \(\checkmark\) \(\times \)
Heine–Borel, pointed \(\checkmark\) \(\times \)
Heine–Borel, pointfree \(\checkmark\) \(\checkmark\)
IVT, exact \(\checkmark\) \(\times \)
IVT, approximate \(\checkmark\) \(\checkmark\)
EVT, attained \(\checkmark\) \(\times \)
EVT, as a located \(\sup \) \(\checkmark\) \(\checkmark\)



\begin{equation} \boxed {\text {Bolzano--Weierstrass asks which of two cases holds, and that is the omniscience it needs}} \tag{14984}\end{equation}
\begin{equation} \boxed {\text {the pointfree versions all survive}} \tag{14985}\end{equation}




pointed pointfree



compactness a property of a set of points of the locale
\([0,1]\) compact needs classical logic constructive
Gelfand duality needs the prime ideal theorem choice-free



\begin{equation} \boxed {\text {§281.6 V again: dropping the points strengthens the theorem}} \tag{14986}\end{equation}
\begin{equation} \boxed {\text {and §281.5 I already made the space a frame, so the pointfree versions are the ones this work has}} \tag{14987}\end{equation}

IX. What was not used



Classical Here


a Dedekind cut not formed
a set of rationals not formed
an equivalence class of sequences not formed
the axiom of choice not used
\(\mathbb {Q}\) as a completed field coprime pairs, §218.3


\begin{equation} \boxed {\text {the supremum is a former, licensed by an adjunction, and computed by bisection}} \tag{14988}\end{equation}

X. Identification

\begin{equation} \boxed { \begin {array}{lll} \sup & \text {left adjoint to } \Delta & \text {route 1}\\ \bigcup \dashv \mathcal {P} & \text {the same, in sets} & \text {route 2}\\ \text {located tests} & \mathsf {Ex},\ \mathsf {All} & \text {route 3}\\ \text {bisection} & \text {an interval stream} & \text {route 4}\\ \text {a charge} & \text {(M)} & \text {route 5}\\[3pt] \text {Cauchy} & \sup \ \text {of the eventual lower set} &\\ \text {B--W} & \sup \ \text {of the frequent lower set} &\\ \text {Heine--Borel} & \sup \ \text {of the coverable} &\\ \text {IVT} & \sup \ \text {of the negative set} &\\ \text {EVT} & \sup \ \text {of the values} &\\[3pt] \text {scope} & \text {generated families} & \text {VI}\\ \text {module H} & \text {the pointfree ones} & \text {VIII}\\ \text {Dedekind cut} & \text {never formed} & \text {IX} \end {array}} \tag{14989}\end{equation}
\begin{equation} \boxed {\text {completeness is an adjunction; the five theorems are five choices of the set}} \tag{14990}\end{equation}