Proof of Theorem fldiv4p1lem1div2
Step | Hyp | Ref
| Expression |
1 | | 1le1 8491 |
. . . 4
⊢ 1 ≤
1 |
2 | 1 | a1i 9 |
. . 3
⊢ (𝑁 = 3 → 1 ≤
1) |
3 | | oveq1 5860 |
. . . . . . 7
⊢ (𝑁 = 3 → (𝑁 / 4) = (3 / 4)) |
4 | 3 | fveq2d 5500 |
. . . . . 6
⊢ (𝑁 = 3 →
(⌊‘(𝑁 / 4)) =
(⌊‘(3 / 4))) |
5 | | 3lt4 9050 |
. . . . . . 7
⊢ 3 <
4 |
6 | | 3nn0 9153 |
. . . . . . . 8
⊢ 3 ∈
ℕ0 |
7 | | 4nn 9041 |
. . . . . . . 8
⊢ 4 ∈
ℕ |
8 | | divfl0 10252 |
. . . . . . . 8
⊢ ((3
∈ ℕ0 ∧ 4 ∈ ℕ) → (3 < 4 ↔
(⌊‘(3 / 4)) = 0)) |
9 | 6, 7, 8 | mp2an 424 |
. . . . . . 7
⊢ (3 < 4
↔ (⌊‘(3 / 4)) = 0) |
10 | 5, 9 | mpbi 144 |
. . . . . 6
⊢
(⌊‘(3 / 4)) = 0 |
11 | 4, 10 | eqtrdi 2219 |
. . . . 5
⊢ (𝑁 = 3 →
(⌊‘(𝑁 / 4)) =
0) |
12 | 11 | oveq1d 5868 |
. . . 4
⊢ (𝑁 = 3 →
((⌊‘(𝑁 / 4)) +
1) = (0 + 1)) |
13 | | 0p1e1 8992 |
. . . 4
⊢ (0 + 1) =
1 |
14 | 12, 13 | eqtrdi 2219 |
. . 3
⊢ (𝑁 = 3 →
((⌊‘(𝑁 / 4)) +
1) = 1) |
15 | | oveq1 5860 |
. . . . . 6
⊢ (𝑁 = 3 → (𝑁 − 1) = (3 −
1)) |
16 | | 3m1e2 8998 |
. . . . . 6
⊢ (3
− 1) = 2 |
17 | 15, 16 | eqtrdi 2219 |
. . . . 5
⊢ (𝑁 = 3 → (𝑁 − 1) = 2) |
18 | 17 | oveq1d 5868 |
. . . 4
⊢ (𝑁 = 3 → ((𝑁 − 1) / 2) = (2 / 2)) |
19 | | 2div2e1 9010 |
. . . 4
⊢ (2 / 2) =
1 |
20 | 18, 19 | eqtrdi 2219 |
. . 3
⊢ (𝑁 = 3 → ((𝑁 − 1) / 2) = 1) |
21 | 2, 14, 20 | 3brtr4d 4021 |
. 2
⊢ (𝑁 = 3 →
((⌊‘(𝑁 / 4)) +
1) ≤ ((𝑁 − 1) /
2)) |
22 | | uzp1 9520 |
. . 3
⊢ (𝑁 ∈
(ℤ≥‘5) → (𝑁 = 5 ∨ 𝑁 ∈ (ℤ≥‘(5 +
1)))) |
23 | | 2re 8948 |
. . . . . . 7
⊢ 2 ∈
ℝ |
24 | 23 | leidi 8404 |
. . . . . 6
⊢ 2 ≤
2 |
25 | 24 | a1i 9 |
. . . . 5
⊢ (𝑁 = 5 → 2 ≤
2) |
26 | | oveq1 5860 |
. . . . . . . . 9
⊢ (𝑁 = 5 → (𝑁 / 4) = (5 / 4)) |
27 | 26 | fveq2d 5500 |
. . . . . . . 8
⊢ (𝑁 = 5 →
(⌊‘(𝑁 / 4)) =
(⌊‘(5 / 4))) |
28 | | df-5 8940 |
. . . . . . . . . . . 12
⊢ 5 = (4 +
1) |
29 | 28 | oveq1i 5863 |
. . . . . . . . . . 11
⊢ (5 / 4) =
((4 + 1) / 4) |
30 | | 4cn 8956 |
. . . . . . . . . . . . 13
⊢ 4 ∈
ℂ |
31 | | ax-1cn 7867 |
. . . . . . . . . . . . 13
⊢ 1 ∈
ℂ |
32 | | 4ap0 8977 |
. . . . . . . . . . . . 13
⊢ 4 #
0 |
33 | 30, 31, 30, 32 | divdirapi 8686 |
. . . . . . . . . . . 12
⊢ ((4 + 1)
/ 4) = ((4 / 4) + (1 / 4)) |
34 | 30, 32 | dividapi 8662 |
. . . . . . . . . . . . 13
⊢ (4 / 4) =
1 |
35 | 34 | oveq1i 5863 |
. . . . . . . . . . . 12
⊢ ((4 / 4)
+ (1 / 4)) = (1 + (1 / 4)) |
36 | 33, 35 | eqtri 2191 |
. . . . . . . . . . 11
⊢ ((4 + 1)
/ 4) = (1 + (1 / 4)) |
37 | 29, 36 | eqtri 2191 |
. . . . . . . . . 10
⊢ (5 / 4) =
(1 + (1 / 4)) |
38 | 37 | fveq2i 5499 |
. . . . . . . . 9
⊢
(⌊‘(5 / 4)) = (⌊‘(1 + (1 / 4))) |
39 | | 1re 7919 |
. . . . . . . . . . 11
⊢ 1 ∈
ℝ |
40 | | 0le1 8400 |
. . . . . . . . . . 11
⊢ 0 ≤
1 |
41 | | 4re 8955 |
. . . . . . . . . . 11
⊢ 4 ∈
ℝ |
42 | | 4pos 8975 |
. . . . . . . . . . 11
⊢ 0 <
4 |
43 | | divge0 8789 |
. . . . . . . . . . 11
⊢ (((1
∈ ℝ ∧ 0 ≤ 1) ∧ (4 ∈ ℝ ∧ 0 < 4)) →
0 ≤ (1 / 4)) |
44 | 39, 40, 41, 42, 43 | mp4an 425 |
. . . . . . . . . 10
⊢ 0 ≤ (1
/ 4) |
45 | | 1lt4 9052 |
. . . . . . . . . . 11
⊢ 1 <
4 |
46 | | recgt1 8813 |
. . . . . . . . . . . 12
⊢ ((4
∈ ℝ ∧ 0 < 4) → (1 < 4 ↔ (1 / 4) <
1)) |
47 | 41, 42, 46 | mp2an 424 |
. . . . . . . . . . 11
⊢ (1 < 4
↔ (1 / 4) < 1) |
48 | 45, 47 | mpbi 144 |
. . . . . . . . . 10
⊢ (1 / 4)
< 1 |
49 | | 1z 9238 |
. . . . . . . . . . 11
⊢ 1 ∈
ℤ |
50 | | znq 9583 |
. . . . . . . . . . . 12
⊢ ((1
∈ ℤ ∧ 4 ∈ ℕ) → (1 / 4) ∈
ℚ) |
51 | 49, 7, 50 | mp2an 424 |
. . . . . . . . . . 11
⊢ (1 / 4)
∈ ℚ |
52 | | flqbi2 10247 |
. . . . . . . . . . 11
⊢ ((1
∈ ℤ ∧ (1 / 4) ∈ ℚ) → ((⌊‘(1 + (1 /
4))) = 1 ↔ (0 ≤ (1 / 4) ∧ (1 / 4) < 1))) |
53 | 49, 51, 52 | mp2an 424 |
. . . . . . . . . 10
⊢
((⌊‘(1 + (1 / 4))) = 1 ↔ (0 ≤ (1 / 4) ∧ (1 / 4)
< 1)) |
54 | 44, 48, 53 | mpbir2an 937 |
. . . . . . . . 9
⊢
(⌊‘(1 + (1 / 4))) = 1 |
55 | 38, 54 | eqtri 2191 |
. . . . . . . 8
⊢
(⌊‘(5 / 4)) = 1 |
56 | 27, 55 | eqtrdi 2219 |
. . . . . . 7
⊢ (𝑁 = 5 →
(⌊‘(𝑁 / 4)) =
1) |
57 | 56 | oveq1d 5868 |
. . . . . 6
⊢ (𝑁 = 5 →
((⌊‘(𝑁 / 4)) +
1) = (1 + 1)) |
58 | | 1p1e2 8995 |
. . . . . 6
⊢ (1 + 1) =
2 |
59 | 57, 58 | eqtrdi 2219 |
. . . . 5
⊢ (𝑁 = 5 →
((⌊‘(𝑁 / 4)) +
1) = 2) |
60 | | oveq1 5860 |
. . . . . . . 8
⊢ (𝑁 = 5 → (𝑁 − 1) = (5 −
1)) |
61 | 30, 31, 28 | mvrraddi 8136 |
. . . . . . . 8
⊢ (5
− 1) = 4 |
62 | 60, 61 | eqtrdi 2219 |
. . . . . . 7
⊢ (𝑁 = 5 → (𝑁 − 1) = 4) |
63 | 62 | oveq1d 5868 |
. . . . . 6
⊢ (𝑁 = 5 → ((𝑁 − 1) / 2) = (4 / 2)) |
64 | | 4d2e2 9038 |
. . . . . 6
⊢ (4 / 2) =
2 |
65 | 63, 64 | eqtrdi 2219 |
. . . . 5
⊢ (𝑁 = 5 → ((𝑁 − 1) / 2) = 2) |
66 | 25, 59, 65 | 3brtr4d 4021 |
. . . 4
⊢ (𝑁 = 5 →
((⌊‘(𝑁 / 4)) +
1) ≤ ((𝑁 − 1) /
2)) |
67 | | eluz2 9493 |
. . . . . 6
⊢ (𝑁 ∈
(ℤ≥‘6) ↔ (6 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 6 ≤
𝑁)) |
68 | | znq 9583 |
. . . . . . . . . . . 12
⊢ ((𝑁 ∈ ℤ ∧ 4 ∈
ℕ) → (𝑁 / 4)
∈ ℚ) |
69 | 7, 68 | mpan2 423 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℤ → (𝑁 / 4) ∈
ℚ) |
70 | | flqle 10234 |
. . . . . . . . . . 11
⊢ ((𝑁 / 4) ∈ ℚ →
(⌊‘(𝑁 / 4))
≤ (𝑁 /
4)) |
71 | 69, 70 | syl 14 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℤ →
(⌊‘(𝑁 / 4))
≤ (𝑁 /
4)) |
72 | 71 | adantr 274 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℤ ∧ 6 ≤
𝑁) →
(⌊‘(𝑁 / 4))
≤ (𝑁 /
4)) |
73 | 69 | flqcld 10233 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℤ →
(⌊‘(𝑁 / 4))
∈ ℤ) |
74 | 73 | zred 9334 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℤ →
(⌊‘(𝑁 / 4))
∈ ℝ) |
75 | | zre 9216 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℤ → 𝑁 ∈
ℝ) |
76 | | id 19 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℝ → 𝑁 ∈
ℝ) |
77 | 41 | a1i 9 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℝ → 4 ∈
ℝ) |
78 | 32 | a1i 9 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ ℝ → 4 #
0) |
79 | 76, 77, 78 | redivclapd 8752 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℝ → (𝑁 / 4) ∈
ℝ) |
80 | 75, 79 | syl 14 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℤ → (𝑁 / 4) ∈
ℝ) |
81 | 39 | a1i 9 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℤ → 1 ∈
ℝ) |
82 | 74, 80, 81 | 3jca 1172 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℤ →
((⌊‘(𝑁 / 4))
∈ ℝ ∧ (𝑁 /
4) ∈ ℝ ∧ 1 ∈ ℝ)) |
83 | 82 | adantr 274 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℤ ∧ 6 ≤
𝑁) →
((⌊‘(𝑁 / 4))
∈ ℝ ∧ (𝑁 /
4) ∈ ℝ ∧ 1 ∈ ℝ)) |
84 | | leadd1 8349 |
. . . . . . . . . 10
⊢
(((⌊‘(𝑁
/ 4)) ∈ ℝ ∧ (𝑁 / 4) ∈ ℝ ∧ 1 ∈ ℝ)
→ ((⌊‘(𝑁 /
4)) ≤ (𝑁 / 4) ↔
((⌊‘(𝑁 / 4)) +
1) ≤ ((𝑁 / 4) +
1))) |
85 | 83, 84 | syl 14 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℤ ∧ 6 ≤
𝑁) →
((⌊‘(𝑁 / 4))
≤ (𝑁 / 4) ↔
((⌊‘(𝑁 / 4)) +
1) ≤ ((𝑁 / 4) +
1))) |
86 | 72, 85 | mpbid 146 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℤ ∧ 6 ≤
𝑁) →
((⌊‘(𝑁 / 4)) +
1) ≤ ((𝑁 / 4) +
1)) |
87 | | div4p1lem1div2 9131 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℝ ∧ 6 ≤
𝑁) → ((𝑁 / 4) + 1) ≤ ((𝑁 − 1) /
2)) |
88 | 75, 87 | sylan 281 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℤ ∧ 6 ≤
𝑁) → ((𝑁 / 4) + 1) ≤ ((𝑁 − 1) /
2)) |
89 | | peano2re 8055 |
. . . . . . . . . . . 12
⊢
((⌊‘(𝑁 /
4)) ∈ ℝ → ((⌊‘(𝑁 / 4)) + 1) ∈ ℝ) |
90 | 74, 89 | syl 14 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℤ →
((⌊‘(𝑁 / 4)) +
1) ∈ ℝ) |
91 | | peano2re 8055 |
. . . . . . . . . . . 12
⊢ ((𝑁 / 4) ∈ ℝ →
((𝑁 / 4) + 1) ∈
ℝ) |
92 | 80, 91 | syl 14 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℤ → ((𝑁 / 4) + 1) ∈
ℝ) |
93 | | peano2rem 8186 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℝ → (𝑁 − 1) ∈
ℝ) |
94 | 93 | rehalfcld 9124 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℝ → ((𝑁 − 1) / 2) ∈
ℝ) |
95 | 75, 94 | syl 14 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℤ → ((𝑁 − 1) / 2) ∈
ℝ) |
96 | 90, 92, 95 | 3jca 1172 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℤ →
(((⌊‘(𝑁 / 4)) +
1) ∈ ℝ ∧ ((𝑁
/ 4) + 1) ∈ ℝ ∧ ((𝑁 − 1) / 2) ∈
ℝ)) |
97 | 96 | adantr 274 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℤ ∧ 6 ≤
𝑁) →
(((⌊‘(𝑁 / 4)) +
1) ∈ ℝ ∧ ((𝑁
/ 4) + 1) ∈ ℝ ∧ ((𝑁 − 1) / 2) ∈
ℝ)) |
98 | | letr 8002 |
. . . . . . . . 9
⊢
((((⌊‘(𝑁
/ 4)) + 1) ∈ ℝ ∧ ((𝑁 / 4) + 1) ∈ ℝ ∧ ((𝑁 − 1) / 2) ∈ ℝ)
→ ((((⌊‘(𝑁
/ 4)) + 1) ≤ ((𝑁 / 4) +
1) ∧ ((𝑁 / 4) + 1) ≤
((𝑁 − 1) / 2)) →
((⌊‘(𝑁 / 4)) +
1) ≤ ((𝑁 − 1) /
2))) |
99 | 97, 98 | syl 14 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℤ ∧ 6 ≤
𝑁) →
((((⌊‘(𝑁 / 4))
+ 1) ≤ ((𝑁 / 4) + 1)
∧ ((𝑁 / 4) + 1) ≤
((𝑁 − 1) / 2)) →
((⌊‘(𝑁 / 4)) +
1) ≤ ((𝑁 − 1) /
2))) |
100 | 86, 88, 99 | mp2and 431 |
. . . . . . 7
⊢ ((𝑁 ∈ ℤ ∧ 6 ≤
𝑁) →
((⌊‘(𝑁 / 4)) +
1) ≤ ((𝑁 − 1) /
2)) |
101 | 100 | 3adant1 1010 |
. . . . . 6
⊢ ((6
∈ ℤ ∧ 𝑁
∈ ℤ ∧ 6 ≤ 𝑁) → ((⌊‘(𝑁 / 4)) + 1) ≤ ((𝑁 − 1) / 2)) |
102 | 67, 101 | sylbi 120 |
. . . . 5
⊢ (𝑁 ∈
(ℤ≥‘6) → ((⌊‘(𝑁 / 4)) + 1) ≤ ((𝑁 − 1) / 2)) |
103 | | 5p1e6 9015 |
. . . . . 6
⊢ (5 + 1) =
6 |
104 | 103 | fveq2i 5499 |
. . . . 5
⊢
(ℤ≥‘(5 + 1)) =
(ℤ≥‘6) |
105 | 102, 104 | eleq2s 2265 |
. . . 4
⊢ (𝑁 ∈
(ℤ≥‘(5 + 1)) → ((⌊‘(𝑁 / 4)) + 1) ≤ ((𝑁 − 1) /
2)) |
106 | 66, 105 | jaoi 711 |
. . 3
⊢ ((𝑁 = 5 ∨ 𝑁 ∈ (ℤ≥‘(5 +
1))) → ((⌊‘(𝑁 / 4)) + 1) ≤ ((𝑁 − 1) / 2)) |
107 | 22, 106 | syl 14 |
. 2
⊢ (𝑁 ∈
(ℤ≥‘5) → ((⌊‘(𝑁 / 4)) + 1) ≤ ((𝑁 − 1) / 2)) |
108 | 21, 107 | jaoi 711 |
1
⊢ ((𝑁 = 3 ∨ 𝑁 ∈ (ℤ≥‘5))
→ ((⌊‘(𝑁 /
4)) + 1) ≤ ((𝑁 −
1) / 2)) |