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 / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.Length

41 declarations. Mathlib docs · Source

Length of modules

Main results

  • Module.length: Module.length R M is the length of M as an R-module.
  • Module.length_pos: The length of a nontrivial module is positive
  • Module.length_ne_top: The length of an Artinian and Noetherian module is finite.
  • Module.length_eq_add_of_exact: Length is additive in exact sequences.

theorem RelHom.mk.congr_simp E1 #

∀ {α : Type u_5} {β : Type u_6} {r : α → α → Prop} {s : β → β → Prop} (toFun toFun_1 : α → β)
  (e_toFun : toFun = toFun_1) (map_rel' : ∀ {a b : α}, r a b → s (toFun a) (toFun b)),
  { toFun := toFun, map_rel' := map_rel' } = { toFun := toFun_1, map_rel' := ⋯ }

def Module.length E3 #

(R : Type u_1) → (M : Type u_2) → [inst : Ring R] → [inst_1 : AddCommGroup M] → [Module R M] → ℕ∞

The length of a module, defined as the krull dimension of its submodule lattice.

theorem Module.coe_length E0 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  ↑(Module.length R M) = Order.krullDim (Submodule R M)

theorem Module.length_eq_height E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Module.length R M = Order.height ⊤

theorem Module.length_eq_coheight E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Module.length R M = Order.coheight ⊥

theorem Module.length_eq_zero_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Module.length R M = 0 ↔ Subsingleton M

theorem Module.length_eq_zero E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Subsingleton M],
  Module.length R M = 0

theorem Module.length_eq_zero_of_subsingleton_ring E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Subsingleton R],
  Module.length R M = 0

theorem Module.length_pos_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  0 < Module.length R M ↔ Nontrivial M

theorem Module.length_pos E3 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Nontrivial M],
  0 < Module.length R M

theorem Module.length_compositionSeries E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  (s : CompositionSeries (Submodule R M)), RelSeries.head s = ⊥ → RelSeries.last s = ⊤ → ↑s.length = Module.length R M

theorem Module.length_eq_top_iff_infiniteDimensionalOrder E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Module.length R M = ⊤ ↔ InfiniteDimensionalOrder (Submodule R M)

theorem Module.length_ne_top_iff_finiteDimensionalOrder E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Module.length R M ≠ ⊤ ↔ FiniteDimensionalOrder (Submodule R M)

theorem Module.length_ne_top_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Module.length R M ≠ ⊤ ↔ IsFiniteLength R M

theorem Module.length_ne_top E3 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsArtinian R M]
  [IsNoetherian R M], Module.length R M ≠ ⊤

theorem Module.finiteDimensionalOrder_submodule_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  FiniteDimensionalOrder (Submodule R M) ↔ IsFiniteLength R M

instance instFiniteDimensionalOrderSubmoduleOfIsArtinianOfIsNoetherian E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsArtinian R M]
  [IsNoetherian R M], FiniteDimensionalOrder (Submodule R M)

theorem Module.length_submodule E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Submodule R M},
  Module.length R ↥N = Order.height N

theorem Module.length_quotient E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Submodule R M},
  Module.length R (M ⧸ N) = Order.coheight N

theorem LinearEquiv.length_eq E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] (e : M ≃ₗ[R] N), Module.length R M = Module.length R N

theorem Module.length_eq_of_surjective E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {S : Type u_3}
  [inst_3 : CommRing S] [inst_4 : Algebra S R] [inst_5 : Module S M] [IsScalarTower S R M],
  Function.Surjective ⇑(algebraMap S R) → Module.length S M = Module.length R M

theorem Module.length_bot E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M], Module.length R ↥⊥ = 0

theorem Module.length_top E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Module.length R ↥⊤ = Module.length R M

theorem Submodule.height_lt_top E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsArtinian R M]
  [IsNoetherian R M] (N : Submodule R M), Order.height N < ⊤

theorem Submodule.height_strictMono E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsArtinian R M]
  [IsNoetherian R M], StrictMono Order.height

theorem Submodule.length_lt E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsArtinian R M]
  [IsNoetherian R M] {N : Submodule R M}, N ≠ ⊤ → Module.length R ↥N < Module.length R M

theorem Module.length_eq_add_of_exact E3 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  {P : Type u_4} [inst_3 : AddCommGroup N] [inst_4 : AddCommGroup P] [inst_5 : Module R N] [inst_6 : Module R P]
  (f : N →ₗ[R] M) (g : M →ₗ[R] P),
  Function.Injective ⇑f →
    Function.Surjective ⇑g → Function.Exact ⇑f ⇑g → Module.length R M = Module.length R N + Module.length R P

Length is additive in exact sequences.

theorem Module.length_le_of_injective E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] (f : N →ₗ[R] M),
  Function.Injective ⇑f → Module.length R N ≤ Module.length R M

theorem Module.length_le_of_surjective E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {P : Type u_4}
  [inst_3 : AddCommGroup P] [inst_4 : Module R P] (g : M →ₗ[R] P),
  Function.Surjective ⇑g → Module.length R P ≤ Module.length R M

theorem Module.length_prod E0 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (N : Type u_3)
  [inst_3 : AddCommGroup N] [inst_4 : Module R N], Module.length R (M × N) = Module.length R M + Module.length R N

theorem Module.length_pi_of_fintype E0 #

∀ (R : Type u_1) [inst : Ring R] {ι : Type u_5} [inst_1 : Fintype ι] (M : ι → Type u_6)
  [inst_2 : (i : ι) → AddCommGroup (M i)] [inst_3 : (i : ι) → Module R (M i)],
  Module.length R ((i : ι) → M i) = ∑ i, Module.length R (M i)

theorem Module.length_finsupp E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {ι : Type u_5},
  Module.length R (ι →₀ M) = ENat.card ι * Module.length R M

theorem Module.length_pi E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {ι : Type u_5},
  Module.length R (ι → M) = ENat.card ι * Module.length R M

theorem Module.length_of_free E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Module.Free R M],
  Module.length R M = Cardinal.toENat (Module.rank R M) * Module.length R R

theorem Module.length_of_free_of_finite E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Free R M] [Module.Finite R M], Module.length R M = ↑(Module.finrank R M) * Module.length R R

theorem Module.length_eq_one_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Module.length R M = 1 ↔ IsSimpleModule R M

theorem Module.length_eq_one E0 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsSimpleModule R M],
  Module.length R M = 1

theorem Module.length_eq_rank E1 #

∀ (K : Type u_5) (M : Type u_6) [inst : DivisionRing K] [inst_1 : AddCommGroup M] [inst_2 : Module K M],
  Module.length K M = Cardinal.toENat (Module.rank K M)

theorem Module.length_eq_finrank E1 #

∀ (K : Type u_5) (M : Type u_6) [inst : DivisionRing K] [inst_1 : AddCommGroup M] [inst_2 : Module K M]
  [Module.Finite K M], Module.length K M = ↑(Module.finrank K M)

theorem Submodule.length_le_length_restrictScalars E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (A : Type u_5)
  [inst_3 : Ring A] [inst_4 : SMul A R] [inst_5 : Module A M] [inst_6 : IsScalarTower A R M] (p : Submodule R M),
  Module.length R ↥p ≤ Module.length A ↥(Submodule.restrictScalars A p)

theorem Submodule.length_quotient_lt E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsArtinian R M]
  [IsNoetherian R M] (p : Submodule R M), p ≠ ⊥ → Module.length R (M ⧸ p) < Module.length R M