$\require{physics}\newcommand{\cbrt}[1]{\sqrt[3]{#1}}\newcommand{\sgn}{\text{sgn}}\newcommand{\ii}[1]{\textit{#1}}\newcommand{\eps}{\varepsilon}\newcommand{\EE}{\mathbb E}\newcommand{\PP}{\mathbb P}\newcommand{\Var}{\mathrm{Var}}\newcommand{\Cov}{\mathrm{Cov}}\newcommand{\pperp}{\perp\kern-6pt\perp}\newcommand{\LL}{\mathcal{L}}\newcommand{\pa}{\partial}\newcommand{\AAA}{\mathscr{A}}\newcommand{\BBB}{\mathscr{B}}\newcommand{\CCC}{\mathscr{C}}\newcommand{\DDD}{\mathscr{D}}\newcommand{\EEE}{\mathscr{E}}\newcommand{\FFF}{\mathscr{F}}\newcommand{\WFF}{\widetilde{\FFF}}\newcommand{\GGG}{\mathscr{G}}\newcommand{\HHH}{\mathscr{H}}\newcommand{\PPP}{\mathscr{P}}\newcommand{\Ff}{\mathcal{F}}\newcommand{\Gg}{\mathcal{G}}\newcommand{\Hh}{\mathbb{H}}\DeclareMathOperator{\ess}{ess}\newcommand{\CC}{\mathbb C}\newcommand{\FF}{\mathbb F}\newcommand{\NN}{\mathbb N}\newcommand{\QQ}{\mathbb Q}\newcommand{\RR}{\mathbb R}\newcommand{\ZZ}{\mathbb Z}\newcommand{\KK}{\mathbb K}\newcommand{\SSS}{\mathbb S}\newcommand{\II}{\mathbb I}\newcommand{\conj}[1]{\overline{#1}}\DeclareMathOperator{\cis}{cis}\newcommand{\abs}[1]{\left\lvert #1 \right\rvert}\newcommand{\norm}[1]{\left\lVert #1 \right\rVert}\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}\newcommand{\ceil}[1]{\left\lceil #1 \right\rceil}\DeclareMathOperator*{\range}{range}\DeclareMathOperator*{\nul}{null}\DeclareMathOperator*{\Tr}{Tr}\DeclareMathOperator*{\tr}{Tr}\newcommand{\id}{1\!\!1}\newcommand{\Id}{1\!\!1}\newcommand{\der}{\ \mathrm {d}}\newcommand{\Zc}[1]{\ZZ / #1 \ZZ}\newcommand{\Zm}[1]{\left(\ZZ / #1 \ZZ\right)^\times}\DeclareMathOperator{\Hom}{Hom}\DeclareMathOperator{\End}{End}\newcommand{\GL}{\mathbb{GL}}\newcommand{\SL}{\mathbb{SL}}\newcommand{\SO}{\mathbb{SO}}\newcommand{\OO}{\mathbb{O}}\newcommand{\SU}{\mathbb{SU}}\newcommand{\U}{\mathbb{U}}\newcommand{\Spin}{\mathrm{Spin}}\newcommand{\Cl}{\mathrm{Cl}}\newcommand{\gr}{\mathrm{gr}}\newcommand{\gl}{\mathfrak{gl}}\newcommand{\sl}{\mathfrak{sl}}\newcommand{\so}{\mathfrak{so}}\newcommand{\su}{\mathfrak{su}}\newcommand{\sp}{\mathfrak{sp}}\newcommand{\uu}{\mathfrak{u}}\newcommand{\fg}{\mathfrak{g}}\newcommand{\hh}{\mathfrak{h}}\DeclareMathOperator{\Ad}{Ad}\DeclareMathOperator{\ad}{ad}\DeclareMathOperator{\Rad}{Rad}\DeclareMathOperator{\im}{im}\renewcommand{\BB}{\mathcal{B}}\newcommand{\HH}{\mathcal{H}}\DeclareMathOperator{\Lie}{Lie}\DeclareMathOperator{\Mat}{Mat}\DeclareMathOperator{\span}{span}\DeclareMathOperator{\proj}{proj}$
# Compact
Compactness is pretty important.
>[!idea]- Recall from point-set topology
>The following various equivalent definitions of a compact subset of a *metric space*:
> - Sequential compactness: every sequence has a convergent subsequence.
> - Completeness and total boundedness: for every $\eps > 0$, there exists a covering by finitely many $\eps$-balls.
> - Usual compactness: every open cover has a finite subcover.
>
> In addition, a subset $C$ is ==**pre-compact**== iff $\bar{C}$ is compact.
> - Equivalently, all sequences in $C$ have a subsequence convergent in the whole space. ($\bar{C}$ will be sequentially compact, because one can pick representatives in $C$ which are $\leq \frac1k$ away from $x_k\in \bar{C}$).
> - This immediately implies all subsets of a pre-compact space are pre-compact. This is also true in non-metrizable spaces, lol.
We'll present two ways to check something is compact on a Hilbert space. First, an elegant basis-free approach:
> [!theorem] Finite Dimensional Approximations
$K\subset \HH$ is compact iff:
> - $K$ is closed (which immediately implies $K$ is complete).
> - $K$ is bounded.
> - For all $\eps > 0$, there exists a finite-dimensional subspace $W\subset \HH$ such that for all $u\in K$, there exists a $w\in W$ such that $\norm{u - w} < \eps$.
This actually isn't too difficult; its just a slight rewording of the standard total boundedness condition to be more amenable to vector spaces.
> [!proof]- Statement implies Compact
Pick an $\eps$; we're going to fill up $K$ with $\eps$-balls. First off, use the statement to find a finite-dimensional subspace $W$ such that all points of $K$ are within $0.001\eps$ of $W$. I know that $K$ is bounded; $K\subset B_R(0)$. WLOG $R \gg \eps$. The set of $W\cap \overline{B_{2R}(0)}$ is closed and bounded, but it is also a subset of $W\equiv \CC^n$, thus by Heine-Borel it is compact. Thus, it can be covered by finitely many $0.001\eps$-balls. Finally, take all of those balls and increase their radius to $\eps$. We conclude.
> [!proof]- Compact implies Statement
We show the contrapositive. Flipping all the quantifiers, suppose $ \exists \eps \forall W \exists u\in K \forall w\in W,\qquad \norm{u - w}\geq \eps. $ Well, fix that $\eps$. We'll create a sequence of $W