Proof (defining properties of bases for topology)
Bases exhibit properties
Suppose $\mathcal{B}$ is a base for a topology $\tau$.
Covering
$X\in \tau$ by the definition of a topology. Since $\mathcal{B}$ is a base, there exists a subfamily $\mathcal{C}\subseteq \mathcal{B}$ such that $$ \begin{align*} X = \bigcup_{B\in \mathcal{C}} B \subseteq \bigcup_{B\in \mathcal{B}} B. \end{align*} $$
Intersection
Let $B_1, B_2 \in \mathcal{B}\subseteq \tau$. Since $B_1,B_2\in \tau$, we have $B_1\cap B_2\in \tau$, so there exists a $\mathcal{C}\subseteq \mathcal{B}$ such that $B_1\cap B_2 = \bigcup_{B\in \mathcal{C}} B$.
Now for any $x\in B_1\cap B_2$, there exists $B_3 \in \mathcal{C}$ such that $x\in B_3$. And $B_1\cap B_2 = \bigcup_{B\in \mathcal{C}} B \supseteq B_3$.
Existence of topology given a base
Suppose $\mathcal{B}$ satisfies the covering and intersection properties.
Consider $$ \begin{align*} \tau = \Big\{\bigcup_{B\in \mathcal{C}} B\ \Big|\ \mathcal{C}\subseteq \mathcal{B}\Big\}. \end{align*} $$ We will show that $\tau$ is a topology. Then $\mathcal{B}$ is a base for $\tau$.
-
$\emptyset\in \tau$ by taking $\mathcal{C} = \emptyset$. Moreover, $X\in \tau$ by taking $\mathcal{C} = \mathcal{B}$ and noting the covering property.
-
Unions of sets $\tau$ are in $\tau$, since $\left(\bigcup_{B\in \mathcal{C}_1} B\right)\cup \left(\bigcup_{B\in \mathcal{C}_2} B\right) = \bigcup_{B\in \mathcal{C}_1 \cup \mathcal{C}_2} B$.
-
We will show the case for intersection of two sets, and the finite case will then follow.
Let $U_1 = \bigcup_{B\in \mathcal{C}_1} B \in \tau$ and $U_2 = \bigcup_{B\in \mathcal{C}_2} B \in \tau$. For each $x\in U_1\cap U_2$, there exists some $B_1\in \mathcal{C}_1$ and $B_2\in \mathcal{C}_2$ such that $x\in B_1$ and $x\in B_2$, so by the intersection property, there exists $B_x \in \mathcal{B}$ satisfying $x\in B_x \subseteq B_1\cap B_2$.
Then $$ \begin{align*} U_1 \cap U_2 \subseteq \bigcup_{x\in U_1\cap B_2} B_x \in \tau. \end{align*} $$ And since $B_x\subseteq B_1\cap B_2$, this is an equality.