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

Theorem elfz2nn0 13566
Description: Membership in a finite set of sequential nonnegative integers. (Contributed by NM, 16-Sep-2005.) (Revised by Mario Carneiro, 28-Apr-2015.)
Assertion
Ref Expression
elfz2nn0 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁))

Proof of Theorem elfz2nn0
StepHypRef Expression
1 elnn0uz 12823 . . . 4 (𝐾 ∈ ℕ0𝐾 ∈ (ℤ‘0))
21anbi1i 625 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
3 eluznn0 12861 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝑁 ∈ ℕ0)
4 eluzle 12795 . . . . . . 7 (𝑁 ∈ (ℤ𝐾) → 𝐾𝑁)
54adantl 481 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝐾𝑁)
63, 5jca 511 . . . . 5 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → (𝑁 ∈ ℕ0𝐾𝑁))
7 nn0z 12542 . . . . . . . 8 (𝐾 ∈ ℕ0𝐾 ∈ ℤ)
8 nn0z 12542 . . . . . . . 8 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
9 eluz 12796 . . . . . . . 8 ((𝐾 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
107, 8, 9syl2an 597 . . . . . . 7 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
1110biimprd 248 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝐾𝑁𝑁 ∈ (ℤ𝐾)))
1211impr 454 . . . . 5 ((𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)) → 𝑁 ∈ (ℤ𝐾))
136, 12impbida 801 . . . 4 (𝐾 ∈ ℕ0 → (𝑁 ∈ (ℤ𝐾) ↔ (𝑁 ∈ ℕ0𝐾𝑁)))
1413pm5.32i 574 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
152, 14bitr3i 277 . 2 ((𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
16 elfzuzb 13466 . 2 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
17 3anass 1095 . 2 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
1815, 16, 173bitr4i 303 1 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁))
Colors of variables: wff setvar class
Syntax hints:  wb 206  wa 395  w3a 1087  wcel 2114   class class class wbr 5086  cfv 6493  (class class class)co 7361  0cc0 11032  cle 11174  0cn0 12431  cz 12518  cuz 12782  ...cfz 13455
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 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-sep 5232  ax-nul 5242  ax-pow 5303  ax-pr 5371  ax-un 7683  ax-cnex 11088  ax-resscn 11089  ax-1cn 11090  ax-icn 11091  ax-addcl 11092  ax-addrcl 11093  ax-mulcl 11094  ax-mulrcl 11095  ax-mulcom 11096  ax-addass 11097  ax-mulass 11098  ax-distr 11099  ax-i2m1 11100  ax-1ne0 11101  ax-1rid 11102  ax-rnegex 11103  ax-rrecex 11104  ax-cnre 11105  ax-pre-lttri 11106  ax-pre-lttrn 11107  ax-pre-ltadd 11108  ax-pre-mulgt0 11109
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-nel 3038  df-ral 3053  df-rex 3063  df-reu 3344  df-rab 3391  df-v 3432  df-sbc 3730  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-pss 3910  df-nul 4275  df-if 4468  df-pw 4544  df-sn 4569  df-pr 4571  df-op 4575  df-uni 4852  df-iun 4936  df-br 5087  df-opab 5149  df-mpt 5168  df-tr 5194  df-id 5520  df-eprel 5525  df-po 5533  df-so 5534  df-fr 5578  df-we 5580  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-pred 6260  df-ord 6321  df-on 6322  df-lim 6323  df-suc 6324  df-iota 6449  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-riota 7318  df-ov 7364  df-oprab 7365  df-mpo 7366  df-om 7812  df-1st 7936  df-2nd 7937  df-frecs 8225  df-wrecs 8256  df-recs 8305  df-rdg 8343  df-er 8637  df-en 8888  df-dom 8889  df-sdom 8890  df-pnf 11175  df-mnf 11176  df-xr 11177  df-ltxr 11178  df-le 11179  df-sub 11373  df-neg 11374  df-nn 12169  df-n0 12432  df-z 12519  df-uz 12783  df-fz 13456
This theorem is referenced by:  elfznn0  13568  elfz3nn0  13569  0elfz  13572  fz0to3un2pr  13577  elfz0ubfz0  13580  elfz0fzfz0  13581  fz0fzelfz0  13582  uzsubfz0  13584  fz0fzdiffz0  13585  elfzmlbm  13586  elfzmlbp  13587  difelfzle  13589  difelfznle  13590  fvffz0  13594  fzofzim  13658  elfzodifsumelfzo  13680  elfzom1elp1fzo  13681  fzo0to42pr  13702  fzo0sn0fzo1  13704  elfznelfzo  13722  fvinim0ffz  13738  ssnn0fi  13941  fsuppmapnn0fiub  13947  fsuppmapnn0fiub0  13949  suppssfz  13950  1elfz0hash  14346  swrdnd0  14614  swrdlen2  14617  swrdfv2  14618  pfxn0  14643  pfxnd0  14645  pfxeq  14652  swrdswrdlem  14660  swrdswrd  14661  swrdccatin1  14681  pfxccatin12lem1  14684  pfxccatin12lem2  14687  pfxccatin12lem3  14688  pfxccatin12  14689  pfxccat3  14690  swrdccat  14691  pfxccat3a  14694  swrdccat3blem  14695  2cshwcshw  14781  cshwcshid  14783  cshwcsh2id  14784  swrds2  14896  pfx2  14903  prm23lt5  16779  psgnunilem2  19464  gsummoncoe1  22286  mp2pm2mplem4  22787  chfacfisf  22832  chfacfisfcpmat  22833  chfacfpmmulgsum2  22843  aannenlem2  26309  chtublem  27191  lgsquadlem2  27361  pntpbnd2  27567  usgrexmplef  29345  usgr2pthlem  29849  crctcshwlkn0lem4  29899  crctcshwlkn0lem7  29902  crctcshwlkn0  29907  wwlksm1edg  29967  wwlksnred  29978  wwlksnextproplem3  29997  erclwwlkref  30108  clwwlkf  30135  wwlksubclwwlk  30146  upgr4cycl4dv4e  30273  konigsbergiedgw  30336  konigsberglem1  30340  konigsberglem2  30341  konigsberglem3  30342  konigsberglem4  30343  numclwlk2lem2f  30465  bcm1n  32886  1arithidomlem1  33613  1arithidomlem2  33614  1arithidom  33615  eulerpartlemd  34529  ballotth  34701  plymulx0  34710  poimirlem6  37964  poimirlem7  37965  poimirlem28  37986  nnubfi  38088  nninfnub  38089  irrapxlem1  43271  jm2.27a  43454  stoweidlem17  46466  elfz2z  47778  2elfz3nn0  47779  2elfz2melfz  47781  iccpartigtl  47898  iccpartlt  47899  fmtnodvds  48022  fmtnole4prm  48056  cycl3grtri  48438  usgrexmpl1lem  48512  usgrexmpl2lem  48517
  Copyright terms: Public domain W3C validator