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

Theorem elfz2nn0 13567
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 12824 . . . 4 (𝐾 ∈ ℕ0𝐾 ∈ (ℤ‘0))
21anbi1i 631 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
3 eluznn0 12862 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝑁 ∈ ℕ0)
4 eluzle 12796 . . . . . . 7 (𝑁 ∈ (ℤ𝐾) → 𝐾𝑁)
54adantl 483 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝐾𝑁)
63, 5jca 517 . . . . 5 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → (𝑁 ∈ ℕ0𝐾𝑁))
7 nn0z 12543 . . . . . . . 8 (𝐾 ∈ ℕ0𝐾 ∈ ℤ)
8 nn0z 12543 . . . . . . . 8 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
9 eluz 12797 . . . . . . . 8 ((𝐾 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
107, 8, 9syl2an 603 . . . . . . 7 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
1110biimprd 250 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝐾𝑁𝑁 ∈ (ℤ𝐾)))
1211impr 456 . . . . 5 ((𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)) → 𝑁 ∈ (ℤ𝐾))
136, 12impbida 807 . . . 4 (𝐾 ∈ ℕ0 → (𝑁 ∈ (ℤ𝐾) ↔ (𝑁 ∈ ℕ0𝐾𝑁)))
1413pm5.32i 580 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
152, 14bitr3i 279 . 2 ((𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
16 elfzuzb 13467 . 2 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
17 3anass 1101 . 2 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
1815, 16, 173bitr4i 305 1 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 397  w3a 1093  wcel 2121   class class class wbr 5074  cfv 6488  (class class class)co 7359  0cc0 11034  cle 11176  0cn0 12432  cz 12519  cuz 12783  ...cfz 13456
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-8 2123  ax-9 2131  ax-10 2154  ax-11 2170  ax-12 2191  ax-ext 2713  ax-sep 5220  ax-nul 5230  ax-pow 5296  ax-pr 5364  ax-un 7681  ax-cnex 11090  ax-resscn 11091  ax-1cn 11092  ax-icn 11093  ax-addcl 11094  ax-addrcl 11095  ax-mulcl 11096  ax-mulrcl 11097  ax-mulcom 11098  ax-addass 11099  ax-mulass 11100  ax-distr 11101  ax-i2m1 11102  ax-1ne0 11103  ax-1rid 11104  ax-rnegex 11105  ax-rrecex 11106  ax-cnre 11107  ax-pre-lttri 11108  ax-pre-lttrn 11109  ax-pre-ltadd 11110  ax-pre-mulgt0 11111
This theorem depends on definitions:  df-bi 209  df-an 398  df-or 855  df-3or 1094  df-3an 1095  df-tru 1551  df-fal 1561  df-ex 1788  df-nf 1792  df-sb 2075  df-mo 2545  df-eu 2575  df-clab 2720  df-cleq 2733  df-clel 2816  df-nfc 2890  df-ne 2937  df-nel 3041  df-ral 3056  df-rex 3066  df-reu 3347  df-rab 3394  df-v 3435  df-sbc 3725  df-csb 3833  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-pss 3904  df-nul 4264  df-if 4457  df-pw 4533  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4841  df-iun 4925  df-br 5075  df-opab 5137  df-mpt 5156  df-tr 5182  df-id 5515  df-eprel 5520  df-po 5528  df-so 5529  df-fr 5573  df-we 5575  df-xp 5626  df-rel 5627  df-cnv 5628  df-co 5629  df-dm 5630  df-rn 5631  df-res 5632  df-ima 5633  df-pred 6255  df-ord 6316  df-on 6317  df-lim 6318  df-suc 6319  df-iota 6444  df-fun 6490  df-fn 6491  df-f 6492  df-f1 6493  df-fo 6494  df-f1o 6495  df-fv 6496  df-riota 7316  df-ov 7362  df-oprab 7363  df-mpo 7364  df-om 7810  df-1st 7933  df-2nd 7934  df-frecs 8224  df-wrecs 8255  df-recs 8304  df-rdg 8343  df-er 8637  df-en 8888  df-dom 8889  df-sdom 8890  df-pnf 11177  df-mnf 11178  df-xr 11179  df-ltxr 11180  df-le 11181  df-sub 11375  df-neg 11376  df-nn 12170  df-n0 12433  df-z 12520  df-uz 12784  df-fz 13457
This theorem is referenced by:  elfznn0  13569  elfz3nn0  13570  0elfz  13573  fz0to3un2pr  13578  elfz0ubfz0  13581  elfz0fzfz0  13582  fz0fzelfz0  13583  uzsubfz0  13585  fz0fzdiffz0  13586  elfzmlbm  13587  elfzmlbp  13588  difelfzle  13590  difelfznle  13591  fvffz0  13595  fzofzim  13659  elfzodifsumelfzo  13681  elfzom1elp1fzo  13682  fzo0to42pr  13703  fzo0sn0fzo1  13705  elfznelfzo  13723  fvinim0ffz  13739  ssnn0fi  13942  fsuppmapnn0fiub  13948  fsuppmapnn0fiub0  13950  suppssfz  13951  1elfz0hash  14347  swrdnd0  14615  swrdlen2  14618  swrdfv2  14619  pfxn0  14644  pfxnd0  14646  pfxeq  14653  swrdswrdlem  14661  swrdswrd  14662  swrdccatin1  14682  pfxccatin12lem1  14685  pfxccatin12lem2  14688  pfxccatin12lem3  14689  pfxccatin12  14690  pfxccat3  14691  swrdccat  14692  pfxccat3a  14695  swrdccat3blem  14696  2cshwcshw  14782  cshwcshid  14784  cshwcsh2id  14785  swrds2  14897  pfx2  14904  prm23lt5  16780  psgnunilem2  19464  gsummoncoe1  22297  mp2pm2mplem4  22795  chfacfisf  22840  chfacfisfcpmat  22841  chfacfpmmulgsum2  22851  aannenlem2  26316  chtublem  27195  lgsquadlem2  27365  pntpbnd2  27571  usgrexmplef  29348  usgr2pthlem  29851  crctcshwlkn0lem4  29901  crctcshwlkn0lem7  29904  crctcshwlkn0  29909  wwlksm1edg  29969  wwlksnred  29980  wwlksnextproplem3  29999  erclwwlkref  30110  clwwlkf  30137  wwlksubclwwlk  30148  upgr4cycl4dv4e  30275  konigsbergiedgw  30338  konigsberglem1  30342  konigsberglem2  30343  konigsberglem3  30344  konigsberglem4  30345  numclwlk2lem2f  30467  bcm1n  32889  1arithidomlem1  33628  1arithidomlem2  33629  1arithidom  33630  eulerpartlemd  34560  ballotth  34732  plymulx0  34741  poimirlem6  38006  poimirlem7  38007  poimirlem28  38028  nnubfi  38130  nninfnub  38131  irrapxlem1  43280  jm2.27a  43463  stoweidlem17  46472  elfz2z  47790  2elfz3nn0  47791  2elfz2melfz  47793  iccpartigtl  47910  iccpartlt  47911  fmtnodvds  48034  fmtnole4prm  48068  cycl3grtri  48450  usgrexmpl1lem  48524  usgrexmpl2lem  48529
  Copyright terms: Public domain W3C validator