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.Free

38 declarations and 4 deprecated aliases. Mathlib docs · Source

class Module.IsTorsionFree E1 #

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

An R-module M is torsion-free if scalar multiplication by an element r : R is injective if multiplication (on R) by r is.

For domains, this is equivalent to the usual condition of r • m = 0 → r = 0 ∨ m = 0. See smul_eq_zero.

ctor Module.IsTorsionFree.mk E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  (∀ ⦃r : R⦄, IsRegular r → IsSMulRegular M r) → Module.IsTorsionFree R M

theorem Module.IsTorsionFree.isSMulRegular E1 #

∀ {R : Type u_1} {M : Type u_3} {inst : Semiring R} {inst_1 : AddCommMonoid M} {inst_2 : Module R M}
  [self : Module.IsTorsionFree R M] ⦃r : R⦄, IsRegular r → IsSMulRegular M r

theorem IsRegular.isSMulRegular E1 #

∀ {R : Type u_1} {M : Type u_3} {inst : Semiring R} {inst_1 : AddCommMonoid M} {inst_2 : Module R M}
  [self : Module.IsTorsionFree R M] ⦃r : R⦄, IsRegular r → IsSMulRegular M r

Alias of Module.IsTorsionFree.isSMulRegular.

instance instIsTorsionFree E0 #

∀ {R : Type u_1} [inst : Semiring R], Module.IsTorsionFree R R

instance instIsTorsionFreeMulOpposite E0 #

∀ {R : Type u_1} [inst : Semiring R], Module.IsTorsionFree Rᵐᵒᵖ R

theorem Function.Injective.moduleIsTorsionFree E1 #

∀ {R : Type u_1} {M : Type u_3} {N : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] [Module.IsTorsionFree R N] (f : M → N),
  Function.Injective f → (∀ (r : R) (m : M), f (r • m) = r • f m) → Module.IsTorsionFree R M

Pullback an IsTorsionFree instance along an injective function.

theorem Module.IsTorsionFree.comap E1 #

∀ {R : Type u_1} {S : Type u_2} {M : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : Module S M] [Module.IsTorsionFree S M] (f : R → S),
  (∀ (r : R), IsRegular r → IsRegular (f r)) → (∀ (r : R) (m : M), f r • m = r • m) → Module.IsTorsionFree R M

Pullback an IsTorsionFree instance along a function preserving scalar multiplication and regular elements.

instance HasUniqueDiv.to_isTorsionFree_nat E0 #

∀ {M : Type u_3} [inst : AddCommMonoid M] [HasUniqueDiv M], Module.IsTorsionFree ℕ M

instance Subsingleton.to_moduleIsTorsionFree E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Subsingleton M],
  Module.IsTorsionFree R M

theorem IsRegular.smul_right_injective E1 #

∀ {R : Type u_1} (M : Type u_3) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R}
  [Module.IsTorsionFree R M], IsRegular r → Function.Injective fun x ↦ r • x

theorem IsRegular.smul_right_inj E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m₁ m₂ : M}
  [Module.IsTorsionFree R M], IsRegular r → (r • m₁ = r • m₂ ↔ m₁ = m₂)

theorem IsRegular.smul_eq_zero_iff_right E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M], IsRegular r → (r • m = 0 ↔ m = 0)

theorem IsRegular.smul_ne_zero_iff_right E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M], IsRegular r → (r • m ≠ 0 ↔ m ≠ 0)

theorem Module.IsTorsionFree.trans E1 #

∀ (R : Type u_1) {S : Type u_2} {M : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : Module S M] [Module.IsTorsionFree R M] [inst_6 : Module S R]
  [Module.IsTorsionFree S R] [IsScalarTower S R R] [SMulCommClass S R R] [IsScalarTower S R M], Module.IsTorsionFree S M

theorem IsSMulRegular.of_ne_zero E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], r ≠ 0 → IsSMulRegular M r

theorem smul_right_injective E1 #

∀ {R : Type u_1} (M : Type u_3) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], r ≠ 0 → Function.Injective fun x ↦ r • x

theorem smul_right_inj E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m₁ m₂ : M}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], r ≠ 0 → (r • m₁ = r • m₂ ↔ m₁ = m₂)

theorem smul_eq_zero_iff_right E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], r ≠ 0 → (r • m = 0 ↔ m = 0)

theorem smul_ne_zero_iff_right E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], r ≠ 0 → (r • m ≠ 0 ↔ m ≠ 0)

theorem smul_eq_zero E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], r • m = 0 ↔ r = 0 ∨ m = 0

theorem smul_ne_zero_iff E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], r • m ≠ 0 ↔ r ≠ 0 ∧ m ≠ 0

theorem smul_ne_zero E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], r ≠ 0 → m ≠ 0 → r • m ≠ 0

theorem smul_eq_zero_iff_left E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], m ≠ 0 → (r • m = 0 ↔ r = 0)

theorem smul_ne_zero_iff_left E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R} {m : M}
  [Module.IsTorsionFree R M] [IsCancelMulZero R], m ≠ 0 → (r • m ≠ 0 ↔ r ≠ 0)

theorem HasUniqueDiv.of_isTorsionFree E1 #

∀ (R : Type u_1) (M : Type u_3) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.IsTorsionFree R M] [IsCancelMulZero R] [CharZero R], HasUniqueDiv M

instance IsAddTorsionFree.of_isDomain_charZero E0 #

∀ {R : Type u_1} [inst : Semiring R] [IsCancelMulZero R] [CharZero R], HasUniqueDiv R

A characteristic zero domain is torsion-free.

theorem Module.isTorsionFree_nat_iff_hasUniqueDiv E0 #

∀ {M : Type u_3} [inst : AddCommMonoid M], Module.IsTorsionFree ℕ M ↔ HasUniqueDiv M

instance instIsTorsionFreeIntOfHasUniqueDiv E0 #

∀ {M : Type u_3} [inst : AddCommGroup M] [HasUniqueDiv M], Module.IsTorsionFree ℤ M

theorem Module.isTorsionFree_int_iff_hasUniqueDiv E0 #

∀ {M : Type u_3} [inst : AddCommGroup M], Module.IsTorsionFree ℤ M ↔ HasUniqueDiv M

theorem isLeftRegular_natCast E0 #

∀ {R : Type u_1} [inst : NonAssocSemiring R] {n : ℕ}, IsLeftRegular ↑n ↔ IsSMulRegular R n

theorem isRightRegular_natCast E0 #

∀ {R : Type u_1} [inst : NonAssocSemiring R] {n : ℕ}, IsRightRegular ↑n ↔ IsSMulRegular R n

theorem isRegular_natCast E0 #

∀ {R : Type u_1} [inst : NonAssocSemiring R] {n : ℕ}, IsRegular ↑n ↔ IsSMulRegular R n

theorem Module.IsTorsionFree.of_smul_eq_zero E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Nontrivial R],
  (∀ (r : R) (m : M), r • m = 0 → r = 0 ∨ m = 0) → Module.IsTorsionFree R M

theorem Module.isTorsionFree_iff_smul_eq_zero E1 #

∀ {R : Type u_1} {M : Type u_3} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsDomain R],
  Module.IsTorsionFree R M ↔ ∀ (r : R) (m : M), r • m = 0 → r = 0 ∨ m = 0

theorem smul_left_injective E1 #

∀ (R : Type u_1) {M : Type u_3} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {m : M}
  [IsCancelMulZero R] [Module.IsTorsionFree R M], m ≠ 0 → Function.Injective fun x ↦ x • m

theorem smul_left_inj E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {m : M} {r₁ r₂ : R}
  [IsCancelMulZero R] [Module.IsTorsionFree R M], m ≠ 0 → (r₁ • m = r₂ • m ↔ r₁ = r₂)

theorem isSelfNeg_of_isSMulRegular_two E1 #

∀ {R : Type u_1} [inst : NonAssocRing R], IsSMulRegular R 2 → ∀ {a : R}, IsSelfNeg a ↔ a = 0

Deprecated aliases

NameNew nameSince
IsAddTorsionFree.of_isTorsionFreeHasUniqueDiv.of_isTorsionFree2026-09-29
IsAddTorsionFree.to_isTorsionFree_natHasUniqueDiv.to_isTorsionFree_nat2026-09-29
Module.isTorsionFree_int_iff_isAddTorsionFreeModule.isTorsionFree_int_iff_hasUniqueDiv2026-09-29
Module.isTorsionFree_nat_iff_isAddTorsionFreeModule.isTorsionFree_nat_iff_hasUniqueDiv2026-09-29