The complete divisor set of a semiprime
ProvedWorkbookSource.plus_7645lean-workbooksource-checked
Find the divisors of the number when and are distinct primes.
Source: InternLM Lean-Workbook, record lean_workbook_plus_7645 (Apache-2.0). The complete source proposition and its explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.plus_7645 (n : ℕ) (p q : ℕ) (hp : p.Prime) (hq : q.Prime) (hpq : p ≠ q) (hn : n = p*q) : {d | d ∣ n} = {1, p, q, p*q} := by sorrySource