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

Theorem elfz2nn0 13532
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 12790 . . . 4 (𝐾 ∈ ℕ0𝐾 ∈ (ℤ‘0))
21anbi1i 624 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
3 eluznn0 12828 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝑁 ∈ ℕ0)
4 eluzle 12762 . . . . . . 7 (𝑁 ∈ (ℤ𝐾) → 𝐾𝑁)
54adantl 481 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝐾𝑁)
63, 5jca 511 . . . . 5 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → (𝑁 ∈ ℕ0𝐾𝑁))
7 nn0z 12510 . . . . . . . 8 (𝐾 ∈ ℕ0𝐾 ∈ ℤ)
8 nn0z 12510 . . . . . . . 8 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
9 eluz 12763 . . . . . . . 8 ((𝐾 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
107, 8, 9syl2an 596 . . . . . . 7 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
1110biimprd 248 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝐾𝑁𝑁 ∈ (ℤ𝐾)))
1211impr 454 . . . . 5 ((𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)) → 𝑁 ∈ (ℤ𝐾))
136, 12impbida 800 . . . 4 (𝐾 ∈ ℕ0 → (𝑁 ∈ (ℤ𝐾) ↔ (𝑁 ∈ ℕ0𝐾𝑁)))
1413pm5.32i 574 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
152, 14bitr3i 277 . 2 ((𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
16 elfzuzb 13432 . 2 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
17 3anass 1094 . 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 1086  wcel 2113   class class class wbr 5096  cfv 6490  (class class class)co 7356  0cc0 11024  cle 11165  0cn0 12399  cz 12486  cuz 12749  ...cfz 13421
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 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2706  ax-sep 5239  ax-nul 5249  ax-pow 5308  ax-pr 5375  ax-un 7678  ax-cnex 11080  ax-resscn 11081  ax-1cn 11082  ax-icn 11083  ax-addcl 11084  ax-addrcl 11085  ax-mulcl 11086  ax-mulrcl 11087  ax-mulcom 11088  ax-addass 11089  ax-mulass 11090  ax-distr 11091  ax-i2m1 11092  ax-1ne0 11093  ax-1rid 11094  ax-rnegex 11095  ax-rrecex 11096  ax-cnre 11097  ax-pre-lttri 11098  ax-pre-lttrn 11099  ax-pre-ltadd 11100  ax-pre-mulgt0 11101
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2809  df-nfc 2883  df-ne 2931  df-nel 3035  df-ral 3050  df-rex 3059  df-reu 3349  df-rab 3398  df-v 3440  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4579  df-pr 4581  df-op 4585  df-uni 4862  df-iun 4946  df-br 5097  df-opab 5159  df-mpt 5178  df-tr 5204  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-riota 7313  df-ov 7359  df-oprab 7360  df-mpo 7361  df-om 7807  df-1st 7931  df-2nd 7932  df-frecs 8221  df-wrecs 8252  df-recs 8301  df-rdg 8339  df-er 8633  df-en 8882  df-dom 8883  df-sdom 8884  df-pnf 11166  df-mnf 11167  df-xr 11168  df-ltxr 11169  df-le 11170  df-sub 11364  df-neg 11365  df-nn 12144  df-n0 12400  df-z 12487  df-uz 12750  df-fz 13422
This theorem is referenced by:  elfznn0  13534  elfz3nn0  13535  0elfz  13538  fz0to3un2pr  13543  elfz0ubfz0  13546  elfz0fzfz0  13547  fz0fzelfz0  13548  uzsubfz0  13550  fz0fzdiffz0  13551  elfzmlbm  13552  elfzmlbp  13553  difelfzle  13555  difelfznle  13556  fvffz0  13560  fzofzim  13623  elfzodifsumelfzo  13645  elfzom1elp1fzo  13646  fzo0to42pr  13667  fzo0sn0fzo1  13669  elfznelfzo  13687  fvinim0ffz  13703  ssnn0fi  13906  fsuppmapnn0fiub  13912  fsuppmapnn0fiub0  13914  suppssfz  13915  1elfz0hash  14311  swrdnd0  14579  swrdlen2  14582  swrdfv2  14583  pfxn0  14608  pfxnd0  14610  pfxeq  14617  swrdswrdlem  14625  swrdswrd  14626  swrdccatin1  14646  pfxccatin12lem1  14649  pfxccatin12lem2  14652  pfxccatin12lem3  14653  pfxccatin12  14654  pfxccat3  14655  swrdccat  14656  pfxccat3a  14659  swrdccat3blem  14660  2cshwcshw  14746  cshwcshid  14748  cshwcsh2id  14749  swrds2  14861  pfx2  14868  prm23lt5  16740  psgnunilem2  19422  gsummoncoe1  22250  mp2pm2mplem4  22751  chfacfisf  22796  chfacfisfcpmat  22797  chfacfpmmulgsum2  22807  aannenlem2  26291  chtublem  27176  lgsquadlem2  27346  pntpbnd2  27552  usgrexmplef  29281  usgr2pthlem  29785  crctcshwlkn0lem4  29835  crctcshwlkn0lem7  29838  crctcshwlkn0  29843  wwlksm1edg  29903  wwlksnred  29914  wwlksnextproplem3  29933  erclwwlkref  30044  clwwlkf  30071  wwlksubclwwlk  30082  upgr4cycl4dv4e  30209  konigsbergiedgw  30272  konigsberglem1  30276  konigsberglem2  30277  konigsberglem3  30278  konigsberglem4  30279  numclwlk2lem2f  30401  bcm1n  32824  1arithidomlem1  33565  1arithidomlem2  33566  1arithidom  33567  eulerpartlemd  34472  ballotth  34644  plymulx0  34653  poimirlem6  37766  poimirlem7  37767  poimirlem28  37788  nnubfi  37890  nninfnub  37891  irrapxlem1  43006  jm2.27a  43189  stoweidlem17  46203  elfz2z  47503  2elfz3nn0  47504  2elfz2melfz  47506  iccpartigtl  47611  iccpartlt  47612  fmtnodvds  47732  fmtnole4prm  47766  cycl3grtri  48135  usgrexmpl1lem  48209  usgrexmpl2lem  48214
  Copyright terms: Public domain W3C validator