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 / V07. Linear algebra

Mathlib.Algebra.Module.Torsion.Basic

129 declarations and 3 deprecated aliases. Mathlib docs · Source

def Ideal.torsionOf E1 #

(R : Type u_1) → (M : Type u_2) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → M → Ideal R

The torsion ideal of x, containing all a such that a • x = 0.

theorem Ideal.coe_torsionOf E0 #

∀ (R : Type u_1) (M : Type u_2) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  ↑(Ideal.torsionOf R M x) = ⇑(LinearMap.toSpanSingleton R M x) ⁻¹' {0}

theorem Ideal.torsionOf_zero E0 #

∀ (R : Type u_1) (M : Type u_2) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Ideal.torsionOf R M 0 = ⊤

theorem Ideal.mem_torsionOf_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M) (a : R),
  a ∈ Ideal.torsionOf R M x ↔ a • x = 0

theorem Ideal.torsionOf_eq_top_iff E0 #

∀ (R : Type u_1) {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (m : M),
  Ideal.torsionOf R M m = ⊤ ↔ m = 0

theorem Ideal.torsionOf_eq_bot_iff_of_isTorsionFree E0 #

∀ (R : Type u_1) {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [IsDomain R]
  [Module.IsTorsionFree R M] (m : M), Ideal.torsionOf R M m = ⊥ ↔ m ≠ 0

theorem Ideal.annihilator_span_singleton_eq_torsionOf E0 #

∀ {R : Type u_3} {M : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  (R ∙ x).annihilator = Ideal.torsionOf R M x

theorem Module.annihilator_eq_iInf_torsionOf E1 #

∀ (R : Type u_1) {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Module.annihilator R M = ⨅ x, Ideal.torsionOf R M x

The annihilator of a module is the intersection of the torsion ideals of its elements.

theorem Ideal.iSupIndep.linearIndependent' E1 #

∀ {ι : Type u_3} {R : Type u_4} {M : Type u_5} {v : ι → M} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : Module R M],
  (iSupIndep fun i ↦ R ∙ v i) → (∀ (i : ι), Ideal.torsionOf R M (v i) = ⊥) → LinearIndependent R v

See also iSupIndep.linearIndependent which provides the same conclusion but requires the stronger hypothesis Module.IsTorsionFree R M.

def Ideal.quotTorsionOfEquivSpanSingleton E1 #

(R : Type u_1) →
  (M : Type u_2) →
    [inst : Ring R] →
      [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → (x : M) → (R ⧸ Ideal.torsionOf R M x) ≃ₗ[R] ↥(R ∙ x)

The span of x in M is isomorphic to R quotiented by the torsion ideal of x.

theorem Ideal.quotTorsionOfEquivSpanSingleton_apply_mk E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (x : M) (a : R),
  (Ideal.quotTorsionOfEquivSpanSingleton R M x) (Submodule.Quotient.mk a) = a • ⟨x, ⋯⟩

def Submodule.torsionBy E1 #

(R : Type u_1) →
  (M : Type u_2) → [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → R → Submodule R M

The a-torsion submodule for a in R, containing all elements x of M such that a • x = 0.

theorem Submodule.coe_torsionBy E0 #

∀ (R : Type u_1) (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  ↑(Submodule.torsionBy R M a) = ⇑(DistribSMul.toLinearMap R M a) ⁻¹' {0}

def Submodule.torsionBySet E1 #

(R : Type u_1) →
  (M : Type u_2) → [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Set R → Submodule R M

The submodule containing all elements x of M such that a • x = 0 for all a in s.

theorem Submodule.coe_torsionBySet E0 #

∀ (R : Type u_1) (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R),
  ↑(Submodule.torsionBySet R M s) = ⋂ y ∈ s, ⇑(DistribSMul.toLinearMap R M y) ⁻¹' {0}

def Submodule.torsion' E1 #

(R : Type u_1) →
  (M : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          (S : Type u_3) →
            [inst_3 : CommMonoid S] → [inst_4 : DistribMulAction S M] → [SMulCommClass S R M] → Submodule R M

The S-torsion submodule, containing all elements x of M such that a • x = 0 for some a in S.

theorem Submodule.coe_torsion' E0 #

∀ (R : Type u_1) (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Type u_3)
  [inst_3 : CommMonoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass S R M],
  ↑(Submodule.torsion' R M S) = {x | ∃ a, a • x = 0}

abbrev Submodule.torsion E1 #

(R : Type u_1) →
  (M : Type u_2) → [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Submodule R M

The torsion submodule, containing all elements x of M such that a • x = 0 for some non-zero-divisor a in R.

abbrev Module.IsTorsionBy E1 #

(R : Type u_1) → (M : Type u_2) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → R → Prop

An a-torsion module is a module where every element is a-torsion.

abbrev Module.IsTorsionBySet E1 #

(R : Type u_1) → (M : Type u_2) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Set R → Prop

A module where every element is a-torsion for all a in s.

abbrev Module.IsTorsion' E1 #

(M : Type u_2) → [AddCommMonoid M] → (S : Type u_3) → [SMul S M] → Prop

An S-torsion module is a module where every element is a-torsion for some a in S.

abbrev Module.IsTorsion E1 #

(R : Type u_1) → (M : Type u_2) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Prop

A torsion module is a module where every element is a-torsion for some non-zero-divisor a.

theorem Module.isTorsionBySet_annihilator E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Module.IsTorsionBySet R M ↑(Module.annihilator R M)

theorem Module.isTorsionBy_iff_mem_annihilator E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {a : R},
  Module.IsTorsionBy R M a ↔ a ∈ Module.annihilator R M

theorem Module.isTorsionBySet_iff_subset_annihilator E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set R},
  Module.IsTorsionBySet R M s ↔ s ⊆ ↑(Module.annihilator R M)

theorem isSMulRegular_iff_torsionBy_eq_bot E1 #

∀ {R : Type u_2} (M : Type u_1) [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (r : R),
  IsSMulRegular M r ↔ Submodule.torsionBy R M r = ⊥

theorem Submodule.smul_torsionBy E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R)
  (x : ↥(Submodule.torsionBy R M a)), a • x = 0

theorem Submodule.smul_coe_torsionBy E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R)
  (x : ↥(Submodule.torsionBy R M a)), a • ↑x = 0

theorem Submodule.mem_torsionBy_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R)
  (x : M), x ∈ Submodule.torsionBy R M a ↔ a • x = 0

theorem Submodule.mem_torsionBySet_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R)
  (x : M), x ∈ Submodule.torsionBySet R M s ↔ ∀ (a : ↑s), ↑a • x = 0

theorem Submodule.torsionBySet_singleton_eq E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Submodule.torsionBySet R M {a} = Submodule.torsionBy R M a

theorem Submodule.torsionBySet_le_torsionBySet_of_subset E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s t : Set R},
  s ⊆ t → Submodule.torsionBySet R M t ≤ Submodule.torsionBySet R M s

theorem Submodule.torsionBySet_le_torsionBySet_pow E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (i j : ℕ),
  i ≤ j → ∀ (I : Ideal R), Submodule.torsionBySet R M ↑(I ^ i) ≤ Submodule.torsionBySet R M ↑(I ^ j)

theorem Submodule.torsionBySet_eq_torsionBySet_span E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R),
  Submodule.torsionBySet R M s = Submodule.torsionBySet R M ↑(Ideal.span s)

Torsion by a set is torsion by the ideal generated by it.

theorem Submodule.torsionBySet_span_singleton_eq E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Submodule.torsionBySet R M ↑(R ∙ a) = Submodule.torsionBy R M a

theorem Submodule.torsionBySet_ideal_span_singleton_eq E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Submodule.torsionBySet R M ↑(Ideal.span {a}) = Submodule.torsionBy R M a

theorem Submodule.torsionBy_le_torsionBy_of_dvd E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a b : R),
  a ∣ b → Submodule.torsionBy R M a ≤ Submodule.torsionBy R M b

theorem Submodule.torsionBy_one E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Submodule.torsionBy R M 1 = ⊥

theorem Submodule.torsionBySet_univ E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Submodule.torsionBySet R M Set.univ = ⊥

theorem Module.isTorsionBySet_of_subset E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s t : Set R},
  s ⊆ t → Module.IsTorsionBySet R M t → Module.IsTorsionBySet R M s

theorem Module.isTorsionBySet_singleton_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Module.IsTorsionBySet R M {a} ↔ Module.IsTorsionBy R M a

theorem Module.isTorsionBySet_iff_is_torsion_by_span E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R),
  Module.IsTorsionBySet R M s ↔ Module.IsTorsionBySet R M ↑(Ideal.span s)

theorem Module.isTorsionBySet_span_singleton_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Module.IsTorsionBySet R M ↑(R ∙ a) ↔ Module.IsTorsionBy R M a

theorem Module.isTorsionBySet_iff_torsionBySet_eq_top E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R),
  Module.IsTorsionBySet R M s ↔ Submodule.torsionBySet R M s = ⊤

theorem Module.isTorsionBy_iff_torsionBy_eq_top E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Module.IsTorsionBy R M a ↔ Submodule.torsionBy R M a = ⊤

An a-torsion module is a module whose a-torsion submodule is the full space.

theorem Module.isTorsionBySet_iff_subseteq_ker_lsmul E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R),
  Module.IsTorsionBySet R M s ↔ s ⊆ ↑(LinearMap.lsmul R M).ker

theorem Module.isTorsionBy_iff_mem_ker_lsmul E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Module.IsTorsionBy R M a ↔ a ∈ (LinearMap.lsmul R M).ker

theorem Submodule.torsionBySet_isTorsionBySet E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R),
  Module.IsTorsionBySet R (↥(Submodule.torsionBySet R M s)) s

theorem Submodule.torsionBy_isTorsionBy E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Module.IsTorsionBy R (↥(Submodule.torsionBy R M a)) a

The a-torsion submodule is an a-torsion module.

theorem Submodule.torsionBy_isTorsion_nonZeroDivisor E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  ∀ a ∈ nonZeroDivisors R, Module.IsTorsion R ↥(Submodule.torsionBy R M a)

theorem Submodule.torsionBySet_ideal_isTorsion_of_noZeroDivisors E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [NoZeroDivisors R] [Nontrivial R] {I : Ideal R}, I ≠ ⊥ → Module.IsTorsion R ↥(Submodule.torsionBySet R M ↑I)

theorem Submodule.torsionBy_torsionBy_eq_top E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (a : R),
  Submodule.torsionBy R (↥(Submodule.torsionBy R M a)) a = ⊤

theorem Submodule.torsionBySet_torsionBySet_eq_top E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R),
  Submodule.torsionBySet R (↥(Submodule.torsionBySet R M s)) s = ⊤

theorem Submodule.torsion_gc E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  GaloisConnection Submodule.annihilator fun I ↦ Submodule.torsionBySet R M ↑(OrderDual.ofDual I)

theorem Submodule.iSup_torsionBySet_ideal_eq_torsionBySet_iInf E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_3}
  {p : ι → Ideal R} {S : Finset ι},
  ((↑S).Pairwise fun i j ↦ p i ⊔ p j = ⊤) →
    ⨆ i ∈ S, Submodule.torsionBySet R M ↑(p i) = Submodule.torsionBySet R M ↑(⨅ i ∈ S, p i)

theorem Submodule.sup_torsionBySet_ideal_eq_torsionBySet_inf E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (P Q : Ideal R)
  {hc : P ⊔ Q = ⊤}, Submodule.torsionBySet R M ↑P ⊔ Submodule.torsionBySet R M ↑Q = Submodule.torsionBySet R M ↑(P ⊓ Q)

theorem Submodule.supIndep_torsionBySet_ideal E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_3}
  {p : ι → Ideal R} {S : Finset ι},
  ((↑S).Pairwise fun i j ↦ p i ⊔ p j = ⊤) → S.SupIndep fun i ↦ Submodule.torsionBySet R M ↑(p i)

theorem Submodule.disjoint_torsionBySet_ideal E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {P Q : Ideal R}, P ⊔ Q = ⊤ → Disjoint (Submodule.torsionBySet R M ↑P) (Submodule.torsionBySet R M ↑Q)

theorem Submodule.iSup_torsionBy_eq_torsionBy_prod E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_3}
  {S : Finset ι} {q : ι → R},
  (↑S).Pairwise (Function.onFun IsCoprime q) →
    ⨆ i ∈ S, Submodule.torsionBy R M (q i) = Submodule.torsionBy R M (∏ i ∈ S, q i)

theorem Submodule.supIndep_torsionBy E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_3}
  {S : Finset ι} {q : ι → R},
  (↑S).Pairwise (Function.onFun IsCoprime q) → S.SupIndep fun i ↦ Submodule.torsionBy R M (q i)

theorem Submodule.torsionBySet_isInternal E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {ι : Type u_3}
  [inst_3 : DecidableEq ι] {S : Finset ι} {p : ι → Ideal R},
  ((↑S).Pairwise fun i j ↦ p i ⊔ p j = ⊤) →
    Module.IsTorsionBySet R M ↑(⨅ i ∈ S, p i) → DirectSum.IsInternal fun i ↦ Submodule.torsionBySet R M ↑(p ↑i)

If the p i are pairwise coprime, a ⨅ i, p i-torsion module is the internal direct sum of its p i-torsion submodules.

theorem Submodule.torsionBy_isInternal E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {ι : Type u_3}
  [inst_3 : DecidableEq ι] {S : Finset ι} {q : ι → R},
  (↑S).Pairwise (Function.onFun IsCoprime q) →
    Module.IsTorsionBy R M (∏ i ∈ S, q i) → DirectSum.IsInternal fun i ↦ Submodule.torsionBy R M (q ↑i)

If the q i are pairwise coprime, a ∏ i, q i-torsion module is the internal direct sum of its q i-torsion submodules.

def Module.IsTorsionBySet.hasSMul E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Ring R] →
      [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → {I : Ideal R} → Module.IsTorsionBySet R M ↑I → SMul (R ⧸ I) M

can't be an instance because hM can't be inferred

abbrev Module.IsTorsionBy.hasSMul E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Ring R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] → {r : R} → Module.IsTorsionBy R M r → SMul (R ⧸ Ideal.span {r}) M

can't be an instance because hM can't be inferred

theorem Module.IsTorsionBySet.mk_smul E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {I : Ideal R}
  [inst_3 : I.IsTwoSided] (hM : Module.IsTorsionBySet R M ↑I) (b : R) (x : M), (Ideal.Quotient.mk I) b • x = b • x

theorem Module.IsTorsionBy.mk_smul E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {r : R}
  [inst_3 : (Ideal.span {r}).IsTwoSided] (hM : Module.IsTorsionBy R M r) (b : R) (x : M),
  (Ideal.Quotient.mk (Ideal.span {r})) b • x = b • x

def Module.IsTorsionBySet.module E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Ring R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] →
          {I : Ideal R} → [inst_3 : I.IsTwoSided] → Module.IsTorsionBySet R M ↑I → Module (R ⧸ I) M

An (R ⧸ I)-module is an R-module which IsTorsionBySet R M I.

instance Module.IsTorsionBySet.isScalarTower E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {I : Ideal R}
  (hM : Module.IsTorsionBySet R M ↑I) {S : Type u_3} [inst_3 : SMul S R] [inst_4 : SMul S M] [IsScalarTower S R M]
  [inst_6 : IsScalarTower S R R], IsScalarTower S (R ⧸ I) M

def Module.IsTorsionBySet.semilinearMap E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Ring R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] →
          {I : Ideal R} →
            [inst_3 : I.IsTwoSided] →
              (hM : Module.IsTorsionBySet R M ↑I) →
                have x := hM.module;
                M →ₛₗ[Ideal.Quotient.mk I] M

If an R-module M is annihilated by a two-sided ideal I, then the identity is a semilinear map from the R-module M to the R ⧸ I-module M.

theorem Module.IsTorsionBySet.isSemisimpleModule_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {I : Ideal R}
  [inst_3 : I.IsTwoSided] (hM : Module.IsTorsionBySet R M ↑I), IsSemisimpleModule (R ⧸ I) M ↔ IsSemisimpleModule R M

abbrev Module.IsTorsionBy.module E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Ring R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] →
          {r : R} → [h : (Ideal.span {r}).IsTwoSided] → Module.IsTorsionBy R M r → Module (R ⧸ Ideal.span {r}) M

An (R ⧸ Ideal.span {r})-module is an R-module for which IsTorsionBy R M r.

def Module.quotientAnnihilator E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Ring R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → Module (R ⧸ Module.annihilator R M) M

Any module is also a module over the quotient of the ring by the annihilator. Not an instance because it causes synthesis failures / timeouts.

theorem Module.isTorsionBy_quotient_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (N : Submodule R M)
  (r : R), Module.IsTorsionBy R (M ⧸ N) r ↔ ∀ (x : M), r • x ∈ N

theorem Module.IsTorsionBy.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)
  {r : R}, Module.IsTorsionBy R M r → Module.IsTorsionBy R (M ⧸ N) r

theorem Module.isTorsionBySet_quotient_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (N : Submodule R M)
  (s : Set R), Module.IsTorsionBySet R (M ⧸ N) s ↔ ∀ (x : M), ∀ r ∈ s, r • x ∈ N

theorem Module.IsTorsionBySet.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)
  {s : Set R}, Module.IsTorsionBySet R M s → Module.IsTorsionBySet R (M ⧸ N) s

theorem Module.isTorsionBySet_quotient_set_smul E1 #

∀ {R : Type u_1} (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (s : Set R),
  Module.IsTorsionBySet R (M ⧸ s • ⊤) s

theorem Module.isTorsionBySet_quotient_ideal_smul E2 #

∀ {R : Type u_1} (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (I : Ideal R),
  Module.IsTorsionBySet R (M ⧸ I • ⊤) ↑I

instance Module.instQuotientIdealSubmoduleHSMulTop E0 #

{R : Type u_1} →
  (M : Type u_2) →
    [inst : Ring R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] → (I : Ideal R) → [inst_3 : I.IsTwoSided] → Module (R ⧸ I) (M ⧸ I • ⊤)

theorem Module.Quotient.mk_smul_mk E0 #

∀ {R : Type u_1} (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (I : Ideal R)
  [inst_3 : I.IsTwoSided] (r : R) (m : M),
  (Ideal.Quotient.mk I) r • Submodule.Quotient.mk m = Submodule.Quotient.mk (r • m)

theorem Module.isTorsionBy_quotient_element_smul E1 #

∀ {R : Type u_1} (M : Type u_2) [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (r : R),
  Module.IsTorsionBy R (M ⧸ r • ⊤) r

instance Module.instQuotientIdealSpanSubmoduleHSMulSetTop E0 #

{R : Type u_1} →
  (M : Type u_2) →
    [inst : CommRing R] →
      [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → (s : Set R) → Module (R ⧸ Ideal.span s) (M ⧸ s • ⊤)

instance Module.instQuotientIdealSpanSingletonSetSubmoduleHSMulTop E0 #

{R : Type u_1} →
  (M : Type u_2) →
    [inst : CommRing R] →
      [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → (r : R) → Module (R ⧸ Ideal.span {r}) (M ⧸ r • ⊤)

instance Submodule.instModuleQuotientIdealSubtypeMemTorsionBySetCoe E0 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommRing R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] → (I : Ideal R) → Module (R ⧸ I) ↥(Submodule.torsionBySet R M ↑I)

theorem Submodule.torsionBySet.mk_smul E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (I : Ideal R)
  (b : R) (x : ↥(Submodule.torsionBySet R M ↑I)), (Ideal.Quotient.mk I) b • x = b • x

instance Submodule.instIsScalarTowerQuotientIdealSubtypeMemTorsionBySetCoe E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (I : Ideal R)
  {S : Type u_3} [inst_3 : SMul S R] [inst_4 : SMul S M] [inst_5 : IsScalarTower S R M] [inst_6 : IsScalarTower S R R],
  IsScalarTower S (R ⧸ I) ↥(Submodule.torsionBySet R M ↑I)

instance Submodule.instModuleQuotientTorsionBy E0 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommRing R] →
      [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → (a : R) → Module (R ⧸ R ∙ a) ↥(Submodule.torsionBy R M a)

The a-torsion submodule as an (R ⧸ R ∙ a)-module.

instance Submodule.instModuleQuotientIdealSpanSingletonSetSubtypeMemTorsionBy E0 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommRing R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] → (a : R) → Module (R ⧸ Ideal.span {a}) ↥(Submodule.torsionBy R M a)

theorem Submodule.torsionBy.mk_ideal_smul E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (a b : R)
  (x : ↥(Submodule.torsionBy R M a)), (Ideal.Quotient.mk (Ideal.span {a})) b • x = b • x

theorem Submodule.torsionBy.mk_smul E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (a b : R)
  (x : ↥(Submodule.torsionBy R M a)), (Ideal.Quotient.mk (R ∙ a)) b • x = b • x

instance Submodule.instIsScalarTowerQuotientSpanSingletonSetSubtypeMemTorsionBy E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (a : R)
  {S : Type u_3} [inst_3 : SMul S R] [inst_4 : SMul S M] [inst_5 : IsScalarTower S R M] [inst_6 : IsScalarTower S R R],
  IsScalarTower S (R ⧸ R ∙ a) ↥(Submodule.torsionBy R M a)

def Submodule.submodule_torsionBy_orderIso E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommRing R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] →
          (a : R) → Submodule (R ⧸ R ∙ a) ↥(Submodule.torsionBy R M a) ≃o Submodule R ↥(Submodule.torsionBy R M a)

Given an R-module M and an element a in R, submodules of the a-torsion submodule of M do not depend on whether we take scalars to be R or R ⧸ R ∙ a.

instance Submodule.instFiniteQuotientIdealHSMulTop E0 #

∀ {R : Type u_1} [inst : CommRing R] (M : Type u_3) [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Module.Finite R M]
  (I : Ideal R), Module.Finite (R ⧸ I) (M ⧸ I • ⊤)

theorem Submodule.mem_torsion'_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Type u_3)
  [inst_3 : CommMonoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass S R M] (x : M),
  x ∈ Submodule.torsion' R M S ↔ ∃ a, a • x = 0

theorem Submodule.mem_torsion_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  x ∈ Submodule.torsion R M ↔ ∃ a, a • x = 0

instance Submodule.instSMulSubtypeMemTorsion' E0 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          (S : Type u_3) →
            [inst_3 : CommMonoid S] →
              [inst_4 : DistribMulAction S M] → [inst_5 : SMulCommClass S R M] → SMul S ↥(Submodule.torsion' R M S)

theorem Submodule.smul_coe E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Type u_3)
  [inst_3 : CommMonoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass S R M] (s : S)
  (x : ↥(Submodule.torsion' R M S)), ↑(s • x) = s • ↑x

instance Submodule.instDistribMulActionSubtypeMemTorsion' E0 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          (S : Type u_3) →
            [inst_3 : CommMonoid S] →
              [inst_4 : DistribMulAction S M] →
                [inst_5 : SMulCommClass S R M] → DistribMulAction S ↥(Submodule.torsion' R M S)

instance Submodule.instSMulCommClassSubtypeMemTorsion' E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Type u_3)
  [inst_3 : CommMonoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass S R M],
  SMulCommClass S R ↥(Submodule.torsion' R M S)

theorem Submodule.isTorsion'_iff_torsion'_eq_top E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Type u_3)
  [inst_3 : CommMonoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass S R M],
  Module.IsTorsion' M S ↔ Submodule.torsion' R M S = ⊤

An S-torsion module is a module whose S-torsion submodule is the full space.

theorem Submodule.torsion'_isTorsion' E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Type u_3)
  [inst_3 : CommMonoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass S R M],
  Module.IsTorsion' (↥(Submodule.torsion' R M S)) S

The S-torsion submodule is an S-torsion module.

theorem Submodule.torsion'_torsion'_eq_top E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Type u_3)
  [inst_3 : CommMonoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass S R M],
  Submodule.torsion' R (↥(Submodule.torsion' R M S)) S = ⊤

theorem Submodule.torsion_torsion_eq_top E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Submodule.torsion R ↥(Submodule.torsion R M) = ⊤

The torsion submodule of the torsion submodule (viewed as a module) is the full torsion module.

theorem Submodule.torsion_isTorsion E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Module.IsTorsion R ↥(Submodule.torsion R M)

The torsion submodule is always a torsion module.

theorem Module.isTorsionBySet_annihilator_top E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Module.IsTorsionBySet R M ↑⊤.annihilator

theorem Submodule.annihilator_top_inter_nonZeroDivisors E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Finite R M], Module.IsTorsion R M → (↑⊤.annihilator ∩ ↑(nonZeroDivisors R)).Nonempty

theorem Submodule.coe_torsion_eq_annihilator_ne_bot E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [NoZeroDivisors R] [Nontrivial R], ↑(Submodule.torsion R M) = {x | (R ∙ x).annihilator ≠ ⊥}

theorem Submodule.torsion_int E1 #

∀ {G : Type u_3} [inst : AddCommGroup G], (Submodule.torsion ℤ G).toAddSubgroup = AddCommGroup.torsion G

theorem Submodule.isTorsionFree_iff_torsion_eq_bot E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M],
  Module.IsTorsionFree R M ↔ Submodule.torsion R M = ⊥

A module over a domain is torsion-free iff its torsion submodule is trivial.

theorem Submodule.QuotientTorsion.torsion_eq_bot E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  Submodule.torsion R (M ⧸ Submodule.torsion R M) = ⊥

Quotienting by the torsion submodule gives a torsion-free module.

instance Submodule.QuotientTorsion.instIsTorsionFree E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsDomain R],
  Module.IsTorsionFree R (M ⧸ Submodule.torsion R M)

theorem Submodule.isTorsion'_powers_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Monoid R] [inst_1 : AddCommMonoid M] [inst_2 : DistribMulAction R M] (p : R),
  Module.IsTorsion' M ↥(Submonoid.powers p) ↔ ∀ (x : M), ∃ n, p ^ n • x = 0

def Submodule.pOrder E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Monoid R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : DistribMulAction R M] →
          {p : R} → Module.IsTorsion' M ↥(Submonoid.powers p) → (x : M) → [(n : ℕ) → Decidable (p ^ n • x = 0)] → ℕ

In a p ^ ∞-torsion module (that is, a module where all elements are cancelled by scalar multiplication by some power of p), the smallest n such that p ^ n • x = 0.

theorem Submodule.pow_pOrder_smul E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Monoid R] [inst_1 : AddCommMonoid M] [inst_2 : DistribMulAction R M] {p : R}
  (hM : Module.IsTorsion' M ↥(Submonoid.powers p)) (x : M) [inst_3 : (n : ℕ) → Decidable (p ^ n • x = 0)],
  p ^ Submodule.pOrder hM x • x = 0

theorem Submodule.exists_isTorsionBy E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : (x : M) → Decidable (x = 0)] {p : R} (hM : Module.IsTorsion' M ↥(Submonoid.powers p)) (d : ℕ),
  d ≠ 0 →
    ∀ (s : Fin d → M), Submodule.span R (Set.range s) = ⊤ → ∃ j, Module.IsTorsionBy R M (p ^ Submodule.pOrder hM (s j))

theorem Ideal.Quotient.torsionBy_eq_span_singleton E1 #

∀ {R : Type w} [inst : CommRing R] (a b : R),
  a ∈ nonZeroDivisors R → Submodule.torsionBy R (R ⧸ R ∙ a * b) a = R ∙ (Ideal.Quotient.mk (R ∙ a * b)) b

theorem isAddTorsion_iff_isTorsion_nat E1 #

∀ {M : Type u_2} [inst : AddCommMonoid M], IsAddTorsion M ↔ Module.IsTorsion ℕ M

theorem isAddTorsion_iff_isTorsion_int E1 #

∀ {M : Type u_2} [inst : AddCommGroup M], IsAddTorsion M ↔ Module.IsTorsion ℤ M

def AddSubgroup.torsionBy E1 #

(A : Type u_3) → [inst : AddCommGroup A] → ℤ → AddSubgroup A

The additive n-torsion subgroup for an integer n, denoted as A[n].

def AddSubgroup.torsionByStx E1 #

Lean.TrailingParserDescr

The additive n-torsion subgroup for an integer n, denoted as A[n].

def AddSubgroup.torsionByUnexpander E1 #

Lean.PrettyPrinter.Unexpander

Unexpander for torsionBy.

theorem AddSubgroup.torsionBy.neg E1 #

∀ (A : Type u_3) [inst : AddCommGroup A] (n : ℤ), AddSubgroup.torsionBy A (-n) = AddSubgroup.torsionBy A n

theorem AddSubgroup.torsionBy.nsmul E0 #

∀ {A : Type u_3} [inst : AddCommGroup A] {n : ℕ} (x : ↥(AddSubgroup.torsionBy A ↑n)), n • x = 0

theorem AddSubgroup.torsionBy.nsmul_iff E0 #

∀ {A : Type u_3} [inst : AddCommGroup A] {n : ℕ} {x : A}, x ∈ AddSubgroup.torsionBy A ↑n ↔ n • x = 0

theorem AddSubgroup.torsionBy.mod_self_nsmul E1 #

∀ {A : Type u_3} [inst : AddCommGroup A] {n : ℕ} (s : ℕ) (x : ↥(AddSubgroup.torsionBy A ↑n)), s • x = (s % n) • x

theorem AddSubgroup.torsionBy.mod_self_nsmul' E1 #

∀ {A : Type u_3} [inst : AddCommGroup A] {n : ℕ} (s : ℕ) {x : A}, x ∈ AddSubgroup.torsionBy A ↑n → s • x = (s % n) • x

def AddSubgroup.torsionBy.zmodModule E1 #

{A : Type u_3} → [inst : AddCommGroup A] → {n : ℕ} → Module (ZMod n) ↥(AddSubgroup.torsionBy A ↑n)

For a natural number n, the n-torsion subgroup of A is a ZMod n module.

theorem infinite_range_add_smul_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [IsDomain R] [Infinite R] [inst_3 : AddCommGroup M]
  [inst_4 : Module R M] [Module.IsTorsionFree R M] (x y : M), (Set.range fun r ↦ x + r • y).Infinite ↔ y ≠ 0

theorem infinite_range_add_nsmul_iff E0 #

∀ {M : Type u_2} [inst : AddCommGroup M] [HasUniqueDiv M] (x y : M), (Set.range fun n ↦ x + n • y).Infinite ↔ y ≠ 0

Deprecated aliases

NameNew nameSince
AddMonoid.isTorsion_iff_isTorsion_intisAddTorsion_iff_isTorsion_int2026-07-01
AddMonoid.isTorsion_iff_isTorsion_natisAddTorsion_iff_isTorsion_nat2026-07-01
Ideal.torsionOf_eq_bot_iff_of_noZeroSMulDivisorsIdeal.torsionOf_eq_bot_iff_of_isTorsionFree2026-07-27