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.
finrankis 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 theModulenamespace, egModule.Finite.- We are in the process of replacing
FiniteDimensionalbyModule.Finite, so theFiniteDimensionalnamespace will soon be obsolete. - It is a shorter and clearer name.
Also make
Module.Finiteprotected to avoid clashes withFinite