Module docstring
{"# The rank nullity theorem
In this file we provide the rank nullity theorem as a typeclass, and prove various corollaries
of the theorem. The main definition is HasRankNullity.{u} R, which states that
1. Every R-module M : Type u has a linear independent subset of cardinality Module.rank R M.
2. rank (M ⧸ N) + rank N = rank M for every R-module M : Type u and every N : Submodule R M.
The following instances are provided in mathlib:
1. DivisionRing.hasRankNullity for division rings in LinearAlgebra/Dimension/DivisionRing.lean.
2. IsDomain.hasRankNullity for commutative domains in LinearAlgebra/Dimension/Localization.lean.
TODO: prove the rank-nullity theorem for [Ring R] [IsDomain R] [StrongRankCondition R].
See nonempty_oreSet_of_strongRankCondition for a start.
"}