A prime dividing a finset product divides some factor
Provedgpy_prime_dvd_finset_prodnumber-theory
If a prime p divides a finset product, then p divides some factor. Formalization Note: the statement uses only Mathlib terms.
Preamble
import Mathlib open Classical
Formal statement
theorem gpy_prime_dvd_finset_prod {ι : Type*} {s : Finset ι} {f : ι → ℕ} {p : ℕ}
(hp : Nat.Prime p) (h : p ∣ ∏ i ∈ s, f i) : ∃ j ∈ s, p ∣ f j := by sorrySource
GPY good-count product formula via the fiber bijection, formalized from Mathlib (no local definitions in statements)