Text this: Formalization of Linear Space Theory in the Higher-Order Logic Proving System