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

Theorem hashcl 14527
Description: Closure of the ♯ function. (Contributed by Paul Chapman, 26-Oct-2012.) (Revised by Mario Carneiro, 13-Jul-2014.)
Assertion
Ref Expression
hashcl (𝐴 ∈ Fin → (♯‘𝐴) ∈ ℕ0)

Proof of Theorem hashcl
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eqid 2763 . . 3 (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω) = (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)
21hashgval 14504 . 2 (𝐴 ∈ Fin → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(card‘𝐴)) = (♯‘𝐴))
3 ficardom 10069 . . 3 (𝐴 ∈ Fin → (card‘𝐴) ∈ ω)
41hashgf1o 14141 . . . . 5 (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω⟶1-1ontoℕ0
5 f1of 6846 . . . . 5 ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω⟶1-1ontoℕ0 → (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω⟶ℕ0)
64, 5ax-mp 5 . . . 4 (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω⟶ℕ0
76ffvelcdmi 7107 . . 3 ((card‘𝐴) ∈ ω → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(card‘𝐴)) ∈ ℕ0)
83, 7syl 18 . 2 (𝐴 ∈ Fin → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(card‘𝐴)) ∈ ℕ0)
92, 8eqeltrrd 2865 1 (𝐴 ∈ Fin → (♯‘𝐴) ∈ ℕ0)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∈ wcel 2147  Vcvv 3454   ↦ cmpt 5189   ↾ cres 5657  ⟶wf 6554  ⟶1-1ontowf1o 6557  ‘cfv 6558  (class class class)co 7443  ωcom 7901  reccrdg 8445  Fincfn 9001  cardccrd 10043  0cc0 11227  1c1 11228   + caddc 11230  ℕ0cn0 12633  ♯chash 14501
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775  ax-cnex 11283  ax-resscn 11284  ax-1cn 11285  ax-icn 11286  ax-addcl 11287  ax-addrcl 11288  ax-mulcl 11289  ax-mulrcl 11290  ax-mulcom 11291  ax-addass 11292  ax-mulass 11293  ax-distr 11294  ax-i2m1 11295  ax-1ne0 11296  ax-1rid 11297  ax-rnegex 11298  ax-rrecex 11299  ax-cnre 11300  ax-pre-lttri 11301  ax-pre-lttrn 11302  ax-pre-ltadd 11303  ax-pre-mulgt0 11304
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-riota 7400  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-2nd 8026  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-1o 8504  df-er 8745  df-en 9002  df-dom 9003  df-sdom 9004  df-fin 9005  df-card 10047  df-pnf 11372  df-mnf 11373  df-xr 11374  df-ltxr 11375  df-le 11376  df-sub 11570  df-neg 11571  df-nn 12363  df-n0 12634  df-z 12721  df-uz 12993  df-hash 14502
This theorem is used by:  hashclb  14529  isfinite4  14533  hashnncl  14537  hashdom  14550  hashsdom  14552  hashun2  14554  hashun3  14555  hashunx  14557  1elfz0hash  14561  hashssdif  14584  hashdifpr  14587  hashunlei  14597  hashsslei  14598  hashxplem  14605  hashmap  14607  hashfun  14609  hashreshashfun  14611  fnfz0hashnn0  14620  fnfzo0hashnn0  14623  hashbclem  14624  hashf1lem2  14628  hashf1  14629  hashfac  14630  fz1isolem  14633  seqcoll2  14637  hashge2el2dif  14652  hashtpg  14657  hash1to3  14664  fi1uzind  14679  brfi1indALT  14682  lencl  14705  wrdnfi  14720  ccatval2  14750  ofccat  15151  isercoll  15864  fz1f1o  15905  fsumconst1  15986  o1fsum  16009  hashiun  16018  hash2iun1dif1  16020  ackbijnn  16026  incexclem  16034  incexc  16035  incexc2  16036  climcndslem1  16047  climcndslem2  16048  sumodd  16587  phicl2  16974  phiprmpw  16982  sumhash  17103  prmreclem3  17125  prmreclem4  17126  prmreclem5  17127  4sqlem11  17162  vdwlem11  17198  vdwlem12  17199  vdwlem13  17200  ramlb  17226  0ram  17227  ramub1lem1  17233  ramub1lem2  17234  chnpolfz  18836  hashfinmndnn  18970  lagsubg2  19438  lagsubg  19439  psgnunilem4  19741  odhash3  19820  gexdvds3  19834  sylow1lem1  19842  sylow1lem5  19846  pgpfi  19849  pgpssslw  19858  sylow2alem2  19862  sylow2a  19863  sylow2blem3  19866  sylow3lem3  19873  sylow3lem4  19874  sylow3lem6  19876  cyggex2  20141  ablfacrplem  20311  ablfacrp2  20313  ablfac1c  20317  ablfac1eulem  20318  ablfac1eu  20319  pgpfac1lem2  20321  pgpfaclem2  20328  ablfaclem3  20333  fincygsubgodd  20358  prmgrpsimpgd  20360  0ringnnzr  20806  cygznlem1  21902  cygznlem2a  21903  cygznlem3  21905  cygth  21907  mdet1  22946  chpscmatgsumbin  23192  chpscmatgsummon  23193  tsmsxp  24504  fta1glem2  26517  fta1blem  26519  fta1lem  26658  vieta1lem2  26664  birthday  27312  ppif  27487  isnsqf  27492  muf  27497  0sgm  27501  mule1  27505  ppidif  27520  mumul  27538  musum  27548  ppiub  27561  chpub  27577  dchrabs  27617  sumdchr2  27627  dchrhash  27628  lgsquadlem1  27737  lgsquadlem2  27738  lgsquadlem3  27739  rpvmasum2  27869  dchrisum0re  27870  pntlemr  27959  pntlemj  27960  fusgredgfi  29936  hashnbusgrnn0  29987  nbusgrvtxm1  29990  vtxdgfival  30080  vtxdgfisnn0  30086  vtxdginducedm1fi  30155  finsumvtxdg2ssteplem4  30159  finsumvtxdgeven  30163  upgrwlkdvdelem  30352  clwwlkndivn  30701  konigsberglem5  30887  frrusgrord0lem  30970  numclwwlk1  30992  numclwwlk3  31016  numclwwlk5  31019  numclwwlk6  31021  frgrregord013  31026  frgrogt3nreg  31028  friendshipgt3  31029  friendship  31030  hashxpe  33469  cycpmconjslem2  33786  cyc3conja  33788  gsumind  33976  elrspunidl  34048  esplyfval2  34267  esplympl  34269  esplyfval3  34274  esplyfvaln  34276  esplyind  34277  esplyindfv  34278  esplyfvn  34279  vietadeg1  34280  vietalem  34281  vieta  34282  exsslsb  34299  esumcst  34765  hasheuni  34787  coinfliplem  35181  coinflippv  35186  ballotlemfelz  35193  ballotlemfp1  35194  ballotlemgun  35227  ballotth  35240  reprlt  35318  hashreprin  35319  derangf  36100  derangen2  36106  subfacp1lem1  36111  erdszelem8  36130  erdsze2lem1  36135  snmlff  36261  poimirlem26  38756  poimirlem27  38757  poimirlem28  38758  findcard4  38824  rrnequiv  38961  rrntotbnd  38962  hashscontpowcl  43362  aks6d1c2lem4  43369  hashnexinj  43370  aks6d1c2  43372  aks6d1c6lem3  43414  unitscyglem1  43437  unitscyglem2  43438  unitscyglem4  43440  frlmvscadiccat  43766  fsuppind  43811  eldioph2lem1  43964  isnumbasgrplem3  44299  rp-isfinite5  44710  fzisoeu  46521  stoweidlem26  47241  fourierdlem36  47358  fourierdlem52  47373  fourierdlem102  47423  fourierdlem114  47435  rrndistlt  47505  hoicvrrex  47771  pgrple2abl  49682  pgrpgt2nabl  49683
  Copyright terms: Public domain W3C validator