The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Dimension.LinearMap
13 declarations. Mathlib docs · Source
The rank of a linear map
Main definition
LinearMap.rank: The rank of a linear map.
abbrev LinearMap.rank E3 #
{K : Type u} →
{V : Type v} →
{V' : Type v'} →
[inst : Semiring K] →
[inst_1 : AddCommMonoid V] →
[inst_2 : Module K V] → [inst_3 : AddCommMonoid V'] → [inst_4 : Module K V'] → (V →ₗ[K] V') → Cardinal.{v'}
rank f is the rank of a LinearMap f, defined as the dimension of f.range.
theorem LinearMap.rank_le_range E1 #
∀ {K : Type u} {V : Type v} {V' : Type v'} [inst : Semiring K] [inst_1 : AddCommMonoid V] [inst_2 : Module K V]
[inst_3 : AddCommMonoid V'] [inst_4 : Module K V'] (f : V →ₗ[K] V'), f.rank ≤ Module.rank K V'
theorem LinearMap.rank_le_domain E1 #
∀ {K : Type u} {V V₁ : Type v} [inst : Semiring K] [inst_1 : AddCommMonoid V] [inst_2 : Module K V]
[inst_3 : AddCommMonoid V₁] [inst_4 : Module K V₁] (f : V →ₗ[K] V₁), f.rank ≤ Module.rank K V
theorem LinearMap.rank_zero E0 #
∀ {K : Type u} {V : Type v} {V' : Type v'} [inst : Semiring K] [inst_1 : AddCommMonoid V] [inst_2 : Module K V]
[inst_3 : AddCommMonoid V'] [inst_4 : Module K V'] [Nontrivial K], LinearMap.rank 0 = 0
theorem LinearMap.rank_comp_le_left E1 #
∀ {K : Type u} {V : Type v} {V' : Type v'} {V'' : Type v''} [inst : Semiring K] [inst_1 : AddCommMonoid V]
[inst_2 : Module K V] [inst_3 : AddCommMonoid V'] [inst_4 : Module K V'] [inst_5 : AddCommMonoid V'']
[inst_6 : Module K V''] (g : V →ₗ[K] V') (f : V' →ₗ[K] V''), (f ∘ₗ g).rank ≤ f.rank
theorem LinearMap.lift_rank_comp_le_right E1 #
∀ {K : Type u} {V : Type v} {V' : Type v'} {V'' : Type v''} [inst : Semiring K] [inst_1 : AddCommMonoid V]
[inst_2 : Module K V] [inst_3 : AddCommMonoid V'] [inst_4 : Module K V'] [inst_5 : AddCommMonoid V'']
[inst_6 : Module K V''] (g : V →ₗ[K] V') (f : V' →ₗ[K] V''),
Cardinal.lift.{v', v''} (f ∘ₗ g).rank ≤ Cardinal.lift.{v'', v'} g.rank
theorem LinearMap.lift_rank_comp_le E1 #
∀ {K : Type u} {V : Type v} {V' : Type v'} {V'' : Type v''} [inst : Semiring K] [inst_1 : AddCommMonoid V]
[inst_2 : Module K V] [inst_3 : AddCommMonoid V'] [inst_4 : Module K V'] [inst_5 : AddCommMonoid V'']
[inst_6 : Module K V''] (g : V →ₗ[K] V') (f : V' →ₗ[K] V''),
Cardinal.lift.{v', v''} (f ∘ₗ g).rank ≤ min (Cardinal.lift.{v', v''} f.rank) (Cardinal.lift.{v'', v'} g.rank)
The rank of the composition of two maps is less than the minimum of their ranks.
theorem LinearMap.rank_comp_le_right E1 #
∀ {K : Type u} {V : Type v} {V' V'₁ : Type v'} [inst : Semiring K] [inst_1 : AddCommMonoid V] [inst_2 : Module K V]
[inst_3 : AddCommMonoid V'] [inst_4 : Module K V'] [inst_5 : AddCommGroup V'₁] [inst_6 : Module K V'₁]
(g : V →ₗ[K] V') (f : V' →ₗ[K] V'₁), (f ∘ₗ g).rank ≤ g.rank
theorem LinearMap.rank_comp_le E1 #
∀ {K : Type u} {V : Type v} {V' V'₁ : Type v'} [inst : Semiring K] [inst_1 : AddCommMonoid V] [inst_2 : Module K V]
[inst_3 : AddCommMonoid V'] [inst_4 : Module K V'] [inst_5 : AddCommGroup V'₁] [inst_6 : Module K V'₁]
(g : V →ₗ[K] V') (f : V' →ₗ[K] V'₁), (f ∘ₗ g).rank ≤ min f.rank g.rank
The rank of the composition of two maps is less than the minimum of their ranks.
See lift_rank_comp_le for the universe-polymorphic version.
theorem LinearMap.rank_add_le E1 #
∀ {K : Type u} {V : Type v} {V' : Type v'} [inst : Ring K] [HasRankNullity.{v', u} K] [inst_2 : AddCommGroup V]
[inst_3 : Module K V] [inst_4 : AddCommGroup V'] [inst_5 : Module K V'] (f g : V →ₗ[K] V'),
(f + g).rank ≤ f.rank + g.rank
theorem LinearMap.rank_finsetSum_le E1 #
∀ {K : Type u} {V : Type v} {V' : Type v'} [inst : Ring K] [HasRankNullity.{v', u} K] [inst_2 : AddCommGroup V]
[inst_3 : Module K V] [inst_4 : AddCommGroup V'] [inst_5 : Module K V'] {η : Type u_1} (s : Finset η)
(f : η → V →ₗ[K] V'), (∑ d ∈ s, f d).rank ≤ ∑ d ∈ s, (f d).rank
theorem LinearMap.le_rank_iff_exists_linearIndependent E1 #
∀ {K : Type u} {V : Type v} {V' : Type v'} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : AddCommGroup V'] [inst_4 : Module K V'] {c : Cardinal.{v'}} {f : V →ₗ[K] V'},
c ≤ f.rank ↔ ∃ s, Cardinal.lift.{v', v} (Cardinal.mk ↑s) = Cardinal.lift.{v, v'} c ∧ LinearIndepOn K (⇑f) s
theorem LinearMap.le_rank_iff_exists_linearIndependent_finset E1 #
∀ {K : Type u} {V : Type v} {V' : Type v'} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : AddCommGroup V'] [inst_4 : Module K V'] {n : ℕ} {f : V →ₗ[K] V'},
↑n ≤ f.rank ↔ ∃ s, s.card = n ∧ LinearIndependent K fun (x : ↑↑s) ↦ f ↑x