Let $ \, K \, $ be a field, $X \, $ a $ \, K$-vector space and $ \, V \, $ and $ \, W \, $ subspaces of $ \, X$. I wonder if the (Hamel - algebraic) dimension formula of the sum $ \ V+W \ $ still holds for infinite dimensional case. Namely
$dim_K (V+W) + dim_K (V \cap W) = dim_K(V) + dim_K(W) \ . $
Specifically, let $ \, B \, $ be a basis for $ \ V \cap W$, $B_V \ $ be a basis for $ \, V$, $B_W \ $ be a basis for $ \, W \, $ and $ \, \overline{B_V} \, $ and $ \, \overline{B_W} \, $ be basis for $ \ V+W \ $ such that $$B \subset B_V \subset \overline{B_V} \qquad \text{and} \qquad B \subset B_W \subset \overline{B_W} \ \ \ . $$ I would like to find a bijection $$\overline{B_V} \sqcup B \to B_V \sqcup B_W \ \ , $$ if this is possible.
If not, then a counterexample would help. But I would still want to know if at least the inequality $$dim_K (V+W) \leq dim_K(V) + dim_K(W)$$ is valid. That is, find an injection $$\overline{B_V} \to B_V \sqcup B_W$$ or a surjection $$B_V \sqcup B_W \twoheadrightarrow \overline{B_V} \ \ . $$
Thanks in advance.
Consider the linear map $T\colon V\oplus W\to X$ given by $T(v,w):=v+w$. Then $\dim{V\oplus W}=\dim{\ker{T}}+\dim{(V+W)}$.
Now, the linear map $\psi\colon V\cap W\to V\oplus W$ defined by $\psi(x):=(x,-x)$ is such that
$\psi(x)\in\ker{T}$ for all $x\in V\cap W$,
$\psi$ is onto $\ker{T}$, for if $(v,w)\in\ker{T}$, then $v+w=0$, then $v=-w\in V\cap W$ and $\psi(v)=(v,-v)=(v,w)$, and
Hence $\dim{\ker{T}}=\dim{V\cap W}$, and we are done.