Proof of (ii). We apply Closed Interval [a,b] is Compact in R (i) and Extreme Value Theorem on a Compact Subset of a Metric Space (i) to the metric space (X,d)=(R,dRβ). Both statements use this distance dRβ, and their topologies TRβ and Tdβ are then the same set TdRββ of open subsets of R, which exists by The Open Sets of a Metric Space Form a Set, Given by a Predicative Formula (ii); and [a,b], the set of all tβR with aβ€tβ€b by Intervals of the Real Line (ii), is the set [a,b] of the first statement. So the first statement, applied to aβ€b, shows that K=[a,b] is compact in (R,TdRββ). Moreover Kξ =β
, since aβ€aβ€b gives aβK, and f:KβR is continuous on K by hypothesis. Thus the second statement applies to K and f, and gives xminβ,xmaxββ[a,b] with f(xminβ)β€f(x)β€f(xmaxβ) for every xβ[a,b]. Put p=xminβ and q=xmaxβ.
Proof of (i). Let p and q be as in (ii), and put M=β£f(p)β£+β£f(q)β£, a real number. Let xβ[a,b]. By Rules of Arithmetic and Order in an Ordered Field (x), ββ£f(p)β£β€f(p) and f(q)β€β£f(q)β£, and β£uβ£β€M for every real u with βMβ€uβ€M. As 0β€β£f(p)β£ and 0β€β£f(q)β£,
βMβ€ββ£f(p)β£β€f(p)β€f(x)β€f(q)β€β£f(q)β£β€M,
and so β£f(x)β£β€M.