Rank of finite free modules #
This is a basic API for the rank of finite free modules.
The rank of a finite module is finite.
If M
is finite, finrank M = rank M
.
The finrank of a free module M
over R
is the cardinality of ChooseBasisIndex R M
.
The finrank of (ι →₀ R)
is Fintype.card ι
.
The finrank of (ι → R)
is Fintype.card ι
.
The finrank of the direct sum is the sum of the finranks.
The finrank of M × N
is (finrank R M) + (finrank R N)
.
The finrank of a finite product is the sum of the finranks.
If m
and n
are Fintype
, the finrank of m × n
matrices is
(Fintype.card m) * (Fintype.card n)
.
Two finite and free modules are isomorphic if they have the same (finite) rank.
Two finite and free modules are isomorphic if and only if they have the same (finite) rank.
Two finite and free modules are isomorphic if they have the same (finite) rank.
Equations
- LinearEquiv.ofFinrankEq M N cond = Classical.choice (_ : Nonempty (M ≃ₗ[R] N))
Instances For
The finrank of M ⊗[R] N
is (finrank R M) * (finrank R N)
.
The dimension of a submodule is bounded by the dimension of the ambient space.
The dimension of a quotient is bounded by the dimension of the ambient space.
Pushforwards of finite submodules have a smaller finrank.