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

22 declarations. Mathlib docs · Source

theorem Units.neg_smul E0 #

∀ {R : Type u_2} {M : Type u_3} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (u : Rˣ) (x : M),
  -u • x = -(u • x)

theorem invOf_two_smul_add_invOf_two_smul E0 #

∀ {M : Type u_3} (R : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Invertible 2] (x : M), ⅟2 • x + ⅟2 • x = x

theorem map_inv_natCast_smul E0 #

∀ {M : Type u_3} {M₂ : Type u_4} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid M₂] {F : Type u_5}
  [inst_2 : FunLike F M M₂] [AddMonoidHomClass F M M₂] (f : F) (R : Type u_6) (S : Type u_7)
  [inst_4 : DivisionSemiring R] [inst_5 : DivisionSemiring S] [inst_6 : Module R M] [inst_7 : Module S M₂] (n : ℕ)
  (x : M), f ((↑n)⁻¹ • x) = (↑n)⁻¹ • f x

theorem map_inv_intCast_smul E0 #

∀ {M : Type u_3} {M₂ : Type u_4} [inst : AddCommGroup M] [inst_1 : AddCommGroup M₂] {F : Type u_5}
  [inst_2 : FunLike F M M₂] [AddMonoidHomClass F M M₂] (f : F) (R : Type u_6) (S : Type u_7) [inst_4 : DivisionRing R]
  [inst_5 : DivisionRing S] [inst_6 : Module R M] [inst_7 : Module S M₂] (z : ℤ) (x : M), f ((↑z)⁻¹ • x) = (↑z)⁻¹ • f x

theorem inv_natCast_smul_eq E0 #

∀ {E : Type u_5} (R : Type u_6) (S : Type u_7) [inst : AddCommMonoid E] [inst_1 : DivisionSemiring R]
  [inst_2 : DivisionSemiring S] [inst_3 : Module R E] [inst_4 : Module S E] (n : ℕ) (x : E), (↑n)⁻¹ • x = (↑n)⁻¹ • x

If E is a vector space over two division semirings R and S, then scalar multiplications agree on inverses of natural numbers in R and S.

theorem inv_intCast_smul_eq E0 #

∀ {E : Type u_5} (R : Type u_6) (S : Type u_7) [inst : AddCommGroup E] [inst_1 : DivisionRing R]
  [inst_2 : DivisionRing S] [inst_3 : Module R E] [inst_4 : Module S E] (n : ℤ) (x : E), (↑n)⁻¹ • x = (↑n)⁻¹ • x

If E is a vector space over two division rings R and S, then scalar multiplications agree on inverses of integer numbers in R and S.

theorem inv_natCast_smul_comm E1 #

∀ {α : Type u_5} {E : Type u_6} (R : Type u_7) [inst : AddCommMonoid E] [inst_1 : DivisionSemiring R]
  [inst_2 : Module R E] [inst_3 : DistribSMul α E] (n : ℕ) (s : α) (x : E), (↑n)⁻¹ • s • x = s • (↑n)⁻¹ • x

If E is a vector space over a division semiring R and has a monoid action by α, then that action commutes by scalar multiplication of inverses of natural numbers in R.

theorem inv_intCast_smul_comm E1 #

∀ {α : Type u_5} {E : Type u_6} (R : Type u_7) [inst : AddCommGroup E] [inst_1 : DivisionRing R] [inst_2 : Module R E]
  [inst_3 : DistribSMul α E] (n : ℤ) (s : α) (x : E), (↑n)⁻¹ • s • x = s • (↑n)⁻¹ • x

If E is a vector space over a division ring R and has a monoid action by α, then that action commutes by scalar multiplication of inverses of integers in R

theorem Function.support_smul_subset_left E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero R] [inst_1 : Zero M] [inst_2 : SMulWithZero R M] (f : α → R)
  (g : α → M), Function.support (f • g) ⊆ Function.support f

theorem Function.support_smul_subset_right E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero M] [inst_1 : SMulZeroClass R M] (f : α → R) (g : α → M),
  Function.support (f • g) ⊆ Function.support g

theorem Function.support_const_smul_of_ne_zero E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Semiring R] [IsDomain R] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [Module.IsTorsionFree R M] (c : R) (g : α → M),
  c ≠ 0 → Function.support (c • g) = Function.support g

theorem Function.support_smul E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Semiring R] [IsDomain R] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [Module.IsTorsionFree R M] (f : α → R) (g : α → M),
  Function.support (f • g) = Function.support f ∩ Function.support g

theorem Function.support_const_smul_subset E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero M] [inst_1 : SMulZeroClass R M] (a : R) (f : α → M),
  Function.support (a • f) ⊆ Function.support f

theorem Set.indicator_smul_apply E0 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero M] [inst_1 : SMulZeroClass R M] (s : Set α) (r : α → R)
  (f : α → M) (a : α), s.indicator (fun a ↦ r a • f a) a = r a • s.indicator f a

theorem Set.indicator_smul E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero M] [inst_1 : SMulZeroClass R M] (s : Set α) (r : α → R)
  (f : α → M), (s.indicator fun a ↦ r a • f a) = fun a ↦ r a • s.indicator f a

theorem Set.indicator_const_smul_apply E0 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero M] [inst_1 : SMulZeroClass R M] (s : Set α) (r : R)
  (f : α → M) (a : α), s.indicator (fun x ↦ r • f x) a = r • s.indicator f a

theorem Set.indicator_const_smul E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero M] [inst_1 : SMulZeroClass R M] (s : Set α) (r : R)
  (f : α → M), (s.indicator fun x ↦ r • f x) = fun x ↦ r • s.indicator f x

theorem Set.indicator_smul_apply_left E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero R] [inst_1 : Zero M] [inst_2 : SMulWithZero R M] (s : Set α)
  (r : α → R) (f : α → M) (a : α), s.indicator (fun a ↦ r a • f a) a = s.indicator r a • f a

theorem Set.indicator_smul_left E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero R] [inst_1 : Zero M] [inst_2 : SMulWithZero R M] (s : Set α)
  (r : α → R) (f : α → M), (s.indicator fun a ↦ r a • f a) = fun a ↦ s.indicator r a • f a

theorem Set.indicator_smul_const_apply E0 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero R] [inst_1 : Zero M] [inst_2 : SMulWithZero R M] (s : Set α)
  (r : α → R) (m : M) (a : α), s.indicator (fun x ↦ r x • m) a = s.indicator r a • m

theorem Set.indicator_smul_const E1 #

∀ {α : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Zero R] [inst_1 : Zero M] [inst_2 : SMulWithZero R M] (s : Set α)
  (r : α → R) (m : M), (s.indicator fun x ↦ r x • m) = fun x ↦ s.indicator r x • m

theorem Set.smul_indicator_one_apply E0 #

∀ {α : Type u_1} {R : Type u_2} [inst : MulZeroOneClass R] (s : Set α) (r : R) (a : α),
  r • s.indicator 1 a = s.indicator (fun x ↦ r) a