Let $C$ be a non-empty convex set with non-trivial lineality space $L$ (Lineality space of a convex set $C$ being defined as $L = \{y\,|\,y+C=C\}$). How can I prove the following conclusion? $$ dim(C\cap L^\perp) + dim(L) = dim(C) $$
So far I am able to show that $C = (C\cap L^\perp) +L$, but I don't know how to proceed from here. Can anyone give me some hints?