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

6 declarations. Mathlib docs · Source

theorem List.prod_nonneg E1 #

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

theorem List.one_le_prod E1 #

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

theorem List.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 : List ι} (f g : ι → R),
  (∀ i ∈ s, 0 ≤ f i) → (∀ i ∈ s, f i ≤ g i) → (List.map f s).prod ≤ (List.map g s).prod

theorem List.prod_map_le_pow_length₀ 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 : List L},
  (∀ x ∈ t, 0 ≤ f x) → (∀ x ∈ t, f x ≤ r) → (List.map (⇑f) t).prod ≤ r ^ t.length

theorem List.prod_pos E1 #

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

theorem List.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_2} {s : List ι},
  s ≠ [] → ∀ (f g : ι → R), (∀ i ∈ s, 0 < f i) → (∀ i ∈ s, f i < g i) → (List.map f s).prod < (List.map g s).prod