I started studying functional analysis a couple of days ago, I have reached the Stone-Weierstrass theorem which is stated in my lecture notes as
Let $X$ be a compact metric space, $A\subseteq C(X)$ a sub-algebra that contains the constant functions and separates between the points, then $\overline{A}=C(X)$
And the proof begins with a lemma that claims
The only sub-algebras of $\mathbb{R}^{2}$ are $0,\mathbb{R}^{2},\mathbb{R}(0,1),\mathbb{R}(1,0),\mathbb{R}(1,1)$
I don't understand the theorem statement and the notation in the lemma - the notes never defined what an algebra or sub-algebra is (searching "algebra" in Google yields many results and it seems there is more than one meaning to this term) , and I am unfamiliar with the notation $\mathbb{R}(0,1)$ etc'.
Can someone please explain, in this context, what is the meaning of an algebra (or sub-algrbra) and of the notation ?
For any $\langle a,b\rangle\in\Bbb R^2$, $\Bbb R\langle a,b\rangle=\{\langle ra,rb\rangle:r\in\Bbb R\}$, so the last three sub-algebras in that list correspond to the $y$-axis, the $x$-axis, and the diagonal line $y=x$, respectively. The definition of algebra that you want appears to be this one: $\Bbb R^2$ under ordinary vector addition is an additive Abelian group, a ring (as a product of two rings), and an $\Bbb R$-module. You’ll find the appropriate notion of sub-algebra at the link.