Module

FiniteDimensionalExactSequences.lean

Nyll.SchemeTheory.HomologicalAlgebra.FiniteDimensionalExactSequences
14 declarations indexed from sourceView source ↗

Linear Map finite Dimensional ker and quotient range of exact of finite Dimensional

Linear Map finrank ker eq and finrank add finrank eq of quasi Iso

Relate kernel and cokernel dimensions along an exact sequence.

Linear Map nonempty ker Mod Range equiv of equiv comm

Linear Map sum neg one pow mul finrank eq zero of exact

Declarations

LinearMap.finiteDimensional_ker_and_quotient_range_of_exact_of_finiteDimensional
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_finiteDimensional_ker_and_quotient_range_of_exact_of_finiteDimensional
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_finiteDimensional_ker_and_quotient_range_of_exact_of_finiteDimensional
universe u v
theorem _root_.LinearMap.finiteDimensional_ker_and_quotient_range_of_exact_of_finiteDimensional
    {k : Type u} [Field k]
    {A₁ A₂ A₃ B₁ B₂ B₃ : Type v}
    [AddCommGroup A₁] [Module k A₁] [AddCommGroup A₂] [Module k A₂] [AddCommGroup A₃] [Module k A₃]
    [AddCommGroup B₁] [Module k B₁] [AddCommGroup B₂] [Module k B₂] [AddCommGroup B₃] [Module k B₃]
    (d₁ : A₁ →ₗ[k] B₁) (d₂ : A₂ →ₗ[k] B₂) (d₃ : A₃ →ₗ[k] B₃)
    (f₁ : A₁ →ₗ[k] A₂) (f₂ : A₂ →ₗ[k] A₃) (g₁ : B₁ →ₗ[k] B₂) (g₂ : B₂ →ₗ[k] B₃)
    (hf₁ : Function.Injective f₁) (hf : Function.Exact f₁ f₂) (hf₂ : Function.Surjective f₂)
    (hg₁ : Function.Injective g₁) (hg : Function.Exact g₁ g₂)
    (h₁ : g₁ ∘ₗ d₁ = d₂ ∘ₗ f₁) (h₂ : g₂ ∘ₗ d₂ = d₃ ∘ₗ f₂)
    [FiniteDimensional k (LinearMap.ker d₂)] [FiniteDimensional k (B₂ ⧸ LinearMap.range d₂)]
    [FiniteDimensional k (LinearMap.ker d₃)] :
    FiniteDimensional k (LinearMap.ker d₁) ∧ FiniteDimensional k (B₁ ⧸ LinearMap.range d₁)
LinearMap.finrank_ker_eq_and_finrank_add_finrank_eq_of_quasiIso
Source context 5 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_finrank_ker_eq_and_finrank_add_finrank_eq_of_quasiIso
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs.LinearMapFinrankKerFinrankAdd
universe u v
theorem _root_.LinearMap.finrank_ker_eq_and_finrank_add_finrank_eq_of_quasiIso
    {A : Type u} [Field A]
    (K : ℕ → Type v) [∀ i, AddCommGroup (K i)] [∀ i, Module A (K i)] [∀ i, Module.Finite A (K i)]
    (δ : ∀ i, K i →ₗ[A] K (i + 1))
    (C : ℕ → Type v) [∀ i, AddCommGroup (C i)] [∀ i, Module A (C i)] (d : ∀ i, C i →ₗ[A] C (i + 1))
    (φ : ∀ i, K i →ₗ[A] C i) (hφ : ∀ i, d i ∘ₗ φ i = φ (i + 1) ∘ₗ δ i)
    (h0inj : ∀ x : K 0, δ 0 x = 0 → φ 0 x = 0 → x = 0)
    (h0surj : ∀ y : C 0, d 0 y = 0 → ∃ x : K 0, δ 0 x = 0 ∧ φ 0 x = y)
    (hinj : ∀ (i : ℕ) (x : K (i + 1)), δ (i + 1) x = 0 → φ (i + 1) x ∈ LinearMap.range (d i) →
      x ∈ LinearMap.range (δ i))
    (hsurj : ∀ (i : ℕ) (y : C (i + 1)), d (i + 1) y = 0 →
      ∃ x : K (i + 1), δ (i + 1) x = 0 ∧ φ (i + 1) x - y ∈ LinearMap.range (d i)) :
    Module.finrank A ↥(LinearMap.ker (d 0)) = Module.finrank A ↥(LinearMap.ker (δ 0)) ∧
      ∀ (i : ℕ) (H : Type v) [AddCommGroup H] [Module A H] (ψ : ↥(LinearMap.ker (d (i + 1))) →ₗ[A]
        H),
        Function.Surjective ψ →
        LinearMap.ker ψ = (LinearMap.range (d i)).comap (LinearMap.ker (d (i + 1))).subtype →
        Module.finrank A H +
            Module.finrank A ↥((LinearMap.range (δ i)).comap (LinearMap.ker (δ (i + 1))).subtype) =
          Module.finrank A ↥(LinearMap.ker (δ (i + 1)))
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_finrank_ker_sub_finrank_quotient_range_eq_add_of_exact.C2EulerCharAux.finiteDimensional_of_exact
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_finrank_ker_sub_finrank_quotient_range_eq_add_of_exact
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_finrank_ker_sub_finrank_quotient_range_eq_add_of_exact
namespace C2EulerCharAux
open Function
universe u₀ u₁ u₂ u₃
variable {k : Type u₀} [DivisionRing k]
  {M : Type u₁} {N : Type u₂} {P : Type u₃}
  [AddCommGroup M] [Module k M] [AddCommGroup N] [Module k N] [AddCommGroup P] [Module k P]
lemma finiteDimensional_of_exact {f : M →ₗ[k] N} {g : N →ₗ[k] P} (h : Exact f g)
    [FiniteDimensional k M] [FiniteDimensional k P] : FiniteDimensional k N
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_finrank_ker_sub_finrank_quotient_range_eq_add_of_exact.C2EulerCharAux.finrank_eq_of_exact
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_finrank_ker_sub_finrank_quotient_range_eq_add_of_exact
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_finrank_ker_sub_finrank_quotient_range_eq_add_of_exact
namespace C2EulerCharAux
open Function
universe u₀ u₁ u₂ u₃
variable {k : Type u₀} [DivisionRing k]
  {M : Type u₁} {N : Type u₂} {P : Type u₃}
  [AddCommGroup M] [Module k M] [AddCommGroup N] [Module k N] [AddCommGroup P] [Module k P]
lemma finrank_eq_of_exact {f : M →ₗ[k] N} {g : N →ₗ[k] P} (h : Exact f g)
    [FiniteDimensional k N] :
    Module.finrank k N
      = Module.finrank k (LinearMap.range f) + Module.finrank k (LinearMap.range g)
LinearMap.finrank_ker_sub_finrank_quotient_range_eq_add_of_exact
Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_finrank_ker_sub_finrank_quotient_range_eq_add_of_exact
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_finrank_ker_sub_finrank_quotient_range_eq_add_of_exact
universe u v
open C2EulerCharAux in
theorem _root_.LinearMap.finrank_ker_sub_finrank_quotient_range_eq_add_of_exact
    {k : Type u} [Field k]
    {A₁ A₂ A₃ B₁ B₂ B₃ : Type v}
    [AddCommGroup A₁] [Module k A₁] [AddCommGroup A₂] [Module k A₂] [AddCommGroup A₃] [Module k A₃]
    [AddCommGroup B₁] [Module k B₁] [AddCommGroup B₂] [Module k B₂] [AddCommGroup B₃] [Module k B₃]
    (d₁ : A₁ →ₗ[k] B₁) (d₂ : A₂ →ₗ[k] B₂) (d₃ : A₃ →ₗ[k] B₃)
    (f₁ : A₁ →ₗ[k] A₂) (f₂ : A₂ →ₗ[k] A₃) (g₁ : B₁ →ₗ[k] B₂) (g₂ : B₂ →ₗ[k] B₃)
    (hf₁ : Function.Injective f₁) (hf : Function.Exact f₁ f₂) (hf₂ : Function.Surjective f₂)
    (hg₁ : Function.Injective g₁) (hg : Function.Exact g₁ g₂) (hg₂ : Function.Surjective g₂)
    (h₁ : g₁ ∘ₗ d₁ = d₂ ∘ₗ f₁) (h₂ : g₂ ∘ₗ d₂ = d₃ ∘ₗ f₂)
    [FiniteDimensional k (LinearMap.ker d₁)] [FiniteDimensional k (B₁ ⧸ LinearMap.range d₁)]
    [FiniteDimensional k (LinearMap.ker d₃)] [FiniteDimensional k (B₃ ⧸ LinearMap.range d₃)] :
    FiniteDimensional k (LinearMap.ker d₂) ∧ FiniteDimensional k (B₂ ⧸ LinearMap.range d₂) ∧
    (Module.finrank k (LinearMap.ker d₂) : ℤ) - Module.finrank k (B₂ ⧸ LinearMap.range d₂)
      = ((Module.finrank k (LinearMap.ker d₁) : ℤ) - Module.finrank k (B₁ ⧸ LinearMap.range d₁))
        + ((Module.finrank k (LinearMap.ker d₃) : ℤ) - Module.finrank k (B₃ ⧸ LinearMap.range
          d₃))
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_nonempty_kerModRange_equiv_of_equiv_comm.LinearMap.kerModRange_map_ker
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
universe u v w
namespace LinearMap
open _root_.LinearMap
section KerModRange
variable {R : Type u} [CommRing R] {C : ℕ → Type v} {C' : ℕ → Type w}
  [∀ i, AddCommGroup (C i)] [∀ i, Module R (C i)] [∀ i, AddCommGroup (C' i)] [∀ i, Module R (C' i)]
  (d : ∀ i, C i →ₗ[R] C (i + 1)) (d' : ∀ i, C' i →ₗ[R] C' (i + 1))
  (e : ∀ i, C i ≃ₗ[R] C' i) (he : ∀ i x, e (i + 1) (d i x) = d' i (e i x))
include he
theorem kerModRange_map_ker (i : ℕ) :
    (LinearMap.ker (d i)).map (e i : C i →ₗ[R] C' i) = LinearMap.ker (d' i)
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_nonempty_kerModRange_equiv_of_equiv_comm.LinearMap.kerEquivOfComm

The kernel equivalence induced by a commuting family of componentwise linear equivalences.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
universe u v w
namespace LinearMap
open _root_.LinearMap
section KerModRange
variable {R : Type u} [CommRing R] {C : ℕ → Type v} {C' : ℕ → Type w}
  [∀ i, AddCommGroup (C i)] [∀ i, Module R (C i)] [∀ i, AddCommGroup (C' i)] [∀ i, Module R (C' i)]
  (d : ∀ i, C i →ₗ[R] C (i + 1)) (d' : ∀ i, C' i →ₗ[R] C' (i + 1))
  (e : ∀ i, C i ≃ₗ[R] C' i) (he : ∀ i x, e (i + 1) (d i x) = d' i (e i x))
include he
def kerEquivOfComm (i : ℕ) : LinearMap.ker (d i) ≃ₗ[R] LinearMap.ker (d' i)
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_nonempty_kerModRange_equiv_of_equiv_comm.LinearMap.kerEquivOfComm_apply
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
universe u v w
namespace LinearMap
open _root_.LinearMap
section KerModRange
variable {R : Type u} [CommRing R] {C : ℕ → Type v} {C' : ℕ → Type w}
  [∀ i, AddCommGroup (C i)] [∀ i, Module R (C i)] [∀ i, AddCommGroup (C' i)] [∀ i, Module R (C' i)]
  (d : ∀ i, C i →ₗ[R] C (i + 1)) (d' : ∀ i, C' i →ₗ[R] C' (i + 1))
  (e : ∀ i, C i ≃ₗ[R] C' i) (he : ∀ i x, e (i + 1) (d i x) = d' i (e i x))
include he
theorem kerEquivOfComm_apply (i : ℕ) (x : LinearMap.ker (d i)) :
    ((kerEquivOfComm d d' e he i x : LinearMap.ker (d' i)) : C' i) = e i x
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_nonempty_kerModRange_equiv_of_equiv_comm.LinearMap.kerModRange_map_comap
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
universe u v w
namespace LinearMap
open _root_.LinearMap
section KerModRange
variable {R : Type u} [CommRing R] {C : ℕ → Type v} {C' : ℕ → Type w}
  [∀ i, AddCommGroup (C i)] [∀ i, Module R (C i)] [∀ i, AddCommGroup (C' i)] [∀ i, Module R (C' i)]
  (d : ∀ i, C i →ₗ[R] C (i + 1)) (d' : ∀ i, C' i →ₗ[R] C' (i + 1))
  (e : ∀ i, C i ≃ₗ[R] C' i) (he : ∀ i x, e (i + 1) (d i x) = d' i (e i x))
include he
theorem kerModRange_map_comap (i : ℕ) :
    ((LinearMap.range (d i)).comap (LinearMap.ker (d (i + 1))).subtype).map
        (kerEquivOfComm d d' e he (i + 1) : LinearMap.ker (d (i + 1)) →ₗ[R] LinearMap.ker (d' (i +
          1)))
      = (LinearMap.range (d' i)).comap (LinearMap.ker (d' (i + 1))).subtype
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_nonempty_kerModRange_equiv_of_equiv_comm.LinearMap.nonempty_kerModRange_equiv_of_equiv_comm'
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
universe u v w
namespace LinearMap
open _root_.LinearMap
section KerModRange
variable {R : Type u} [CommRing R] {C : ℕ → Type v} {C' : ℕ → Type w}
  [∀ i, AddCommGroup (C i)] [∀ i, Module R (C i)] [∀ i, AddCommGroup (C' i)] [∀ i, Module R (C' i)]
  (d : ∀ i, C i →ₗ[R] C (i + 1)) (d' : ∀ i, C' i →ₗ[R] C' (i + 1))
  (e : ∀ i, C i ≃ₗ[R] C' i) (he : ∀ i x, e (i + 1) (d i x) = d' i (e i x))
include he
theorem nonempty_kerModRange_equiv_of_equiv_comm' :
    Nonempty (LinearMap.ker (d 0) ≃ₗ[R] LinearMap.ker (d' 0)) ∧
    ∀ i, Nonempty
      ((LinearMap.ker (d (i + 1)) ⧸ (LinearMap.range (d i)).comap (LinearMap.ker (d (i +
        1))).subtype) ≃ₗ[R]
       (LinearMap.ker (d' (i + 1)) ⧸ (LinearMap.range (d' i)).comap (LinearMap.ker (d' (i +
         1))).subtype))
LinearMap.nonempty_kerModRange_equiv_of_equiv_comm
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_nonempty_kerModRange_equiv_of_equiv_comm
universe u v w
theorem _root_.LinearMap.nonempty_kerModRange_equiv_of_equiv_comm
    {R : Type u} [CommRing R] {C C' : ℕ → Type u}
    [∀ i, AddCommGroup (C i)] [∀ i, Module R (C i)] [∀ i, AddCommGroup (C' i)] [∀ i, Module R (C'
      i)]
    (d : ∀ i, C i →ₗ[R] C (i + 1)) (d' : ∀ i, C' i →ₗ[R] C' (i + 1))
    (e : ∀ i, C i ≃ₗ[R] C' i) (he : ∀ i x, e (i + 1) (d i x) = d' i (e i x)) :
    Nonempty (LinearMap.ker (d 0) ≃ₗ[R] LinearMap.ker (d' 0)) ∧
    ∀ i, Nonempty
      ((LinearMap.ker (d (i + 1)) ⧸ (LinearMap.range (d i)).comap (LinearMap.ker (d (i +
        1))).subtype) ≃ₗ[R]
       (LinearMap.ker (d' (i + 1)) ⧸ (LinearMap.range (d' i)).comap (LinearMap.ker (d' (i +
         1))).subtype))
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_sum_neg_one_pow_mul_finrank_eq_zero_of_exact.P2mLES.finrank_eq_range_add_ker
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_sum_neg_one_pow_mul_finrank_eq_zero_of_exact
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_sum_neg_one_pow_mul_finrank_eq_zero_of_exact
open Module
universe u v
namespace P2mLES
variable {k : Type u} [DivisionRing k]
theorem finrank_eq_range_add_ker {M N : Type v} [AddCommGroup M] [Module k M] [AddCommGroup N]
  [Module k N]
    [Module.Finite k M] (f : M →ₗ[k] N) :
    finrank k M = finrank k (LinearMap.range f) + finrank k (LinearMap.ker f)
AlgebraicCurves.Foundations.Algebra.Proofs.LinearMap_sum_neg_one_pow_mul_finrank_eq_zero_of_exact.P2mLES.main
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_sum_neg_one_pow_mul_finrank_eq_zero_of_exact
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_sum_neg_one_pow_mul_finrank_eq_zero_of_exact
open Module
universe u v
namespace P2mLES
variable {k : Type u} [DivisionRing k]
theorem main
    (A B C : ℕ → Type v)
    [∀ i, AddCommGroup (A i)] [∀ i, Module k (A i)] [∀ i, Module.Finite k (A i)]
    [∀ i, AddCommGroup (B i)] [∀ i, Module k (B i)] [∀ i, Module.Finite k (B i)]
    [∀ i, AddCommGroup (C i)] [∀ i, Module k (C i)] [∀ i, Module.Finite k (C i)]
    (f : ∀ i, A i →ₗ[k] B i) (g : ∀ i, B i →ₗ[k] C i) (δ : ∀ i, C i →ₗ[k] A (i + 1))
    (hf0 : Function.Injective (f 0))
    (hfg : ∀ i, Function.Exact (f i) (g i))
    (hgδ : ∀ i, Function.Exact (g i) (δ i))
    (hδf : ∀ i, Function.Exact (δ i) (f (i + 1)))
    (N : ℕ) (hN : Subsingleton (A N)) :
    ∑ i ∈ Finset.range N, (-1 : ℤ) ^ i *
        ((finrank k (A i) : ℤ) - finrank k (B i) + finrank k (C i)) = 0
LinearMap.sum_neg_one_pow_mul_finrank_eq_zero_of_exact
Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section LinearMap_sum_neg_one_pow_mul_finrank_eq_zero_of_exact
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace LinearMap_sum_neg_one_pow_mul_finrank_eq_zero_of_exact
open Module
universe u v
theorem _root_.LinearMap.sum_neg_one_pow_mul_finrank_eq_zero_of_exact
    {k : Type u} [DivisionRing k] (A B C : ℕ → Type v)
    [∀ i, AddCommGroup (A i)] [∀ i, Module k (A i)] [∀ i, Module.Finite k (A i)]
    [∀ i, AddCommGroup (B i)] [∀ i, Module k (B i)] [∀ i, Module.Finite k (B i)]
    [∀ i, AddCommGroup (C i)] [∀ i, Module k (C i)] [∀ i, Module.Finite k (C i)]
    (f : ∀ i, A i →ₗ[k] B i) (g : ∀ i, B i →ₗ[k] C i) (δ : ∀ i, C i →ₗ[k] A (i + 1))
    (hf0 : Function.Injective (f 0))
    (hfg : ∀ i, Function.Exact (f i) (g i))
    (hgδ : ∀ i, Function.Exact (g i) (δ i))
    (hδf : ∀ i, Function.Exact (δ i) (f (i + 1)))
    (N : ℕ) (hN : Subsingleton (A N)) :
    ∑ i ∈ Finset.range N, (-1 : ℤ) ^ i *
        ((Module.finrank k (A i) : ℤ) - Module.finrank k (B i) + Module.finrank k (C i)) = 0