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

Theorem vdwapfval 16903
Description: Define the arithmetic progression function, which takes as input a length ๐‘˜, a start point ๐‘Ž, and a step ๐‘‘ and outputs the set of points in this progression. (Contributed by Mario Carneiro, 18-Aug-2014.)
Assertion
Ref Expression
vdwapfval (๐พ โˆˆ โ„•0 โ†’ (APโ€˜๐พ) = (๐‘Ž โˆˆ โ„•, ๐‘‘ โˆˆ โ„• โ†ฆ ran (๐‘š โˆˆ (0...(๐พ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘)))))
Distinct variable group:   ๐‘Ž,๐‘‘,๐‘š,๐พ

Proof of Theorem vdwapfval
Dummy variable ๐‘˜ is distinct from all other variables.
StepHypRef Expression
1 simp1 1136 . . . . . . 7 ((๐‘˜ = ๐พ โˆง ๐‘Ž โˆˆ โ„• โˆง ๐‘‘ โˆˆ โ„•) โ†’ ๐‘˜ = ๐พ)
21oveq1d 7423 . . . . . 6 ((๐‘˜ = ๐พ โˆง ๐‘Ž โˆˆ โ„• โˆง ๐‘‘ โˆˆ โ„•) โ†’ (๐‘˜ โˆ’ 1) = (๐พ โˆ’ 1))
32oveq2d 7424 . . . . 5 ((๐‘˜ = ๐พ โˆง ๐‘Ž โˆˆ โ„• โˆง ๐‘‘ โˆˆ โ„•) โ†’ (0...(๐‘˜ โˆ’ 1)) = (0...(๐พ โˆ’ 1)))
43mpteq1d 5243 . . . 4 ((๐‘˜ = ๐พ โˆง ๐‘Ž โˆˆ โ„• โˆง ๐‘‘ โˆˆ โ„•) โ†’ (๐‘š โˆˆ (0...(๐‘˜ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘))) = (๐‘š โˆˆ (0...(๐พ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘))))
54rneqd 5937 . . 3 ((๐‘˜ = ๐พ โˆง ๐‘Ž โˆˆ โ„• โˆง ๐‘‘ โˆˆ โ„•) โ†’ ran (๐‘š โˆˆ (0...(๐‘˜ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘))) = ran (๐‘š โˆˆ (0...(๐พ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘))))
65mpoeq3dva 7485 . 2 (๐‘˜ = ๐พ โ†’ (๐‘Ž โˆˆ โ„•, ๐‘‘ โˆˆ โ„• โ†ฆ ran (๐‘š โˆˆ (0...(๐‘˜ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘)))) = (๐‘Ž โˆˆ โ„•, ๐‘‘ โˆˆ โ„• โ†ฆ ran (๐‘š โˆˆ (0...(๐พ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘)))))
7 df-vdwap 16900 . 2 AP = (๐‘˜ โˆˆ โ„•0 โ†ฆ (๐‘Ž โˆˆ โ„•, ๐‘‘ โˆˆ โ„• โ†ฆ ran (๐‘š โˆˆ (0...(๐‘˜ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘)))))
8 nnex 12217 . . 3 โ„• โˆˆ V
98, 8mpoex 8065 . 2 (๐‘Ž โˆˆ โ„•, ๐‘‘ โˆˆ โ„• โ†ฆ ran (๐‘š โˆˆ (0...(๐พ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘)))) โˆˆ V
106, 7, 9fvmpt 6998 1 (๐พ โˆˆ โ„•0 โ†’ (APโ€˜๐พ) = (๐‘Ž โˆˆ โ„•, ๐‘‘ โˆˆ โ„• โ†ฆ ran (๐‘š โˆˆ (0...(๐พ โˆ’ 1)) โ†ฆ (๐‘Ž + (๐‘š ยท ๐‘‘)))))
Colors of variables: wff setvar class
Syntax hints:   โ†’ wi 4   โˆง w3a 1087   = wceq 1541   โˆˆ wcel 2106   โ†ฆ cmpt 5231  ran crn 5677  โ€˜cfv 6543  (class class class)co 7408   โˆˆ cmpo 7410  0cc0 11109  1c1 11110   + caddc 11112   ยท cmul 11114   โˆ’ cmin 11443  โ„•cn 12211  โ„•0cn0 12471  ...cfz 13483  APcvdwa 16897
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 2703  ax-rep 5285  ax-sep 5299  ax-nul 5306  ax-pow 5363  ax-pr 5427  ax-un 7724  ax-cnex 11165  ax-1cn 11167  ax-addcl 11169
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 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3377  df-rab 3433  df-v 3476  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-pss 3967  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-iun 4999  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5574  df-eprel 5580  df-po 5588  df-so 5589  df-fr 5631  df-we 5633  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-pred 6300  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7411  df-oprab 7412  df-mpo 7413  df-om 7855  df-1st 7974  df-2nd 7975  df-frecs 8265  df-wrecs 8296  df-recs 8370  df-rdg 8409  df-nn 12212  df-vdwap 16900
This theorem is referenced by:  vdwapf  16904  vdwapval  16905
  Copyright terms: Public domain W3C validator