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

Theorem elfz2nn0 13759
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 13013 . . . 4 (𝐾 ∈ ℕ0 ↔ 𝐾 ∈ (ℤ≥‘0))
21anbi1i 636 . . 3 ((𝐾 ∈ ℕ0 ∧ 𝑁 ∈ (ℤ≥‘𝐾)) ↔ (𝐾 ∈ (ℤ≥‘0) ∧ 𝑁 ∈ (ℤ≥‘𝐾)))
3 eluznn0 13051 . . . . . 6 ((𝐾 ∈ ℕ0 ∧ 𝑁 ∈ (ℤ≥‘𝐾)) → 𝑁 ∈ ℕ0)
4 eluzle 12985 . . . . . . 7 (𝑁 ∈ (ℤ≥‘𝐾) → 𝐾 ≤ 𝑁)
54adantl 487 . . . . . 6 ((𝐾 ∈ ℕ0 ∧ 𝑁 ∈ (ℤ≥‘𝐾)) → 𝐾 ≤ 𝑁)
63, 5jca 521 . . . . 5 ((𝐾 ∈ ℕ0 ∧ 𝑁 ∈ (ℤ≥‘𝐾)) → (𝑁 ∈ ℕ0 ∧ 𝐾 ≤ 𝑁))
7 nn0z 12724 . . . . . . . 8 (𝐾 ∈ ℕ0 → 𝐾 ∈ ℤ)
8 nn0z 12724 . . . . . . . 8 (𝑁 ∈ ℕ0 → 𝑁 ∈ ℤ)
9 eluz 12986 . . . . . . . 8 ((𝐾 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ≥‘𝐾) ↔ 𝐾 ≤ 𝑁))
107, 8, 9syl2an 608 . . . . . . 7 ((𝐾 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0) → (𝑁 ∈ (ℤ≥‘𝐾) ↔ 𝐾 ≤ 𝑁))
1110biimprd 251 . . . . . 6 ((𝐾 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0) → (𝐾 ≤ 𝑁 → 𝑁 ∈ (ℤ≥‘𝐾)))
1211impr 460 . . . . 5 ((𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ 𝐾 ≤ 𝑁)) → 𝑁 ∈ (ℤ≥‘𝐾))
136, 12impbida 813 . . . 4 (𝐾 ∈ ℕ0 → (𝑁 ∈ (ℤ≥‘𝐾) ↔ (𝑁 ∈ ℕ0 ∧ 𝐾 ≤ 𝑁)))
1413pm5.32i 585 . . 3 ((𝐾 ∈ ℕ0 ∧ 𝑁 ∈ (ℤ≥‘𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ 𝐾 ≤ 𝑁)))
152, 14bitr3i 280 . 2 ((𝐾 ∈ (ℤ≥‘0) ∧ 𝑁 ∈ (ℤ≥‘𝐾)) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ 𝐾 ≤ 𝑁)))
16 elfzuzb 13657 . 2 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ (ℤ≥‘0) ∧ 𝑁 ∈ (ℤ≥‘𝐾)))
17 3anass 1111 . 2 ((𝐾 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0 ∧ 𝐾 ≤ 𝑁) ↔ (𝐾 ∈ ℕ0 ∧ (𝑁 ∈ ℕ0 ∧ 𝐾 ≤ 𝑁)))
1815, 16, 173bitr4i 306 1 (𝐾 ∈ (0...𝑁) ↔ (𝐾 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0 ∧ 𝐾 ≤ 𝑁))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   ∈ wcel 2144   class class class wbr 5102  ‘cfv 6543  (class class class)co 7424  0cc0 11207   ≤ cle 11351  ℕ0cn0 12613  ℤcz 12700  ℤ≥cuz 12972  ...cfz 13646
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-1st 8005  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-er 8725  df-en 8982  df-dom 8983  df-sdom 8984  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-nn 12343  df-n0 12614  df-z 12701  df-uz 12973  df-fz 13647
This theorem is used by:  elfznn0  13761  elfz3nn0  13762  0elfz  13765  fz0to3un2pr  13770  elfz0ubfz0  13773  elfz0fzfz0  13774  fz0fzelfz0  13775  uzsubfz0  13777  fz0fzdiffz0  13778  elfzmlbm  13779  elfzmlbp  13780  difelfzle  13782  difelfznle  13783  fvffz0  13787  fzofzim  13851  elfzodifsumelfzo  13873  elfzom1elp1fzo  13874  fzo0to42pr  13895  fzo0sn0fzo1  13897  elfznelfzo  13915  fvinim0ffz  13931  ssnn0fi  14135  fsuppmapnn0fiub  14141  fsuppmapnn0fiub0  14143  suppssfz  14144  1elfz0hash  14541  swrdnd0  14815  swrdlen2  14818  swrdfv2  14819  pfxn0  14844  pfxnd0  14846  pfxeq  14853  swrdswrdlem  14861  swrdswrd  14862  swrdccatin1  14882  pfxccatin12lem1  14885  pfxccatin12lem2  14888  pfxccatin12lem3  14889  pfxccatin12  14890  pfxccat3  14891  swrdccat  14892  pfxccat3a  14895  swrdccat3blem  14896  2cshwcshw  14984  cshwcshid  14986  cshwcsh2id  14987  swrds2  15100  pfx2  15107  prm23lt5  17001  psgnunilem2  19718  gsummoncoe1  22635  mp2pm2mplem4  23136  chfacfisf  23181  chfacfisfcpmat  23182  chfacfpmmulgsum2  23192  plyn0mulidp  26611  aannenlem2  26665  chtublem  27547  lgsquadlem2  27717  pntpbnd2  27923  usgrexmplef  29849  usgr2pthlem  30358  crctcshwlkn0lem4  30411  crctcshwlkn0lem7  30414  crctcshwlkn0  30419  wwlksm1edg  30479  wwlksnred  30490  wwlksnextproplem3  30509  erclwwlkref  30620  clwwlkf  30647  wwlksubclwwlk  30658  upgr4cycl4dv4e  30795  konigsbergiedgw  30858  konigsberglem1  30862  konigsberglem2  30863  konigsberglem3  30864  konigsberglem4  30865  numclwlk2lem2f  30987  bcm1n  33437  1arithidomlem1  34117  1arithidomlem2  34118  1arithidom  34119  eulerpartlemd  35048  ballotth  35220  poimirlem6  38681  poimirlem7  38682  poimirlem28  38703  nnubfi  38821  nninfnub  38822  irrapxlem1  43966  jm2.27a  44149  stoweidlem17  47163  elfz2z  48521  2elfz3nn0  48522  2elfz2melfz  48524  iccpartigtl  48641  iccpartlt  48642  fmtnodvds  48765  fmtnole4prm  48799  cycl3grtri  49181  usgrexmpl1lem  49255  usgrexmpl2lem  49260
  Copyright terms: Public domain W3C validator