Metamath Proof Explorer


Theorem nn0fz0

Description: A nonnegative integer is always part of the finite set of sequential nonnegative integers with this integer as upper bound. (Contributed by Scott Fenton, 21-Mar-2018)

Ref Expression
Assertion nn0fz0 ⊢ N ∈ ℕ 0 ↔ N ∈ 0 … N

Proof

Step Hyp Ref Expression
1 id ⊢ N ∈ ℕ 0 → N ∈ ℕ 0
2 nn0re ⊢ N ∈ ℕ 0 → N ∈ ℝ
3 2 leidd ⊢ N ∈ ℕ 0 → N ≤ N
4 fznn0 ⊢ N ∈ ℕ 0 → N ∈ 0 … N ↔ N ∈ ℕ 0 ∧ N ≤ N
5 1 3 4 mpbir2and ⊢ N ∈ ℕ 0 → N ∈ 0 … N
6 elfz3nn0 ⊢ N ∈ 0 … N → N ∈ ℕ 0
7 5 6 impbii ⊢ N ∈ ℕ 0 ↔ N ∈ 0 … N