A prime dividing a lcm divides one of the factors
Provedgpy_prime_dvd_lcmnumber-theory
If a prime p divides Nat.lcm m n, then p divides m or p divides n. Formalization Note: the statement uses only Mathlib terms.
Preamble
import Mathlib open Classical
Formal statement
theorem gpy_prime_dvd_lcm {p m n : ℕ} (hp : Nat.Prime p) (h : p ∣ Nat.lcm m n) :
p ∣ m ∨ p ∣ n := by sorrySource
GPY good-count local evaluation, formalized from Mathlib (prime factorization of the good-pair condition)