Commit 2024-10-03 19:18 0c13e183
View on Github →chore: Rename FiniteDimensional.finrank
to Module.finrank
(#17192)
The namespacing in the linear algebra/affine spaces part of the library is a bit suboptimal. Here are a few arguments for why FiniteDimensional.finrank
should be renamed to Module.finrank
:
- Other objects in maths can be finite-dimensional and have a rank.
finrank
is directly analogous toModule.rank
, they have lemmas in common (egfinrank_eq_rank
, which is currently in neither of the declarations' namespaces) and have common series of lemmas that relate to other declarations in theModule
namespace, egModule.Finite
.- We are in the process of replacing
FiniteDimensional
byModule.Finite
, so theFiniteDimensional
namespace will soon be obsolete. - It is a shorter and clearer name.
Also make
Module.Finite
protected to avoid clashes withFinite