MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ltxr Structured version   Visualization version   GIF version

Theorem ltxr 11893
Description: The 'less than' binary relation on the set of extended reals. Definition 12-3.1 of [Gleason] p. 173. (Contributed by NM, 14-Oct-2005.)
Assertion
Ref Expression
ltxr ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴 < 𝐵 ↔ ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 < 𝐵) ∨ (𝐴 = -∞ ∧ 𝐵 = +∞)) ∨ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)))))

Proof of Theorem ltxr
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq12 4618 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 < 𝑦𝐴 < 𝐵))
2 df-3an 1038 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦) ↔ ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) ∧ 𝑥 < 𝑦))
32opabbii 4679 . . . . 5 {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)} = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) ∧ 𝑥 < 𝑦)}
41, 3brab2ga 5155 . . . 4 (𝐴{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)}𝐵 ↔ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 < 𝐵))
54a1i 11 . . 3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)}𝐵 ↔ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 < 𝐵)))
6 brun 4663 . . . 4 (𝐴(((ℝ ∪ {-∞}) × {+∞}) ∪ ({-∞} × ℝ))𝐵 ↔ (𝐴((ℝ ∪ {-∞}) × {+∞})𝐵𝐴({-∞} × ℝ)𝐵))
7 brxp 5107 . . . . . . 7 (𝐴((ℝ ∪ {-∞}) × {+∞})𝐵 ↔ (𝐴 ∈ (ℝ ∪ {-∞}) ∧ 𝐵 ∈ {+∞}))
8 elun 3731 . . . . . . . . . . 11 (𝐴 ∈ (ℝ ∪ {-∞}) ↔ (𝐴 ∈ ℝ ∨ 𝐴 ∈ {-∞}))
9 orcom 402 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∨ 𝐴 ∈ {-∞}) ↔ (𝐴 ∈ {-∞} ∨ 𝐴 ∈ ℝ))
108, 9bitri 264 . . . . . . . . . 10 (𝐴 ∈ (ℝ ∪ {-∞}) ↔ (𝐴 ∈ {-∞} ∨ 𝐴 ∈ ℝ))
11 elsng 4162 . . . . . . . . . . 11 (𝐴 ∈ ℝ* → (𝐴 ∈ {-∞} ↔ 𝐴 = -∞))
1211orbi1d 738 . . . . . . . . . 10 (𝐴 ∈ ℝ* → ((𝐴 ∈ {-∞} ∨ 𝐴 ∈ ℝ) ↔ (𝐴 = -∞ ∨ 𝐴 ∈ ℝ)))
1310, 12syl5bb 272 . . . . . . . . 9 (𝐴 ∈ ℝ* → (𝐴 ∈ (ℝ ∪ {-∞}) ↔ (𝐴 = -∞ ∨ 𝐴 ∈ ℝ)))
14 elsng 4162 . . . . . . . . 9 (𝐵 ∈ ℝ* → (𝐵 ∈ {+∞} ↔ 𝐵 = +∞))
1513, 14bi2anan9 916 . . . . . . . 8 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → ((𝐴 ∈ (ℝ ∪ {-∞}) ∧ 𝐵 ∈ {+∞}) ↔ ((𝐴 = -∞ ∨ 𝐴 ∈ ℝ) ∧ 𝐵 = +∞)))
16 andir 911 . . . . . . . 8 (((𝐴 = -∞ ∨ 𝐴 ∈ ℝ) ∧ 𝐵 = +∞) ↔ ((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ (𝐴 ∈ ℝ ∧ 𝐵 = +∞)))
1715, 16syl6bb 276 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → ((𝐴 ∈ (ℝ ∪ {-∞}) ∧ 𝐵 ∈ {+∞}) ↔ ((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ (𝐴 ∈ ℝ ∧ 𝐵 = +∞))))
187, 17syl5bb 272 . . . . . 6 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴((ℝ ∪ {-∞}) × {+∞})𝐵 ↔ ((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ (𝐴 ∈ ℝ ∧ 𝐵 = +∞))))
19 brxp 5107 . . . . . . 7 (𝐴({-∞} × ℝ)𝐵 ↔ (𝐴 ∈ {-∞} ∧ 𝐵 ∈ ℝ))
2011anbi1d 740 . . . . . . . 8 (𝐴 ∈ ℝ* → ((𝐴 ∈ {-∞} ∧ 𝐵 ∈ ℝ) ↔ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)))
2120adantr 481 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → ((𝐴 ∈ {-∞} ∧ 𝐵 ∈ ℝ) ↔ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)))
2219, 21syl5bb 272 . . . . . 6 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴({-∞} × ℝ)𝐵 ↔ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)))
2318, 22orbi12d 745 . . . . 5 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → ((𝐴((ℝ ∪ {-∞}) × {+∞})𝐵𝐴({-∞} × ℝ)𝐵) ↔ (((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ (𝐴 ∈ ℝ ∧ 𝐵 = +∞)) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ))))
24 orass 546 . . . . 5 ((((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ (𝐴 ∈ ℝ ∧ 𝐵 = +∞)) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)) ↔ ((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ))))
2523, 24syl6bb 276 . . . 4 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → ((𝐴((ℝ ∪ {-∞}) × {+∞})𝐵𝐴({-∞} × ℝ)𝐵) ↔ ((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)))))
266, 25syl5bb 272 . . 3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴(((ℝ ∪ {-∞}) × {+∞}) ∪ ({-∞} × ℝ))𝐵 ↔ ((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)))))
275, 26orbi12d 745 . 2 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → ((𝐴{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)}𝐵𝐴(((ℝ ∪ {-∞}) × {+∞}) ∪ ({-∞} × ℝ))𝐵) ↔ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 < 𝐵) ∨ ((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ))))))
28 df-ltxr 10023 . . . 4 < = ({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)} ∪ (((ℝ ∪ {-∞}) × {+∞}) ∪ ({-∞} × ℝ)))
2928breqi 4619 . . 3 (𝐴 < 𝐵𝐴({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)} ∪ (((ℝ ∪ {-∞}) × {+∞}) ∪ ({-∞} × ℝ)))𝐵)
30 brun 4663 . . 3 (𝐴({⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)} ∪ (((ℝ ∪ {-∞}) × {+∞}) ∪ ({-∞} × ℝ)))𝐵 ↔ (𝐴{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)}𝐵𝐴(((ℝ ∪ {-∞}) × {+∞}) ∪ ({-∞} × ℝ))𝐵))
3129, 30bitri 264 . 2 (𝐴 < 𝐵 ↔ (𝐴{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ ∧ 𝑥 < 𝑦)}𝐵𝐴(((ℝ ∪ {-∞}) × {+∞}) ∪ ({-∞} × ℝ))𝐵))
32 orass 546 . 2 (((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 < 𝐵) ∨ (𝐴 = -∞ ∧ 𝐵 = +∞)) ∨ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ))) ↔ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 < 𝐵) ∨ ((𝐴 = -∞ ∧ 𝐵 = +∞) ∨ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)))))
3327, 31, 323bitr4g 303 1 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴 < 𝐵 ↔ ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐴 < 𝐵) ∨ (𝐴 = -∞ ∧ 𝐵 = +∞)) ∨ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∨ (𝐴 = -∞ ∧ 𝐵 ∈ ℝ)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wo 383  wa 384  w3a 1036   = wceq 1480  wcel 1987  cun 3553  {csn 4148   class class class wbr 4613  {copab 4672   × cxp 5072  cr 9879   < cltrr 9884  +∞cpnf 10015  -∞cmnf 10016  *cxr 10017   < clt 10018
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-br 4614  df-opab 4674  df-xp 5080  df-ltxr 10023
This theorem is referenced by:  xrltnr  11897  ltpnf  11898  mnflt  11901  mnfltpnf  11904  pnfnlt  11906  nltmnf  11907
  Copyright terms: Public domain W3C validator