I'm reading Luenberger's Optimization by Vector Space Methods which has the following definition:
A finite set $S$ of linearly independent vectors is said to be a basis for the space $X$ if $S$ generates $X$. A vector space having a finite basis is said to be finite dimensional. All other vector spaces are said to be infinite dimensional.
Am I going crazy for thinking that this definition does not really allow for infinite dimensional spaces since $S$ is defined as a finite set? Maybe there's some subtlety I'm missing here?