![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > prmgaplcmlem1 | Structured version Visualization version GIF version |
Description: Lemma for prmgaplcm 16965: The least common multiple of all positive integers less than or equal to a number plus an integer greater than 1 and less then or equal to the number is divisible by that integer. (Contributed by AV, 14-Aug-2020.) (Revised by AV, 27-Aug-2020.) |
Ref | Expression |
---|---|
prmgaplcmlem1 | ⊢ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∥ ((lcm‘(1...𝑁)) + 𝐼)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elfzelz 13473 | . . 3 ⊢ (𝐼 ∈ (2...𝑁) → 𝐼 ∈ ℤ) | |
2 | 1 | adantl 482 | . 2 ⊢ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∈ ℤ) |
3 | fzssz 13475 | . . . 4 ⊢ (1...𝑁) ⊆ ℤ | |
4 | fzfi 13909 | . . . 4 ⊢ (1...𝑁) ∈ Fin | |
5 | 3, 4 | pm3.2i 471 | . . 3 ⊢ ((1...𝑁) ⊆ ℤ ∧ (1...𝑁) ∈ Fin) |
6 | lcmfcl 16537 | . . . 4 ⊢ (((1...𝑁) ⊆ ℤ ∧ (1...𝑁) ∈ Fin) → (lcm‘(1...𝑁)) ∈ ℕ0) | |
7 | 6 | nn0zd 12556 | . . 3 ⊢ (((1...𝑁) ⊆ ℤ ∧ (1...𝑁) ∈ Fin) → (lcm‘(1...𝑁)) ∈ ℤ) |
8 | 5, 7 | mp1i 13 | . 2 ⊢ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → (lcm‘(1...𝑁)) ∈ ℤ) |
9 | breq1 5135 | . . 3 ⊢ (𝑥 = 𝐼 → (𝑥 ∥ (lcm‘(1...𝑁)) ↔ 𝐼 ∥ (lcm‘(1...𝑁)))) | |
10 | dvdslcmf 16540 | . . . 4 ⊢ (((1...𝑁) ⊆ ℤ ∧ (1...𝑁) ∈ Fin) → ∀𝑥 ∈ (1...𝑁)𝑥 ∥ (lcm‘(1...𝑁))) | |
11 | 5, 10 | mp1i 13 | . . 3 ⊢ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → ∀𝑥 ∈ (1...𝑁)𝑥 ∥ (lcm‘(1...𝑁))) |
12 | 2eluzge1 12850 | . . . . 5 ⊢ 2 ∈ (ℤ≥‘1) | |
13 | fzss1 13512 | . . . . 5 ⊢ (2 ∈ (ℤ≥‘1) → (2...𝑁) ⊆ (1...𝑁)) | |
14 | 12, 13 | mp1i 13 | . . . 4 ⊢ (𝑁 ∈ ℕ → (2...𝑁) ⊆ (1...𝑁)) |
15 | 14 | sselda 3969 | . . 3 ⊢ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∈ (1...𝑁)) |
16 | 9, 11, 15 | rspcdva 3603 | . 2 ⊢ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∥ (lcm‘(1...𝑁))) |
17 | iddvds 16185 | . . . 4 ⊢ (𝐼 ∈ ℤ → 𝐼 ∥ 𝐼) | |
18 | 1, 17 | syl 17 | . . 3 ⊢ (𝐼 ∈ (2...𝑁) → 𝐼 ∥ 𝐼) |
19 | 18 | adantl 482 | . 2 ⊢ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∥ 𝐼) |
20 | 2, 8, 2, 16, 19 | dvds2addd 16207 | 1 ⊢ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∥ ((lcm‘(1...𝑁)) + 𝐼)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 ∈ wcel 2106 ∀wral 3060 ⊆ wss 3935 class class class wbr 5132 ‘cfv 6523 (class class class)co 7384 Fincfn 8912 1c1 11083 + caddc 11085 ℕcn 12184 2c2 12239 ℤcz 12530 ℤ≥cuz 12794 ...cfz 13456 ∥ cdvds 16169 lcmclcmf 16498 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2702 ax-rep 5269 ax-sep 5283 ax-nul 5290 ax-pow 5347 ax-pr 5411 ax-un 7699 ax-inf2 9608 ax-cnex 11138 ax-resscn 11139 ax-1cn 11140 ax-icn 11141 ax-addcl 11142 ax-addrcl 11143 ax-mulcl 11144 ax-mulrcl 11145 ax-mulcom 11146 ax-addass 11147 ax-mulass 11148 ax-distr 11149 ax-i2m1 11150 ax-1ne0 11151 ax-1rid 11152 ax-rnegex 11153 ax-rrecex 11154 ax-cnre 11155 ax-pre-lttri 11156 ax-pre-lttrn 11157 ax-pre-ltadd 11158 ax-pre-mulgt0 11159 ax-pre-sup 11160 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 846 df-3or 1088 df-3an 1089 df-tru 1544 df-fal 1554 df-ex 1782 df-nf 1786 df-sb 2068 df-mo 2533 df-eu 2562 df-clab 2709 df-cleq 2723 df-clel 2809 df-nfc 2884 df-ne 2940 df-nel 3046 df-ral 3061 df-rex 3070 df-rmo 3371 df-reu 3372 df-rab 3426 df-v 3468 df-sbc 3765 df-csb 3881 df-dif 3938 df-un 3940 df-in 3942 df-ss 3952 df-pss 3954 df-nul 4310 df-if 4514 df-pw 4589 df-sn 4614 df-pr 4616 df-op 4620 df-uni 4893 df-int 4935 df-iun 4983 df-br 5133 df-opab 5195 df-mpt 5216 df-tr 5250 df-id 5558 df-eprel 5564 df-po 5572 df-so 5573 df-fr 5615 df-se 5616 df-we 5617 df-xp 5666 df-rel 5667 df-cnv 5668 df-co 5669 df-dm 5670 df-rn 5671 df-res 5672 df-ima 5673 df-pred 6280 df-ord 6347 df-on 6348 df-lim 6349 df-suc 6350 df-iota 6475 df-fun 6525 df-fn 6526 df-f 6527 df-f1 6528 df-fo 6529 df-f1o 6530 df-fv 6531 df-isom 6532 df-riota 7340 df-ov 7387 df-oprab 7388 df-mpo 7389 df-om 7830 df-1st 7948 df-2nd 7949 df-frecs 8239 df-wrecs 8270 df-recs 8344 df-rdg 8383 df-1o 8439 df-er 8677 df-en 8913 df-dom 8914 df-sdom 8915 df-fin 8916 df-sup 9409 df-inf 9410 df-oi 9477 df-card 9906 df-pnf 11222 df-mnf 11223 df-xr 11224 df-ltxr 11225 df-le 11226 df-sub 11418 df-neg 11419 df-div 11844 df-nn 12185 df-2 12247 df-3 12248 df-n0 12445 df-z 12531 df-uz 12795 df-rp 12947 df-fz 13457 df-fzo 13600 df-seq 13939 df-exp 14000 df-hash 14263 df-cj 15018 df-re 15019 df-im 15020 df-sqrt 15154 df-abs 15155 df-clim 15404 df-prod 15822 df-dvds 16170 df-lcmf 16500 |
This theorem is referenced by: prmgaplcmlem2 16957 |
Copyright terms: Public domain | W3C validator |