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

Theorem elfz2nn0 13555
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 12814 . . . 4 (𝐾 ∈ ℕ0𝐾 ∈ (ℤ‘0))
21anbi1i 624 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
3 eluznn0 12852 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝑁 ∈ ℕ0)
4 eluzle 12782 . . . . . . 7 (𝑁 ∈ (ℤ𝐾) → 𝐾𝑁)
54adantl 481 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝐾𝑁)
63, 5jca 511 . . . . 5 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → (𝑁 ∈ ℕ0𝐾𝑁))
7 nn0z 12530 . . . . . . . 8 (𝐾 ∈ ℕ0𝐾 ∈ ℤ)
8 nn0z 12530 . . . . . . . 8 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
9 eluz 12783 . . . . . . . 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 13455 . 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 2109   class class class wbr 5102  cfv 6499  (class class class)co 7369  0cc0 11044  cle 11185  0cn0 12418  cz 12505  cuz 12769  ...cfz 13444
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5246  ax-nul 5256  ax-pow 5315  ax-pr 5382  ax-un 7691  ax-cnex 11100  ax-resscn 11101  ax-1cn 11102  ax-icn 11103  ax-addcl 11104  ax-addrcl 11105  ax-mulcl 11106  ax-mulrcl 11107  ax-mulcom 11108  ax-addass 11109  ax-mulass 11110  ax-distr 11111  ax-i2m1 11112  ax-1ne0 11113  ax-1rid 11114  ax-rnegex 11115  ax-rrecex 11116  ax-cnre 11117  ax-pre-lttri 11118  ax-pre-lttrn 11119  ax-pre-ltadd 11120  ax-pre-mulgt0 11121
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-nel 3030  df-ral 3045  df-rex 3054  df-reu 3352  df-rab 3403  df-v 3446  df-sbc 3751  df-csb 3860  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-pss 3931  df-nul 4293  df-if 4485  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4868  df-iun 4953  df-br 5103  df-opab 5165  df-mpt 5184  df-tr 5210  df-id 5526  df-eprel 5531  df-po 5539  df-so 5540  df-fr 5584  df-we 5586  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-pred 6262  df-ord 6323  df-on 6324  df-lim 6325  df-suc 6326  df-iota 6452  df-fun 6501  df-fn 6502  df-f 6503  df-f1 6504  df-fo 6505  df-f1o 6506  df-fv 6507  df-riota 7326  df-ov 7372  df-oprab 7373  df-mpo 7374  df-om 7823  df-1st 7947  df-2nd 7948  df-frecs 8237  df-wrecs 8268  df-recs 8317  df-rdg 8355  df-er 8648  df-en 8896  df-dom 8897  df-sdom 8898  df-pnf 11186  df-mnf 11187  df-xr 11188  df-ltxr 11189  df-le 11190  df-sub 11383  df-neg 11384  df-nn 12163  df-n0 12419  df-z 12506  df-uz 12770  df-fz 13445
This theorem is referenced by:  elfznn0  13557  elfz3nn0  13558  0elfz  13561  fz0to3un2pr  13566  elfz0ubfz0  13569  elfz0fzfz0  13570  fz0fzelfz0  13571  uzsubfz0  13573  fz0fzdiffz0  13574  elfzmlbm  13575  elfzmlbp  13576  difelfzle  13578  difelfznle  13579  fvffz0  13583  fzofzim  13646  elfzodifsumelfzo  13668  elfzom1elp1fzo  13669  fzo0to42pr  13690  fzo0sn0fzo1  13692  elfznelfzo  13709  fvinim0ffz  13723  ssnn0fi  13926  fsuppmapnn0fiub  13932  fsuppmapnn0fiub0  13934  suppssfz  13935  1elfz0hash  14331  swrdnd0  14598  swrdlen2  14601  swrdfv2  14602  pfxn0  14627  pfxnd0  14629  pfxeq  14637  swrdswrdlem  14645  swrdswrd  14646  swrdccatin1  14666  pfxccatin12lem1  14669  pfxccatin12lem2  14672  pfxccatin12lem3  14673  pfxccatin12  14674  pfxccat3  14675  swrdccat  14676  pfxccat3a  14679  swrdccat3blem  14680  2cshwcshw  14767  cshwcshid  14769  cshwcsh2id  14770  swrds2  14882  pfx2  14889  prm23lt5  16761  psgnunilem2  19401  gsummoncoe1  22171  mp2pm2mplem4  22672  chfacfisf  22717  chfacfisfcpmat  22718  chfacfpmmulgsum2  22728  aannenlem2  26213  chtublem  27098  lgsquadlem2  27268  pntpbnd2  27474  usgrexmplef  29162  usgr2pthlem  29666  crctcshwlkn0lem4  29716  crctcshwlkn0lem7  29719  crctcshwlkn0  29724  wwlksm1edg  29784  wwlksnred  29795  wwlksnextproplem3  29814  erclwwlkref  29922  clwwlkf  29949  wwlksubclwwlk  29960  upgr4cycl4dv4e  30087  konigsbergiedgw  30150  konigsberglem1  30154  konigsberglem2  30155  konigsberglem3  30156  konigsberglem4  30157  numclwlk2lem2f  30279  bcm1n  32691  1arithidomlem1  33479  1arithidomlem2  33480  1arithidom  33481  eulerpartlemd  34330  ballotth  34502  plymulx0  34511  poimirlem6  37593  poimirlem7  37594  poimirlem28  37615  nnubfi  37717  nninfnub  37718  irrapxlem1  42783  jm2.27a  42967  stoweidlem17  45988  elfz2z  47289  2elfz3nn0  47290  2elfz2melfz  47292  iccpartigtl  47397  iccpartlt  47398  fmtnodvds  47518  fmtnole4prm  47552  cycl3grtri  47919  usgrexmpl1lem  47985  usgrexmpl2lem  47990
  Copyright terms: Public domain W3C validator