Metamath Proof Explorer


Theorem nprmdvds1

Description: No prime number divides 1. (Contributed by Paul Chapman, 17-Nov-2012) (Proof shortened by Mario Carneiro, 2-Jul-2015)

Ref Expression
Assertion nprmdvds1 ⊢ P ∈ ℙ → ¬ P ∥ 1

Proof

Step Hyp Ref Expression
1 1nprm ⊢ ¬ 1 ∈ ℙ
2 prmnn ⊢ P ∈ ℙ → P ∈ ℕ
3 2 nnnn0d ⊢ P ∈ ℙ → P ∈ ℕ 0
4 dvds1 ⊢ P ∈ ℕ 0 → P ∥ 1 ↔ P = 1
5 3 4 syl ⊢ P ∈ ℙ → P ∥ 1 ↔ P = 1
6 eleq1 ⊢ P = 1 → P ∈ ℙ ↔ 1 ∈ ℙ
7 6 biimpcd ⊢ P ∈ ℙ → P = 1 → 1 ∈ ℙ
8 5 7 sylbid ⊢ P ∈ ℙ → P ∥ 1 → 1 ∈ ℙ
9 1 8 mtoi ⊢ P ∈ ℙ → ¬ P ∥ 1