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.Order.BigOperators.GroupWithZero.Multiset

8 declarations. Mathlib docs · Source

theorem Multiset.prod_nonneg E1 #

∀ {R : Type u_1} [inst : CommMonoidWithZero R] [inst_1 : PartialOrder R] [ZeroLEOneClass R] [PosMulMono R]
  {s : Multiset R}, (∀ a ∈ s, 0 ≤ a) → 0 ≤ s.prod

theorem Multiset.one_le_prod E1 #

∀ {R : Type u_1} [inst : CommMonoidWithZero R] [inst_1 : PartialOrder R] [ZeroLEOneClass R] [PosMulMono R]
  {s : Multiset R}, (∀ a ∈ s, 1 ≤ a) → 1 ≤ s.prod

theorem Multiset.prod_map_le_prod_map₀ E1 #

∀ {R : Type u_1} [inst : CommMonoidWithZero R] [inst_1 : PartialOrder R] [ZeroLEOneClass R] [PosMulMono R]
  {ι : Type u_2} {s : Multiset ι} (f g : ι → R),
  (∀ i ∈ s, 0 ≤ f i) → (∀ i ∈ s, f i ≤ g i) → (Multiset.map f s).prod ≤ (Multiset.map g s).prod

theorem Multiset.prod_map_le_pow_card E1 #

∀ {R : Type u_1} [inst : CommMonoidWithZero R] [inst_1 : PartialOrder R] [ZeroLEOneClass R] [PosMulMono R]
  {F : Type u_2} {L : Type u_3} [inst_4 : FunLike F L R] {f : F} {r : R} {t : Multiset L},
  (∀ x ∈ t, 0 ≤ f x) → (∀ x ∈ t, f x ≤ r) → (Multiset.map (⇑f) t).prod ≤ r ^ t.card

theorem Multiset.prod_map_nonneg E1 #

∀ {R : Type u_1} [inst : CommMonoidWithZero R] [inst_1 : PartialOrder R] [ZeroLEOneClass R] [PosMulMono R]
  {α : Type u_2} {s : Multiset α} {f : α → R}, (∀ a ∈ s, 0 ≤ f a) → 0 ≤ (Multiset.map f s).prod

theorem Multiset.one_le_prod_map E1 #

∀ {R : Type u_1} [inst : CommMonoidWithZero R] [inst_1 : PartialOrder R] [ZeroLEOneClass R] [PosMulMono R]
  {α : Type u_2} {s : Multiset α} {f : α → R}, (∀ a ∈ s, 1 ≤ f a) → 1 ≤ (Multiset.map f s).prod

theorem Multiset.prod_pos E1 #

∀ {R : Type u_1} [inst : CommMonoidWithZero R] [inst_1 : PartialOrder R] [ZeroLEOneClass R] [PosMulStrictMono R]
  [NeZero 1] {s : Multiset R}, (∀ a ∈ s, 0 < a) → 0 < s.prod

theorem Multiset.prod_map_lt_prod_map E1 #

∀ {R : Type u_1} [inst : CommMonoidWithZero R] [inst_1 : PartialOrder R] [ZeroLEOneClass R] [PosMulStrictMono R]
  [NeZero 1] {ι : Type u_3} {s : Multiset ι},
  s ≠ 0 → ∀ (f g : ι → R), (∀ i ∈ s, 0 < f i) → (∀ i ∈ s, f i < g i) → (Multiset.map f s).prod < (Multiset.map g s).prod