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 / V03. Sets, finite structures and big operators

Mathlib.Data.DFinsupp.Module

23 declarations. Mathlib docs · Source

instance DFinsupp.instSMulZeroClass E0 #

{ι : Type u} →
  {γ : Type w} →
    {β : ι → Type v} →
      [inst : (i : ι) → Zero (β i)] → [(i : ι) → SMulZeroClass γ (β i)] → SMulZeroClass γ (Π₀ (i : ι), β i)

Dependent functions with finite support inherit a semiring action from an action on each coordinate.

theorem DFinsupp.smul_apply E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : (i : ι) → Zero (β i)] [inst_1 : (i : ι) → SMulZeroClass γ (β i)]
  (b : γ) (v : Π₀ (i : ι), β i) (i : ι), (b • v) i = b • v i

theorem DFinsupp.coe_smul E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : (i : ι) → Zero (β i)] [inst_1 : (i : ι) → SMulZeroClass γ (β i)]
  (b : γ) (v : Π₀ (i : ι), β i), ⇑(b • v) = b • ⇑v

instance DFinsupp.smulCommClass E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} {δ : Type u_1} [inst : (i : ι) → Zero (β i)]
  [inst_1 : (i : ι) → SMulZeroClass γ (β i)] [inst_2 : (i : ι) → SMulZeroClass δ (β i)]
  [∀ (i : ι), SMulCommClass γ δ (β i)], SMulCommClass γ δ (Π₀ (i : ι), β i)

instance DFinsupp.isScalarTower E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} {δ : Type u_1} [inst : (i : ι) → Zero (β i)]
  [inst_1 : (i : ι) → SMulZeroClass γ (β i)] [inst_2 : (i : ι) → SMulZeroClass δ (β i)] [inst_3 : SMul γ δ]
  [∀ (i : ι), IsScalarTower γ δ (β i)], IsScalarTower γ δ (Π₀ (i : ι), β i)

instance DFinsupp.isCentralScalar E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : (i : ι) → Zero (β i)] [inst_1 : (i : ι) → SMulZeroClass γ (β i)]
  [inst_2 : (i : ι) → SMulZeroClass γᵐᵒᵖ (β i)] [∀ (i : ι), IsCentralScalar γ (β i)],
  IsCentralScalar γ (Π₀ (i : ι), β i)

instance DFinsupp.distribMulAction E0 #

{ι : Type u} →
  {γ : Type w} →
    {β : ι → Type v} →
      [inst : Monoid γ] →
        [inst_1 : (i : ι) → AddMonoid (β i)] →
          [(i : ι) → DistribMulAction γ (β i)] → DistribMulAction γ (Π₀ (i : ι), β i)

Dependent functions with finite support inherit a DistribMulAction structure from such a structure on each coordinate.

instance DFinsupp.module E0 #

{ι : Type u} →
  {γ : Type w} →
    {β : ι → Type v} →
      [inst : Semiring γ] →
        [inst_1 : (i : ι) → AddCommMonoid (β i)] → [(i : ι) → Module γ (β i)] → Module γ (Π₀ (i : ι), β i)

Dependent functions with finite support inherit a module structure from such a structure on each coordinate.

def DFinsupp.coeFnLinearMap E1 #

{ι : Type u} →
  (γ : Type w) →
    {β : ι → Type v} →
      [inst : Semiring γ] →
        [inst_1 : (i : ι) → AddCommMonoid (β i)] →
          [inst_2 : (i : ι) → Module γ (β i)] → (Π₀ (i : ι), β i) →ₗ[γ] (i : ι) → β i

Coercion from a DFinsupp to a pi type is a LinearMap.

theorem DFinsupp.coeFnLinearMap_apply E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : Semiring γ] [inst_1 : (i : ι) → AddCommMonoid (β i)]
  [inst_2 : (i : ι) → Module γ (β i)] (v : Π₀ (i : ι), β i), (DFinsupp.coeFnLinearMap γ) v = ⇑v

theorem DFinsupp.filter_smul E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : (i : ι) → Zero (β i)] [inst_1 : (i : ι) → SMulZeroClass γ (β i)]
  (p : ι → Prop) [inst_2 : DecidablePred p] (r : γ) (f : Π₀ (i : ι), β i),
  DFinsupp.filter p (r • f) = r • DFinsupp.filter p f

def DFinsupp.filterLinearMap E1 #

{ι : Type u} →
  (γ : Type w) →
    (β : ι → Type v) →
      [inst : Semiring γ] →
        [inst_1 : (i : ι) → AddCommMonoid (β i)] →
          [inst_2 : (i : ι) → Module γ (β i)] →
            (p : ι → Prop) → [DecidablePred p] → (Π₀ (i : ι), β i) →ₗ[γ] Π₀ (i : ι), β i

DFinsupp.filter as a LinearMap.

theorem DFinsupp.filterLinearMap_apply E0 #

∀ {ι : Type u} (γ : Type w) (β : ι → Type v) [inst : Semiring γ] [inst_1 : (i : ι) → AddCommMonoid (β i)]
  [inst_2 : (i : ι) → Module γ (β i)] (p : ι → Prop) [inst_3 : DecidablePred p] (x : Π₀ (i : ι), β i),
  (DFinsupp.filterLinearMap γ β p) x = DFinsupp.filter p x

theorem DFinsupp.subtypeDomain_smul E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : (i : ι) → Zero (β i)] [inst_1 : (i : ι) → SMulZeroClass γ (β i)]
  {p : ι → Prop} [inst_2 : DecidablePred p] (r : γ) (f : Π₀ (i : ι), β i),
  DFinsupp.subtypeDomain p (r • f) = r • DFinsupp.subtypeDomain p f

def DFinsupp.subtypeDomainLinearMap E1 #

{ι : Type u} →
  (γ : Type w) →
    (β : ι → Type v) →
      [inst : Semiring γ] →
        [inst_1 : (i : ι) → AddCommMonoid (β i)] →
          [inst_2 : (i : ι) → Module γ (β i)] →
            (p : ι → Prop) → [DecidablePred p] → (Π₀ (i : ι), β i) →ₗ[γ] Π₀ (i : Subtype p), β ↑i

DFinsupp.subtypeDomain as a LinearMap.

theorem DFinsupp.subtypeDomainLinearMap_apply E0 #

∀ {ι : Type u} (γ : Type w) (β : ι → Type v) [inst : Semiring γ] [inst_1 : (i : ι) → AddCommMonoid (β i)]
  [inst_2 : (i : ι) → Module γ (β i)] (p : ι → Prop) [inst_3 : DecidablePred p] (x : Π₀ (i : ι), β i),
  (DFinsupp.subtypeDomainLinearMap γ β p) x = DFinsupp.subtypeDomain p x

theorem DFinsupp.mk_smul E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : DecidableEq ι] [inst_1 : (i : ι) → Zero (β i)]
  [inst_2 : (i : ι) → SMulZeroClass γ (β i)] {s : Finset ι} (c : γ) (x : (i : ↑↑s) → β ↑i),
  DFinsupp.mk s (c • x) = c • DFinsupp.mk s x

theorem DFinsupp.single_smul E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : DecidableEq ι] [inst_1 : (i : ι) → Zero (β i)]
  [inst_2 : (i : ι) → SMulZeroClass γ (β i)] {i : ι} (c : γ) (x : β i), (fun₀ | i => c • x) = c • fun₀ | i => x

theorem DFinsupp.support_smul E1 #

∀ {ι : Type u} {β : ι → Type v} [inst : DecidableEq ι] {γ : Type w} [inst_1 : (i : ι) → Zero (β i)]
  [inst_2 : (i : ι) → SMulZeroClass γ (β i)] [inst_3 : (i : ι) → (x : β i) → Decidable (x ≠ 0)] (b : γ)
  (v : Π₀ (i : ι), β i), (b • v).support ⊆ v.support

theorem DFinsupp.comapDomain_smul E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} {κ : Type u_1} [inst : (i : ι) → Zero (β i)]
  [inst_1 : (i : ι) → SMulZeroClass γ (β i)] (h : κ → ι) (hh : Function.Injective h) (r : γ) (f : Π₀ (i : ι), β i),
  DFinsupp.comapDomain h hh (r • f) = r • DFinsupp.comapDomain h hh f

theorem DFinsupp.comapDomain'_smul E0 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} {κ : Type u_1} [inst : (i : ι) → Zero (β i)]
  [inst_1 : (i : ι) → SMulZeroClass γ (β i)] (h : κ → ι) {h' : ι → κ} (hh' : Function.LeftInverse h' h) (r : γ)
  (f : Π₀ (i : ι), β i), DFinsupp.comapDomain' h hh' (r • f) = r • DFinsupp.comapDomain' h hh' f

instance DFinsupp.distribMulAction₂ E0 #

{ι : Type u} →
  {γ : Type w} →
    {α : ι → Type u_2} →
      {δ : (i : ι) → α i → Type v} →
        [inst : Monoid γ] →
          [inst_1 : (i : ι) → (j : α i) → AddMonoid (δ i j)] →
            [(i : ι) → (j : α i) → DistribMulAction γ (δ i j)] → DistribMulAction γ (Π₀ (i : ι) (j : α i), δ i j)

theorem DFinsupp.equivProdDFinsupp_smul E1 #

∀ {ι : Type u} {γ : Type w} {α : Option ι → Type v} [inst : (i : Option ι) → Zero (α i)]
  [inst_1 : (i : Option ι) → SMulZeroClass γ (α i)] (r : γ) (f : Π₀ (i : Option ι), α i),
  DFinsupp.equivProdDFinsupp (r • f) = r • DFinsupp.equivProdDFinsupp f