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

Theorem elfz2nn0 13675
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 12948 . . . 4 (𝐾 ∈ ℕ0𝐾 ∈ (ℤ‘0))
21anbi1i 623 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
3 eluznn0 12982 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝑁 ∈ ℕ0)
4 eluzle 12916 . . . . . . 7 (𝑁 ∈ (ℤ𝐾) → 𝐾𝑁)
54adantl 481 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝐾𝑁)
63, 5jca 511 . . . . 5 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → (𝑁 ∈ ℕ0𝐾𝑁))
7 nn0z 12664 . . . . . . . 8 (𝐾 ∈ ℕ0𝐾 ∈ ℤ)
8 nn0z 12664 . . . . . . . 8 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
9 eluz 12917 . . . . . . . 8 ((𝐾 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
107, 8, 9syl2an 595 . . . . . . 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 13578 . 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 2108   class class class wbr 5166  cfv 6573  (class class class)co 7448  0cc0 11184  cle 11325  0cn0 12553  cz 12639  cuz 12903  ...cfz 13567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770  ax-cnex 11240  ax-resscn 11241  ax-1cn 11242  ax-icn 11243  ax-addcl 11244  ax-addrcl 11245  ax-mulcl 11246  ax-mulrcl 11247  ax-mulcom 11248  ax-addass 11249  ax-mulass 11250  ax-distr 11251  ax-i2m1 11252  ax-1ne0 11253  ax-1rid 11254  ax-rnegex 11255  ax-rrecex 11256  ax-cnre 11257  ax-pre-lttri 11258  ax-pre-lttrn 11259  ax-pre-ltadd 11260  ax-pre-mulgt0 11261
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-nel 3053  df-ral 3068  df-rex 3077  df-reu 3389  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-pss 3996  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-iun 5017  df-br 5167  df-opab 5229  df-mpt 5250  df-tr 5284  df-id 5593  df-eprel 5599  df-po 5607  df-so 5608  df-fr 5652  df-we 5654  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-pred 6332  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7404  df-ov 7451  df-oprab 7452  df-mpo 7453  df-om 7904  df-1st 8030  df-2nd 8031  df-frecs 8322  df-wrecs 8353  df-recs 8427  df-rdg 8466  df-er 8763  df-en 9004  df-dom 9005  df-sdom 9006  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11522  df-neg 11523  df-nn 12294  df-n0 12554  df-z 12640  df-uz 12904  df-fz 13568
This theorem is referenced by:  elfznn0  13677  elfz3nn0  13678  0elfz  13681  fz0to3un2pr  13686  elfz0ubfz0  13689  elfz0fzfz0  13690  fz0fzelfz0  13691  uzsubfz0  13693  fz0fzdiffz0  13694  elfzmlbm  13695  elfzmlbp  13696  difelfzle  13698  difelfznle  13699  fvffz0  13703  fzofzim  13763  elfzodifsumelfzo  13782  elfzom1elp1fzo  13783  fzo0to42pr  13803  fzo0sn0fzo1  13805  elfznelfzo  13822  fvinim0ffz  13836  ssnn0fi  14036  fsuppmapnn0fiub  14042  fsuppmapnn0fiub0  14044  suppssfz  14045  1elfz0hash  14439  swrdnd0  14705  swrdlen2  14708  swrdfv2  14709  pfxn0  14734  pfxnd0  14736  pfxeq  14744  swrdswrdlem  14752  swrdswrd  14753  swrdccatin1  14773  pfxccatin12lem1  14776  pfxccatin12lem2  14779  pfxccatin12lem3  14780  pfxccatin12  14781  pfxccat3  14782  swrdccat  14783  pfxccat3a  14786  swrdccat3blem  14787  2cshwcshw  14874  cshwcshid  14876  cshwcsh2id  14877  swrds2  14989  pfx2  14996  prm23lt5  16861  psgnunilem2  19537  gsummoncoe1  22333  mp2pm2mplem4  22836  chfacfisf  22881  chfacfisfcpmat  22882  chfacfpmmulgsum2  22892  aannenlem2  26389  chtublem  27273  lgsquadlem2  27443  pntpbnd2  27649  usgrexmplef  29294  usgr2pthlem  29799  crctcshwlkn0lem4  29846  crctcshwlkn0lem7  29849  crctcshwlkn0  29854  wwlksm1edg  29914  wwlksnred  29925  wwlksnextproplem3  29944  erclwwlkref  30052  clwwlkf  30079  wwlksubclwwlk  30090  upgr4cycl4dv4e  30217  konigsbergiedgw  30280  konigsberglem1  30284  konigsberglem2  30285  konigsberglem3  30286  konigsberglem4  30287  numclwlk2lem2f  30409  bcm1n  32800  1arithidomlem1  33528  1arithidomlem2  33529  1arithidom  33530  eulerpartlemd  34331  ballotth  34502  plymulx0  34524  poimirlem6  37586  poimirlem7  37587  poimirlem28  37608  nnubfi  37710  nninfnub  37711  irrapxlem1  42778  jm2.27a  42962  stoweidlem17  45938  elfz2z  47230  2elfz3nn0  47231  2elfz2melfz  47233  iccpartigtl  47297  iccpartlt  47298  fmtnodvds  47418  fmtnole4prm  47452  usgrexmpl1lem  47836  usgrexmpl2lem  47841
  Copyright terms: Public domain W3C validator