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

Theorem elfz2nn0 13645
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 12902 . . . 4 (𝐾 ∈ ℕ0𝐾 ∈ (ℤ‘0))
21anbi1i 635 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
3 eluznn0 12940 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝑁 ∈ ℕ0)
4 eluzle 12874 . . . . . . 7 (𝑁 ∈ (ℤ𝐾) → 𝐾𝑁)
54adantl 486 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝐾𝑁)
63, 5jca 520 . . . . 5 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → (𝑁 ∈ ℕ0𝐾𝑁))
7 nn0z 12614 . . . . . . . 8 (𝐾 ∈ ℕ0𝐾 ∈ ℤ)
8 nn0z 12614 . . . . . . . 8 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
9 eluz 12875 . . . . . . . 8 ((𝐾 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
107, 8, 9syl2an 607 . . . . . . 7 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
1110biimprd 251 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝐾𝑁𝑁 ∈ (ℤ𝐾)))
1211impr 459 . . . . 5 ((𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)) → 𝑁 ∈ (ℤ𝐾))
136, 12impbida 812 . . . 4 (𝐾 ∈ ℕ0 → (𝑁 ∈ (ℤ𝐾) ↔ (𝑁 ∈ ℕ0𝐾𝑁)))
1413pm5.32i 584 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
152, 14bitr3i 280 . 2 ((𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
16 elfzuzb 13545 . 2 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
17 3anass 1109 . 2 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
1815, 16, 173bitr4i 306 1 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁))
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 400  w3a 1101  wcel 2149   class class class wbr 5113  cfv 6537  (class class class)co 7411  0cc0 11099  cle 11243  0cn0 12503  cz 12590  cuz 12861  ...cfz 13534
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-10 2182  ax-11 2198  ax-12 2219  ax-ext 2741  ax-sep 5261  ax-nul 5271  ax-pow 5337  ax-pr 5405  ax-un 7733  ax-cnex 11155  ax-resscn 11156  ax-1cn 11157  ax-icn 11158  ax-addcl 11159  ax-addrcl 11160  ax-mulcl 11161  ax-mulrcl 11162  ax-mulcom 11163  ax-addass 11164  ax-mulass 11165  ax-distr 11166  ax-i2m1 11167  ax-1ne0 11168  ax-1rid 11169  ax-rnegex 11170  ax-rrecex 11171  ax-cnre 11172  ax-pre-lttri 11173  ax-pre-lttrn 11174  ax-pre-ltadd 11175  ax-pre-mulgt0 11176
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1102  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-nf 1811  df-sb 2098  df-mo 2573  df-eu 2603  df-clab 2748  df-cleq 2761  df-clel 2844  df-nfc 2918  df-ne 2965  df-nel 3071  df-ral 3086  df-rex 3096  df-reu 3377  df-rab 3424  df-v 3465  df-sbc 3754  df-csb 3862  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3933  df-nul 4295  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4877  df-iun 4962  df-br 5114  df-opab 5178  df-mpt 5197  df-tr 5223  df-id 5557  df-eprel 5562  df-po 5570  df-so 5571  df-fr 5615  df-we 5617  df-xp 5668  df-rel 5669  df-cnv 5670  df-co 5671  df-dm 5672  df-rn 5673  df-res 5674  df-ima 5675  df-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-riota 7368  df-ov 7414  df-oprab 7415  df-mpo 7416  df-om 7862  df-1st 7985  df-2nd 7986  df-frecs 8277  df-wrecs 8308  df-recs 8357  df-rdg 8396  df-er 8693  df-en 8943  df-dom 8944  df-sdom 8945  df-pnf 11244  df-mnf 11245  df-xr 11246  df-ltxr 11247  df-le 11248  df-sub 11442  df-neg 11443  df-nn 12233  df-n0 12504  df-z 12591  df-uz 12862  df-fz 13535
This theorem is referenced by:  elfznn0  13647  elfz3nn0  13648  0elfz  13651  fz0to3un2pr  13656  elfz0ubfz0  13659  elfz0fzfz0  13660  fz0fzelfz0  13661  uzsubfz0  13663  fz0fzdiffz0  13664  elfzmlbm  13665  elfzmlbp  13666  difelfzle  13668  difelfznle  13669  fvffz0  13673  fzofzim  13737  elfzodifsumelfzo  13759  elfzom1elp1fzo  13760  fzo0to42pr  13781  fzo0sn0fzo1  13783  elfznelfzo  13801  fvinim0ffz  13817  ssnn0fi  14020  fsuppmapnn0fiub  14026  fsuppmapnn0fiub0  14028  suppssfz  14029  1elfz0hash  14425  swrdnd0  14694  swrdlen2  14697  swrdfv2  14698  pfxn0  14723  pfxnd0  14725  pfxeq  14732  swrdswrdlem  14740  swrdswrd  14741  swrdccatin1  14761  pfxccatin12lem1  14764  pfxccatin12lem2  14767  pfxccatin12lem3  14768  pfxccatin12  14769  pfxccat3  14770  swrdccat  14771  pfxccat3a  14774  swrdccat3blem  14775  2cshwcshw  14861  cshwcshid  14863  cshwcsh2id  14864  swrds2  14976  pfx2  14983  prm23lt5  16873  psgnunilem2  19564  gsummoncoe1  22436  mp2pm2mplem4  22934  chfacfisf  22979  chfacfisfcpmat  22980  chfacfpmmulgsum2  22990  plyn0mulidp  26410  aannenlem2  26458  chtublem  27340  lgsquadlem2  27510  pntpbnd2  27716  usgrexmplef  29549  usgr2pthlem  30052  crctcshwlkn0lem4  30102  crctcshwlkn0lem7  30105  crctcshwlkn0  30110  wwlksm1edg  30170  wwlksnred  30181  wwlksnextproplem3  30200  erclwwlkref  30311  clwwlkf  30338  wwlksubclwwlk  30349  upgr4cycl4dv4e  30476  konigsbergiedgw  30539  konigsberglem1  30543  konigsberglem2  30544  konigsberglem3  30545  konigsberglem4  30546  numclwlk2lem2f  30668  bcm1n  33080  1arithidomlem1  33769  1arithidomlem2  33770  1arithidom  33771  eulerpartlemd  34700  ballotth  34872  poimirlem6  38164  poimirlem7  38165  poimirlem28  38186  nnubfi  38288  nninfnub  38289  irrapxlem1  43440  jm2.27a  43623  stoweidlem17  46622  elfz2z  47940  2elfz3nn0  47941  2elfz2melfz  47943  iccpartigtl  48060  iccpartlt  48061  fmtnodvds  48184  fmtnole4prm  48218  cycl3grtri  48600  usgrexmpl1lem  48674  usgrexmpl2lem  48679
  Copyright terms: Public domain W3C validator