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.NoZeroSMulDivisors.Defs

9 declarations and 2 deprecated aliases. Mathlib docs · Source

class NoZeroSMulDivisors E1 #

(R : Type u_4) → (M : Type u_5) → [Zero R] → [Zero M] → [SMul R M] → Prop

NoZeroSMulDivisors R M states that a scalar multiple is 0 only if either argument is 0. This is a version of saying that M is torsion free, without assuming R is zero-divisor free.

The main application of NoZeroSMulDivisors R M, when M is a module, is the result smul_eq_zero: a scalar multiple is 0 iff either argument is 0.

It is a generalization of the NoZeroDivisors class to heterogeneous multiplication.

theorem noZeroSMulDivisors_iff E0 #

∀ (R : Type u_4) (M : Type u_5) [inst : Zero R] [inst_1 : Zero M] [inst_2 : SMul R M],
  NoZeroSMulDivisors R M ↔ ∀ {c : R} {x : M}, c • x = 0 → c = 0 ∨ x = 0

ctor NoZeroSMulDivisors.mk E0 #

∀ {R : Type u_4} {M : Type u_5} [inst : Zero R] [inst_1 : Zero M] [inst_2 : SMul R M],
  (∀ {c : R} {x : M}, c • x = 0 → c = 0 ∨ x = 0) → NoZeroSMulDivisors R M

theorem Function.Injective.noZeroSMulDivisors E1 #

∀ {R : Type u_4} {M : Type u_5} {N : Type u_6} [inst : Zero R] [inst_1 : Zero M] [inst_2 : Zero N] [inst_3 : SMul R M]
  [inst_4 : SMul R N] [NoZeroSMulDivisors R N] (f : M → N),
  Function.Injective f → f 0 = 0 → (∀ (c : R) (x : M), f (c • x) = c • f x) → NoZeroSMulDivisors R M

Pullback a NoZeroSMulDivisors instance along an injective function.

instance NoZeroDivisors.toNoZeroSMulDivisors E0 #

∀ {R : Type u_1} [inst : Zero R] [inst_1 : Mul R] [NoZeroDivisors R], NoZeroSMulDivisors R R

instance instIsTorsionFreeOfIsDomainOfNoZeroSMulDivisors E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [NoZeroSMulDivisors R M], Module.IsTorsionFree R M

theorem noZeroSMulDivisors_iff_right_eq_zero_of_smul E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Zero R] [inst_1 : Zero M] [inst_2 : SMul R M],
  NoZeroSMulDivisors R M ↔ ∀ (r : R), r ≠ 0 → ∀ (m : M), r • m = 0 → m = 0

instance HasUniqueDiv.to_noZeroSMulDivisors_nat E0 #

∀ {M : Type u_2} [inst : AddMonoid M] [HasUniqueDiv M], NoZeroSMulDivisors ℕ M

instance HasUniqueDiv.to_noZeroSMulDivisors_int E0 #

∀ {G : Type u_3} [inst : AddGroup G] [HasUniqueDiv G], NoZeroSMulDivisors ℤ G

Deprecated aliases

NameNew nameSince
IsAddTorsionFree.to_noZeroSMulDivisors_intHasUniqueDiv.to_noZeroSMulDivisors_int2026-09-29
IsAddTorsionFree.to_noZeroSMulDivisors_natHasUniqueDiv.to_noZeroSMulDivisors_nat2026-09-29