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.Ring.Multiset

4 declarations. Mathlib docs · Source

theorem CanonicallyOrderedAdd.multiset_prod_pos E0 #

∀ {R : Type u_1} [inst : CommSemiring R] [inst_1 : PartialOrder R] [CanonicallyOrderedAdd R] [NoZeroDivisors R]
  [Nontrivial R] {m : Multiset R}, 0 < m.prod ↔ ∀ x ∈ m, 0 < x

theorem Multiset.le_prod_of_submultiplicative_on_pred_of_nonneg E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CommMonoid α] [inst_1 : CommMonoidWithZero β] [inst_2 : PartialOrder β]
  [PosMulMono β] (f : α → β) (p : α → Prop),
  (∀ (a : α), 0 ≤ f a) →
    f 1 ≤ 1 →
      (∀ (a b : α), p a → p b → f (a * b) ≤ f a * f b) →
        (∀ (a b : α), p a → p b → p (a * b)) → ∀ (s : Multiset α), (∀ a ∈ s, p a) → f s.prod ≤ (Multiset.map f s).prod

theorem Multiset.le_prod_of_submultiplicative_of_nonneg E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : CommMonoid α] [inst_1 : CommMonoidWithZero β] [inst_2 : PartialOrder β]
  [PosMulMono β] (f : α → β),
  (∀ (a : α), 0 ≤ f a) →
    f 1 ≤ 1 → (∀ (a b : α), f (a * b) ≤ f a * f b) → ∀ (s : Multiset α), f s.prod ≤ (Multiset.map f s).prod

theorem Multiset.mem_le_prod_of_one_le E0 #

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