Metamath Proof Explorer


Theorem icopnfsup

Description: An upper set of reals is unbounded above. (Contributed by Mario Carneiro, 7-May-2016)

Ref Expression
Assertion icopnfsup ⊢ A ∈ ℝ * ∧ A ≠ +∞ → sup A +∞ ℝ * < = +∞

Proof

Step Hyp Ref Expression
1 simpl ⊢ A ∈ ℝ * ∧ A ≠ +∞ → A ∈ ℝ *
2 pnfxr ⊢ +∞ ∈ ℝ *
3 2 a1i ⊢ A ∈ ℝ * ∧ A ≠ +∞ → +∞ ∈ ℝ *
4 nltpnft ⊢ A ∈ ℝ * → A = +∞ ↔ ¬ A < +∞
5 4 necon2abid ⊢ A ∈ ℝ * → A < +∞ ↔ A ≠ +∞
6 5 biimpar ⊢ A ∈ ℝ * ∧ A ≠ +∞ → A < +∞
7 lbico1 ⊢ A ∈ ℝ * ∧ +∞ ∈ ℝ * ∧ A < +∞ → A ∈ A +∞
8 1 3 6 7 syl3anc ⊢ A ∈ ℝ * ∧ A ≠ +∞ → A ∈ A +∞
9 8 ne0d ⊢ A ∈ ℝ * ∧ A ≠ +∞ → A +∞ ≠ ∅
10 df-ico ⊢ . = x ∈ ℝ * , y ∈ ℝ * ⟼ z ∈ ℝ * | x ≤ z ∧ z < y
11 idd ⊢ w ∈ ℝ * ∧ +∞ ∈ ℝ * → w < +∞ → w < +∞
12 xrltle ⊢ w ∈ ℝ * ∧ +∞ ∈ ℝ * → w < +∞ → w ≤ +∞
13 xrltle ⊢ A ∈ ℝ * ∧ w ∈ ℝ * → A < w → A ≤ w
14 idd ⊢ A ∈ ℝ * ∧ w ∈ ℝ * → A ≤ w → A ≤ w
15 10 11 12 13 14 ixxub ⊢ A ∈ ℝ * ∧ +∞ ∈ ℝ * ∧ A +∞ ≠ ∅ → sup A +∞ ℝ * < = +∞
16 1 3 9 15 syl3anc ⊢ A ∈ ℝ * ∧ A ≠ +∞ → sup A +∞ ℝ * < = +∞