MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  prmgaplcmlem1 Structured version   Visualization version   GIF version

Theorem prmgaplcmlem1 16822
Description: Lemma for prmgaplcm 16831: 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.)
Assertion
Ref Expression
prmgaplcmlem1 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∥ ((lcm‘(1...𝑁)) + 𝐼))

Proof of Theorem prmgaplcmlem1
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 elfzelz 13329 . . 3 (𝐼 ∈ (2...𝑁) → 𝐼 ∈ ℤ)
21adantl 482 . 2 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∈ ℤ)
3 fzssz 13331 . . . 4 (1...𝑁) ⊆ ℤ
4 fzfi 13765 . . . 4 (1...𝑁) ∈ Fin
53, 4pm3.2i 471 . . 3 ((1...𝑁) ⊆ ℤ ∧ (1...𝑁) ∈ Fin)
6 lcmfcl 16403 . . . 4 (((1...𝑁) ⊆ ℤ ∧ (1...𝑁) ∈ Fin) → (lcm‘(1...𝑁)) ∈ ℕ0)
76nn0zd 12497 . . 3 (((1...𝑁) ⊆ ℤ ∧ (1...𝑁) ∈ Fin) → (lcm‘(1...𝑁)) ∈ ℤ)
85, 7mp1i 13 . 2 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → (lcm‘(1...𝑁)) ∈ ℤ)
9 breq1 5090 . . 3 (𝑥 = 𝐼 → (𝑥 ∥ (lcm‘(1...𝑁)) ↔ 𝐼 ∥ (lcm‘(1...𝑁))))
10 dvdslcmf 16406 . . . 4 (((1...𝑁) ⊆ ℤ ∧ (1...𝑁) ∈ Fin) → ∀𝑥 ∈ (1...𝑁)𝑥 ∥ (lcm‘(1...𝑁)))
115, 10mp1i 13 . . 3 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → ∀𝑥 ∈ (1...𝑁)𝑥 ∥ (lcm‘(1...𝑁)))
12 2eluzge1 12707 . . . . 5 2 ∈ (ℤ‘1)
13 fzss1 13368 . . . . 5 (2 ∈ (ℤ‘1) → (2...𝑁) ⊆ (1...𝑁))
1412, 13mp1i 13 . . . 4 (𝑁 ∈ ℕ → (2...𝑁) ⊆ (1...𝑁))
1514sselda 3931 . . 3 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∈ (1...𝑁))
169, 11, 15rspcdva 3571 . 2 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∥ (lcm‘(1...𝑁)))
17 iddvds 16051 . . . 4 (𝐼 ∈ ℤ → 𝐼𝐼)
181, 17syl 17 . . 3 (𝐼 ∈ (2...𝑁) → 𝐼𝐼)
1918adantl 482 . 2 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼𝐼)
202, 8, 2, 16, 19dvds2addd 16073 1 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ (2...𝑁)) → 𝐼 ∥ ((lcm‘(1...𝑁)) + 𝐼))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wcel 2105  wral 3062  wss 3897   class class class wbr 5087  cfv 6465  (class class class)co 7315  Fincfn 8781  1c1 10945   + caddc 10947  cn 12046  2c2 12101  cz 12392  cuz 12655  ...cfz 13312  cdvds 16035  lcmclcmf 16364
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-rep 5224  ax-sep 5238  ax-nul 5245  ax-pow 5303  ax-pr 5367  ax-un 7628  ax-inf2 9470  ax-cnex 11000  ax-resscn 11001  ax-1cn 11002  ax-icn 11003  ax-addcl 11004  ax-addrcl 11005  ax-mulcl 11006  ax-mulrcl 11007  ax-mulcom 11008  ax-addass 11009  ax-mulass 11010  ax-distr 11011  ax-i2m1 11012  ax-1ne0 11013  ax-1rid 11014  ax-rnegex 11015  ax-rrecex 11016  ax-cnre 11017  ax-pre-lttri 11018  ax-pre-lttrn 11019  ax-pre-ltadd 11020  ax-pre-mulgt0 11021  ax-pre-sup 11022
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3350  df-reu 3351  df-rab 3405  df-v 3443  df-sbc 3727  df-csb 3843  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-pss 3916  df-nul 4268  df-if 4472  df-pw 4547  df-sn 4572  df-pr 4574  df-op 4578  df-uni 4851  df-int 4893  df-iun 4939  df-br 5088  df-opab 5150  df-mpt 5171  df-tr 5205  df-id 5507  df-eprel 5513  df-po 5521  df-so 5522  df-fr 5562  df-se 5563  df-we 5564  df-xp 5613  df-rel 5614  df-cnv 5615  df-co 5616  df-dm 5617  df-rn 5618  df-res 5619  df-ima 5620  df-pred 6224  df-ord 6291  df-on 6292  df-lim 6293  df-suc 6294  df-iota 6417  df-fun 6467  df-fn 6468  df-f 6469  df-f1 6470  df-fo 6471  df-f1o 6472  df-fv 6473  df-isom 6474  df-riota 7272  df-ov 7318  df-oprab 7319  df-mpo 7320  df-om 7758  df-1st 7876  df-2nd 7877  df-frecs 8144  df-wrecs 8175  df-recs 8249  df-rdg 8288  df-1o 8344  df-er 8546  df-en 8782  df-dom 8783  df-sdom 8784  df-fin 8785  df-sup 9271  df-inf 9272  df-oi 9339  df-card 9768  df-pnf 11084  df-mnf 11085  df-xr 11086  df-ltxr 11087  df-le 11088  df-sub 11280  df-neg 11281  df-div 11706  df-nn 12047  df-2 12109  df-3 12110  df-n0 12307  df-z 12393  df-uz 12656  df-rp 12804  df-fz 13313  df-fzo 13456  df-seq 13795  df-exp 13856  df-hash 14118  df-cj 14882  df-re 14883  df-im 14884  df-sqrt 15018  df-abs 15019  df-clim 15269  df-prod 15688  df-dvds 16036  df-lcmf 16366
This theorem is referenced by:  prmgaplcmlem2  16823
  Copyright terms: Public domain W3C validator