Metamath Proof Explorer


Theorem elxnn0

Description: An extended nonnegative integer is either a standard nonnegative integer or positive infinity. (Contributed by AV, 10-Dec-2020)

Ref Expression
Assertion elxnn0 ⊢ A ∈ ℕ 0 * ↔ A ∈ ℕ 0 ∨ A = +∞

Proof

Step Hyp Ref Expression
1 df-xnn0 ⊢ ℕ 0 * = ℕ 0 ∪ +∞
2 1 eleq2i ⊢ A ∈ ℕ 0 * ↔ A ∈ ℕ 0 ∪ +∞
3 elun ⊢ A ∈ ℕ 0 ∪ +∞ ↔ A ∈ ℕ 0 ∨ A ∈ +∞
4 pnfex ⊢ +∞ ∈ V
5 4 elsn2 ⊢ A ∈ +∞ ↔ A = +∞
6 5 orbi2i ⊢ A ∈ ℕ 0 ∨ A ∈ +∞ ↔ A ∈ ℕ 0 ∨ A = +∞
7 2 3 6 3bitri ⊢ A ∈ ℕ 0 * ↔ A ∈ ℕ 0 ∨ A = +∞