feat(linear_algebra/determinant): `det (M ⬝ N) = det (N ⬝ M)` if `M` is invertible (#8720)
feat(linear_algebra/determinant): `det (M ⬝ N) = det (N ⬝ M)` if `M` is invertible (#8720)

If `M` is a square or invertible matrix, then `det (M ⬝ N) = det (N ⬝ M)`. This is basically just using `mul_comm` on `det M * det N`, except for some tricky rewriting to handle the invertible case.



Co-authored-by: Anne Baanen <839f20e486a83a313cf46ca4094e2de98129fc5d@users.noreply.github.com>

leanprover-community/mathlib,leanprover-community/mathlib