The areas / V26. Homological algebra
Mathlib.Algebra.Exact.Basic
76 declarations. Mathlib docs · Source
Exactness of a pair
-
For two maps
f : M → Nandg : N → P, withZero P,Function.Exact f gsays thatSet.range f = Set.preimage g {0} -
For two maps
f : M → Nandg : N → P, withOne P,Function.MulExact f gsays thatSet.range f = Set.preimage g {1} -
For additive maps
f : M →+ Nandg : N →+ P,Exact f gsays thatrange f = ker g -
For multiplicative maps
f : M →* Nandg : N →* P,MulExact f gsays thatrange f = ker g -
For linear maps
f : M →ₗ[R] Nandg : N →ₗ[R] P,Exact f gsays thatrange f = ker g
TODO :
- generalize to
SemilinearMap, evenSemilinearMapClass
theorem Function.Exact.linearEquivOfSurjective.congr_simp E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g g_1 : N →ₗ[R] P} (e_g : g = g_1) (h : Function.Exact ⇑f ⇑g) (hg : Function.Surjective ⇑g),
h.linearEquivOfSurjective hg = ⋯.linearEquivOfSurjective ⋯
theorem LinearEquiv.congr_simp E1 #
∀ {R : Type u_14} {S : Type u_15} [inst : Semiring R] [inst_1 : Semiring S] (σ σ_1 : R →+* S) (e_σ : σ = σ_1)
{σ' σ'_1 : S →+* R} (e_σ' : σ' = σ'_1) [inst_2 : RingHomInvPair σ σ'] [inst_3 : RingHomInvPair σ' σ] (M : Type u_16)
(M₂ : Type u_17) [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid M₂] [inst_6 : Module R M] [inst_7 : Module S M₂],
(M ≃ₛₗ[σ] M₂) = (M ≃ₛₗ[σ_1] M₂)
def Function.MulExact E1 #
{M : Type u_2} → {N : Type u_4} → {P : Type u_6} → (M → N) → (N → P) → [One P] → Prop
The maps f and g form an exact pair: g y = 1 iff y belongs to the image of f.
def Function.Exact E1 #
{M : Type u_2} → {N : Type u_4} → {P : Type u_6} → (M → N) → (N → P) → [Zero P] → Prop
The maps f and g form an exact pair:
g y = 0 iff y belongs to the image of f.
theorem Function.Exact.apply_apply_eq_zero E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : Zero P],
Function.Exact f g → ∀ (x : M), g (f x) = 0
theorem Function.MulExact.apply_apply_eq_one E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : One P],
Function.MulExact f g → ∀ (x : M), g (f x) = 1
theorem Function.MulExact.comp_eq_one E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : One P], Function.MulExact f g → g ∘ f = 1
theorem Function.Exact.comp_eq_zero E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : Zero P], Function.Exact f g → g ∘ f = 0
theorem Function.Exact.of_comp_of_mem_range E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : Zero P],
g ∘ f = 0 → (∀ (x : N), g x = 0 → x ∈ Set.range f) → Function.Exact f g
theorem Function.MulExact.of_comp_of_mem_range E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : One P],
g ∘ f = 1 → (∀ (x : N), g x = 1 → x ∈ Set.range f) → Function.MulExact f g
theorem Function.MulExact.comp_injective E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {P' : Type u_7} {f : M → N} {g : N → P} (g' : P → P') [inst : One P]
[inst_1 : One P'], Function.MulExact f g → Function.Injective g' → g' 1 = 1 → Function.MulExact f (g' ∘ g)
theorem Function.Exact.comp_injective E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {P' : Type u_7} {f : M → N} {g : N → P} (g' : P → P') [inst : Zero P]
[inst_1 : Zero P'], Function.Exact f g → Function.Injective g' → g' 0 = 0 → Function.Exact f (g' ∘ g)
theorem Function.MulExact.of_comp_eq_one_of_ker_in_range E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : One P],
g ∘ f = 1 → (∀ (y : N), g y = 1 → y ∈ Set.range f) → Function.MulExact f g
theorem Function.Exact.of_comp_eq_zero_of_ker_in_range E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : Zero P],
g ∘ f = 0 → (∀ (y : N), g y = 0 → y ∈ Set.range f) → Function.Exact f g
theorem Function.MulExact.iff_rangeFactorization E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : One P] (hg : 1 ∈ Set.range g),
Function.MulExact f g ↔ Function.MulExact Subtype.val (Set.rangeFactorization g)
Two maps f : M → N and g : N → P are exact if and only if the induced maps
Set.range f → N → Set.range g are exact.
Note that if you already have an instance [One (Set.range g)] (which is unlikely) this lemma
may not apply if the one of Set.range g is not definitionally equal to ⟨1, hg⟩.
theorem Function.Exact.iff_rangeFactorization E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : Zero P] (hg : 0 ∈ Set.range g),
Function.Exact f g ↔ Function.Exact Subtype.val (Set.rangeFactorization g)
Two maps f : M → N and g : N → P are exact if and only if the induced maps
Set.range f → N → Set.range g are exact.
Note that if you already have an instance [Zero (Set.range g)] (which is unlikely) this lemma
may not apply if the zero of Set.range g is not definitionally equal to ⟨0, hg⟩.
theorem Function.MulExact.rangeFactorization E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : One P],
Function.MulExact f g → ∀ (hg : 1 ∈ Set.range g), Function.MulExact Subtype.val (Set.rangeFactorization g)
If two maps f : M → N and g : N → P are exact, then the induced maps
Set.range f → N → Set.range g are exact.
Note that if you already have an instance [One (Set.range g)] (which is unlikely) this lemma
may not apply if the one of Set.range g is not definitionally equal to ⟨1, hg⟩.
theorem Function.Exact.rangeFactorization E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} {f : M → N} {g : N → P} [inst : Zero P],
Function.Exact f g → ∀ (hg : 0 ∈ Set.range g), Function.Exact Subtype.val (Set.rangeFactorization g)
If two maps f : M → N and g : N → P are exact, then the induced maps
Set.range f → N → Set.range g are exact.
Note that if you already have an instance [Zero (Set.range g)] (which is unlikely) this lemma
may not apply if the zero of Set.range g is not definitionally equal to ⟨0, hg⟩.
theorem AddMonoidHom.exact_iff E0 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : AddGroup M] [inst_1 : AddGroup N] [inst_2 : AddGroup P]
{f : M →+ N} {g : N →+ P}, Function.Exact ⇑f ⇑g ↔ g.ker = f.range
theorem MonoidHom.mulExact_iff E0 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Group M] [inst_1 : Group N] [inst_2 : Group P] {f : M →* N}
{g : N →* P}, Function.MulExact ⇑f ⇑g ↔ g.ker = f.range
theorem AddMonoidHom.exact_of_comp_eq_zero_of_ker_le_range E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : AddGroup M] [inst_1 : AddGroup N] [inst_2 : AddGroup P]
{f : M →+ N} {g : N →+ P}, g.comp f = 0 → g.ker ≤ f.range → Function.Exact ⇑f ⇑g
theorem MonoidHom.mulExact_of_comp_eq_one_of_ker_le_range E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Group M] [inst_1 : Group N] [inst_2 : Group P] {f : M →* N}
{g : N →* P}, g.comp f = 1 → g.ker ≤ f.range → Function.MulExact ⇑f ⇑g
theorem AddMonoidHom.exact_of_comp_of_mem_range E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : AddGroup M] [inst_1 : AddGroup N] [inst_2 : AddGroup P]
{f : M →+ N} {g : N →+ P}, g.comp f = 0 → (∀ (x : N), g x = 0 → x ∈ f.range) → Function.Exact ⇑f ⇑g
theorem MonoidHom.mulExact_of_comp_of_mem_range E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Group M] [inst_1 : Group N] [inst_2 : Group P] {f : M →* N}
{g : N →* P}, g.comp f = 1 → (∀ (x : N), g x = 1 → x ∈ f.range) → Function.MulExact ⇑f ⇑g
theorem MonoidHom.mulExact_iff_of_surjective_of_bijective_of_injective E1 #
∀ {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} {N₁ : Type u_11} {N₂ : Type u_12} {N₃ : Type u_13}
[inst : CommMonoid M₁] [inst_1 : CommMonoid M₂] [inst_2 : CommMonoid M₃] [inst_3 : CommMonoid N₁]
[inst_4 : CommMonoid N₂] [inst_5 : CommMonoid N₃] (f : M₁ →* M₂) (g : M₂ →* M₃) (f' : N₁ →* N₂) (g' : N₂ →* N₃)
(τ₁ : M₁ →* N₁) (τ₂ : M₂ →* N₂) (τ₃ : M₃ →* N₃),
f'.comp τ₁ = τ₂.comp f →
g'.comp τ₂ = τ₃.comp g →
Function.Surjective ⇑τ₁ →
Function.Bijective ⇑τ₂ → Function.Injective ⇑τ₃ → (Function.MulExact ⇑f ⇑g ↔ Function.MulExact ⇑f' ⇑g')
When we have a commutative diagram from a sequence of two maps to another,
such that the left vertical map is surjective, the middle vertical map is bijective and the right
vertical map is injective, then the upper row is exact iff the lower row is.
See ShortComplex.exact_iff_of_epi_of_isIso_of_mono in the file
Mathlib/Algebra/Homology/ShortComplex/Exact.lean for the categorical version of this result.
theorem AddMonoidHom.exact_iff_of_surjective_of_bijective_of_injective E1 #
∀ {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} {N₁ : Type u_11} {N₂ : Type u_12} {N₃ : Type u_13}
[inst : AddCommMonoid M₁] [inst_1 : AddCommMonoid M₂] [inst_2 : AddCommMonoid M₃] [inst_3 : AddCommMonoid N₁]
[inst_4 : AddCommMonoid N₂] [inst_5 : AddCommMonoid N₃] (f : M₁ →+ M₂) (g : M₂ →+ M₃) (f' : N₁ →+ N₂) (g' : N₂ →+ N₃)
(τ₁ : M₁ →+ N₁) (τ₂ : M₂ →+ N₂) (τ₃ : M₃ →+ N₃),
f'.comp τ₁ = τ₂.comp f →
g'.comp τ₂ = τ₃.comp g →
Function.Surjective ⇑τ₁ →
Function.Bijective ⇑τ₂ → Function.Injective ⇑τ₃ → (Function.Exact ⇑f ⇑g ↔ Function.Exact ⇑f' ⇑g')
When we have a commutative diagram from a sequence of two maps to another,
such that the left vertical map is surjective, the middle vertical map is bijective and the right
vertical map is injective, then the upper row is exact iff the lower row is.
See ShortComplex.exact_iff_of_epi_of_isIso_of_mono in the file
Mathlib/Algebra/Homology/ShortComplex/Exact.lean for the categorical version of this result.
theorem Function.Exact.addMonoidHom_ker_eq E0 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : AddGroup M] [inst_1 : AddGroup N] [inst_2 : AddGroup P]
{f : M →+ N} {g : N →+ P}, Function.Exact ⇑f ⇑g → g.ker = f.range
theorem Function.MulExact.monoidHom_ker_eq E0 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Group M] [inst_1 : Group N] [inst_2 : Group P] {f : M →* N}
{g : N →* P}, Function.MulExact ⇑f ⇑g → g.ker = f.range
theorem Function.MulExact.monoidHom_comp_eq_zero E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Group M] [inst_1 : Group N] [inst_2 : Group P] {f : M →* N}
{g : N →* P}, Function.MulExact ⇑f ⇑g → g.comp f = 1
theorem Function.Exact.addMonoidHom_comp_eq_zero E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : AddGroup M] [inst_1 : AddGroup N] [inst_2 : AddGroup P]
{f : M →+ N} {g : N →+ P}, Function.Exact ⇑f ⇑g → g.comp f = 0
theorem Function.Exact.iff_of_ladder_addEquiv E1 #
∀ {X₁ : Type u_8} {X₂ : Type u_9} {X₃ : Type u_10} {Y₁ : Type u_11} {Y₂ : Type u_12} {Y₃ : Type u_13}
[inst : AddCommMonoid X₁] [inst_1 : AddCommMonoid X₂] [inst_2 : AddCommMonoid X₃] [inst_3 : AddCommMonoid Y₁]
[inst_4 : AddCommMonoid Y₂] [inst_5 : AddCommMonoid Y₃] (e₁ : X₁ ≃+ Y₁) (e₂ : X₂ ≃+ Y₂) (e₃ : X₃ ≃+ Y₃)
{f₁₂ : X₁ →+ X₂} {f₂₃ : X₂ →+ X₃} {g₁₂ : Y₁ →+ Y₂} {g₂₃ : Y₂ →+ Y₃},
g₁₂.comp ↑e₁ = (↑e₂).comp f₁₂ → g₂₃.comp ↑e₂ = (↑e₃).comp f₂₃ → (Function.Exact ⇑g₁₂ ⇑g₂₃ ↔ Function.Exact ⇑f₁₂ ⇑f₂₃)
theorem Function.MulExact.iff_of_ladder_mulEquiv E1 #
∀ {X₁ : Type u_8} {X₂ : Type u_9} {X₃ : Type u_10} {Y₁ : Type u_11} {Y₂ : Type u_12} {Y₃ : Type u_13}
[inst : CommMonoid X₁] [inst_1 : CommMonoid X₂] [inst_2 : CommMonoid X₃] [inst_3 : CommMonoid Y₁]
[inst_4 : CommMonoid Y₂] [inst_5 : CommMonoid Y₃] (e₁ : X₁ ≃* Y₁) (e₂ : X₂ ≃* Y₂) (e₃ : X₃ ≃* Y₃) {f₁₂ : X₁ →* X₂}
{f₂₃ : X₂ →* X₃} {g₁₂ : Y₁ →* Y₂} {g₂₃ : Y₂ →* Y₃},
g₁₂.comp ↑e₁ = (↑e₂).comp f₁₂ →
g₂₃.comp ↑e₂ = (↑e₃).comp f₂₃ → (Function.MulExact ⇑g₁₂ ⇑g₂₃ ↔ Function.MulExact ⇑f₁₂ ⇑f₂₃)
theorem Function.Exact.of_ladder_addEquiv_of_exact E1 #
∀ {X₁ : Type u_8} {X₂ : Type u_9} {X₃ : Type u_10} {Y₁ : Type u_11} {Y₂ : Type u_12} {Y₃ : Type u_13}
[inst : AddCommMonoid X₁] [inst_1 : AddCommMonoid X₂] [inst_2 : AddCommMonoid X₃] [inst_3 : AddCommMonoid Y₁]
[inst_4 : AddCommMonoid Y₂] [inst_5 : AddCommMonoid Y₃] (e₁ : X₁ ≃+ Y₁) (e₂ : X₂ ≃+ Y₂) (e₃ : X₃ ≃+ Y₃)
{f₁₂ : X₁ →+ X₂} {f₂₃ : X₂ →+ X₃} {g₁₂ : Y₁ →+ Y₂} {g₂₃ : Y₂ →+ Y₃},
g₁₂.comp ↑e₁ = (↑e₂).comp f₁₂ → g₂₃.comp ↑e₂ = (↑e₃).comp f₂₃ → Function.Exact ⇑f₁₂ ⇑f₂₃ → Function.Exact ⇑g₁₂ ⇑g₂₃
theorem Function.MulExact.of_ladder_mulEquiv_of_mulExact E1 #
∀ {X₁ : Type u_8} {X₂ : Type u_9} {X₃ : Type u_10} {Y₁ : Type u_11} {Y₂ : Type u_12} {Y₃ : Type u_13}
[inst : CommMonoid X₁] [inst_1 : CommMonoid X₂] [inst_2 : CommMonoid X₃] [inst_3 : CommMonoid Y₁]
[inst_4 : CommMonoid Y₂] [inst_5 : CommMonoid Y₃] (e₁ : X₁ ≃* Y₁) (e₂ : X₂ ≃* Y₂) (e₃ : X₃ ≃* Y₃) {f₁₂ : X₁ →* X₂}
{f₂₃ : X₂ →* X₃} {g₁₂ : Y₁ →* Y₂} {g₂₃ : Y₂ →* Y₃},
g₁₂.comp ↑e₁ = (↑e₂).comp f₁₂ →
g₂₃.comp ↑e₂ = (↑e₃).comp f₂₃ → Function.MulExact ⇑f₁₂ ⇑f₂₃ → Function.MulExact ⇑g₁₂ ⇑g₂₃
theorem Function.MulExact.of_ladder_mulEquiv_of_mulExact' E1 #
∀ {X₁ : Type u_8} {X₂ : Type u_9} {X₃ : Type u_10} {Y₁ : Type u_11} {Y₂ : Type u_12} {Y₃ : Type u_13}
[inst : CommMonoid X₁] [inst_1 : CommMonoid X₂] [inst_2 : CommMonoid X₃] [inst_3 : CommMonoid Y₁]
[inst_4 : CommMonoid Y₂] [inst_5 : CommMonoid Y₃] (e₁ : X₁ ≃* Y₁) (e₂ : X₂ ≃* Y₂) (e₃ : X₃ ≃* Y₃) {f₁₂ : X₁ →* X₂}
{f₂₃ : X₂ →* X₃} {g₁₂ : Y₁ →* Y₂} {g₂₃ : Y₂ →* Y₃},
g₁₂.comp ↑e₁ = (↑e₂).comp f₁₂ →
g₂₃.comp ↑e₂ = (↑e₃).comp f₂₃ → Function.MulExact ⇑g₁₂ ⇑g₂₃ → Function.MulExact ⇑f₁₂ ⇑f₂₃
theorem Function.Exact.of_ladder_addEquiv_of_exact' E1 #
∀ {X₁ : Type u_8} {X₂ : Type u_9} {X₃ : Type u_10} {Y₁ : Type u_11} {Y₂ : Type u_12} {Y₃ : Type u_13}
[inst : AddCommMonoid X₁] [inst_1 : AddCommMonoid X₂] [inst_2 : AddCommMonoid X₃] [inst_3 : AddCommMonoid Y₁]
[inst_4 : AddCommMonoid Y₂] [inst_5 : AddCommMonoid Y₃] (e₁ : X₁ ≃+ Y₁) (e₂ : X₂ ≃+ Y₂) (e₃ : X₃ ≃+ Y₃)
{f₁₂ : X₁ →+ X₂} {f₂₃ : X₂ →+ X₃} {g₁₂ : Y₁ →+ Y₂} {g₂₃ : Y₂ →+ Y₃},
g₁₂.comp ↑e₁ = (↑e₂).comp f₁₂ → g₂₃.comp ↑e₂ = (↑e₃).comp f₂₃ → Function.Exact ⇑g₁₂ ⇑g₂₃ → Function.Exact ⇑f₁₂ ⇑f₂₃
theorem Function.MulExact.iff_monoidHom_rangeRestrict E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Group M] [inst_1 : Group N] [inst_2 : Group P] {f : M →* N}
{g : N →* P}, Function.MulExact ⇑f ⇑g ↔ Function.MulExact ⇑f.range.subtype ⇑g.rangeRestrict
Two maps f : M →* N and g : N →* P are exact if and only if the induced maps
MonoidHom.range f → N → MonoidHom.range g are exact.
theorem Function.Exact.iff_addMonoidHom_rangeRestrict E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : AddGroup M] [inst_1 : AddGroup N] [inst_2 : AddGroup P]
{f : M →+ N} {g : N →+ P}, Function.Exact ⇑f ⇑g ↔ Function.Exact ⇑f.range.subtype ⇑g.rangeRestrict
Two maps f : M →+ N and g : N →+ P are exact if and only if the induced maps
AddMonoidHom.range f → N → AddMonoidHom.range g are exact.
theorem Function.MulExact.monoidHom_rangeRestrict E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Group M] [inst_1 : Group N] [inst_2 : Group P] {f : M →* N}
{g : N →* P}, Function.MulExact ⇑f ⇑g → Function.MulExact ⇑f.range.subtype ⇑g.rangeRestrict
Alias of the forward direction of Function.MulExact.iff_monoidHom_rangeRestrict.
Two maps f : M →* N and g : N →* P are exact if and only if the induced maps
MonoidHom.range f → N → MonoidHom.range g are exact.
theorem Function.Exact.addMonoidHom_rangeRestrict E1 #
∀ {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : AddGroup M] [inst_1 : AddGroup N] [inst_2 : AddGroup P]
{f : M →+ N} {g : N →+ P}, Function.Exact ⇑f ⇑g → Function.Exact ⇑f.range.subtype ⇑g.rangeRestrict
Alias of the forward direction of Function.Exact.iff_addMonoidHom_rangeRestrict.
Two maps f : M →+ N and g : N →+ P are exact if and only if the induced maps
AddMonoidHom.range f → N → AddMonoidHom.range g are exact.
theorem LinearMap.exact_iff E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
[inst_6 : Module R P] {f : M →ₗ[R] N} {g : N →ₗ[R] P}, Function.Exact ⇑f ⇑g ↔ g.ker = f.range
theorem LinearMap.exact_of_comp_eq_zero_of_ker_le_range E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
[inst_6 : Module R P] {f : M →ₗ[R] N} {g : N →ₗ[R] P}, g ∘ₗ f = 0 → g.ker ≤ f.range → Function.Exact ⇑f ⇑g
theorem LinearMap.exact_of_comp_of_mem_range E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
[inst_6 : Module R P] {f : M →ₗ[R] N} {g : N →ₗ[R] P},
g ∘ₗ f = 0 → (∀ (x : N), g x = 0 → x ∈ f.range) → Function.Exact ⇑f ⇑g
theorem LinearMap.exact_subtype_mkQ E1 #
∀ {R : Type u_8} {N : Type u_10} [inst : Ring R] [inst_1 : AddCommGroup N] [inst_2 : Module R N] (Q : Submodule R N),
Function.Exact ⇑Q.subtype ⇑Q.mkQ
theorem LinearMap.exact_map_mkQ_range E1 #
∀ {R : Type u_8} {M : Type u_9} {N : Type u_10} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup N]
[inst_3 : Module R M] [inst_4 : Module R N] (f : M →ₗ[R] N), Function.Exact ⇑f ⇑f.range.mkQ
theorem LinearMap.exact_subtype_ker_map E1 #
∀ {R : Type u_8} {N : Type u_10} {P : Type u_11} [inst : Ring R] [inst_1 : AddCommGroup N] [inst_2 : AddCommGroup P]
[inst_3 : Module R N] [inst_4 : Module R P] (g : N →ₗ[R] P), Function.Exact ⇑g.ker.subtype ⇑g
theorem LinearMap.exact_zero_iff_injective E0 #
∀ {R : Type u_8} [inst : Ring R] {M : Type u_12} {N : Type u_13} (P : Type u_14) [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommMonoid P] [inst_4 : Module R N] [inst_5 : Module R M] [inst_6 : Module R P]
(f : M →ₗ[R] N), Function.Exact ⇑0 ⇑f ↔ Function.Injective ⇑f
theorem LinearMap.exact_zero_iff_surjective E0 #
∀ {R : Type u_1} [inst : Semiring R] {M : Type u_8} {N : Type u_9} (P : Type u_10) [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommMonoid P] [inst_4 : Module R N] [inst_5 : Module R M] [inst_6 : Module R P]
(f : M →ₗ[R] N), Function.Exact ⇑f ⇑0 ↔ Function.Surjective ⇑f
theorem LinearEquiv.conj_exact_iff_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {N' : Type u_5} {P : Type u_6} [inst : Semiring R]
[inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid N'] [inst_4 : AddCommMonoid P]
[inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R N'] [inst_8 : Module R P] (f : M →ₗ[R] N)
(g : N →ₗ[R] P) (e : N ≃ₗ[R] N'), Function.Exact ⇑(↑e ∘ₗ f) ⇑(g ∘ₗ ↑e.symm) ↔ Function.Exact ⇑f ⇑g
theorem LinearEquiv.conj_symm_exact_iff_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {N' : Type u_5} {P : Type u_6} [inst : Semiring R]
[inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid N'] [inst_4 : AddCommMonoid P]
[inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R N'] [inst_8 : Module R P] (f : M →ₗ[R] N)
(g : N →ₗ[R] P) (e : N' ≃ₗ[R] N), Function.Exact ⇑(↑e.symm ∘ₗ f) ⇑(g ∘ₗ ↑e) ↔ Function.Exact ⇑f ⇑g
theorem Function.Exact.linearMap_ker_eq E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
[inst_6 : Module R P] {f : M →ₗ[R] N} {g : N →ₗ[R] P}, Function.Exact ⇑f ⇑g → g.ker = f.range
theorem Function.Exact.linearMap_comp_eq_zero E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
[inst_6 : Module R P] {f : M →ₗ[R] N} {g : N →ₗ[R] P}, Function.Exact ⇑f ⇑g → g ∘ₗ f = 0
theorem Function.Surjective.comp_exact_iff_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {M' : Type u_3} {N : Type u_4} {P : Type u_6} [inst : Semiring R]
[inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid N] [inst_4 : AddCommMonoid P]
[inst_5 : Module R M] [inst_6 : Module R M'] [inst_7 : Module R N] [inst_8 : Module R P] {f : M →ₗ[R] N}
{g : N →ₗ[R] P} {p : M' →ₗ[R] M}, Function.Surjective ⇑p → (Function.Exact ⇑(f ∘ₗ p) ⇑g ↔ Function.Exact ⇑f ⇑g)
theorem LinearEquiv.precomp_exact_iff_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {M' : Type u_3} {N : Type u_4} {P : Type u_6} [inst : Semiring R]
[inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid N] [inst_4 : AddCommMonoid P]
[inst_5 : Module R M] [inst_6 : Module R M'] [inst_7 : Module R N] [inst_8 : Module R P] {f : M →ₗ[R] N}
{g : N →ₗ[R] P} {e : M' ≃ₗ[R] M}, Function.Exact ⇑(f ∘ₗ ↑e) ⇑g ↔ Function.Exact ⇑f ⇑g
theorem Function.Injective.comp_exact_iff_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} {P' : Type u_7} [inst : Semiring R]
[inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : AddCommMonoid P']
[inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R P] [inst_8 : Module R P'] {f : M →ₗ[R] N}
{g : N →ₗ[R] P} {i : P →ₗ[R] P'}, Function.Injective ⇑i → (Function.Exact ⇑f ⇑(i ∘ₗ g) ↔ Function.Exact ⇑f ⇑g)
theorem LinearEquiv.postcomp_exact_iff_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} {P' : Type u_7} [inst : Semiring R]
[inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : AddCommMonoid P']
[inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R P] [inst_8 : Module R P'] {f : M →ₗ[R] N}
{g : N →ₗ[R] P} {e : P ≃ₗ[R] P'}, Function.Exact ⇑f ⇑(↑e ∘ₗ g) ↔ Function.Exact ⇑f ⇑g
theorem Function.Exact.iff_of_ladder_linearEquiv E1 #
∀ {R : Type u_1} {M : Type u_2} {M' : Type u_3} {N : Type u_4} {N' : Type u_5} {P : Type u_6} {P' : Type u_7}
[inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid N]
[inst_4 : AddCommMonoid N'] [inst_5 : AddCommMonoid P] [inst_6 : AddCommMonoid P'] [inst_7 : Module R M]
[inst_8 : Module R M'] [inst_9 : Module R N] [inst_10 : Module R N'] [inst_11 : Module R P] [inst_12 : Module R P']
{f₁₂ : M →ₗ[R] N} {f₂₃ : N →ₗ[R] P} {g₁₂ : M' →ₗ[R] N'} {g₂₃ : N' →ₗ[R] P'} {e₁ : M ≃ₗ[R] M'} {e₂ : N ≃ₗ[R] N'}
{e₃ : P ≃ₗ[R] P'},
g₁₂ ∘ₗ ↑e₁ = ↑e₂ ∘ₗ f₁₂ → g₂₃ ∘ₗ ↑e₂ = ↑e₃ ∘ₗ f₂₃ → (Function.Exact ⇑g₁₂ ⇑g₂₃ ↔ Function.Exact ⇑f₁₂ ⇑f₂₃)
theorem Function.Exact.of_ladder_linearEquiv_of_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {M' : Type u_3} {N : Type u_4} {N' : Type u_5} {P : Type u_6} {P' : Type u_7}
[inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid N]
[inst_4 : AddCommMonoid N'] [inst_5 : AddCommMonoid P] [inst_6 : AddCommMonoid P'] [inst_7 : Module R M]
[inst_8 : Module R M'] [inst_9 : Module R N] [inst_10 : Module R N'] [inst_11 : Module R P] [inst_12 : Module R P']
{f₁₂ : M →ₗ[R] N} {f₂₃ : N →ₗ[R] P} {g₁₂ : M' →ₗ[R] N'} {g₂₃ : N' →ₗ[R] P'} {e₁ : M ≃ₗ[R] M'} {e₂ : N ≃ₗ[R] N'}
{e₃ : P ≃ₗ[R] P'},
g₁₂ ∘ₗ ↑e₁ = ↑e₂ ∘ₗ f₁₂ → g₂₃ ∘ₗ ↑e₂ = ↑e₃ ∘ₗ f₂₃ → Function.Exact ⇑f₁₂ ⇑f₂₃ → Function.Exact ⇑g₁₂ ⇑g₂₃
theorem Function.Exact.iff_linearMap_rangeRestrict E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
[inst_6 : Module R P] {f : M →ₗ[R] N} {g : N →ₗ[R] P},
Function.Exact ⇑f ⇑g ↔ Function.Exact ⇑f.range.subtype ⇑g.rangeRestrict
Two maps f : M →ₗ[R] N and g : N →ₗ[R] P are exact if and only if the induced maps
LinearMap.range f → N → LinearMap.range g are exact.
theorem Function.Exact.linearMap_rangeRestrict E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
[inst_6 : Module R P] {f : M →ₗ[R] N} {g : N →ₗ[R] P},
Function.Exact ⇑f ⇑g → Function.Exact ⇑f.range.subtype ⇑g.rangeRestrict
Alias of the forward direction of Function.Exact.iff_linearMap_rangeRestrict.
Two maps f : M →ₗ[R] N and g : N →ₗ[R] P are exact if and only if the induced maps
LinearMap.range f → N → LinearMap.range g are exact.
def Function.Exact.splitSurjectiveEquiv E1 #
{R : Type u_1} →
{M : Type u_2} →
{N : Type u_4} →
{P : Type u_6} →
[inst : Semiring R] →
[inst_1 : AddCommGroup M] →
[inst_2 : AddCommGroup N] →
[inst_3 : AddCommGroup P] →
[inst_4 : Module R M] →
[inst_5 : Module R N] →
[inst_6 : Module R P] →
{f : M →ₗ[R] N} →
{g : N →ₗ[R] P} →
Function.Exact ⇑f ⇑g →
Function.Injective ⇑f →
{ l // g ∘ₗ l = LinearMap.id } ≃
{ e // f = ↑e.symm ∘ₗ LinearMap.inl R M P ∧ g = LinearMap.snd R M P ∘ₗ ↑e }
Given an exact sequence 0 → M → N → P, giving a section P → N is equivalent to giving a
splitting N ≃ M × P.
def Function.Exact.splitInjectiveEquiv E1 #
{R : Type u_8} →
{M : Type u_9} →
{N : Type u_10} →
{P : Type u_11} →
[inst : Semiring R] →
[inst_1 : AddCommGroup M] →
[inst_2 : AddCommGroup N] →
[inst_3 : AddCommGroup P] →
[inst_4 : Module R M] →
[inst_5 : Module R N] →
[inst_6 : Module R P] →
{f : M →ₗ[R] N} →
{g : N →ₗ[R] P} →
Function.Exact ⇑f ⇑g →
Function.Surjective ⇑g →
{ l // l ∘ₗ f = LinearMap.id } ≃
{ e // f = ↑e.symm ∘ₗ LinearMap.inl R M P ∧ g = LinearMap.snd R M P ∘ₗ ↑e }
Given an exact sequence M → N → P → 0, giving a retraction N → M is equivalent to giving a
splitting N ≃ M × P.
theorem Function.Exact.split_tfae' E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Semiring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P},
Function.Exact ⇑f ⇑g →
[Function.Injective ⇑f ∧ ∃ l, g ∘ₗ l = LinearMap.id, Function.Surjective ⇑g ∧ ∃ l, l ∘ₗ f = LinearMap.id,
∃ e, f = ↑e.symm ∘ₗ LinearMap.inl R M P ∧ g = LinearMap.snd R M P ∘ₗ ↑e].TFAE
theorem Function.Exact.split_tfae E2 #
∀ {R : Type u_8} {M : Type u_9} {N : Type u_10} {P : Type u_11} [inst : Semiring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P},
Function.Exact ⇑f ⇑g →
Function.Injective ⇑f →
Function.Surjective ⇑g →
[∃ l, g ∘ₗ l = LinearMap.id, ∃ l, l ∘ₗ f = LinearMap.id,
∃ e, f = ↑e.symm ∘ₗ LinearMap.inl R M P ∧ g = LinearMap.snd R M P ∘ₗ ↑e].TFAE
Equivalent characterizations of split exact sequences. Also known as the Splitting lemma.
theorem Function.Exact.inr_fst E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
[inst_3 : Module R M] [inst_4 : Module R N], Function.Exact ⇑(LinearMap.inr R M N) ⇑(LinearMap.fst R M N)
theorem Function.Exact.inl_snd E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
[inst_3 : Module R M] [inst_4 : Module R N], Function.Exact ⇑(LinearMap.inl R M N) ⇑(LinearMap.snd R M N)
theorem Function.Exact.exact_mapQ_iff E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P},
Function.Exact ⇑f ⇑g →
∀ {p : Submodule R M} {q : Submodule R N} {r : Submodule R P} (hpq : p ≤ Submodule.comap f q)
(hqr : q ≤ Submodule.comap g r),
Function.Exact ⇑(p.mapQ q f hpq) ⇑(q.mapQ r g hqr) ↔ g.range ⊓ r ≤ Submodule.map g q
A necessary and sufficient condition for an exact sequence to descend to a quotient.
theorem LinearMap.exact_iff_of_surjective_of_bijective_of_injective E1 #
∀ {R : Type u_1} [inst : Ring R] {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} {N₁ : Type u_11} {N₂ : Type u_12}
{N₃ : Type u_13} [inst_1 : AddCommMonoid M₁] [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃]
[inst_4 : AddCommMonoid N₁] [inst_5 : AddCommMonoid N₂] [inst_6 : AddCommMonoid N₃] [inst_7 : Module R M₁]
[inst_8 : Module R M₂] [inst_9 : Module R M₃] [inst_10 : Module R N₁] [inst_11 : Module R N₂] [inst_12 : Module R N₃]
(f : M₁ →ₗ[R] M₂) (g : M₂ →ₗ[R] M₃) (f' : N₁ →ₗ[R] N₂) (g' : N₂ →ₗ[R] N₃) (τ₁ : M₁ →ₗ[R] N₁) (τ₂ : M₂ →ₗ[R] N₂)
(τ₃ : M₃ →ₗ[R] N₃),
f' ∘ₗ τ₁ = τ₂ ∘ₗ f →
g' ∘ₗ τ₂ = τ₃ ∘ₗ g →
Function.Surjective ⇑τ₁ →
Function.Bijective ⇑τ₂ → Function.Injective ⇑τ₃ → (Function.Exact ⇑f ⇑g ↔ Function.Exact ⇑f' ⇑g')
When we have a commutative diagram from a sequence of two linear maps to another,
such that the left vertical map is surjective, the middle vertical map is bijective and the right
vertical map is injective, then the upper row is exact iff the lower row is.
See ShortComplex.exact_iff_of_epi_of_isIso_of_mono in the file
Mathlib/Algebra/Homology/ShortComplex/Exact.lean for the categorical version of this result.
theorem LinearMap.surjective_range_liftQ E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P} (h : f.range ≤ g.ker),
Function.Surjective ⇑g → Function.Surjective ⇑(f.range.liftQ g h)
theorem LinearMap.ker_eq_bot_range_liftQ_iff E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P} (h : f.range ≤ g.ker), (f.range.liftQ g h).ker = ⊥ ↔ g.ker = f.range
theorem LinearMap.injective_range_liftQ_of_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P} (h : Function.Exact ⇑f ⇑g), Function.Injective ⇑(f.range.liftQ g ⋯)
theorem LinearMap.surjective_iff_eq_zero_of_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P}, Function.Exact ⇑f ⇑g → (Function.Surjective ⇑f ↔ g = 0)
theorem LinearMap.injective_iff_eq_zero_of_exact E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P}, Function.Exact ⇑f ⇑g → (Function.Injective ⇑g ↔ f = 0)
def Function.Exact.linearEquivOfSurjective E1 #
{R : Type u_1} →
{M : Type u_2} →
{N : Type u_4} →
{P : Type u_6} →
[inst : Ring R] →
[inst_1 : AddCommGroup M] →
[inst_2 : AddCommGroup N] →
[inst_3 : AddCommGroup P] →
[inst_4 : Module R M] →
[inst_5 : Module R N] →
[inst_6 : Module R P] →
{f : M →ₗ[R] N} →
{g : N →ₗ[R] P} → Function.Exact ⇑f ⇑g → Function.Surjective ⇑g → (N ⧸ f.range) ≃ₗ[R] P
The linear equivalence (N ⧸ LinearMap.range f) ≃ₗ[A] P associated to
an exact sequence M → N → P → 0 of R-modules.
theorem Function.Exact.linearEquivOfSurjective_apply E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P} (h : Function.Exact ⇑f ⇑g) (hg : Function.Surjective ⇑g) (x : N ⧸ f.range),
(h.linearEquivOfSurjective hg) x = (f.range.liftQ g ⋯) x
theorem Function.Exact.linearEquivOfSurjective_symm_apply E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {P : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup N] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R P]
{f : M →ₗ[R] N} {g : N →ₗ[R] P} (h : Function.Exact ⇑f ⇑g) (hg : Function.Surjective ⇑g) (x : N),
(h.linearEquivOfSurjective hg).symm (g x) = Submodule.Quotient.mk x