The areas / V26. Homological algebra
Mathlib.Algebra.Category.ModuleCat.Free
9 declarations. Mathlib docs · Source
Exact sequences with free modules
This file proves results about linear independence and span in exact sequences of modules.
Main theorems
linearIndependent_shortExact: Given a short exact sequence0 ⟶ X₁ ⟶ X₂ ⟶ X₃ ⟶ 0ofR-modules and linearly independent familiesv : ι → X₁andw : ι' → X₃, we get a linearly independent familyι ⊕ ι' → X₂span_rightExact: Given an exact sequenceX₁ ⟶ X₂ ⟶ X₃ ⟶ 0ofR-modules and spanning familiesv : ι → X₁andw : ι' → X₃, we get a spanning familyι ⊕ ι' → X₂- Using
linearIndependent_shortExactandspan_rightExact, we provefree_shortExact: In a short exact sequence0 ⟶ X₁ ⟶ X₂ ⟶ X₃ ⟶ 0whereX₁andX₃are free,X₂is free as well.
Tags
linear algebra, module, free
theorem ModuleCat.disjoint_span_sum E1 #
∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} [inst : Ring R] {S : CategoryTheory.ShortComplex (ModuleCat R)},
S.Exact →
∀ {v : ι → ↑S.X₁} {u : ι ⊕ ι' → ↑S.X₂},
LinearIndependent R (⇑(CategoryTheory.ConcreteCategory.hom S.g) ∘ u ∘ Sum.inr) →
u ∘ Sum.inl = ⇑(CategoryTheory.ConcreteCategory.hom S.f) ∘ v →
Disjoint (Submodule.span R (Set.range (u ∘ Sum.inl))) (Submodule.span R (Set.range (u ∘ Sum.inr)))
theorem ModuleCat.linearIndependent_leftExact E1 #
∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} [inst : Ring R] {S : CategoryTheory.ShortComplex (ModuleCat R)},
S.Exact →
∀ {v : ι → ↑S.X₁},
LinearIndependent R v →
∀ {u : ι ⊕ ι' → ↑S.X₂},
LinearIndependent R (⇑(CategoryTheory.ConcreteCategory.hom S.g) ∘ u ∘ Sum.inr) →
CategoryTheory.Mono S.f →
u ∘ Sum.inl = ⇑(CategoryTheory.ConcreteCategory.hom S.f) ∘ v → LinearIndependent R u
In the commutative diagram
f g
0 --→ X₁ --→ X₂ --→ X₃
↑ ↑ ↑
v| u| w|
ι → ι ⊕ ι' ← ι'
where the top row is an exact sequence of modules and the maps on the bottom are Sum.inl and
Sum.inr. If u is injective and v and w are linearly independent, then u is linearly
independent.
theorem ModuleCat.linearIndependent_shortExact E3 #
∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} [inst : Ring R] {S : CategoryTheory.ShortComplex (ModuleCat R)},
S.ShortExact →
∀ {v : ι → ↑S.X₁},
LinearIndependent R v →
∀ {w : ι' → ↑S.X₃},
LinearIndependent R w →
LinearIndependent R
(Sum.elim (⇑(CategoryTheory.ConcreteCategory.hom S.f) ∘ v)
(Function.invFun (ModuleCat.Hom.hom S.g).toFun ∘ w))
Given a short exact sequence 0 ⟶ X₁ ⟶ X₂ ⟶ X₃ ⟶ 0 of R-modules and linearly independent
families v : ι → N and w : ι' → P, we get a linearly independent family ι ⊕ ι' → M
theorem ModuleCat.span_exact E1 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Ring R] {S : CategoryTheory.ShortComplex (ModuleCat R)},
S.Exact →
∀ {v : ι → ↑S.X₁} {β : Type u_4} {u : ι ⊕ β → ↑S.X₂},
u ∘ Sum.inl = ⇑(CategoryTheory.ConcreteCategory.hom S.f) ∘ v →
⊤ ≤ Submodule.span R (Set.range v) →
⊤ ≤ Submodule.span R (Set.range (⇑(CategoryTheory.ConcreteCategory.hom S.g) ∘ u ∘ Sum.inr)) →
⊤ ≤ Submodule.span R (Set.range u)
In the commutative diagram
f g
X₁ --→ X₂ --→ X₃
↑ ↑ ↑
v| u| w|
ι → ι ⊕ ι' ← ι'
where the top row is an exact sequence of modules and the maps on the bottom are Sum.inl and
Sum.inr. If v spans X₁ and w spans X₃, then u spans X₂.
theorem ModuleCat.span_rightExact E3 #
∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} [inst : Ring R] {S : CategoryTheory.ShortComplex (ModuleCat R)},
S.Exact →
∀ {v : ι → ↑S.X₁} {w : ι' → ↑S.X₃},
⊤ ≤ Submodule.span R (Set.range v) →
⊤ ≤ Submodule.span R (Set.range w) →
CategoryTheory.Epi S.g →
⊤ ≤
Submodule.span R
(Set.range
(Sum.elim (⇑(CategoryTheory.ConcreteCategory.hom S.f) ∘ v)
(Function.invFun (ModuleCat.Hom.hom S.g).toFun ∘ w)))
Given an exact sequence X₁ ⟶ X₂ ⟶ X₃ ⟶ 0 of R-modules and spanning
families v : ι → X₁ and w : ι' → X₃, we get a spanning family ι ⊕ ι' → X₂
def ModuleCat.Basis.ofShortExact E1 #
{ι : Type u_1} →
{ι' : Type u_2} →
{R : Type u_3} →
[inst : Ring R] →
{S : CategoryTheory.ShortComplex (ModuleCat R)} →
S.ShortExact → Module.Basis ι R ↑S.X₁ → Module.Basis ι' R ↑S.X₃ → Module.Basis (ι ⊕ ι') R ↑S.X₂
In a short exact sequence 0 ⟶ X₁ ⟶ X₂ ⟶ X₃ ⟶ 0, given bases for X₁ and X₃
indexed by ι and ι' respectively, we get a basis for X₂ indexed by ι ⊕ ι'.
theorem ModuleCat.free_shortExact E3 #
∀ {R : Type u_3} [inst : Ring R] {S : CategoryTheory.ShortComplex (ModuleCat R)},
S.ShortExact → ∀ [Module.Free R ↑S.X₁] [Module.Free R ↑S.X₃], Module.Free R ↑S.X₂
In a short exact sequence 0 ⟶ X₁ ⟶ X₂ ⟶ X₃ ⟶ 0, if X₁ and X₃ are free,
then X₂ is free.
theorem ModuleCat.free_shortExact_rank_add E1 #
∀ {R : Type u_3} [inst : Ring R] {S : CategoryTheory.ShortComplex (ModuleCat R)},
S.ShortExact →
∀ [Module.Free R ↑S.X₁] [Module.Free R ↑S.X₃] [StrongRankCondition R],
Module.rank R ↑S.X₂ = Module.rank R ↑S.X₁ + Module.rank R ↑S.X₃
theorem ModuleCat.free_shortExact_finrank_add E1 #
∀ {R : Type u_3} [inst : Ring R] {S : CategoryTheory.ShortComplex (ModuleCat R)},
S.ShortExact →
∀ {n p : ℕ} [Module.Free R ↑S.X₁] [Module.Free R ↑S.X₃] [Module.Finite R ↑S.X₁] [Module.Finite R ↑S.X₃],
Module.finrank R ↑S.X₁ = n →
Module.finrank R ↑S.X₃ = p → ∀ [StrongRankCondition R], Module.finrank R ↑S.X₂ = n + p