Products of lists of prime elements. #
This file contains some theorems relating Prime and products of Lists.
theorem mem_list_primes_of_dvd_prod {M : Type u_1} [CommMonoidWithZero M] [IsCancelMulZero M] [Subsingleton Mˣ] {p : M} (hp : Prime p) {L : List M} (hL : ∀ (q : M), q ∈ L → Prime q) (hpL : p ∣ L.prod) :
theorem perm_of_prod_eq_prod {M : Type u_1} [CommMonoidWithZero M] [IsCancelMulZero M] [Subsingleton Mˣ] {l₁ l₂ : List M} :