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

Theorem elfz2nn0 13623
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 12880 . . . 4 (𝐾 ∈ ℕ0𝐾 ∈ (ℤ‘0))
21anbi1i 633 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
3 eluznn0 12918 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝑁 ∈ ℕ0)
4 eluzle 12852 . . . . . . 7 (𝑁 ∈ (ℤ𝐾) → 𝐾𝑁)
54adantl 485 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → 𝐾𝑁)
63, 5jca 519 . . . . 5 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) → (𝑁 ∈ ℕ0𝐾𝑁))
7 nn0z 12592 . . . . . . . 8 (𝐾 ∈ ℕ0𝐾 ∈ ℤ)
8 nn0z 12592 . . . . . . . 8 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
9 eluz 12853 . . . . . . . 8 ((𝐾 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
107, 8, 9syl2an 605 . . . . . . 7 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝑁 ∈ (ℤ𝐾) ↔ 𝐾𝑁))
1110biimprd 250 . . . . . 6 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0) → (𝐾𝑁𝑁 ∈ (ℤ𝐾)))
1211impr 458 . . . . 5 ((𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)) → 𝑁 ∈ (ℤ𝐾))
136, 12impbida 810 . . . 4 (𝐾 ∈ ℕ0 → (𝑁 ∈ (ℤ𝐾) ↔ (𝑁 ∈ ℕ0𝐾𝑁)))
1413pm5.32i 582 . . 3 ((𝐾 ∈ ℕ0𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
152, 14bitr3i 279 . 2 ((𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
16 elfzuzb 13523 . 2 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ (ℤ‘0) ∧ 𝑁 ∈ (ℤ𝐾)))
17 3anass 1106 . 2 ((𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0𝐾𝑁)))
1815, 16, 173bitr4i 305 1 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ ℕ0𝑁 ∈ ℕ0𝐾𝑁))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 399  w3a 1098  wcel 2142   class class class wbr 5100  cfv 6521  (class class class)co 7396  0cc0 11073  cle 11217  0cn0 12481  cz 12568  cuz 12839  ...cfz 13512
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1815  ax-4 1829  ax-5 1930  ax-6 1987  ax-7 2028  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-sep 5246  ax-nul 5256  ax-pow 5322  ax-pr 5390  ax-un 7718  ax-cnex 11129  ax-resscn 11130  ax-1cn 11131  ax-icn 11132  ax-addcl 11133  ax-addrcl 11134  ax-mulcl 11135  ax-mulrcl 11136  ax-mulcom 11137  ax-addass 11138  ax-mulass 11139  ax-distr 11140  ax-i2m1 11141  ax-1ne0 11142  ax-1rid 11143  ax-rnegex 11144  ax-rrecex 11145  ax-cnre 11146  ax-pre-lttri 11147  ax-pre-lttrn 11148  ax-pre-ltadd 11149  ax-pre-mulgt0 11150
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1099  df-3an 1100  df-tru 1563  df-fal 1573  df-ex 1800  df-nf 1804  df-sb 2091  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3368  df-rab 3415  df-v 3456  df-sbc 3745  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4481  df-pw 4557  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-iun 4951  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5542  df-eprel 5547  df-po 5555  df-so 5556  df-fr 5600  df-we 5602  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-pred 6288  df-ord 6349  df-on 6350  df-lim 6351  df-suc 6352  df-iota 6477  df-fun 6523  df-fn 6524  df-f 6525  df-f1 6526  df-fo 6527  df-f1o 6528  df-fv 6529  df-riota 7353  df-ov 7399  df-oprab 7400  df-mpo 7401  df-om 7847  df-1st 7970  df-2nd 7971  df-frecs 8262  df-wrecs 8293  df-recs 8342  df-rdg 8381  df-er 8678  df-en 8928  df-dom 8929  df-sdom 8930  df-pnf 11218  df-mnf 11219  df-xr 11220  df-ltxr 11221  df-le 11222  df-sub 11416  df-neg 11417  df-nn 12211  df-n0 12482  df-z 12569  df-uz 12840  df-fz 13513
This theorem is referenced by:  elfznn0  13625  elfz3nn0  13626  0elfz  13629  fz0to3un2pr  13634  elfz0ubfz0  13637  elfz0fzfz0  13638  fz0fzelfz0  13639  uzsubfz0  13641  fz0fzdiffz0  13642  elfzmlbm  13643  elfzmlbp  13644  difelfzle  13646  difelfznle  13647  fvffz0  13651  fzofzim  13715  elfzodifsumelfzo  13737  elfzom1elp1fzo  13738  fzo0to42pr  13759  fzo0sn0fzo1  13761  elfznelfzo  13779  fvinim0ffz  13795  ssnn0fi  13998  fsuppmapnn0fiub  14004  fsuppmapnn0fiub0  14006  suppssfz  14007  1elfz0hash  14403  swrdnd0  14671  swrdlen2  14674  swrdfv2  14675  pfxn0  14700  pfxnd0  14702  pfxeq  14709  swrdswrdlem  14717  swrdswrd  14718  swrdccatin1  14738  pfxccatin12lem1  14741  pfxccatin12lem2  14744  pfxccatin12lem3  14745  pfxccatin12  14746  pfxccat3  14747  swrdccat  14748  pfxccat3a  14751  swrdccat3blem  14752  2cshwcshw  14838  cshwcshid  14840  cshwcsh2id  14841  swrds2  14953  pfx2  14960  prm23lt5  16850  psgnunilem2  19535  gsummoncoe1  22371  mp2pm2mplem4  22869  chfacfisf  22914  chfacfisfcpmat  22915  chfacfpmmulgsum2  22925  plyn0mulidp  26345  aannenlem2  26393  chtublem  27275  lgsquadlem2  27445  pntpbnd2  27651  usgrexmplef  29460  usgr2pthlem  29963  crctcshwlkn0lem4  30013  crctcshwlkn0lem7  30016  crctcshwlkn0  30021  wwlksm1edg  30081  wwlksnred  30092  wwlksnextproplem3  30111  erclwwlkref  30222  clwwlkf  30249  wwlksubclwwlk  30260  upgr4cycl4dv4e  30387  konigsbergiedgw  30450  konigsberglem1  30454  konigsberglem2  30455  konigsberglem3  30456  konigsberglem4  30457  numclwlk2lem2f  30579  bcm1n  32997  1arithidomlem1  33731  1arithidomlem2  33732  1arithidom  33733  eulerpartlemd  34663  ballotth  34835  poimirlem6  38125  poimirlem7  38126  poimirlem28  38147  nnubfi  38249  nninfnub  38250  irrapxlem1  43399  jm2.27a  43582  stoweidlem17  46591  elfz2z  47909  2elfz3nn0  47910  2elfz2melfz  47912  iccpartigtl  48029  iccpartlt  48030  fmtnodvds  48153  fmtnole4prm  48187  cycl3grtri  48569  usgrexmpl1lem  48643  usgrexmpl2lem  48648
  Copyright terms: Public domain W3C validator