Proof of Theorem logbpw2m1
Step | Hyp | Ref
| Expression |
1 | | 2rp 12664 |
. . . . 5
⊢ 2 ∈
ℝ+ |
2 | 1 | a1i 11 |
. . . 4
⊢ (𝐼 ∈ ℕ → 2 ∈
ℝ+) |
3 | | 2nn0 12180 |
. . . . . . . 8
⊢ 2 ∈
ℕ0 |
4 | 3 | a1i 11 |
. . . . . . 7
⊢ (𝐼 ∈ ℕ → 2 ∈
ℕ0) |
5 | | nnnn0 12170 |
. . . . . . 7
⊢ (𝐼 ∈ ℕ → 𝐼 ∈
ℕ0) |
6 | 4, 5 | nn0expcld 13889 |
. . . . . 6
⊢ (𝐼 ∈ ℕ →
(2↑𝐼) ∈
ℕ0) |
7 | | nnge1 11931 |
. . . . . . 7
⊢ (𝐼 ∈ ℕ → 1 ≤
𝐼) |
8 | | 2re 11977 |
. . . . . . . . . 10
⊢ 2 ∈
ℝ |
9 | 8 | a1i 11 |
. . . . . . . . 9
⊢ (𝐼 ∈ ℕ → 2 ∈
ℝ) |
10 | | 1zzd 12281 |
. . . . . . . . 9
⊢ (𝐼 ∈ ℕ → 1 ∈
ℤ) |
11 | | nnz 12272 |
. . . . . . . . 9
⊢ (𝐼 ∈ ℕ → 𝐼 ∈
ℤ) |
12 | | 1lt2 12074 |
. . . . . . . . . 10
⊢ 1 <
2 |
13 | 12 | a1i 11 |
. . . . . . . . 9
⊢ (𝐼 ∈ ℕ → 1 <
2) |
14 | 9, 10, 11, 13 | leexp2d 13897 |
. . . . . . . 8
⊢ (𝐼 ∈ ℕ → (1 ≤
𝐼 ↔ (2↑1) ≤
(2↑𝐼))) |
15 | | 2cn 11978 |
. . . . . . . . . . 11
⊢ 2 ∈
ℂ |
16 | | exp1 13716 |
. . . . . . . . . . 11
⊢ (2 ∈
ℂ → (2↑1) = 2) |
17 | 15, 16 | ax-mp 5 |
. . . . . . . . . 10
⊢
(2↑1) = 2 |
18 | 17 | a1i 11 |
. . . . . . . . 9
⊢ (𝐼 ∈ ℕ →
(2↑1) = 2) |
19 | 18 | breq1d 5080 |
. . . . . . . 8
⊢ (𝐼 ∈ ℕ →
((2↑1) ≤ (2↑𝐼)
↔ 2 ≤ (2↑𝐼))) |
20 | 14, 19 | bitrd 278 |
. . . . . . 7
⊢ (𝐼 ∈ ℕ → (1 ≤
𝐼 ↔ 2 ≤
(2↑𝐼))) |
21 | 7, 20 | mpbid 231 |
. . . . . 6
⊢ (𝐼 ∈ ℕ → 2 ≤
(2↑𝐼)) |
22 | | nn0ge2m1nn 12232 |
. . . . . 6
⊢
(((2↑𝐼) ∈
ℕ0 ∧ 2 ≤ (2↑𝐼)) → ((2↑𝐼) − 1) ∈
ℕ) |
23 | 6, 21, 22 | syl2anc 583 |
. . . . 5
⊢ (𝐼 ∈ ℕ →
((2↑𝐼) − 1)
∈ ℕ) |
24 | 23 | nnrpd 12699 |
. . . 4
⊢ (𝐼 ∈ ℕ →
((2↑𝐼) − 1)
∈ ℝ+) |
25 | | 1ne2 12111 |
. . . . . 6
⊢ 1 ≠
2 |
26 | 25 | necomi 2997 |
. . . . 5
⊢ 2 ≠
1 |
27 | 26 | a1i 11 |
. . . 4
⊢ (𝐼 ∈ ℕ → 2 ≠
1) |
28 | | relogbcl 25828 |
. . . 4
⊢ ((2
∈ ℝ+ ∧ ((2↑𝐼) − 1) ∈ ℝ+
∧ 2 ≠ 1) → (2 logb ((2↑𝐼) − 1)) ∈
ℝ) |
29 | 2, 24, 27, 28 | syl3anc 1369 |
. . 3
⊢ (𝐼 ∈ ℕ → (2
logb ((2↑𝐼)
− 1)) ∈ ℝ) |
30 | 29 | flcld 13446 |
. 2
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb ((2↑𝐼) − 1))) ∈
ℤ) |
31 | | peano2zm 12293 |
. . 3
⊢ (𝐼 ∈ ℤ → (𝐼 − 1) ∈
ℤ) |
32 | 11, 31 | syl 17 |
. 2
⊢ (𝐼 ∈ ℕ → (𝐼 − 1) ∈
ℤ) |
33 | | 2z 12282 |
. . . . . . 7
⊢ 2 ∈
ℤ |
34 | | uzid 12526 |
. . . . . . 7
⊢ (2 ∈
ℤ → 2 ∈ (ℤ≥‘2)) |
35 | 33, 34 | ax-mp 5 |
. . . . . 6
⊢ 2 ∈
(ℤ≥‘2) |
36 | | nnlogbexp 25836 |
. . . . . 6
⊢ ((2
∈ (ℤ≥‘2) ∧ (𝐼 − 1) ∈ ℤ) → (2
logb (2↑(𝐼
− 1))) = (𝐼 −
1)) |
37 | 35, 32, 36 | sylancr 586 |
. . . . 5
⊢ (𝐼 ∈ ℕ → (2
logb (2↑(𝐼
− 1))) = (𝐼 −
1)) |
38 | 37 | fveq2d 6760 |
. . . 4
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb (2↑(𝐼 − 1)))) = (⌊‘(𝐼 − 1))) |
39 | | flid 13456 |
. . . . 5
⊢ ((𝐼 − 1) ∈ ℤ
→ (⌊‘(𝐼
− 1)) = (𝐼 −
1)) |
40 | 32, 39 | syl 17 |
. . . 4
⊢ (𝐼 ∈ ℕ →
(⌊‘(𝐼 −
1)) = (𝐼 −
1)) |
41 | 38, 40 | eqtrd 2778 |
. . 3
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb (2↑(𝐼 − 1)))) = (𝐼 − 1)) |
42 | | 2nn 11976 |
. . . . . . . 8
⊢ 2 ∈
ℕ |
43 | 42 | a1i 11 |
. . . . . . 7
⊢ (𝐼 ∈ ℕ → 2 ∈
ℕ) |
44 | | nnm1nn0 12204 |
. . . . . . 7
⊢ (𝐼 ∈ ℕ → (𝐼 − 1) ∈
ℕ0) |
45 | 43, 44 | nnexpcld 13888 |
. . . . . 6
⊢ (𝐼 ∈ ℕ →
(2↑(𝐼 − 1))
∈ ℕ) |
46 | 45 | nnrpd 12699 |
. . . . 5
⊢ (𝐼 ∈ ℕ →
(2↑(𝐼 − 1))
∈ ℝ+) |
47 | | relogbcl 25828 |
. . . . 5
⊢ ((2
∈ ℝ+ ∧ (2↑(𝐼 − 1)) ∈ ℝ+
∧ 2 ≠ 1) → (2 logb (2↑(𝐼 − 1))) ∈
ℝ) |
48 | 2, 46, 27, 47 | syl3anc 1369 |
. . . 4
⊢ (𝐼 ∈ ℕ → (2
logb (2↑(𝐼
− 1))) ∈ ℝ) |
49 | | pw2m1lepw2m1 45749 |
. . . . 5
⊢ (𝐼 ∈ ℕ →
(2↑(𝐼 − 1)) ≤
((2↑𝐼) −
1)) |
50 | 35 | a1i 11 |
. . . . . 6
⊢ (𝐼 ∈ ℕ → 2 ∈
(ℤ≥‘2)) |
51 | | logbleb 25838 |
. . . . . 6
⊢ ((2
∈ (ℤ≥‘2) ∧ (2↑(𝐼 − 1)) ∈ ℝ+
∧ ((2↑𝐼) −
1) ∈ ℝ+) → ((2↑(𝐼 − 1)) ≤ ((2↑𝐼) − 1) ↔ (2 logb
(2↑(𝐼 − 1)))
≤ (2 logb ((2↑𝐼) − 1)))) |
52 | 50, 46, 24, 51 | syl3anc 1369 |
. . . . 5
⊢ (𝐼 ∈ ℕ →
((2↑(𝐼 − 1))
≤ ((2↑𝐼) − 1)
↔ (2 logb (2↑(𝐼 − 1))) ≤ (2 logb
((2↑𝐼) −
1)))) |
53 | 49, 52 | mpbid 231 |
. . . 4
⊢ (𝐼 ∈ ℕ → (2
logb (2↑(𝐼
− 1))) ≤ (2 logb ((2↑𝐼) − 1))) |
54 | | flwordi 13460 |
. . . 4
⊢ (((2
logb (2↑(𝐼
− 1))) ∈ ℝ ∧ (2 logb ((2↑𝐼) − 1)) ∈ ℝ ∧ (2
logb (2↑(𝐼
− 1))) ≤ (2 logb ((2↑𝐼) − 1))) → (⌊‘(2
logb (2↑(𝐼
− 1)))) ≤ (⌊‘(2 logb ((2↑𝐼) − 1)))) |
55 | 48, 29, 53, 54 | syl3anc 1369 |
. . 3
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb (2↑(𝐼 − 1)))) ≤ (⌊‘(2
logb ((2↑𝐼)
− 1)))) |
56 | 41, 55 | eqbrtrrd 5094 |
. 2
⊢ (𝐼 ∈ ℕ → (𝐼 − 1) ≤
(⌊‘(2 logb ((2↑𝐼) − 1)))) |
57 | 43, 5 | nnexpcld 13888 |
. . . . . . . . 9
⊢ (𝐼 ∈ ℕ →
(2↑𝐼) ∈
ℕ) |
58 | 57 | nnnn0d 12223 |
. . . . . . . 8
⊢ (𝐼 ∈ ℕ →
(2↑𝐼) ∈
ℕ0) |
59 | 58, 21, 22 | syl2anc 583 |
. . . . . . 7
⊢ (𝐼 ∈ ℕ →
((2↑𝐼) − 1)
∈ ℕ) |
60 | 59 | nnrpd 12699 |
. . . . . 6
⊢ (𝐼 ∈ ℕ →
((2↑𝐼) − 1)
∈ ℝ+) |
61 | 2, 60, 27, 28 | syl3anc 1369 |
. . . . 5
⊢ (𝐼 ∈ ℕ → (2
logb ((2↑𝐼)
− 1)) ∈ ℝ) |
62 | 61 | flcld 13446 |
. . . 4
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb ((2↑𝐼) − 1))) ∈
ℤ) |
63 | 62 | zred 12355 |
. . 3
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb ((2↑𝐼) − 1))) ∈
ℝ) |
64 | | nnre 11910 |
. . . . 5
⊢ (𝐼 ∈ ℕ → 𝐼 ∈
ℝ) |
65 | | peano2rem 11218 |
. . . . 5
⊢ (𝐼 ∈ ℝ → (𝐼 − 1) ∈
ℝ) |
66 | 64, 65 | syl 17 |
. . . 4
⊢ (𝐼 ∈ ℕ → (𝐼 − 1) ∈
ℝ) |
67 | | peano2re 11078 |
. . . 4
⊢ ((𝐼 − 1) ∈ ℝ
→ ((𝐼 − 1) + 1)
∈ ℝ) |
68 | 66, 67 | syl 17 |
. . 3
⊢ (𝐼 ∈ ℕ → ((𝐼 − 1) + 1) ∈
ℝ) |
69 | | flle 13447 |
. . . 4
⊢ ((2
logb ((2↑𝐼)
− 1)) ∈ ℝ → (⌊‘(2 logb
((2↑𝐼) − 1)))
≤ (2 logb ((2↑𝐼) − 1))) |
70 | 29, 69 | syl 17 |
. . 3
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb ((2↑𝐼) − 1))) ≤ (2 logb
((2↑𝐼) −
1))) |
71 | 57 | nnrpd 12699 |
. . . . 5
⊢ (𝐼 ∈ ℕ →
(2↑𝐼) ∈
ℝ+) |
72 | | relogbcl 25828 |
. . . . 5
⊢ ((2
∈ ℝ+ ∧ (2↑𝐼) ∈ ℝ+ ∧ 2 ≠ 1)
→ (2 logb (2↑𝐼)) ∈ ℝ) |
73 | 2, 71, 27, 72 | syl3anc 1369 |
. . . 4
⊢ (𝐼 ∈ ℕ → (2
logb (2↑𝐼))
∈ ℝ) |
74 | 57 | nnred 11918 |
. . . . . 6
⊢ (𝐼 ∈ ℕ →
(2↑𝐼) ∈
ℝ) |
75 | 74 | ltm1d 11837 |
. . . . 5
⊢ (𝐼 ∈ ℕ →
((2↑𝐼) − 1) <
(2↑𝐼)) |
76 | | logblt 25839 |
. . . . . 6
⊢ ((2
∈ (ℤ≥‘2) ∧ ((2↑𝐼) − 1) ∈ ℝ+
∧ (2↑𝐼) ∈
ℝ+) → (((2↑𝐼) − 1) < (2↑𝐼) ↔ (2 logb ((2↑𝐼) − 1)) < (2
logb (2↑𝐼)))) |
77 | 50, 24, 71, 76 | syl3anc 1369 |
. . . . 5
⊢ (𝐼 ∈ ℕ →
(((2↑𝐼) − 1)
< (2↑𝐼) ↔ (2
logb ((2↑𝐼)
− 1)) < (2 logb (2↑𝐼)))) |
78 | 75, 77 | mpbid 231 |
. . . 4
⊢ (𝐼 ∈ ℕ → (2
logb ((2↑𝐼)
− 1)) < (2 logb (2↑𝐼))) |
79 | 64 | leidd 11471 |
. . . . 5
⊢ (𝐼 ∈ ℕ → 𝐼 ≤ 𝐼) |
80 | | nnlogbexp 25836 |
. . . . . 6
⊢ ((2
∈ (ℤ≥‘2) ∧ 𝐼 ∈ ℤ) → (2 logb
(2↑𝐼)) = 𝐼) |
81 | 35, 11, 80 | sylancr 586 |
. . . . 5
⊢ (𝐼 ∈ ℕ → (2
logb (2↑𝐼))
= 𝐼) |
82 | | nncn 11911 |
. . . . . 6
⊢ (𝐼 ∈ ℕ → 𝐼 ∈
ℂ) |
83 | | npcan1 11330 |
. . . . . 6
⊢ (𝐼 ∈ ℂ → ((𝐼 − 1) + 1) = 𝐼) |
84 | 82, 83 | syl 17 |
. . . . 5
⊢ (𝐼 ∈ ℕ → ((𝐼 − 1) + 1) = 𝐼) |
85 | 79, 81, 84 | 3brtr4d 5102 |
. . . 4
⊢ (𝐼 ∈ ℕ → (2
logb (2↑𝐼))
≤ ((𝐼 − 1) +
1)) |
86 | 29, 73, 68, 78, 85 | ltletrd 11065 |
. . 3
⊢ (𝐼 ∈ ℕ → (2
logb ((2↑𝐼)
− 1)) < ((𝐼
− 1) + 1)) |
87 | 63, 29, 68, 70, 86 | lelttrd 11063 |
. 2
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb ((2↑𝐼) − 1))) < ((𝐼 − 1) + 1)) |
88 | | zgeltp1eq 44689 |
. . 3
⊢
(((⌊‘(2 logb ((2↑𝐼) − 1))) ∈ ℤ ∧ (𝐼 − 1) ∈ ℤ)
→ (((𝐼 − 1) ≤
(⌊‘(2 logb ((2↑𝐼) − 1))) ∧ (⌊‘(2
logb ((2↑𝐼)
− 1))) < ((𝐼
− 1) + 1)) → (⌊‘(2 logb ((2↑𝐼) − 1))) = (𝐼 − 1))) |
89 | 88 | imp 406 |
. 2
⊢
((((⌊‘(2 logb ((2↑𝐼) − 1))) ∈ ℤ ∧ (𝐼 − 1) ∈ ℤ)
∧ ((𝐼 − 1) ≤
(⌊‘(2 logb ((2↑𝐼) − 1))) ∧ (⌊‘(2
logb ((2↑𝐼)
− 1))) < ((𝐼
− 1) + 1))) → (⌊‘(2 logb ((2↑𝐼) − 1))) = (𝐼 − 1)) |
90 | 30, 32, 56, 87, 89 | syl22anc 835 |
1
⊢ (𝐼 ∈ ℕ →
(⌊‘(2 logb ((2↑𝐼) − 1))) = (𝐼 − 1)) |