Proof of Theorem qbtwnxr
Step | Hyp | Ref
| Expression |
1 | | elxr 12852 |
. . 3
⊢ (𝐴 ∈ ℝ*
↔ (𝐴 ∈ ℝ
∨ 𝐴 = +∞ ∨
𝐴 =
-∞)) |
2 | | elxr 12852 |
. . . . 5
⊢ (𝐵 ∈ ℝ*
↔ (𝐵 ∈ ℝ
∨ 𝐵 = +∞ ∨
𝐵 =
-∞)) |
3 | | qbtwnre 12933 |
. . . . . . 7
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐴 < 𝐵) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
4 | 3 | 3expia 1120 |
. . . . . 6
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
5 | | simpl 483 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → 𝐴 ∈
ℝ) |
6 | | peano2re 11148 |
. . . . . . . . . 10
⊢ (𝐴 ∈ ℝ → (𝐴 + 1) ∈
ℝ) |
7 | 6 | adantr 481 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → (𝐴 + 1) ∈
ℝ) |
8 | | ltp1 11815 |
. . . . . . . . . 10
⊢ (𝐴 ∈ ℝ → 𝐴 < (𝐴 + 1)) |
9 | 8 | adantr 481 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → 𝐴 < (𝐴 + 1)) |
10 | | qbtwnre 12933 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ ∧ (𝐴 + 1) ∈ ℝ ∧ 𝐴 < (𝐴 + 1)) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < (𝐴 + 1))) |
11 | 5, 7, 9, 10 | syl3anc 1370 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < (𝐴 + 1))) |
12 | | qre 12693 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ ℚ → 𝑥 ∈
ℝ) |
13 | 12 | ltpnfd 12857 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ ℚ → 𝑥 < +∞) |
14 | 13 | adantl 482 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → 𝑥 < +∞) |
15 | | simplr 766 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → 𝐵 = +∞) |
16 | 14, 15 | breqtrrd 5102 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → 𝑥 < 𝐵) |
17 | 16 | a1d 25 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → (𝑥 < (𝐴 + 1) → 𝑥 < 𝐵)) |
18 | 17 | anim2d 612 |
. . . . . . . . 9
⊢ (((𝐴 ∈ ℝ ∧ 𝐵 = +∞) ∧ 𝑥 ∈ ℚ) → ((𝐴 < 𝑥 ∧ 𝑥 < (𝐴 + 1)) → (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
19 | 18 | reximdva 3203 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) →
(∃𝑥 ∈ ℚ
(𝐴 < 𝑥 ∧ 𝑥 < (𝐴 + 1)) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
20 | 11, 19 | mpd 15 |
. . . . . . 7
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
21 | 20 | a1d 25 |
. . . . . 6
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = +∞) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
22 | | rexr 11021 |
. . . . . . 7
⊢ (𝐴 ∈ ℝ → 𝐴 ∈
ℝ*) |
23 | | breq2 5078 |
. . . . . . . . 9
⊢ (𝐵 = -∞ → (𝐴 < 𝐵 ↔ 𝐴 < -∞)) |
24 | 23 | adantl 482 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 = -∞) →
(𝐴 < 𝐵 ↔ 𝐴 < -∞)) |
25 | | nltmnf 12865 |
. . . . . . . . . 10
⊢ (𝐴 ∈ ℝ*
→ ¬ 𝐴 <
-∞) |
26 | 25 | adantr 481 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 = -∞) →
¬ 𝐴 <
-∞) |
27 | 26 | pm2.21d 121 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 = -∞) →
(𝐴 < -∞ →
∃𝑥 ∈ ℚ
(𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
28 | 24, 27 | sylbid 239 |
. . . . . . 7
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 = -∞) →
(𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
29 | 22, 28 | sylan 580 |
. . . . . 6
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 = -∞) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
30 | 4, 21, 29 | 3jaodan 1429 |
. . . . 5
⊢ ((𝐴 ∈ ℝ ∧ (𝐵 ∈ ℝ ∨ 𝐵 = +∞ ∨ 𝐵 = -∞)) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
31 | 2, 30 | sylan2b 594 |
. . . 4
⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
32 | | breq1 5077 |
. . . . . 6
⊢ (𝐴 = +∞ → (𝐴 < 𝐵 ↔ +∞ < 𝐵)) |
33 | 32 | adantr 481 |
. . . . 5
⊢ ((𝐴 = +∞ ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 ↔ +∞ < 𝐵)) |
34 | | pnfnlt 12864 |
. . . . . . 7
⊢ (𝐵 ∈ ℝ*
→ ¬ +∞ < 𝐵) |
35 | 34 | adantl 482 |
. . . . . 6
⊢ ((𝐴 = +∞ ∧ 𝐵 ∈ ℝ*)
→ ¬ +∞ < 𝐵) |
36 | 35 | pm2.21d 121 |
. . . . 5
⊢ ((𝐴 = +∞ ∧ 𝐵 ∈ ℝ*)
→ (+∞ < 𝐵
→ ∃𝑥 ∈
ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
37 | 33, 36 | sylbid 239 |
. . . 4
⊢ ((𝐴 = +∞ ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
38 | | peano2rem 11288 |
. . . . . . . . . 10
⊢ (𝐵 ∈ ℝ → (𝐵 − 1) ∈
ℝ) |
39 | 38 | adantl 482 |
. . . . . . . . 9
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) → (𝐵 − 1) ∈
ℝ) |
40 | | simpr 485 |
. . . . . . . . 9
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) → 𝐵 ∈
ℝ) |
41 | | ltm1 11817 |
. . . . . . . . . 10
⊢ (𝐵 ∈ ℝ → (𝐵 − 1) < 𝐵) |
42 | 41 | adantl 482 |
. . . . . . . . 9
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) → (𝐵 − 1) < 𝐵) |
43 | | qbtwnre 12933 |
. . . . . . . . 9
⊢ (((𝐵 − 1) ∈ ℝ ∧
𝐵 ∈ ℝ ∧
(𝐵 − 1) < 𝐵) → ∃𝑥 ∈ ℚ ((𝐵 − 1) < 𝑥 ∧ 𝑥 < 𝐵)) |
44 | 39, 40, 42, 43 | syl3anc 1370 |
. . . . . . . 8
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) →
∃𝑥 ∈ ℚ
((𝐵 − 1) < 𝑥 ∧ 𝑥 < 𝐵)) |
45 | | simpll 764 |
. . . . . . . . . . . 12
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → 𝐴 = -∞) |
46 | 12 | adantl 482 |
. . . . . . . . . . . . 13
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → 𝑥 ∈
ℝ) |
47 | 46 | mnfltd 12860 |
. . . . . . . . . . . 12
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → -∞
< 𝑥) |
48 | 45, 47 | eqbrtrd 5096 |
. . . . . . . . . . 11
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → 𝐴 < 𝑥) |
49 | 48 | a1d 25 |
. . . . . . . . . 10
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → ((𝐵 − 1) < 𝑥 → 𝐴 < 𝑥)) |
50 | 49 | anim1d 611 |
. . . . . . . . 9
⊢ (((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) ∧ 𝑥 ∈ ℚ) → (((𝐵 − 1) < 𝑥 ∧ 𝑥 < 𝐵) → (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
51 | 50 | reximdva 3203 |
. . . . . . . 8
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) →
(∃𝑥 ∈ ℚ
((𝐵 − 1) < 𝑥 ∧ 𝑥 < 𝐵) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
52 | 44, 51 | mpd 15 |
. . . . . . 7
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) →
∃𝑥 ∈ ℚ
(𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
53 | 52 | a1d 25 |
. . . . . 6
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
54 | | 1re 10975 |
. . . . . . . . . 10
⊢ 1 ∈
ℝ |
55 | | mnflt 12859 |
. . . . . . . . . 10
⊢ (1 ∈
ℝ → -∞ < 1) |
56 | 54, 55 | ax-mp 5 |
. . . . . . . . 9
⊢ -∞
< 1 |
57 | | breq1 5077 |
. . . . . . . . 9
⊢ (𝐴 = -∞ → (𝐴 < 1 ↔ -∞ <
1)) |
58 | 56, 57 | mpbiri 257 |
. . . . . . . 8
⊢ (𝐴 = -∞ → 𝐴 < 1) |
59 | | ltpnf 12856 |
. . . . . . . . . 10
⊢ (1 ∈
ℝ → 1 < +∞) |
60 | 54, 59 | ax-mp 5 |
. . . . . . . . 9
⊢ 1 <
+∞ |
61 | | breq2 5078 |
. . . . . . . . 9
⊢ (𝐵 = +∞ → (1 < 𝐵 ↔ 1 <
+∞)) |
62 | 60, 61 | mpbiri 257 |
. . . . . . . 8
⊢ (𝐵 = +∞ → 1 < 𝐵) |
63 | | 1z 12350 |
. . . . . . . . . 10
⊢ 1 ∈
ℤ |
64 | | zq 12694 |
. . . . . . . . . 10
⊢ (1 ∈
ℤ → 1 ∈ ℚ) |
65 | 63, 64 | ax-mp 5 |
. . . . . . . . 9
⊢ 1 ∈
ℚ |
66 | | breq2 5078 |
. . . . . . . . . . 11
⊢ (𝑥 = 1 → (𝐴 < 𝑥 ↔ 𝐴 < 1)) |
67 | | breq1 5077 |
. . . . . . . . . . 11
⊢ (𝑥 = 1 → (𝑥 < 𝐵 ↔ 1 < 𝐵)) |
68 | 66, 67 | anbi12d 631 |
. . . . . . . . . 10
⊢ (𝑥 = 1 → ((𝐴 < 𝑥 ∧ 𝑥 < 𝐵) ↔ (𝐴 < 1 ∧ 1 < 𝐵))) |
69 | 68 | rspcev 3561 |
. . . . . . . . 9
⊢ ((1
∈ ℚ ∧ (𝐴
< 1 ∧ 1 < 𝐵))
→ ∃𝑥 ∈
ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
70 | 65, 69 | mpan 687 |
. . . . . . . 8
⊢ ((𝐴 < 1 ∧ 1 < 𝐵) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
71 | 58, 62, 70 | syl2an 596 |
. . . . . . 7
⊢ ((𝐴 = -∞ ∧ 𝐵 = +∞) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |
72 | 71 | a1d 25 |
. . . . . 6
⊢ ((𝐴 = -∞ ∧ 𝐵 = +∞) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
73 | | 3mix3 1331 |
. . . . . . . 8
⊢ (𝐴 = -∞ → (𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞)) |
74 | 73, 1 | sylibr 233 |
. . . . . . 7
⊢ (𝐴 = -∞ → 𝐴 ∈
ℝ*) |
75 | 74, 28 | sylan 580 |
. . . . . 6
⊢ ((𝐴 = -∞ ∧ 𝐵 = -∞) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
76 | 53, 72, 75 | 3jaodan 1429 |
. . . . 5
⊢ ((𝐴 = -∞ ∧ (𝐵 ∈ ℝ ∨ 𝐵 = +∞ ∨ 𝐵 = -∞)) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
77 | 2, 76 | sylan2b 594 |
. . . 4
⊢ ((𝐴 = -∞ ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
78 | 31, 37, 77 | 3jaoian 1428 |
. . 3
⊢ (((𝐴 ∈ ℝ ∨ 𝐴 = +∞ ∨ 𝐴 = -∞) ∧ 𝐵 ∈ ℝ*)
→ (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
79 | 1, 78 | sylanb 581 |
. 2
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ*) → (𝐴 < 𝐵 → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵))) |
80 | 79 | 3impia 1116 |
1
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
< 𝐵) → ∃𝑥 ∈ ℚ (𝐴 < 𝑥 ∧ 𝑥 < 𝐵)) |