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

9 declarations. Mathlib docs · Source

theorem DFinsupp.filterAddMonoidHom.congr_simp E1 #

∀ {ι : Type u} (β : ι → Type v) [inst : (i : ι) → AddZeroClass (β i)] (p p_1 : ι → Prop),
  p = p_1 →
    ∀ {inst_1 : DecidablePred p} [inst_2 : DecidablePred p_1],
      DFinsupp.filterAddMonoidHom β p = DFinsupp.filterAddMonoidHom β p_1

theorem dfinsuppProd_mem E1 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : DecidableEq ι] [inst_1 : (i : ι) → Zero (β i)]
  [inst_2 : (i : ι) → (x : β i) → Decidable (x ≠ 0)] [inst_3 : CommMonoid γ] {S : Type u_1} [inst_4 : SetLike S γ]
  [SubmonoidClass S γ] (s : S) (f : Π₀ (i : ι), β i) (g : (i : ι) → β i → γ),
  (∀ (c : ι), f c ≠ 0 → g c (f c) ∈ s) → f.prod g ∈ s

theorem dfinsuppSum_mem E1 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : DecidableEq ι] [inst_1 : (i : ι) → Zero (β i)]
  [inst_2 : (i : ι) → (x : β i) → Decidable (x ≠ 0)] [inst_3 : AddCommMonoid γ] {S : Type u_1} [inst_4 : SetLike S γ]
  [AddSubmonoidClass S γ] (s : S) (f : Π₀ (i : ι), β i) (g : (i : ι) → β i → γ),
  (∀ (c : ι), f c ≠ 0 → g c (f c) ∈ s) → f.sum g ∈ s

theorem dfinsuppSumAddHom_mem E1 #

∀ {ι : Type u} {γ : Type w} {β : ι → Type v} [inst : DecidableEq ι] [inst_1 : (i : ι) → AddZeroClass (β i)]
  [inst_2 : AddCommMonoid γ] {S : Type u_1} [inst_3 : SetLike S γ] [AddSubmonoidClass S γ] (s : S) (f : Π₀ (i : ι), β i)
  (g : (i : ι) → β i →+ γ), (∀ (c : ι), f c ≠ 0 → (g c) (f c) ∈ s) → (DFinsupp.sumAddHom g) f ∈ s

theorem AddSubmonoid.iSup_eq_mrange_dfinsuppSumAddHom E1 #

∀ {ι : Type u} {γ : Type w} [inst : DecidableEq ι] [inst_1 : AddCommMonoid γ] (S : ι → AddSubmonoid γ),
  iSup S = AddMonoidHom.mrange (DFinsupp.sumAddHom fun i ↦ (S i).subtype)

The supremum of a family of commutative additive submonoids is equal to the range of DFinsupp.sumAddHom; that is, every element in the iSup can be produced from taking a finite number of non-zero elements of S i, coercing them to γ, and summing them.

theorem AddSubmonoid.bsupr_eq_mrange_dfinsuppSumAddHom E1 #

∀ {ι : Type u} {γ : Type w} [inst : DecidableEq ι] (p : ι → Prop) [inst_1 : DecidablePred p] [inst_2 : AddCommMonoid γ]
  (S : ι → AddSubmonoid γ),
  ⨆ i, ⨆ (_ : p i), S i =
    AddMonoidHom.mrange
      ((DFinsupp.sumAddHom fun i ↦ (S i).subtype).comp (DFinsupp.filterAddMonoidHom (fun i ↦ ↥(S i)) p))

The bounded supremum of a family of commutative additive submonoids is equal to the range of DFinsupp.sumAddHom composed with DFinsupp.filterAddMonoidHom; that is, every element in the bounded iSup can be produced from taking a finite number of non-zero elements from the S i that satisfy p i, coercing them to γ, and summing them.

theorem AddSubmonoid.mem_iSup_iff_exists_dfinsupp E0 #

∀ {ι : Type u} {γ : Type w} [inst : DecidableEq ι] [inst_1 : AddCommMonoid γ] (S : ι → AddSubmonoid γ) (x : γ),
  x ∈ iSup S ↔ ∃ f, (DFinsupp.sumAddHom fun i ↦ (S i).subtype) f = x

theorem AddSubmonoid.mem_iSup_iff_exists_dfinsupp' E0 #

∀ {ι : Type u} {γ : Type w} [inst : DecidableEq ι] [inst_1 : AddCommMonoid γ] (S : ι → AddSubmonoid γ)
  [inst_2 : (i : ι) → (x : ↥(S i)) → Decidable (x ≠ 0)] (x : γ), x ∈ iSup S ↔ ∃ f, (f.sum fun x xi ↦ ↑xi) = x

A variant of AddSubmonoid.mem_iSup_iff_exists_dfinsupp with the RHS fully unfolded.

theorem AddSubmonoid.mem_bsupr_iff_exists_dfinsupp E0 #

∀ {ι : Type u} {γ : Type w} [inst : DecidableEq ι] (p : ι → Prop) [inst_1 : DecidablePred p] [inst_2 : AddCommMonoid γ]
  (S : ι → AddSubmonoid γ) (x : γ),
  x ∈ ⨆ i, ⨆ (_ : p i), S i ↔ ∃ f, (DFinsupp.sumAddHom fun i ↦ (S i).subtype) (DFinsupp.filter p f) = x