The areas / V26. Homological algebra
Mathlib.Algebra.Exact.Sequence
2 declarations. Mathlib docs · Source
Exactness of sequences
In this file we provide some API for handling exact sequences.
Main definitions / results:
Module.sum_neg_one_pow_finrank_eq_zero_of_exact: the Euler characteristic of a finite exact sequence is zero.
TODO
Write a simproc to generate unrolled, universe-polymorphic versions of
Module.sum_neg_one_pow_finrank_eq_zero_of_exact on the fly and so obviate the need for
Module.sum_neg_one_pow_finrank_eq_zero_of_exact_six.
theorem Module.sum_neg_one_pow_finrank_eq_zero_of_exact E1 #
∀ {k : Type u_1} [inst : DivisionRing k] {n : ℕ} (V : Fin (n + 2) → Type u_2)
[inst_1 : (i : Fin (n + 2)) → AddCommGroup (V i)] [inst_2 : (i : Fin (n + 2)) → Module k (V i)]
[∀ (i : Fin (n + 2)), FiniteDimensional k (V i)] (f : (i : Fin (n + 1)) → V i.castSucc →ₗ[k] V i.succ),
Function.Injective ⇑(f 0) →
(∀ (i : Fin n), Function.Exact ⇑(f i.castSucc) ⇑(f i.succ)) →
Function.Surjective ⇑(f (Fin.last n)) → ∑ i, (-1) ^ ↑i * ↑(Module.finrank k (V i)) = 0
The Euler characteristic of a finite exact sequence is zero.
theorem Module.sum_neg_one_pow_finrank_eq_zero_of_exact_six E1 #
∀ {k : Type u_1} [inst : DivisionRing k] {V₀ : Type u₀} [inst_1 : AddCommGroup V₀] [inst_2 : Module k V₀]
[FiniteDimensional k V₀] {V₁ : Type u₁} [inst_4 : AddCommGroup V₁] [inst_5 : Module k V₁] [FiniteDimensional k V₁]
{V₂ : Type u₂} [inst_7 : AddCommGroup V₂] [inst_8 : Module k V₂] [FiniteDimensional k V₂] {V₃ : Type u₃}
[inst_10 : AddCommGroup V₃] [inst_11 : Module k V₃] [FiniteDimensional k V₃] {V₄ : Type u₄}
[inst_13 : AddCommGroup V₄] [inst_14 : Module k V₄] [FiniteDimensional k V₄] {V₅ : Type u₅}
[inst_16 : AddCommGroup V₅] [inst_17 : Module k V₅] [FiniteDimensional k V₅] (f₀ : V₀ →ₗ[k] V₁) (f₁ : V₁ →ₗ[k] V₂)
(f₂ : V₂ →ₗ[k] V₃) (f₃ : V₃ →ₗ[k] V₄) (f₄ : V₄ →ₗ[k] V₅),
Function.Injective ⇑f₀ →
Function.Exact ⇑f₀ ⇑f₁ →
Function.Exact ⇑f₁ ⇑f₂ →
Function.Exact ⇑f₂ ⇑f₃ →
Function.Exact ⇑f₃ ⇑f₄ →
Function.Surjective ⇑f₄ →
↑(Module.finrank k V₀) - ↑(Module.finrank k V₁) + ↑(Module.finrank k V₂) - ↑(Module.finrank k V₃) +
↑(Module.finrank k V₄) -
↑(Module.finrank k V₅) =
0
This is an unrolled, universe-polymorphic version of
Module.sum_neg_one_pow_finrank_eq_zero_of_exact. This special case exists because of the role that
this lemma plays in the proof of LinearMap.index_comp.
In theory one could write a simproc which conjured up this lemma for a sequence of any length and
then one would not need to have this special-case lemma at all.