Metamath Proof Explorer


Theorem fpprbasnn

Description: The base of a Fermat pseudoprime is a positive integer. (Contributed by AV, 30-May-2023)

Ref Expression
Assertion fpprbasnn ⊢ X ∈ FPPr ⁡ N → N ∈ ℕ

Proof

Step Hyp Ref Expression
1 ax-1 ⊢ N ∈ ℕ → X ∈ FPPr ⁡ N → N ∈ ℕ
2 df-fppr ⊢ FPPr = n ∈ ℕ ⟼ x ∈ ℤ ≥ 4 | x ∉ ℙ ∧ x ∥ n x − 1 − 1
3 2 fvmptndm ⊢ ¬ N ∈ ℕ → FPPr ⁡ N = ∅
4 eleq2 ⊢ FPPr ⁡ N = ∅ → X ∈ FPPr ⁡ N ↔ X ∈ ∅
5 noel ⊢ ¬ X ∈ ∅
6 5 pm2.21i ⊢ X ∈ ∅ → N ∈ ℕ
7 4 6 biimtrdi ⊢ FPPr ⁡ N = ∅ → X ∈ FPPr ⁡ N → N ∈ ℕ
8 3 7 syl ⊢ ¬ N ∈ ℕ → X ∈ FPPr ⁡ N → N ∈ ℕ
9 1 8 pm2.61i ⊢ X ∈ FPPr ⁡ N → N ∈ ℕ