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

Theorem fzfi 14154
Description: A finite interval of integers is finite. (Contributed by Jeff Madsen, 2-Sep-2009.) (Revised by Mario Carneiro, 12-Mar-2015.)
Assertion
Ref Expression
fzfi (𝑀...𝑁) ∈ Fin

Proof of Theorem fzfi
StepHypRef Expression
1 0fi 9107 . . 3 ∅ ∈ Fin
2 eleq1 2855 . . 3 ((𝑀...𝑁) = ∅ → ((𝑀...𝑁) ∈ Fin ↔ ∅ ∈ Fin))
31, 2mpbiri 261 . 2 ((𝑀...𝑁) = ∅ → (𝑀...𝑁) ∈ Fin)
4 fzn0 13710 . . 3 ((𝑀...𝑁) ≠ ∅ ↔ 𝑁 ∈ (ℤ≥‘𝑀))
5 onfin2 9269 . . . . . 6 ω = (On ∩ Fin)
6 inss2 4136 . . . . . 6 (On ∩ Fin) ⊆ Fin
75, 6eqsstri 3958 . . . . 5 ω ⊆ Fin
8 eqid 2766 . . . . . . 7 (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω) = (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)
98hashgf1o 14153 . . . . . 6 (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω⟶1-1ontoℕ0
10 peano2uz 13067 . . . . . . 7 (𝑁 ∈ (ℤ≥‘𝑀) → (𝑁 + 1) ∈ (ℤ≥‘𝑀))
11 uznn0sub 13039 . . . . . . 7 ((𝑁 + 1) ∈ (ℤ≥‘𝑀) → ((𝑁 + 1) − 𝑀) ∈ ℕ0)
1210, 11syl 18 . . . . . 6 (𝑁 ∈ (ℤ≥‘𝑀) → ((𝑁 + 1) − 𝑀) ∈ ℕ0)
13 f1ocnvdm 7323 . . . . . 6 (((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω⟶1-1ontoℕ0 ∧ ((𝑁 + 1) − 𝑀) ∈ ℕ0) → (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘((𝑁 + 1) − 𝑀)) ∈ ω)
149, 12, 13sylancr 599 . . . . 5 (𝑁 ∈ (ℤ≥‘𝑀) → (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘((𝑁 + 1) − 𝑀)) ∈ ω)
157, 14sselid 3910 . . . 4 (𝑁 ∈ (ℤ≥‘𝑀) → (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘((𝑁 + 1) − 𝑀)) ∈ Fin)
168fzen2 14151 . . . 4 (𝑁 ∈ (ℤ≥‘𝑀) → (𝑀...𝑁) ≈ (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘((𝑁 + 1) − 𝑀)))
17 enfii 9238 . . . 4 (((◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘((𝑁 + 1) − 𝑀)) ∈ Fin ∧ (𝑀...𝑁) ≈ (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘((𝑁 + 1) − 𝑀))) → (𝑀...𝑁) ∈ Fin)
1815, 16, 17syl2anc 596 . . 3 (𝑁 ∈ (ℤ≥‘𝑀) → (𝑀...𝑁) ∈ Fin)
194, 18sylbi 220 . 2 ((𝑀...𝑁) ≠ ∅ → (𝑀...𝑁) ∈ Fin)
203, 19pm2.61ine 3045 1 (𝑀...𝑁) ∈ Fin
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572   ∈ wcel 2150   ≠ wne 2962  Vcvv 3453   ∩ cin 4091  ∅c0 4280   class class class wbr 5107   ↦ cmpt 5191  ◡ccnv 5656   ↾ cres 5659  Oncon0 6387  ⟶1-1ontowf1o 6564  ‘cfv 6565  (class class class)co 7450  ωcom 7910  reccrdg 8454   ≈ cen 9007  Fincfn 9010  0cc0 11238  1c1 11239   + caddc 11241   − cmin 11579  ℕ0cn0 12645  ℤ≥cuz 13004  ...cfz 13678
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-cnex 11294  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-1st 8034  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-1o 8513  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-fin 9014  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-nn 12375  df-n0 12646  df-z 12733  df-uz 13005  df-fz 13679
This theorem is used by:  fzfid  14155  fzofi  14156  fsequb  14157  fsequb2  14158  fseqsupcl  14159  ssnn0fi  14167  seqf1o  14225  isfinite4  14546  hashdom  14563  fzsdom2  14613  fnfz0hashnn0  14633  seqcoll2  14650  caubnd  15569  limsupgre  15691  summolem3  15923  summolem2  15925  zsum  15927  prodmolem3  16143  prodmolem2  16145  zprod  16147  risefallfac  16234  bpolylem  16257  phicl2  16991  phibnd  16994  hashdvds  16998  phiprmpw  16999  eulerth  17006  pcfac  17123  prmreclem3  17142  prmreclem4  17143  prmreclem5  17144  prmrec  17146  1arith  17151  vdwlem6  17210  vdwlem10  17214  vdwlem12  17216  prmdvdsprmo  17266  prmgaplcmlem1  17275  prmgaplcm  17284  isstruct2  17373  gsumval3lem1  20172  gsumval3lem2  20173  gsumval3  20174  coe1mul2  22645  ovoliunlem2  25881  uniioombllem6  25966  itg0  26157  itgz  26158  coemullem  26626  plyn0mulidp  26659  aannenlem1  26714  aannenlem2  26715  birthdaylem1  27338  birthdaylem2  27339  wilthlem2  27455  wilthlem3  27456  ftalem5  27463  ppifi  27492  prmdvdsfi  27493  chtdif  27544  ppidif  27549  chp1  27553  ppiltx  27563  prmorcht  27564  mumul  27567  sqff1o  27568  ppiub  27590  pclogsum  27601  logexprlim  27611  gausslemma2dlem1  27752  gausslemma2dlem5  27757  gausslemma2dlem6  27758  lgseisenlem2  27762  axlowdimlem16  29594  pthhashvtx  30374  konigsberglem5  30916  pmtrto1cl  33760  psgnfzto1stlem  33761  fzto1st  33764  psgnfzto1st  33766  smatcl  34546  1smat1  34548  esumpcvgval  34822  esumcvg  34830  carsggect  35062  carsgclctunlem2  35063  oddpwdc  35098  eulerpartlemb  35112  ballotlem1  35231  ballotlem2  35233  ballotlemfelz  35235  ballotlemfp1  35236  ballotlemfc0  35237  ballotlemfcc  35238  ballotlemfmpn  35239  ballotlemiex  35246  ballotlemsup  35249  ballotlemfg  35270  ballotlemfrc  35271  ballotlemfrceq  35273  ballotth  35282  fsum2dsub  35348  reprfi2  35364  breprexpnat  35375  hgt750lemb  35397  hgt750leme  35399  subfacf  36149  subfacp1lem1  36153  subfacp1lem3  36156  subfacp1lem5  36158  subfacp1lem6  36159  erdszelem2  36166  erdszelem10  36174  cvmliftlem15  36272  bcprod  36719  ptrecube  38808  poimirlem25  38833  poimirlem26  38834  poimirlem27  38835  poimirlem28  38836  poimirlem29  38837  poimirlem30  38838  poimirlem31  38839  poimirlem32  38840  mblfinlem2  38846  volsupnfl  38853  itg2addnclem2  38860  nnubfi  38952  nninfnub  38953  cntotbnd  38998  lcmfunnnd  43330  lcmineqlem4  43350  lcmineqlem6  43352  lcmineqlem15  43361  lcmineqlem16  43362  lcmineqlem19  43365  lcmineqlem20  43366  lcmineqlem21  43367  lcmineqlem22  43368  sticksstones17  43481  fisdomnn  43562  fz1sumconst  43632  frlmnzcoordinf  43919  eldioph2lem1  44036  eldioph2lem2  44037  eldioph2  44038  pellexlem5  44105  pellex  44107  jm2.22  44267  jm2.23  44268  hbt  44396  rp-isfinite6  44840  dmstructfi  46249  fzisoeu  46649  sumnnodd  46975  stoweidlem37  47380  stoweidlem44  47387  stoweidlem59  47402  fourierdlem37  47487  fourierdlem103  47552  fourierdlem104  47553  etransclem16  47593  etransclem24  47601  etransclem25  47602  etransclem33  47610  etransclem35  47612  etransclem44  47621  etransclem45  47622  sge0reuz  47790  hoidmvlelem2  47939  aacllem  51457  veronesematbasd  51498  veroquadmodzerod  51502  veroquadnolindfd  51503  veroquaddetzerod  51504
  Copyright terms: Public domain W3C validator