| 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 2737 | . . . 4 ⊢ (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω) = (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω) | |
| 2 | 1 | cardfz 13907 | . . 3 ⊢ (𝑁 ∈ ℕ0 → (card‘(1...𝑁)) = (◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘𝑁)) |
| 3 | 2 | fveq2d 6848 | . 2 ⊢ (𝑁 ∈ ℕ0 → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(card‘(1...𝑁))) = ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘𝑁))) |
| 4 | fzfid 13910 | . . 3 ⊢ (𝑁 ∈ ℕ0 → (1...𝑁) ∈ Fin) | |
| 5 | 1 | hashgval 14270 | . . 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 13908 | . . 3 ⊢ (rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω–1-1-onto→ℕ0 |
| 8 | f1ocnvfv2 7235 | . . 3 ⊢ (((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω):ω–1-1-onto→ℕ0 ∧ 𝑁 ∈ ℕ0) → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘𝑁)) = 𝑁) | |
| 9 | 7, 8 | mpan 691 | . 2 ⊢ (𝑁 ∈ ℕ0 → ((rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘(◡(rec((𝑥 ∈ V ↦ (𝑥 + 1)), 0) ↾ ω)‘𝑁)) = 𝑁) |
| 10 | 3, 6, 9 | 3eqtr3d 2780 | 1 ⊢ (𝑁 ∈ ℕ0 → (♯‘(1...𝑁)) = 𝑁) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 = wceq 1542 ∈ wcel 2114 Vcvv 3442 ↦ cmpt 5181 ◡ccnv 5633 ↾ cres 5636 –1-1-onto→wf1o 6501 ‘cfv 6502 (class class class)co 7370 ωcom 7820 reccrdg 8352 Fincfn 8897 cardccrd 9861 0cc0 11040 1c1 11041 + caddc 11043 ℕ0cn0 12415 ...cfz 13437 ♯chash 14267 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-10 2147 ax-11 2163 ax-12 2185 ax-ext 2709 ax-sep 5245 ax-nul 5255 ax-pow 5314 ax-pr 5381 ax-un 7692 ax-cnex 11096 ax-resscn 11097 ax-1cn 11098 ax-icn 11099 ax-addcl 11100 ax-addrcl 11101 ax-mulcl 11102 ax-mulrcl 11103 ax-mulcom 11104 ax-addass 11105 ax-mulass 11106 ax-distr 11107 ax-i2m1 11108 ax-1ne0 11109 ax-1rid 11110 ax-rnegex 11111 ax-rrecex 11112 ax-cnre 11113 ax-pre-lttri 11114 ax-pre-lttrn 11115 ax-pre-ltadd 11116 ax-pre-mulgt0 11117 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3or 1088 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-nf 1786 df-sb 2069 df-mo 2540 df-eu 2570 df-clab 2716 df-cleq 2729 df-clel 2812 df-nfc 2886 df-ne 2934 df-nel 3038 df-ral 3053 df-rex 3063 df-reu 3353 df-rab 3402 df-v 3444 df-sbc 3743 df-csb 3852 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-pss 3923 df-nul 4288 df-if 4482 df-pw 4558 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-int 4905 df-iun 4950 df-br 5101 df-opab 5163 df-mpt 5182 df-tr 5208 df-id 5529 df-eprel 5534 df-po 5542 df-so 5543 df-fr 5587 df-we 5589 df-xp 5640 df-rel 5641 df-cnv 5642 df-co 5643 df-dm 5644 df-rn 5645 df-res 5646 df-ima 5647 df-pred 6269 df-ord 6330 df-on 6331 df-lim 6332 df-suc 6333 df-iota 6458 df-fun 6504 df-fn 6505 df-f 6506 df-f1 6507 df-fo 6508 df-f1o 6509 df-fv 6510 df-riota 7327 df-ov 7373 df-oprab 7374 df-mpo 7375 df-om 7821 df-1st 7945 df-2nd 7946 df-frecs 8235 df-wrecs 8266 df-recs 8315 df-rdg 8353 df-1o 8409 df-er 8647 df-en 8898 df-dom 8899 df-sdom 8900 df-fin 8901 df-card 9865 df-pnf 11182 df-mnf 11183 df-xr 11184 df-ltxr 11185 df-le 11186 df-sub 11380 df-neg 11381 df-nn 12160 df-n0 12416 df-z 12503 df-uz 12766 df-fz 13438 df-hash 14268 |
| This theorem is referenced by: fz1eqb 14291 isfinite4 14299 hasheq0 14300 hashsng 14306 fseq1hash 14313 hashdom 14316 hashfz 14364 ishashinf 14400 isercolllem2 15603 isercoll 15605 summolem3 15651 summolem2a 15652 o1fsum 15750 climcndslem1 15786 climcndslem2 15787 harmonic 15796 mertenslem1 15821 prodmolem3 15870 prodmolem2a 15871 risefallfac 15961 bpolylem 15985 phicl2 16709 phibnd 16712 hashdvds 16716 phiprmpw 16717 eulerth 16724 pcfac 16841 prmreclem2 16859 prmreclem3 16860 prmreclem5 16862 4sqlem11 16897 vdwlem12 16934 ramub2 16956 ramlb 16961 0ram 16962 ram0 16964 dfod2 19510 gsumval3 19853 uniioombllem4 25560 birthdaylem2 26935 birthdaylem3 26936 basellem4 27067 basellem5 27068 basellem8 27071 ppiltx 27160 vmasum 27200 logfac2 27201 chpval2 27202 chpchtsum 27203 chpub 27204 logfaclbnd 27206 bposlem1 27268 lgsqrlem4 27333 gausslemma2dlem6 27356 lgseisenlem4 27362 lgsquadlem1 27364 lgsquadlem2 27365 lgsquadlem3 27366 dchrmusum2 27478 dchrisum0lem2a 27501 mudivsum 27514 mulogsumlem 27515 selberglem2 27530 cyclnumvtx 29891 ballotlem1 34671 ballotlemfmpn 34679 derangen2 35396 subfaclefac 35398 subfacp1lem1 35401 erdszelem10 35422 erdsze2lem1 35425 snmlff 35551 bcprod 35960 bj-finsumval0 37567 hashscontpow 42521 sticksstones2 42546 sticksstones5 42549 sticksstones10 42554 sticksstones12a 42556 fz1sumconst 42708 eldioph2lem1 43146 rp-isfinite5 43902 rp-isfinite6 43903 stoweidlem38 46425 dirkertrigeq 46488 etransclem32 46653 nn0mulfsum 49013 aacllem 50189 |
| Copyright terms: Public domain | W3C validator |