[step:Compare linearly independent sets inside the span of a finite set]We first prove the finite comparison lemma needed below.
[claim:Finite spanning sets bound linearly independent subsets]
Let $T \subset V$ be finite, and let $A \subset \operatorname{span}_k(T)$ be linearly independent over $k$. Then $A$ is finite and
\begin{align*}
|A| \leq |T|.
\end{align*}
[/claim]
[proof]
We argue by induction on the non-negative integer $m = |T|$.
If $m = 0$, then $T = \varnothing$ and $\operatorname{span}_k(T) = \{0\}$. Since a linearly independent set cannot contain $0$, we have $A = \varnothing$, so the assertion holds.
Assume the assertion holds for all finite subsets of cardinality $m-1$, where $m \geq 1$, and let $|T| = m$. Choose an element $t_0 \in T$ and define $T_0 := T \setminus \{t_0\}$.
If $A \subset \operatorname{span}_k(T_0)$, the induction hypothesis gives $|A| \leq |T_0| = m-1 \leq m$.
Otherwise choose $a_0 \in A \setminus \operatorname{span}_k(T_0)$. Since $a_0 \in \operatorname{span}_k(T)$, there are $\alpha \in k$ and $u \in \operatorname{span}_k(T_0)$ such that
\begin{align*}
a_0 = \alpha t_0 + u.
\end{align*}
The coefficient $\alpha$ is nonzero; if $\alpha = 0$, then $a_0 \in \operatorname{span}_k(T_0)$, contradicting the choice of $a_0$.
For each $a \in A \setminus \{a_0\}$, choose $\beta_a \in k$ and $v_a \in \operatorname{span}_k(T_0)$ such that
\begin{align*}
a = \beta_a t_0 + v_a.
\end{align*}
Define
\begin{align*}
a^\sharp := a - \frac{\beta_a}{\alpha}a_0.
\end{align*}
Then $a^\sharp \in \operatorname{span}_k(T_0)$, because the $t_0$-coefficient cancels. Let
\begin{align*}
A^\sharp := \{a^\sharp : a \in A \setminus \{a_0\}\}.
\end{align*}
We show that $A^\sharp$ is linearly independent. Let $a_1,\dots,a_r$ be distinct elements of $A \setminus \{a_0\}$, and suppose $\gamma_1,\dots,\gamma_r \in k$ satisfy
\begin{align*}
\sum_{i=1}^r \gamma_i a_i^\sharp = 0.
\end{align*}
Substituting the definition of $a_i^\sharp$ gives
\begin{align*}
\sum_{i=1}^r \gamma_i a_i - \left(\sum_{i=1}^r \gamma_i\frac{\beta_{a_i}}{\alpha}\right)a_0 = 0.
\end{align*}
This is a finite linear relation among distinct elements of the linearly independent set $A$, so every coefficient is zero. In particular, $\gamma_i = 0$ for every $i$. Hence $A^\sharp$ is linearly independent.
The map $A \setminus \{a_0\} \to A^\sharp$ given by $a \mapsto a^\sharp$ is injective: if $a^\sharp = b^\sharp$ for distinct $a,b \in A \setminus \{a_0\}$, then
\begin{align*}
a - b - \frac{\beta_a-\beta_b}{\alpha}a_0 = 0,
\end{align*}
which is a nontrivial finite linear relation among elements of $A$. Therefore
\begin{align*}
|A \setminus \{a_0\}| = |A^\sharp|.
\end{align*}
By the induction hypothesis applied to $A^\sharp \subset \operatorname{span}_k(T_0)$, the set $A^\sharp$ is finite and $|A^\sharp| \leq |T_0| = m-1$. Therefore $A$ is finite and
\begin{align*}
|A| = 1 + |A^\sharp| \leq 1 + (m-1) = m = |T|.
\end{align*}
This completes the induction.
[/proof][/step]