Metamath Proof Explorer


Theorem infxrpnf

Description: Adding plus infinity to a set does not affect its infimum. (Contributed by Glauco Siliprandi, 2-Jan-2022)

Ref Expression
Assertion infxrpnf ⊢ A ⊆ ℝ * → inf A ∪ +∞ ℝ * < = inf A ℝ * <

Proof

Step Hyp Ref Expression
1 id ⊢ A ⊆ ℝ * → A ⊆ ℝ *
2 pnfxr ⊢ +∞ ∈ ℝ *
3 snssi ⊢ +∞ ∈ ℝ * → +∞ ⊆ ℝ *
4 2 3 ax-mp ⊢ +∞ ⊆ ℝ *
5 4 a1i ⊢ A ⊆ ℝ * → +∞ ⊆ ℝ *
6 1 5 unssd ⊢ A ⊆ ℝ * → A ∪ +∞ ⊆ ℝ *
7 6 infxrcld ⊢ A ⊆ ℝ * → inf A ∪ +∞ ℝ * < ∈ ℝ *
8 infxrcl ⊢ A ⊆ ℝ * → inf A ℝ * < ∈ ℝ *
9 ssun1 ⊢ A ⊆ A ∪ +∞
10 9 a1i ⊢ A ⊆ ℝ * → A ⊆ A ∪ +∞
11 infxrss ⊢ A ⊆ A ∪ +∞ ∧ A ∪ +∞ ⊆ ℝ * → inf A ∪ +∞ ℝ * < ≤ inf A ℝ * <
12 10 6 11 syl2anc ⊢ A ⊆ ℝ * → inf A ∪ +∞ ℝ * < ≤ inf A ℝ * <
13 infeq1 ⊢ A = ∅ → inf A ℝ * < = inf ∅ ℝ * <
14 xrinf0 ⊢ inf ∅ ℝ * < = +∞
15 14 2 eqeltri ⊢ inf ∅ ℝ * < ∈ ℝ *
16 15 a1i ⊢ A = ∅ → inf ∅ ℝ * < ∈ ℝ *
17 13 16 eqeltrd ⊢ A = ∅ → inf A ℝ * < ∈ ℝ *
18 xrltso ⊢ < Or ℝ *
19 infsn ⊢ < Or ℝ * ∧ +∞ ∈ ℝ * → inf +∞ ℝ * < = +∞
20 18 2 19 mp2an ⊢ inf +∞ ℝ * < = +∞
21 20 eqcomi ⊢ +∞ = inf +∞ ℝ * <
22 21 a1i ⊢ A = ∅ → +∞ = inf +∞ ℝ * <
23 13 14 eqtrdi ⊢ A = ∅ → inf A ℝ * < = +∞
24 uneq1 ⊢ A = ∅ → A ∪ +∞ = ∅ ∪ +∞
25 0un ⊢ ∅ ∪ +∞ = +∞
26 25 a1i ⊢ A = ∅ → ∅ ∪ +∞ = +∞
27 24 26 eqtrd ⊢ A = ∅ → A ∪ +∞ = +∞
28 27 infeq1d ⊢ A = ∅ → inf A ∪ +∞ ℝ * < = inf +∞ ℝ * <
29 22 23 28 3eqtr4d ⊢ A = ∅ → inf A ℝ * < = inf A ∪ +∞ ℝ * <
30 17 29 xreqled ⊢ A = ∅ → inf A ℝ * < ≤ inf A ∪ +∞ ℝ * <
31 30 adantl ⊢ A ⊆ ℝ * ∧ A = ∅ → inf A ℝ * < ≤ inf A ∪ +∞ ℝ * <
32 neqne ⊢ ¬ A = ∅ → A ≠ ∅
33 nfv ⊢ Ⅎ x A ⊆ ℝ * ∧ A ≠ ∅
34 nfv ⊢ Ⅎ y A ⊆ ℝ * ∧ A ≠ ∅
35 simpl ⊢ A ⊆ ℝ * ∧ A ≠ ∅ → A ⊆ ℝ *
36 35 6 syl ⊢ A ⊆ ℝ * ∧ A ≠ ∅ → A ∪ +∞ ⊆ ℝ *
37 simpr ⊢ A ⊆ ℝ * ∧ x ∈ A → x ∈ A
38 ssel2 ⊢ A ⊆ ℝ * ∧ x ∈ A → x ∈ ℝ *
39 38 xrleidd ⊢ A ⊆ ℝ * ∧ x ∈ A → x ≤ x
40 breq1 ⊢ y = x → y ≤ x ↔ x ≤ x
41 40 rspcev ⊢ x ∈ A ∧ x ≤ x → ∃ y ∈ A y ≤ x
42 37 39 41 syl2anc ⊢ A ⊆ ℝ * ∧ x ∈ A → ∃ y ∈ A y ≤ x
43 42 ad4ant14 ⊢ A ⊆ ℝ * ∧ A ≠ ∅ ∧ x ∈ A ∪ +∞ ∧ x ∈ A → ∃ y ∈ A y ≤ x
44 simpll ⊢ A ⊆ ℝ * ∧ A ≠ ∅ ∧ x ∈ A ∪ +∞ ∧ ¬ x ∈ A → A ⊆ ℝ * ∧ A ≠ ∅
45 elunnel1 ⊢ x ∈ A ∪ +∞ ∧ ¬ x ∈ A → x ∈ +∞
46 elsni ⊢ x ∈ +∞ → x = +∞
47 45 46 syl ⊢ x ∈ A ∪ +∞ ∧ ¬ x ∈ A → x = +∞
48 47 adantll ⊢ A ⊆ ℝ * ∧ A ≠ ∅ ∧ x ∈ A ∪ +∞ ∧ ¬ x ∈ A → x = +∞
49 simplr ⊢ A ⊆ ℝ * ∧ A ≠ ∅ ∧ x = +∞ → A ≠ ∅
50 ssel2 ⊢ A ⊆ ℝ * ∧ y ∈ A → y ∈ ℝ *
51 pnfge ⊢ y ∈ ℝ * → y ≤ +∞
52 50 51 syl ⊢ A ⊆ ℝ * ∧ y ∈ A → y ≤ +∞
53 52 adantlr ⊢ A ⊆ ℝ * ∧ x = +∞ ∧ y ∈ A → y ≤ +∞
54 simplr ⊢ A ⊆ ℝ * ∧ x = +∞ ∧ y ∈ A → x = +∞
55 53 54 breqtrrd ⊢ A ⊆ ℝ * ∧ x = +∞ ∧ y ∈ A → y ≤ x
56 55 ralrimiva ⊢ A ⊆ ℝ * ∧ x = +∞ → ∀ y ∈ A y ≤ x
57 56 adantlr ⊢ A ⊆ ℝ * ∧ A ≠ ∅ ∧ x = +∞ → ∀ y ∈ A y ≤ x
58 r19.2z ⊢ A ≠ ∅ ∧ ∀ y ∈ A y ≤ x → ∃ y ∈ A y ≤ x
59 49 57 58 syl2anc ⊢ A ⊆ ℝ * ∧ A ≠ ∅ ∧ x = +∞ → ∃ y ∈ A y ≤ x
60 44 48 59 syl2anc ⊢ A ⊆ ℝ * ∧ A ≠ ∅ ∧ x ∈ A ∪ +∞ ∧ ¬ x ∈ A → ∃ y ∈ A y ≤ x
61 43 60 pm2.61dan ⊢ A ⊆ ℝ * ∧ A ≠ ∅ ∧ x ∈ A ∪ +∞ → ∃ y ∈ A y ≤ x
62 33 34 35 36 61 infleinf2 ⊢ A ⊆ ℝ * ∧ A ≠ ∅ → inf A ℝ * < ≤ inf A ∪ +∞ ℝ * <
63 32 62 sylan2 ⊢ A ⊆ ℝ * ∧ ¬ A = ∅ → inf A ℝ * < ≤ inf A ∪ +∞ ℝ * <
64 31 63 pm2.61dan ⊢ A ⊆ ℝ * → inf A ℝ * < ≤ inf A ∪ +∞ ℝ * <
65 7 8 12 64 xrletrid ⊢ A ⊆ ℝ * → inf A ∪ +∞ ℝ * < = inf A ℝ * <