Formal Theories for Linear Algebra (Logical Methods in Computer Science, 2012)