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.Algebra.BigOperators.GroupWithZero.Finset

11 declarations. Mathlib docs · Source

theorem Finset.prod_eq_zero E1 #

∀ {ι : Type u_1} {M₀ : Type u_4} [inst : CommMonoidWithZero M₀] {f : ι → M₀} {s : Finset ι} {i : ι},
  i ∈ s → f i = 0 → ∏ j ∈ s, f j = 0

theorem Finset.prod_ite_zero E1 #

∀ {ι : Type u_1} {M₀ : Type u_4} [inst : CommMonoidWithZero M₀] {p : ι → Prop} [inst_1 : DecidablePred p] {f : ι → M₀}
  {s : Finset ι}, (∏ i ∈ s, if p i then f i else 0) = if ∀ i ∈ s, p i then ∏ i ∈ s, f i else 0

theorem Finset.prod_boole E1 #

∀ {ι : Type u_1} {M₀ : Type u_4} [inst : CommMonoidWithZero M₀] {p : ι → Prop} [inst_1 : DecidablePred p]
  {s : Finset ι}, (∏ i ∈ s, if p i then 1 else 0) = if ∀ i ∈ s, p i then 1 else 0

theorem Finset.support_prod_subset E1 #

∀ {ι : Type u_1} {κ : Type u_2} {M₀ : Type u_4} [inst : CommMonoidWithZero M₀] (s : Finset ι) (f : ι → κ → M₀),
  (Function.support fun x ↦ ∏ i ∈ s, f i x) ⊆ ⋂ i ∈ s, Function.support (f i)

theorem Set.indicator_pi_one_apply E0 #

∀ {ι : Type u_1} {M₀ : Type u_4} {α : ι → Type u_5} [inst : CommMonoidWithZero M₀] (s : Finset ι)
  (t : (i : ι) → Set (α i)) (f : (i : ι) → α i), ((↑s).pi t).indicator 1 f = ∏ i ∈ s, (t i).indicator 1 (f i)

theorem Finset.prod_eq_zero_iff E0 #

∀ {ι : Type u_1} {M₀ : Type u_4} [inst : CommMonoidWithZero M₀] {f : ι → M₀} {s : Finset ι} [Nontrivial M₀]
  [NoZeroDivisors M₀], ∏ x ∈ s, f x = 0 ↔ ∃ a ∈ s, f a = 0

theorem Finset.prod_ne_zero_iff E0 #

∀ {ι : Type u_1} {M₀ : Type u_4} [inst : CommMonoidWithZero M₀] {f : ι → M₀} {s : Finset ι} [Nontrivial M₀]
  [NoZeroDivisors M₀], ∏ x ∈ s, f x ≠ 0 ↔ ∀ a ∈ s, f a ≠ 0

theorem Finset.support_prod E1 #

∀ {ι : Type u_1} {κ : Type u_2} {M₀ : Type u_4} [inst : CommMonoidWithZero M₀] [Nontrivial M₀] [NoZeroDivisors M₀]
  (s : Finset ι) (f : ι → κ → M₀), (Function.support fun j ↦ ∏ i ∈ s, f i j) = ⋂ i ∈ s, Function.support (f i)

theorem Fintype.prod_ite_zero E1 #

∀ {ι : Type u_1} {M₀ : Type u_4} [inst : Fintype ι] [inst_1 : CommMonoidWithZero M₀] {p : ι → Prop}
  [inst_2 : DecidablePred p] {f : ι → M₀}, (∏ i, if p i then f i else 0) = if ∀ (i : ι), p i then ∏ i, f i else 0

theorem Fintype.prod_boole E1 #

∀ {ι : Type u_1} {M₀ : Type u_4} [inst : Fintype ι] [inst_1 : CommMonoidWithZero M₀] {p : ι → Prop}
  [inst_2 : DecidablePred p], (∏ i, if p i then 1 else 0) = if ∀ (i : ι), p i then 1 else 0

theorem Units.mk0_prod E1 #

∀ {ι : Type u_1} {G₀ : Type u_3} [inst : CommGroupWithZero G₀] (s : Finset ι) (f : ι → G₀) (h : ∏ i ∈ s, f i ≠ 0),
  Units.mk0 (∏ i ∈ s, f i) h = ∏ i ∈ s.attach, Units.mk0 (f ↑i) ⋯