ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  xrlttri3 GIF version

Theorem xrlttri3 9199
Description: Extended real version of lttri3 7509. (Contributed by NM, 9-Feb-2006.)
Assertion
Ref Expression
xrlttri3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))

Proof of Theorem xrlttri3
StepHypRef Expression
1 elxr 9179 . 2 (𝐴 ∈ ℝ* ↔ (𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞))
2 elxr 9179 . 2 (𝐵 ∈ ℝ* ↔ (𝐵 ∈ ℝ ∨ 𝐵 = +∞ ∨ 𝐵 = -∞))
3 lttri3 7509 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
43ancoms 264 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
5 renepnf 7479 . . . . . . . . . 10 (𝐵 ∈ ℝ → 𝐵 ≠ +∞)
65adantr 270 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → 𝐵 ≠ +∞)
7 neeq2 2265 . . . . . . . . . 10 (𝐴 = +∞ → (𝐵𝐴𝐵 ≠ +∞))
87adantl 271 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → (𝐵𝐴𝐵 ≠ +∞))
96, 8mpbird 165 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → 𝐵𝐴)
109necomd 2337 . . . . . . 7 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → 𝐴𝐵)
1110neneqd 2272 . . . . . 6 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → ¬ 𝐴 = 𝐵)
12 ltpnf 9183 . . . . . . . . 9 (𝐵 ∈ ℝ → 𝐵 < +∞)
1312adantr 270 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → 𝐵 < +∞)
14 breq2 3824 . . . . . . . . 9 (𝐴 = +∞ → (𝐵 < 𝐴𝐵 < +∞))
1514adantl 271 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → (𝐵 < 𝐴𝐵 < +∞))
1613, 15mpbird 165 . . . . . . 7 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → 𝐵 < 𝐴)
17 notnot 592 . . . . . . . . 9 ((𝐴 < 𝐵𝐵 < 𝐴) → ¬ ¬ (𝐴 < 𝐵𝐵 < 𝐴))
1817olcs 688 . . . . . . . 8 (𝐵 < 𝐴 → ¬ ¬ (𝐴 < 𝐵𝐵 < 𝐴))
19 ioran 702 . . . . . . . 8 (¬ (𝐴 < 𝐵𝐵 < 𝐴) ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
2018, 19sylnib 634 . . . . . . 7 (𝐵 < 𝐴 → ¬ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
2116, 20syl 14 . . . . . 6 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → ¬ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
2211, 212falsed 651 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 = +∞) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
23 renemnf 7480 . . . . . . . . . 10 (𝐵 ∈ ℝ → 𝐵 ≠ -∞)
2423adantr 270 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → 𝐵 ≠ -∞)
25 neeq2 2265 . . . . . . . . . 10 (𝐴 = -∞ → (𝐵𝐴𝐵 ≠ -∞))
2625adantl 271 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → (𝐵𝐴𝐵 ≠ -∞))
2724, 26mpbird 165 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → 𝐵𝐴)
2827necomd 2337 . . . . . . 7 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → 𝐴𝐵)
2928neneqd 2272 . . . . . 6 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → ¬ 𝐴 = 𝐵)
30 mnflt 9185 . . . . . . . . 9 (𝐵 ∈ ℝ → -∞ < 𝐵)
3130adantr 270 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → -∞ < 𝐵)
32 breq1 3823 . . . . . . . . 9 (𝐴 = -∞ → (𝐴 < 𝐵 ↔ -∞ < 𝐵))
3332adantl 271 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → (𝐴 < 𝐵 ↔ -∞ < 𝐵))
3431, 33mpbird 165 . . . . . . 7 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → 𝐴 < 𝐵)
35 orc 666 . . . . . . 7 (𝐴 < 𝐵 → (𝐴 < 𝐵𝐵 < 𝐴))
36 oranim 843 . . . . . . 7 ((𝐴 < 𝐵𝐵 < 𝐴) → ¬ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
3734, 35, 363syl 17 . . . . . 6 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → ¬ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
3829, 372falsed 651 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 = -∞) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
394, 22, 383jaodan 1240 . . . 4 ((𝐵 ∈ ℝ ∧ (𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞)) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
4039ancoms 264 . . 3 (((𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞) ∧ 𝐵 ∈ ℝ) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
41 renepnf 7479 . . . . . . . . 9 (𝐴 ∈ ℝ → 𝐴 ≠ +∞)
4241adantl 271 . . . . . . . 8 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → 𝐴 ≠ +∞)
43 neeq2 2265 . . . . . . . . 9 (𝐵 = +∞ → (𝐴𝐵𝐴 ≠ +∞))
4443adantr 270 . . . . . . . 8 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → (𝐴𝐵𝐴 ≠ +∞))
4542, 44mpbird 165 . . . . . . 7 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → 𝐴𝐵)
4645neneqd 2272 . . . . . 6 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → ¬ 𝐴 = 𝐵)
47 ltpnf 9183 . . . . . . . . 9 (𝐴 ∈ ℝ → 𝐴 < +∞)
4847adantl 271 . . . . . . . 8 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → 𝐴 < +∞)
49 breq2 3824 . . . . . . . . 9 (𝐵 = +∞ → (𝐴 < 𝐵𝐴 < +∞))
5049adantr 270 . . . . . . . 8 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → (𝐴 < 𝐵𝐴 < +∞))
5148, 50mpbird 165 . . . . . . 7 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → 𝐴 < 𝐵)
5251, 35, 363syl 17 . . . . . 6 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → ¬ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
5346, 522falsed 651 . . . . 5 ((𝐵 = +∞ ∧ 𝐴 ∈ ℝ) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
54 eqtr3 2104 . . . . . . 7 ((𝐵 = +∞ ∧ 𝐴 = +∞) → 𝐵 = 𝐴)
5554eqcomd 2090 . . . . . 6 ((𝐵 = +∞ ∧ 𝐴 = +∞) → 𝐴 = 𝐵)
56 pnfxr 7484 . . . . . . . . 9 +∞ ∈ ℝ*
57 xrltnr 9182 . . . . . . . . 9 (+∞ ∈ ℝ* → ¬ +∞ < +∞)
5856, 57ax-mp 7 . . . . . . . 8 ¬ +∞ < +∞
59 breq12 3825 . . . . . . . . 9 ((𝐴 = +∞ ∧ 𝐵 = +∞) → (𝐴 < 𝐵 ↔ +∞ < +∞))
6059ancoms 264 . . . . . . . 8 ((𝐵 = +∞ ∧ 𝐴 = +∞) → (𝐴 < 𝐵 ↔ +∞ < +∞))
6158, 60mtbiri 633 . . . . . . 7 ((𝐵 = +∞ ∧ 𝐴 = +∞) → ¬ 𝐴 < 𝐵)
62 breq12 3825 . . . . . . . 8 ((𝐵 = +∞ ∧ 𝐴 = +∞) → (𝐵 < 𝐴 ↔ +∞ < +∞))
6358, 62mtbiri 633 . . . . . . 7 ((𝐵 = +∞ ∧ 𝐴 = +∞) → ¬ 𝐵 < 𝐴)
6461, 63jca 300 . . . . . 6 ((𝐵 = +∞ ∧ 𝐴 = +∞) → (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
6555, 642thd 173 . . . . 5 ((𝐵 = +∞ ∧ 𝐴 = +∞) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
66 mnfnepnf 7487 . . . . . . . . 9 -∞ ≠ +∞
67 eqeq12 2097 . . . . . . . . . 10 ((𝐴 = -∞ ∧ 𝐵 = +∞) → (𝐴 = 𝐵 ↔ -∞ = +∞))
6867necon3bid 2292 . . . . . . . . 9 ((𝐴 = -∞ ∧ 𝐵 = +∞) → (𝐴𝐵 ↔ -∞ ≠ +∞))
6966, 68mpbiri 166 . . . . . . . 8 ((𝐴 = -∞ ∧ 𝐵 = +∞) → 𝐴𝐵)
7069ancoms 264 . . . . . . 7 ((𝐵 = +∞ ∧ 𝐴 = -∞) → 𝐴𝐵)
7170neneqd 2272 . . . . . 6 ((𝐵 = +∞ ∧ 𝐴 = -∞) → ¬ 𝐴 = 𝐵)
72 mnfltpnf 9187 . . . . . . . . 9 -∞ < +∞
73 breq12 3825 . . . . . . . . 9 ((𝐴 = -∞ ∧ 𝐵 = +∞) → (𝐴 < 𝐵 ↔ -∞ < +∞))
7472, 73mpbiri 166 . . . . . . . 8 ((𝐴 = -∞ ∧ 𝐵 = +∞) → 𝐴 < 𝐵)
7574ancoms 264 . . . . . . 7 ((𝐵 = +∞ ∧ 𝐴 = -∞) → 𝐴 < 𝐵)
7675, 35, 363syl 17 . . . . . 6 ((𝐵 = +∞ ∧ 𝐴 = -∞) → ¬ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
7771, 762falsed 651 . . . . 5 ((𝐵 = +∞ ∧ 𝐴 = -∞) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
7853, 65, 773jaodan 1240 . . . 4 ((𝐵 = +∞ ∧ (𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞)) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
7978ancoms 264 . . 3 (((𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞) ∧ 𝐵 = +∞) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
80 renemnf 7480 . . . . . . . . 9 (𝐴 ∈ ℝ → 𝐴 ≠ -∞)
8180adantl 271 . . . . . . . 8 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → 𝐴 ≠ -∞)
82 neeq2 2265 . . . . . . . . 9 (𝐵 = -∞ → (𝐴𝐵𝐴 ≠ -∞))
8382adantr 270 . . . . . . . 8 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → (𝐴𝐵𝐴 ≠ -∞))
8481, 83mpbird 165 . . . . . . 7 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → 𝐴𝐵)
8584neneqd 2272 . . . . . 6 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → ¬ 𝐴 = 𝐵)
86 mnflt 9185 . . . . . . . . 9 (𝐴 ∈ ℝ → -∞ < 𝐴)
8786adantl 271 . . . . . . . 8 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → -∞ < 𝐴)
88 breq1 3823 . . . . . . . . 9 (𝐵 = -∞ → (𝐵 < 𝐴 ↔ -∞ < 𝐴))
8988adantr 270 . . . . . . . 8 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → (𝐵 < 𝐴 ↔ -∞ < 𝐴))
9087, 89mpbird 165 . . . . . . 7 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → 𝐵 < 𝐴)
9190, 20syl 14 . . . . . 6 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → ¬ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
9285, 912falsed 651 . . . . 5 ((𝐵 = -∞ ∧ 𝐴 ∈ ℝ) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
9366neii 2253 . . . . . . . . . 10 ¬ -∞ = +∞
94 eqeq12 2097 . . . . . . . . . 10 ((𝐵 = -∞ ∧ 𝐴 = +∞) → (𝐵 = 𝐴 ↔ -∞ = +∞))
9593, 94mtbiri 633 . . . . . . . . 9 ((𝐵 = -∞ ∧ 𝐴 = +∞) → ¬ 𝐵 = 𝐴)
9695neneqad 2330 . . . . . . . 8 ((𝐵 = -∞ ∧ 𝐴 = +∞) → 𝐵𝐴)
9796necomd 2337 . . . . . . 7 ((𝐵 = -∞ ∧ 𝐴 = +∞) → 𝐴𝐵)
9897neneqd 2272 . . . . . 6 ((𝐵 = -∞ ∧ 𝐴 = +∞) → ¬ 𝐴 = 𝐵)
99 breq12 3825 . . . . . . . 8 ((𝐵 = -∞ ∧ 𝐴 = +∞) → (𝐵 < 𝐴 ↔ -∞ < +∞))
10072, 99mpbiri 166 . . . . . . 7 ((𝐵 = -∞ ∧ 𝐴 = +∞) → 𝐵 < 𝐴)
101100, 20syl 14 . . . . . 6 ((𝐵 = -∞ ∧ 𝐴 = +∞) → ¬ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
10298, 1012falsed 651 . . . . 5 ((𝐵 = -∞ ∧ 𝐴 = +∞) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
103 eqtr3 2104 . . . . . . 7 ((𝐴 = -∞ ∧ 𝐵 = -∞) → 𝐴 = 𝐵)
104103ancoms 264 . . . . . 6 ((𝐵 = -∞ ∧ 𝐴 = -∞) → 𝐴 = 𝐵)
105 mnfxr 7488 . . . . . . . . 9 -∞ ∈ ℝ*
106 xrltnr 9182 . . . . . . . . 9 (-∞ ∈ ℝ* → ¬ -∞ < -∞)
107105, 106ax-mp 7 . . . . . . . 8 ¬ -∞ < -∞
108 breq12 3825 . . . . . . . . 9 ((𝐴 = -∞ ∧ 𝐵 = -∞) → (𝐴 < 𝐵 ↔ -∞ < -∞))
109108ancoms 264 . . . . . . . 8 ((𝐵 = -∞ ∧ 𝐴 = -∞) → (𝐴 < 𝐵 ↔ -∞ < -∞))
110107, 109mtbiri 633 . . . . . . 7 ((𝐵 = -∞ ∧ 𝐴 = -∞) → ¬ 𝐴 < 𝐵)
111 breq12 3825 . . . . . . . 8 ((𝐵 = -∞ ∧ 𝐴 = -∞) → (𝐵 < 𝐴 ↔ -∞ < -∞))
112107, 111mtbiri 633 . . . . . . 7 ((𝐵 = -∞ ∧ 𝐴 = -∞) → ¬ 𝐵 < 𝐴)
113110, 112jca 300 . . . . . 6 ((𝐵 = -∞ ∧ 𝐴 = -∞) → (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴))
114104, 1132thd 173 . . . . 5 ((𝐵 = -∞ ∧ 𝐴 = -∞) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
11592, 102, 1143jaodan 1240 . . . 4 ((𝐵 = -∞ ∧ (𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞)) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
116115ancoms 264 . . 3 (((𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞) ∧ 𝐵 = -∞) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
11740, 79, 1163jaodan 1240 . 2 (((𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞) ∧ (𝐵 ∈ ℝ ∨ 𝐵 = +∞ ∨ 𝐵 = -∞)) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
1181, 2, 117syl2anb 285 1 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴 = 𝐵 ↔ (¬ 𝐴 < 𝐵 ∧ ¬ 𝐵 < 𝐴)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 102  wb 103  wo 662  w3o 921   = wceq 1287  wcel 1436  wne 2251   class class class wbr 3820  cr 7293  +∞cpnf 7463  -∞cmnf 7464  *cxr 7465   < clt 7466
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1379  ax-7 1380  ax-gen 1381  ax-ie1 1425  ax-ie2 1426  ax-8 1438  ax-10 1439  ax-11 1440  ax-i12 1441  ax-bndl 1442  ax-4 1443  ax-13 1447  ax-14 1448  ax-17 1462  ax-i9 1466  ax-ial 1470  ax-i5r 1471  ax-ext 2067  ax-sep 3932  ax-pow 3984  ax-pr 4010  ax-un 4234  ax-setind 4326  ax-cnex 7380  ax-resscn 7381  ax-pre-ltirr 7401  ax-pre-apti 7404
This theorem depends on definitions:  df-bi 115  df-3or 923  df-3an 924  df-tru 1290  df-fal 1293  df-nf 1393  df-sb 1690  df-eu 1948  df-mo 1949  df-clab 2072  df-cleq 2078  df-clel 2081  df-nfc 2214  df-ne 2252  df-nel 2347  df-ral 2360  df-rex 2361  df-rab 2364  df-v 2617  df-dif 2990  df-un 2992  df-in 2994  df-ss 3001  df-pw 3417  df-sn 3437  df-pr 3438  df-op 3440  df-uni 3637  df-br 3821  df-opab 3875  df-xp 4417  df-pnf 7468  df-mnf 7469  df-xr 7470  df-ltxr 7471
This theorem is referenced by:  xrletri3  9202  iccid  9275
  Copyright terms: Public domain W3C validator