Trap S inside an interval of side length M, WLOG suppose interval is from [0,M].
For any adverserial ϵ, pick points at [0,ϵ,2ϵ,…,M]. These points are the epsilon net which contain M: S⊆M⊆Nϵ
The net only needs M/ϵ points which is finite.
See that this holds more generally for any Rn where we trap in a hypercube and sprinkle points.
§ In infinite dimensions, bounded need not be totally bounded.
Classic example, sphere in l2. It's clearly bounded by a constant 2.
we claim this is not totally bounded.
Note that any two vectors ei,ej have distance (2).
Note that we have an infinite number of basis vectors e1,e2,….
Suppose it is totally bounded. Pick ϵ=(2)/9999 as an adversary. We get a finite neighborhood set N1.
Thus, some point in n∈N1 must have an infinite number of basis vectors trapped in it.
so there must be two basis vectors in it, ei,ej such that ei=ej.
We must have that d(ei,ej)<d(ei,n)+d(n,ej) by triangle inequality.
This gives us (2)<(2)/9999+(2)/9999 which is a contradiction.
Thus, the sphere is not totally bounded.
§ compact => closed + totally bounded in infinite dim also
Let S be a compact set.
it is closed by the usual argument.
We claim S is totally bounded.
Let adversary pick ϵ.
We must establish a finite number of points Nϵ such that any point in Sis in an ϵ neighbourhood of some n∈Nϵ.
Reread that. that's literally compactness.
Pick an open cover O consisting of an ϵ ball for each point s∈S.
Extract a finite subcover from this.
This finite subcover is the finite ϵ net.
Thus done. Compact is totally bounded.
§ closed + totally bounded => sequentially compact in infinite dim also
Let S be a closed and totally bounded set.
We wish to show that it is sequentially compact.
Let xi be a sequence in S.
Perform the classical Bonzalo Weirstrass bisection construction.
Since S is totally bounded, we can pick any ϵ and get a finite epsilon net.
We claim that a closed subset of a totally bounded set is also totally bounded.
defmk_cauchy_sequence(S):
k =1whileTrue:
s = choose(S)yield s
Nk = finite_epsilon_net(S=S, epsilon=1/2^k)# n ∈ Nk such that n has an infinite number of points from $S$ in# the epsilon ball around $n$.
n = hilbert-epsilon-choose(|{ n ∈ N : S ∩ Ball(n, epsilon)}|= infty)
S = Ball(n, epsilon)# restrict to ball that has the inif
k +=1