The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Basis.Exact

7 declarations and 2 deprecated aliases. Mathlib docs · Source

Basis from a split exact sequence

Let 0 → K → M → P → 0 be a split exact sequence of R-modules, let s : M → K be a retraction of f and v be a basis of M indexed by κ ⊕ σ. Then if s vᵢ = 0 for i : κ and (s vⱼ)ⱼ is linear independent for j : σ, then the images of vᵢ for i : κ form a basis of P.

We treat linear independence and the span condition separately. For convenience this is stated not for κ ⊕ σ, but for an arbitrary type ι with two maps κ → ι and σ → ι.

theorem LinearIndependent.linearIndependent_of_exact_of_retraction E1 #

∀ {R : Type u_1} {M : Type u_2} {K : Type u_3} {P : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup K] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R K] [inst_6 : Module R P]
  {f : K →ₗ[R] M} {g : M →ₗ[R] P} {s : M →ₗ[R] K},
  s ∘ₗ f = LinearMap.id →
    Function.Exact ⇑f ⇑g →
      ∀ {ι : Type u_5} {κ : Type u_6} {v : ι → M} {a : κ → ι},
        Function.Injective a → (∀ (i : κ), s (v (a i)) = 0) → LinearIndependent R v → LinearIndependent R (⇑g ∘ v ∘ a)

theorem Submodule.top_le_span_of_exact_of_retraction E1 #

∀ {R : Type u_1} {M : Type u_2} {K : Type u_3} {P : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup K] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R K] [inst_6 : Module R P]
  {f : K →ₗ[R] M} {g : M →ₗ[R] P} {s : M →ₗ[R] K},
  s ∘ₗ f = LinearMap.id →
    Function.Exact ⇑f ⇑g →
      ∀ {ι : Type u_5} {κ : Type u_6} {σ : Type u_7} {v : ι → M} {a : κ → ι} {b : σ → ι},
        Function.Surjective ⇑g →
          (∀ (i : κ), s (v (a i)) = 0) →
            LinearIndependent R (⇑s ∘ v ∘ b) →
              Codisjoint (Set.range a) (Set.range b) →
                ⊤ ≤ Submodule.span R (Set.range v) → ⊤ ≤ Submodule.span R (Set.range (⇑g ∘ v ∘ a))

def Module.Basis.ofSplitExact E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {K : Type u_3} →
      {P : Type u_4} →
        [inst : Ring R] →
          [inst_1 : AddCommGroup M] →
            [inst_2 : AddCommGroup K] →
              [inst_3 : AddCommGroup P] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R K] →
                    [inst_6 : Module R P] →
                      {f : K →ₗ[R] M} →
                        {g : M →ₗ[R] P} →
                          {s : M →ₗ[R] K} →
                            s ∘ₗ f = LinearMap.id →
                              Function.Exact ⇑f ⇑g →
                                {ι : Type u_5} →
                                  {κ : Type u_6} →
                                    {σ : Type u_7} →
                                      {a : κ → ι} →
                                        {b : σ → ι} →
                                          Function.Surjective ⇑g →
                                            (v : Module.Basis ι R M) →
                                              Function.Injective a →
                                                (∀ (i : κ), s (v (a i)) = 0) →
                                                  LinearIndependent R (⇑s ∘ ⇑v ∘ b) →
                                                    Codisjoint (Set.range a) (Set.range b) → Module.Basis κ R P

Let 0 → K → M → P → 0 be a split exact sequence of R-modules, let s : M → K be a retraction of f and v be a basis of M indexed by κ ⊕ σ. Then if s vᵢ = 0 for i : κ and (s vⱼ)ⱼ is linear independent for j : σ, then the images of vᵢ for i : κ form a basis of P.

For convenience this is stated for an arbitrary type ι with two maps κ → ι and σ → ι.

theorem Module.Basis.ofSplitExact_apply E0 #

∀ {R : Type u_1} {M : Type u_2} {K : Type u_3} {P : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup K] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R K] [inst_6 : Module R P]
  {f : K →ₗ[R] M} {g : M →ₗ[R] P} {s : M →ₗ[R] K} (hs : s ∘ₗ f = LinearMap.id) (hfg : Function.Exact ⇑f ⇑g)
  {ι : Type u_5} {κ : Type u_6} {σ : Type u_7} {a : κ → ι} {b : σ → ι} (hg : Function.Surjective ⇑g)
  (v : Module.Basis ι R M) (hainj : Function.Injective a) (hsa : ∀ (i : κ), s (v (a i)) = 0)
  (hlib : LinearIndependent R (⇑s ∘ ⇑v ∘ b)) (hab : Codisjoint (Set.range a) (Set.range b)) (k : κ),
  (Module.Basis.ofSplitExact hs hfg hg v hainj hsa hlib hab) k = g (v (a k))

theorem Submodule.projectionOnto_comp_surjective_of_exact E1 #

∀ {R : Type u_1} {M : Type u_2} {K : Type u_3} {P : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup K] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R K] [inst_6 : Module R P]
  {f : K →ₗ[R] M} {g : M →ₗ[R] P},
  Function.Exact ⇑f ⇑g →
    ∀ {p q : Submodule R M} (hpq : IsCompl p q),
      Submodule.map g q = ⊤ → Function.Surjective ⇑(p.projectionOnto q hpq ∘ₗ f)

theorem Submodule.projectionOnto_comp_bijective_of_exact E1 #

∀ {R : Type u_1} {M : Type u_2} {K : Type u_3} {P : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup K] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R K] [inst_6 : Module R P]
  {f : K →ₗ[R] M} {g : M →ₗ[R] P},
  Function.Exact ⇑f ⇑g →
    Function.Injective ⇑f →
      ∀ {p q : Submodule R M} (hpq : IsCompl p q),
        Disjoint g.ker q → Submodule.map g q = ⊤ → Function.Bijective ⇑(p.projectionOnto q hpq ∘ₗ f)

theorem LinearMap.linearProjOfIsCompl_comp_bijective_of_exact E1 #

∀ {R : Type u_1} {M : Type u_2} {K : Type u_3} {P : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup K] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R K] [inst_6 : Module R P]
  {f : K →ₗ[R] M} {g : M →ₗ[R] P},
  Function.Exact ⇑f ⇑g →
    Function.Injective ⇑f →
      ∀ {q : Submodule R M} {E : Type u_8} [inst_7 : AddCommGroup E] [inst_8 : Module R E] {i : E →ₗ[R] M}
        (hi : Function.Injective ⇑i) (h : IsCompl i.range q),
        Disjoint g.ker q → Submodule.map g q = ⊤ → Function.Bijective ⇑(LinearMap.linearProjOfIsCompl q i hi h ∘ₗ f)

Deprecated aliases

NameNew nameSince
Submodule.linearProjOfIsCompl_comp_bijective_of_exactSubmodule.projectionOnto_comp_bijective_of_exact2026-05-05
Submodule.linearProjOfIsCompl_comp_surjective_of_exactSubmodule.projectionOnto_comp_surjective_of_exact2026-05-05