Metamath Proof Explorer


Theorem pcdvds

Description: Defining property of the prime count function. (Contributed by Mario Carneiro, 23-Feb-2014)

Ref Expression
Assertion pcdvds ⊢ P ∈ ℙ ∧ N ∈ ℕ → P P pCnt N ∥ N

Proof

Step Hyp Ref Expression
1 nnz ⊢ N ∈ ℕ → N ∈ ℤ
2 nnne0 ⊢ N ∈ ℕ → N ≠ 0
3 1 2 jca ⊢ N ∈ ℕ → N ∈ ℤ ∧ N ≠ 0
4 pczdvds ⊢ P ∈ ℙ ∧ N ∈ ℤ ∧ N ≠ 0 → P P pCnt N ∥ N
5 3 4 sylan2 ⊢ P ∈ ℙ ∧ N ∈ ℕ → P P pCnt N ∥ N