The areas / V03. Sets, finite structures and big operators
Mathlib.Data.Finsupp.SMul
26 declarations. Mathlib docs · Source
Declarations about scalar multiplication on Finsupp
Implementation notes
This file is a noncomputable theory and uses classical logic throughout.
Throughout this section, some Monoid and Semiring arguments are specified with {} instead of
[]. See note [implicit instance arguments].
theorem Finsupp.single_smul E0 #
∀ {α : Type u_1} {M : Type u_3} {R : Type u_6} [inst : Zero M] [inst_1 : MonoidWithZero R]
[inst_2 : MulActionWithZero R M] (a b : α) (f : α → M) (r : R), (fun₀ | a => r) b • f a = (fun₀ | a => r • f b) b
def Finsupp.comapSMul E1 #
{α : Type u_1} →
{M : Type u_3} → {G : Type u_5} → [inst : Monoid G] → [MulAction G α] → [inst : AddCommMonoid M] → SMul G (α →₀ M)
Scalar multiplication acting on the domain.
This is not an instance as it would conflict with the action on the range.
See the instance_diamonds test for examples of such conflicts.
theorem Finsupp.comapSMul_def E0 #
∀ {α : Type u_1} {M : Type u_3} {G : Type u_5} [inst : Monoid G] [inst_1 : MulAction G α] [inst_2 : AddCommMonoid M]
(g : G) (f : α →₀ M), g • f = Finsupp.mapDomain (fun x ↦ g • x) f
theorem Finsupp.comapSMul_single E0 #
∀ {α : Type u_1} {M : Type u_3} {G : Type u_5} [inst : Monoid G] [inst_1 : MulAction G α] [inst_2 : AddCommMonoid M]
(g : G) (a : α) (b : M), (g • fun₀ | a => b) = fun₀ | g • a => b
def Finsupp.comapMulAction E1 #
{α : Type u_1} →
{M : Type u_3} →
{G : Type u_5} → [inst : Monoid G] → [MulAction G α] → [inst_2 : AddCommMonoid M] → MulAction G (α →₀ M)
Finsupp.comapSMul is multiplicative
def Finsupp.comapDistribMulAction E1 #
{α : Type u_1} →
{M : Type u_3} →
{G : Type u_5} → [inst : Monoid G] → [MulAction G α] → [inst_2 : AddCommMonoid M] → DistribMulAction G (α →₀ M)
Finsupp.comapSMul is distributive
theorem Finsupp.comapSMul_apply E0 #
∀ {α : Type u_1} {M : Type u_3} {G : Type u_5} [inst : Group G] [inst_1 : MulAction G α] [inst_2 : AddCommMonoid M]
(g : G) (f : α →₀ M) (a : α), (g • f) a = f (g⁻¹ • a)
When G is a group, Finsupp.comapSMul acts by precomposition with the action of g⁻¹.
theorem IsSMulRegular.finsupp E1 #
∀ {α : Type u_1} {M : Type u_3} {R : Type u_6} [inst : Zero M] [inst_1 : SMulZeroClass R M] {k : R},
IsSMulRegular M k → IsSMulRegular (α →₀ M) k
instance Finsupp.faithfulSMul E0 #
∀ {α : Type u_1} {M : Type u_3} {R : Type u_6} [Nonempty α] [inst : Zero M] [inst_1 : SMulZeroClass R M]
[FaithfulSMul R M], FaithfulSMul R (α →₀ M)
instance Finsupp.distribMulAction E0 #
(α : Type u_1) →
(M : Type u_3) →
{R : Type u_6} → [inst : Monoid R] → [inst_1 : AddMonoid M] → [DistribMulAction R M] → DistribMulAction R (α →₀ M)
instance Finsupp.module E0 #
(α : Type u_1) →
(M : Type u_3) → {R : Type u_6} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Module R (α →₀ M)
theorem Finsupp.support_smul_eq E0 #
∀ {α : Type u_1} {M : Type u_3} {R : Type u_6} [inst : Semiring R] [IsDomain R] [inst_2 : AddCommMonoid M]
[inst_3 : Module R M] [Module.IsTorsionFree R M] {b : R}, b ≠ 0 → ∀ {g : α →₀ M}, (b • g).support = g.support
theorem Finsupp.filter_smul E0 #
∀ {α : Type u_1} {M : Type u_3} {R : Type u_6} {p : α → Prop} [inst : DecidablePred p] [inst_1 : Zero M]
[inst_2 : SMulZeroClass R M] {b : R} {v : α →₀ M}, Finsupp.filter p (b • v) = b • Finsupp.filter p v
theorem Finsupp.mapDomain_smul E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Type u_3} {R : Type u_6} [inst : AddCommMonoid M] [inst_1 : DistribSMul R M]
{f : α → β} (b : R) (v : α →₀ M), Finsupp.mapDomain f (b • v) = b • Finsupp.mapDomain f v
theorem Finsupp.smul_single' E1 #
∀ {α : Type u_1} {R : Type u_6} {x : Semiring R} (c : R) (a : α) (b : R), (c • fun₀ | a => b) = fun₀ | a => c * b
theorem Finsupp.smul_single_one E1 #
∀ {α : Type u_1} {R : Type u_6} [inst : MulZeroOneClass R] (a : α) (b : R), (b • fun₀ | a => 1) = fun₀ | a => b
theorem Finsupp.comapDomain_smul E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Type u_3} {R : Type u_6} [inst : Zero M] [inst_1 : SMulZeroClass R M] {f : α → β}
(r : R) (v : β →₀ M) (hfv : Set.InjOn f (f ⁻¹' ↑v.support))
(hfrv : optParam (Set.InjOn f (f ⁻¹' ↑(r • v).support)) ⋯),
Finsupp.comapDomain f (r • v) hfrv = r • Finsupp.comapDomain f v hfv
theorem Finsupp.comapDomain_smul_of_injective E1 #
∀ {α : Type u_1} {β : Type u_2} {M : Type u_3} {R : Type u_6} [inst : Zero M] [inst_1 : SMulZeroClass R M] {f : α → β}
(hf : Function.Injective f) (r : R) (v : β →₀ M), Finsupp.comapDomain f (r • v) ⋯ = r • Finsupp.comapDomain f v ⋯
A version of Finsupp.comapDomain_smul that's easier to use.
theorem Finsupp.sum_smul_index E1 #
∀ {α : Type u_1} {M : Type u_3} {R : Type u_6} [inst : MulZeroClass R] [inst_1 : AddCommMonoid M] {g : α →₀ R} {b : R}
{h : α → R → M}, (∀ (i : α), h i 0 = 0) → (b • g).sum h = g.sum fun i a ↦ h i (b * a)
theorem Finsupp.sum_smul_index' E1 #
∀ {α : Type u_1} {M : Type u_3} {N : Type u_4} {R : Type u_6} [inst : Zero M] [inst_1 : SMulZeroClass R M]
[inst_2 : AddCommMonoid N] {g : α →₀ M} {b : R} {h : α → M → N},
(∀ (i : α), h i 0 = 0) → (b • g).sum h = g.sum fun i c ↦ h i (b • c)
theorem Finsupp.sum_smul_index_addMonoidHom E1 #
∀ {α : Type u_1} {M : Type u_3} {N : Type u_4} {R : Type u_6} [inst : AddZeroClass M] [inst_1 : AddCommMonoid N]
[inst_2 : SMulZeroClass R M] {g : α →₀ M} {b : R} {h : α → M →+ N},
((b • g).sum fun a ↦ ⇑(h a)) = g.sum fun i c ↦ (h i) (b • c)
A version of Finsupp.sum_smul_index' for bundled additive maps.
instance Finsupp.moduleIsTorsionFree E0 #
∀ {M : Type u_3} {R : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_7}
[Module.IsTorsionFree R M], Module.IsTorsionFree R (ι →₀ M)
def Finsupp.DistribMulActionHom.single E1 #
{α : Type u_1} →
{M : Type u_3} →
{R : Type u_6} → [inst : Monoid R] → [inst_1 : AddMonoid M] → [inst_2 : DistribMulAction R M] → α → M →+[R] α →₀ M
Finsupp.single as a DistribMulActionSemiHom.
See also Finsupp.lsingle for the version as a linear map.
theorem Finsupp.distribMulActionHom_ext E1 #
∀ {α : Type u_1} {M : Type u_3} {N : Type u_4} {R : Type u_6} [inst : Monoid R] [inst_1 : AddMonoid M]
[inst_2 : AddMonoid N] [inst_3 : DistribMulAction R M] [inst_4 : DistribMulAction R N] {f g : (α →₀ M) →+[R] N},
(∀ (a : α) (m : M), (f fun₀ | a => m) = g fun₀ | a => m) → f = g
theorem Finsupp.distribMulActionHom_ext' E1 #
∀ {α : Type u_1} {M : Type u_3} {N : Type u_4} {R : Type u_6} [inst : Monoid R] [inst_1 : AddMonoid M]
[inst_2 : AddMonoid N] [inst_3 : DistribMulAction R M] [inst_4 : DistribMulAction R N] {f g : (α →₀ M) →+[R] N},
(∀ (a : α), f.comp (Finsupp.DistribMulActionHom.single a) = g.comp (Finsupp.DistribMulActionHom.single a)) → f = g
See note [partially-applied ext lemmas].
theorem Finsupp.distribMulActionHom_ext'_iff E0 #
∀ {α : Type u_1} {M : Type u_3} {N : Type u_4} {R : Type u_6} [inst : Monoid R] [inst_1 : AddMonoid M]
[inst_2 : AddMonoid N] [inst_3 : DistribMulAction R M] [inst_4 : DistribMulAction R N] {f g : (α →₀ M) →+[R] N},
f = g ↔ ∀ (a : α), f.comp (Finsupp.DistribMulActionHom.single a) = g.comp (Finsupp.DistribMulActionHom.single a)