pith. machine review for the scientific record. sign in
theorem proved term proof

primeFactors_prime

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

 743theorem primeFactors_prime {p : ℕ} (hp : Prime p) : p.primeFactors = {p} := by

proof body

Term-mode proof.

 744  have hp' : Nat.Prime p := (prime_iff p).1 hp
 745  exact Nat.Prime.primeFactors hp'
 746
 747/-- The prime factors of p^k (k ≥ 1) is just {p}. -/

depends on (11)

Lean names referenced from this declaration's body.