![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > hashfz1 | Structured version Visualization version GIF version |
Description: The set (1...𝑁) has 𝑁 elements. (Contributed by Paul Chapman, 22-Jun-2011.) (Revised by Mario Carneiro, 15-Sep-2013.) |
Ref | Expression |
---|---|
hashfz1 | ⊢ (𝑁 ∈ ℕ0 → (♯‘(1...𝑁)) = 𝑁) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eqid 2778 | . . . 4 ⊢ (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω) = (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω) | |
2 | 1 | cardfz 13092 | . . 3 ⊢ (𝑁 ∈ ℕ0 → (card‘(1...𝑁)) = (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘𝑁)) |
3 | 2 | fveq2d 6452 | . 2 ⊢ (𝑁 ∈ ℕ0 → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(card‘(1...𝑁))) = ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘𝑁))) |
4 | fzfid 13095 | . . 3 ⊢ (𝑁 ∈ ℕ0 → (1...𝑁) ∈ Fin) | |
5 | 1 | hashgval 13442 | . . 3 ⊢ ((1...𝑁) ∈ Fin → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(card‘(1...𝑁))) = (♯‘(1...𝑁))) |
6 | 4, 5 | syl 17 | . 2 ⊢ (𝑁 ∈ ℕ0 → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(card‘(1...𝑁))) = (♯‘(1...𝑁))) |
7 | 1 | hashgf1o 13093 | . . 3 ⊢ (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω–1-1-onto→ℕ0 |
8 | f1ocnvfv2 6807 | . . 3 ⊢ (((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω–1-1-onto→ℕ0 ∧ 𝑁 ∈ ℕ0) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘𝑁)) = 𝑁) | |
9 | 7, 8 | mpan 680 | . 2 ⊢ (𝑁 ∈ ℕ0 → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘𝑁)) = 𝑁) |
10 | 3, 6, 9 | 3eqtr3d 2822 | 1 ⊢ (𝑁 ∈ ℕ0 → (♯‘(1...𝑁)) = 𝑁) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 = wceq 1601 ∈ wcel 2107 Vcvv 3398 ↦ cmpt 4967 ◡ccnv 5356 ↾ cres 5359 –1-1-onto→wf1o 6136 ‘cfv 6137 (class class class)co 6924 ωcom 7345 reccrdg 7790 Fincfn 8243 cardccrd 9096 0cc0 10274 1c1 10275 + caddc 10277 ℕ0cn0 11646 ...cfz 12647 ♯chash 13439 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1839 ax-4 1853 ax-5 1953 ax-6 2021 ax-7 2055 ax-8 2109 ax-9 2116 ax-10 2135 ax-11 2150 ax-12 2163 ax-13 2334 ax-ext 2754 ax-sep 5019 ax-nul 5027 ax-pow 5079 ax-pr 5140 ax-un 7228 ax-cnex 10330 ax-resscn 10331 ax-1cn 10332 ax-icn 10333 ax-addcl 10334 ax-addrcl 10335 ax-mulcl 10336 ax-mulrcl 10337 ax-mulcom 10338 ax-addass 10339 ax-mulass 10340 ax-distr 10341 ax-i2m1 10342 ax-1ne0 10343 ax-1rid 10344 ax-rnegex 10345 ax-rrecex 10346 ax-cnre 10347 ax-pre-lttri 10348 ax-pre-lttrn 10349 ax-pre-ltadd 10350 ax-pre-mulgt0 10351 |
This theorem depends on definitions: df-bi 199 df-an 387 df-or 837 df-3or 1072 df-3an 1073 df-tru 1605 df-ex 1824 df-nf 1828 df-sb 2012 df-mo 2551 df-eu 2587 df-clab 2764 df-cleq 2770 df-clel 2774 df-nfc 2921 df-ne 2970 df-nel 3076 df-ral 3095 df-rex 3096 df-reu 3097 df-rab 3099 df-v 3400 df-sbc 3653 df-csb 3752 df-dif 3795 df-un 3797 df-in 3799 df-ss 3806 df-pss 3808 df-nul 4142 df-if 4308 df-pw 4381 df-sn 4399 df-pr 4401 df-tp 4403 df-op 4405 df-uni 4674 df-int 4713 df-iun 4757 df-br 4889 df-opab 4951 df-mpt 4968 df-tr 4990 df-id 5263 df-eprel 5268 df-po 5276 df-so 5277 df-fr 5316 df-we 5318 df-xp 5363 df-rel 5364 df-cnv 5365 df-co 5366 df-dm 5367 df-rn 5368 df-res 5369 df-ima 5370 df-pred 5935 df-ord 5981 df-on 5982 df-lim 5983 df-suc 5984 df-iota 6101 df-fun 6139 df-fn 6140 df-f 6141 df-f1 6142 df-fo 6143 df-f1o 6144 df-fv 6145 df-riota 6885 df-ov 6927 df-oprab 6928 df-mpt2 6929 df-om 7346 df-1st 7447 df-2nd 7448 df-wrecs 7691 df-recs 7753 df-rdg 7791 df-1o 7845 df-er 8028 df-en 8244 df-dom 8245 df-sdom 8246 df-fin 8247 df-card 9100 df-pnf 10415 df-mnf 10416 df-xr 10417 df-ltxr 10418 df-le 10419 df-sub 10610 df-neg 10611 df-nn 11379 df-n0 11647 df-z 11733 df-uz 11997 df-fz 12648 df-hash 13440 |
This theorem is referenced by: fz1eqb 13464 isfinite4 13472 hasheq0 13473 hashsng 13478 fseq1hash 13484 hashdom 13487 hashfz 13532 ishashinf 13565 isercolllem2 14808 isercoll 14810 summolem3 14856 summolem2a 14857 o1fsum 14953 climcndslem1 14989 climcndslem2 14990 harmonic 14999 mertenslem1 15023 prodmolem3 15070 prodmolem2a 15071 risefallfac 15161 bpolylem 15185 phicl2 15881 phibnd 15884 hashdvds 15888 phiprmpw 15889 eulerth 15896 pcfac 16011 prmreclem2 16029 prmreclem3 16030 prmreclem5 16032 4sqlem11 16067 vdwlem12 16104 ramub2 16126 ramlb 16131 0ram 16132 ram0 16134 dfod2 18369 gsumval3 18698 uniioombllem4 23794 birthdaylem2 25135 birthdaylem3 25136 basellem4 25266 basellem5 25267 basellem8 25270 ppiltx 25359 vmasum 25397 logfac2 25398 chpval2 25399 chpchtsum 25400 chpub 25401 logfaclbnd 25403 bposlem1 25465 lgsqrlem4 25530 gausslemma2dlem6 25553 lgseisenlem4 25559 lgsquadlem1 25561 lgsquadlem2 25562 lgsquadlem3 25563 dchrmusum2 25639 dchrisum0lem2a 25662 mudivsum 25675 mulogsumlem 25676 selberglem2 25691 ballotlem1 31151 ballotlemfmpn 31159 derangen2 31759 subfaclefac 31761 subfacp1lem1 31764 erdszelem10 31785 erdsze2lem1 31788 snmlff 31914 bcprod 32222 bj-finsumval0 33752 eldioph2lem1 38293 rp-isfinite5 38830 rp-isfinite6 38831 stoweidlem38 41192 dirkertrigeq 41255 etransclem32 41420 nn0mulfsum 43443 aacllem 43663 |
Copyright terms: Public domain | W3C validator |