Proof of Theorem qbtwnxr
Step | Hyp | Ref
| Expression |
1 | | elxr 12708 |
. . 3
⊢ (𝐴 ∈ ℝ*
↔ (𝐴 ∈ ℝ
∨ 𝐴 = +∞ ∨
𝐴 =
-∞)) |
2 | | elxr 12708 |
. . . . 5
⊢ (𝐵 ∈ ℝ*
↔ (𝐵 ∈ ℝ
∨ 𝐵 = +∞ ∨
𝐵 =
-∞)) |
3 | | qbtwnre 12789 |
. . . . . . 7
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐴 < 𝐵) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
4 | 3 | 3expia 1123 |
. . . . . 6
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
5 | | simpl 486 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → 𝐴 ∈
ℝ) |
6 | | peano2re 11005 |
. . . . . . . . . 10
⊢ (𝐴 ∈ ℝ → (𝐴 + 1) ∈
ℝ) |
7 | 6 | adantr 484 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → (𝐴 + 1) ∈
ℝ) |
8 | | ltp1 11672 |
. . . . . . . . . 10
⊢ (𝐴 ∈ ℝ → 𝐴 < (𝐴 + 1)) |
9 | 8 | adantr 484 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → 𝐴 < (𝐴 + 1)) |
10 | | qbtwnre 12789 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ ∧ (𝐴 + 1) ∈ ℝ ∧ 𝐴 < (𝐴 + 1)) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < (𝐴 + 1))) |
11 | 5, 7, 9, 10 | syl3anc 1373 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < (𝐴 + 1))) |
12 | | qre 12549 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ ℚ → 𝑥 ∈
ℝ) |
13 | 12 | ltpnfd 12713 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ ℚ → 𝑥 < +∞) |
14 | 13 | adantl 485 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → 𝑥 < +∞) |
15 | | simplr 769 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → 𝐵 = +∞) |
16 | 14, 15 | breqtrrd 5081 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → 𝑥 < 𝐵) |
17 | 16 | a1d 25 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → (𝑥 < (𝐴 + 1) → 𝑥 < 𝐵)) |
18 | 17 | anim2d 615 |
. . . . . . . . 9
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → ((𝐴 < 𝑥 ∧ 𝑥 < (𝐴 + 1)) → (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
19 | 18 | reximdva 3193 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) →
(∃𝑥 ∈ ℚ
(𝐴 < 𝑥 ∧ 𝑥 < (𝐴 + 1)) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
20 | 11, 19 | mpd 15 |
. . . . . . 7
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
21 | 20 | a1d 25 |
. . . . . 6
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
22 | | rexr 10879 |
. . . . . . 7
⊢ (𝐴 ∈ ℝ → 𝐴 ∈
ℝ*) |
23 | | breq2 5057 |
. . . . . . . . 9
⊢ (𝐵 = -∞ → (𝐴 < 𝐵 ↔ 𝐴 < -∞)) |
24 | 23 | adantl 485 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 = -∞) →
(𝐴 < 𝐵 ↔ 𝐴 < -∞)) |
25 | | nltmnf 12721 |
. . . . . . . . . 10
⊢ (𝐴 ∈ ℝ*
→ ¬ 𝐴 <
-∞) |
26 | 25 | adantr 484 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 = -∞) →
¬ 𝐴 <
-∞) |
27 | 26 | pm2.21d 121 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 = -∞) →
(𝐴 < -∞ →
∃𝑥 ∈ ℚ
(𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
28 | 24, 27 | sylbid 243 |
. . . . . . 7
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 = -∞) →
(𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
29 | 22, 28 | sylan 583 |
. . . . . 6
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = -∞) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
30 | 4, 21, 29 | 3jaodan 1432 |
. . . . 5
⊢ ((𝐴 ∈ ℝ ∧ (𝐵 ∈ ℝ ∨ 𝐵 = +∞ ∨ 𝐵 = -∞)) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
31 | 2, 30 | sylan2b 597 |
. . . 4
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
32 | | breq1 5056 |
. . . . . 6
⊢ (𝐴 = +∞ → (𝐴 < 𝐵 ↔ +∞ < 𝐵)) |
33 | 32 | adantr 484 |
. . . . 5
⊢ ((𝐴 = +∞ ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 ↔ +∞ < 𝐵)) |
34 | | pnfnlt 12720 |
. . . . . . 7
⊢ (𝐵 ∈ ℝ*
→ ¬ +∞ < 𝐵) |
35 | 34 | adantl 485 |
. . . . . 6
⊢ ((𝐴 = +∞ ∧ 𝐵 ∈ ℝ*)
→ ¬ +∞ < 𝐵) |
36 | 35 | pm2.21d 121 |
. . . . 5
⊢ ((𝐴 = +∞ ∧ 𝐵 ∈ ℝ*)
→ (+∞ < 𝐵
→ ∃𝑥 ∈
ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
37 | 33, 36 | sylbid 243 |
. . . 4
⊢ ((𝐴 = +∞ ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
38 | | peano2rem 11145 |
. . . . . . . . . 10
⊢ (𝐵 ∈ ℝ → (𝐵 − 1) ∈
ℝ) |
39 | 38 | adantl 485 |
. . . . . . . . 9
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) → (𝐵 − 1) ∈
ℝ) |
40 | | simpr 488 |
. . . . . . . . 9
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) → 𝐵 ∈
ℝ) |
41 | | ltm1 11674 |
. . . . . . . . . 10
⊢ (𝐵 ∈ ℝ → (𝐵 − 1) < 𝐵) |
42 | 41 | adantl 485 |
. . . . . . . . 9
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) → (𝐵 − 1) < 𝐵) |
43 | | qbtwnre 12789 |
. . . . . . . . 9
⊢ (((𝐵 − 1) ∈ ℝ ∧
𝐵 ∈ ℝ ∧
(𝐵 − 1) < 𝐵) → ∃𝑥 ∈ ℚ ((𝐵 − 1) < 𝑥 ∧ 𝑥 < 𝐵)) |
44 | 39, 40, 42, 43 | syl3anc 1373 |
. . . . . . . 8
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) →
∃𝑥 ∈ ℚ
((𝐵 − 1) < 𝑥 ∧ 𝑥 < 𝐵)) |
45 | | simpll 767 |
. . . . . . . . . . . 12
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → 𝐴 = -∞) |
46 | 12 | adantl 485 |
. . . . . . . . . . . . 13
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → 𝑥 ∈
ℝ) |
47 | 46 | mnfltd 12716 |
. . . . . . . . . . . 12
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → -∞
< 𝑥) |
48 | 45, 47 | eqbrtrd 5075 |
. . . . . . . . . . 11
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → 𝐴 < 𝑥) |
49 | 48 | a1d 25 |
. . . . . . . . . 10
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → ((𝐵 − 1) < 𝑥 → 𝐴 < 𝑥)) |
50 | 49 | anim1d 614 |
. . . . . . . . 9
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → (((𝐵 − 1) < 𝑥 ∧ 𝑥 < 𝐵) → (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
51 | 50 | reximdva 3193 |
. . . . . . . 8
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) →
(∃𝑥 ∈ ℚ
((𝐵 − 1) < 𝑥 ∧ 𝑥 < 𝐵) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
52 | 44, 51 | mpd 15 |
. . . . . . 7
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) →
∃𝑥 ∈ ℚ
(𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
53 | 52 | a1d 25 |
. . . . . 6
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
54 | | 1re 10833 |
. . . . . . . . . 10
⊢ 1 ∈
ℝ |
55 | | mnflt 12715 |
. . . . . . . . . 10
⊢ (1 ∈
ℝ → -∞ < 1) |
56 | 54, 55 | ax-mp 5 |
. . . . . . . . 9
⊢ -∞
< 1 |
57 | | breq1 5056 |
. . . . . . . . 9
⊢ (𝐴 = -∞ → (𝐴 < 1 ↔ -∞ <
1)) |
58 | 56, 57 | mpbiri 261 |
. . . . . . . 8
⊢ (𝐴 = -∞ → 𝐴 < 1) |
59 | | ltpnf 12712 |
. . . . . . . . . 10
⊢ (1 ∈
ℝ → 1 < +∞) |
60 | 54, 59 | ax-mp 5 |
. . . . . . . . 9
⊢ 1 <
+∞ |
61 | | breq2 5057 |
. . . . . . . . 9
⊢ (𝐵 = +∞ → (1 < 𝐵 ↔ 1 <
+∞)) |
62 | 60, 61 | mpbiri 261 |
. . . . . . . 8
⊢ (𝐵 = +∞ → 1 < 𝐵) |
63 | | 1z 12207 |
. . . . . . . . . 10
⊢ 1 ∈
ℤ |
64 | | zq 12550 |
. . . . . . . . . 10
⊢ (1 ∈
ℤ → 1 ∈ ℚ) |
65 | 63, 64 | ax-mp 5 |
. . . . . . . . 9
⊢ 1 ∈
ℚ |
66 | | breq2 5057 |
. . . . . . . . . . 11
⊢ (𝑥 = 1 → (𝐴 < 𝑥 ↔ 𝐴 < 1)) |
67 | | breq1 5056 |
. . . . . . . . . . 11
⊢ (𝑥 = 1 → (𝑥 < 𝐵 ↔ 1 < 𝐵)) |
68 | 66, 67 | anbi12d 634 |
. . . . . . . . . 10
⊢ (𝑥 = 1 → ((𝐴 < 𝑥 ∧ 𝑥 < 𝐵) ↔ (𝐴 < 1 ∧ 1 < 𝐵))) |
69 | 68 | rspcev 3537 |
. . . . . . . . 9
⊢ ((1
∈ ℚ ∧ (𝐴
< 1 ∧ 1 < 𝐵))
→ ∃𝑥 ∈
ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
70 | 65, 69 | mpan 690 |
. . . . . . . 8
⊢ ((𝐴 < 1 ∧ 1 < 𝐵) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
71 | 58, 62, 70 | syl2an 599 |
. . . . . . 7
⊢ ((𝐴 = -∞ ∧ 𝐵 = +∞) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
72 | 71 | a1d 25 |
. . . . . 6
⊢ ((𝐴 = -∞ ∧ 𝐵 = +∞) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
73 | | 3mix3 1334 |
. . . . . . . 8
⊢ (𝐴 = -∞ → (𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞)) |
74 | 73, 1 | sylibr 237 |
. . . . . . 7
⊢ (𝐴 = -∞ → 𝐴 ∈
ℝ*) |
75 | 74, 28 | sylan 583 |
. . . . . 6
⊢ ((𝐴 = -∞ ∧ 𝐵 = -∞) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
76 | 53, 72, 75 | 3jaodan 1432 |
. . . . 5
⊢ ((𝐴 = -∞ ∧ (𝐵 ∈ ℝ ∨ 𝐵 = +∞ ∨ 𝐵 = -∞)) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
77 | 2, 76 | sylan2b 597 |
. . . 4
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
78 | 31, 37, 77 | 3jaoian 1431 |
. . 3
⊢ (((𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞) ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
79 | 1, 78 | sylanb 584 |
. 2
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ*) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
80 | 79 | 3impia 1119 |
1
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
< 𝐵) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |