| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > fldiv4lem1div2uz2 | GIF version | ||
| Description: The floor of an integer greater than 1, divided by 4 is less than or equal to the half of the integer minus 1. (Contributed by AV, 5-Jul-2021.) (Proof shortened by AV, 9-Jul-2022.) |
| Ref | Expression |
|---|---|
| fldiv4lem1div2uz2 | ⊢ (𝑁 ∈ (ℤ≥‘2) → (⌊‘(𝑁 / 4)) ≤ ((𝑁 − 1) / 2)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eluzelz 9758 | . . . . 5 ⊢ (𝑁 ∈ (ℤ≥‘2) → 𝑁 ∈ ℤ) | |
| 2 | 4nn 9300 | . . . . 5 ⊢ 4 ∈ ℕ | |
| 3 | znq 9851 | . . . . 5 ⊢ ((𝑁 ∈ ℤ ∧ 4 ∈ ℕ) → (𝑁 / 4) ∈ ℚ) | |
| 4 | 1, 2, 3 | sylancl 413 | . . . 4 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 / 4) ∈ ℚ) |
| 5 | 4 | flqcld 10530 | . . 3 ⊢ (𝑁 ∈ (ℤ≥‘2) → (⌊‘(𝑁 / 4)) ∈ ℤ) |
| 6 | 5 | zred 9595 | . 2 ⊢ (𝑁 ∈ (ℤ≥‘2) → (⌊‘(𝑁 / 4)) ∈ ℝ) |
| 7 | eluzelre 9759 | . . 3 ⊢ (𝑁 ∈ (ℤ≥‘2) → 𝑁 ∈ ℝ) | |
| 8 | 2 | a1i 9 | . . 3 ⊢ (𝑁 ∈ (ℤ≥‘2) → 4 ∈ ℕ) |
| 9 | 7, 8 | nndivred 9186 | . 2 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 / 4) ∈ ℝ) |
| 10 | peano2rem 8439 | . . . 4 ⊢ (𝑁 ∈ ℝ → (𝑁 − 1) ∈ ℝ) | |
| 11 | 7, 10 | syl 14 | . . 3 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 − 1) ∈ ℝ) |
| 12 | 11 | rehalfcld 9384 | . 2 ⊢ (𝑁 ∈ (ℤ≥‘2) → ((𝑁 − 1) / 2) ∈ ℝ) |
| 13 | flqle 10531 | . . 3 ⊢ ((𝑁 / 4) ∈ ℚ → (⌊‘(𝑁 / 4)) ≤ (𝑁 / 4)) | |
| 14 | 4, 13 | syl 14 | . 2 ⊢ (𝑁 ∈ (ℤ≥‘2) → (⌊‘(𝑁 / 4)) ≤ (𝑁 / 4)) |
| 15 | 1red 8187 | . . . 4 ⊢ (𝑁 ∈ (ℤ≥‘2) → 1 ∈ ℝ) | |
| 16 | zre 9476 | . . . . 5 ⊢ (𝑁 ∈ ℤ → 𝑁 ∈ ℝ) | |
| 17 | rehalfcl 9364 | . . . . 5 ⊢ (𝑁 ∈ ℝ → (𝑁 / 2) ∈ ℝ) | |
| 18 | 1, 16, 17 | 3syl 17 | . . . 4 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 / 2) ∈ ℝ) |
| 19 | 2rp 9886 | . . . . . 6 ⊢ 2 ∈ ℝ+ | |
| 20 | eluzle 9761 | . . . . . 6 ⊢ (𝑁 ∈ (ℤ≥‘2) → 2 ≤ 𝑁) | |
| 21 | divge1 9951 | . . . . . 6 ⊢ ((2 ∈ ℝ+ ∧ 𝑁 ∈ ℝ ∧ 2 ≤ 𝑁) → 1 ≤ (𝑁 / 2)) | |
| 22 | 19, 7, 20, 21 | mp3an2i 1376 | . . . . 5 ⊢ (𝑁 ∈ (ℤ≥‘2) → 1 ≤ (𝑁 / 2)) |
| 23 | eluzelcn 9760 | . . . . . 6 ⊢ (𝑁 ∈ (ℤ≥‘2) → 𝑁 ∈ ℂ) | |
| 24 | subhalfhalf 9372 | . . . . . 6 ⊢ (𝑁 ∈ ℂ → (𝑁 − (𝑁 / 2)) = (𝑁 / 2)) | |
| 25 | 23, 24 | syl 14 | . . . . 5 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 − (𝑁 / 2)) = (𝑁 / 2)) |
| 26 | 22, 25 | breqtrrd 4114 | . . . 4 ⊢ (𝑁 ∈ (ℤ≥‘2) → 1 ≤ (𝑁 − (𝑁 / 2))) |
| 27 | 15, 7, 18, 26 | lesubd 8722 | . . 3 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 / 2) ≤ (𝑁 − 1)) |
| 28 | 2t2e4 9291 | . . . . . . . . 9 ⊢ (2 · 2) = 4 | |
| 29 | 28 | eqcomi 2233 | . . . . . . . 8 ⊢ 4 = (2 · 2) |
| 30 | 29 | a1i 9 | . . . . . . 7 ⊢ (𝑁 ∈ (ℤ≥‘2) → 4 = (2 · 2)) |
| 31 | 30 | oveq2d 6029 | . . . . . 6 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 / 4) = (𝑁 / (2 · 2))) |
| 32 | 2cnd 9209 | . . . . . . 7 ⊢ (𝑁 ∈ (ℤ≥‘2) → 2 ∈ ℂ) | |
| 33 | 19 | a1i 9 | . . . . . . . 8 ⊢ (𝑁 ∈ (ℤ≥‘2) → 2 ∈ ℝ+) |
| 34 | 33 | rpap0d 9930 | . . . . . . 7 ⊢ (𝑁 ∈ (ℤ≥‘2) → 2 # 0) |
| 35 | 23, 32, 32, 34, 34 | divdivap1d 8995 | . . . . . 6 ⊢ (𝑁 ∈ (ℤ≥‘2) → ((𝑁 / 2) / 2) = (𝑁 / (2 · 2))) |
| 36 | 31, 35 | eqtr4d 2265 | . . . . 5 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 / 4) = ((𝑁 / 2) / 2)) |
| 37 | 36 | breq1d 4096 | . . . 4 ⊢ (𝑁 ∈ (ℤ≥‘2) → ((𝑁 / 4) ≤ ((𝑁 − 1) / 2) ↔ ((𝑁 / 2) / 2) ≤ ((𝑁 − 1) / 2))) |
| 38 | 18, 11, 33 | lediv1d 9971 | . . . 4 ⊢ (𝑁 ∈ (ℤ≥‘2) → ((𝑁 / 2) ≤ (𝑁 − 1) ↔ ((𝑁 / 2) / 2) ≤ ((𝑁 − 1) / 2))) |
| 39 | 37, 38 | bitr4d 191 | . . 3 ⊢ (𝑁 ∈ (ℤ≥‘2) → ((𝑁 / 4) ≤ ((𝑁 − 1) / 2) ↔ (𝑁 / 2) ≤ (𝑁 − 1))) |
| 40 | 27, 39 | mpbird 167 | . 2 ⊢ (𝑁 ∈ (ℤ≥‘2) → (𝑁 / 4) ≤ ((𝑁 − 1) / 2)) |
| 41 | 6, 9, 12, 14, 40 | letrd 8296 | 1 ⊢ (𝑁 ∈ (ℤ≥‘2) → (⌊‘(𝑁 / 4)) ≤ ((𝑁 − 1) / 2)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 = wceq 1395 ∈ wcel 2200 class class class wbr 4086 ‘cfv 5324 (class class class)co 6013 ℂcc 8023 ℝcr 8024 1c1 8026 · cmul 8030 ≤ cle 8208 − cmin 8343 / cdiv 8845 ℕcn 9136 2c2 9187 4c4 9189 ℤcz 9472 ℤ≥cuz 9748 ℚcq 9846 ℝ+crp 9881 ⌊cfl 10521 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 617 ax-in2 618 ax-io 714 ax-5 1493 ax-7 1494 ax-gen 1495 ax-ie1 1539 ax-ie2 1540 ax-8 1550 ax-10 1551 ax-11 1552 ax-i12 1553 ax-bndl 1555 ax-4 1556 ax-17 1572 ax-i9 1576 ax-ial 1580 ax-i5r 1581 ax-13 2202 ax-14 2203 ax-ext 2211 ax-sep 4205 ax-pow 4262 ax-pr 4297 ax-un 4528 ax-setind 4633 ax-cnex 8116 ax-resscn 8117 ax-1cn 8118 ax-1re 8119 ax-icn 8120 ax-addcl 8121 ax-addrcl 8122 ax-mulcl 8123 ax-mulrcl 8124 ax-addcom 8125 ax-mulcom 8126 ax-addass 8127 ax-mulass 8128 ax-distr 8129 ax-i2m1 8130 ax-0lt1 8131 ax-1rid 8132 ax-0id 8133 ax-rnegex 8134 ax-precex 8135 ax-cnre 8136 ax-pre-ltirr 8137 ax-pre-ltwlin 8138 ax-pre-lttrn 8139 ax-pre-apti 8140 ax-pre-ltadd 8141 ax-pre-mulgt0 8142 ax-pre-mulext 8143 ax-arch 8144 |
| This theorem depends on definitions: df-bi 117 df-3or 1003 df-3an 1004 df-tru 1398 df-fal 1401 df-nf 1507 df-sb 1809 df-eu 2080 df-mo 2081 df-clab 2216 df-cleq 2222 df-clel 2225 df-nfc 2361 df-ne 2401 df-nel 2496 df-ral 2513 df-rex 2514 df-reu 2515 df-rmo 2516 df-rab 2517 df-v 2802 df-sbc 3030 df-csb 3126 df-dif 3200 df-un 3202 df-in 3204 df-ss 3211 df-pw 3652 df-sn 3673 df-pr 3674 df-op 3676 df-uni 3892 df-int 3927 df-iun 3970 df-br 4087 df-opab 4149 df-mpt 4150 df-id 4388 df-po 4391 df-iso 4392 df-xp 4729 df-rel 4730 df-cnv 4731 df-co 4732 df-dm 4733 df-rn 4734 df-res 4735 df-ima 4736 df-iota 5284 df-fun 5326 df-fn 5327 df-f 5328 df-fv 5332 df-riota 5966 df-ov 6016 df-oprab 6017 df-mpo 6018 df-1st 6298 df-2nd 6299 df-pnf 8209 df-mnf 8210 df-xr 8211 df-ltxr 8212 df-le 8213 df-sub 8345 df-neg 8346 df-reap 8748 df-ap 8755 df-div 8846 df-inn 9137 df-2 9195 df-3 9196 df-4 9197 df-n0 9396 df-z 9473 df-uz 9749 df-q 9847 df-rp 9882 df-fl 10523 |
| This theorem is referenced by: fldiv4lem1div2 10560 gausslemma2dlem4 15786 |
| Copyright terms: Public domain | W3C validator |