Metamath Proof Explorer


Theorem fmtnorn

Description: A Fermat number is a function value of the enumeration of the Fermat numbers. (Contributed by AV, 3-Aug-2021)

Ref Expression
Assertion fmtnorn ⊢ F ∈ ran ⁡ FermatNo ↔ ∃ n ∈ ℕ 0 FermatNo ⁡ n = F

Proof

Step Hyp Ref Expression
1 ovex ⊢ 2 2 n + 1 ∈ V
2 df-fmtno ⊢ FermatNo = n ∈ ℕ 0 ⟼ 2 2 n + 1
3 1 2 fnmpti ⊢ FermatNo Fn ℕ 0
4 fvelrnb ⊢ FermatNo Fn ℕ 0 → F ∈ ran ⁡ FermatNo ↔ ∃ n ∈ ℕ 0 FermatNo ⁡ n = F
5 3 4 ax-mp ⊢ F ∈ ran ⁡ FermatNo ↔ ∃ n ∈ ℕ 0 FermatNo ⁡ n = F