Matrix_Tensor.thy