Metamath Proof Explorer


Theorem hashinf

Description: The value of the # function on an infinite set. (Contributed by Mario Carneiro, 13-Jul-2014)

Ref Expression
Assertion hashinf AV¬AFinA=+∞

Proof

Step Hyp Ref Expression
1 elex AVAV
2 eldif AVFinAV¬AFin
3 df-hash .=recxVx+10ωcardVFin×+∞
4 3 reseq1i .VFin=recxVx+10ωcardVFin×+∞VFin
5 resundir recxVx+10ωcardVFin×+∞VFin=recxVx+10ωcardVFinVFin×+∞VFin
6 disjdif FinVFin=
7 eqid recxVx+10ω=recxVx+10ω
8 eqid recxVx+10ωcard=recxVx+10ωcard
9 7 8 hashkf recxVx+10ωcard:Fin0
10 ffn recxVx+10ωcard:Fin0recxVx+10ωcardFnFin
11 fnresdisj recxVx+10ωcardFnFinFinVFin=recxVx+10ωcardVFin=
12 9 10 11 mp2b FinVFin=recxVx+10ωcardVFin=
13 6 12 mpbi recxVx+10ωcardVFin=
14 pnfex +∞V
15 14 fconst VFin×+∞:VFin+∞
16 ffn VFin×+∞:VFin+∞VFin×+∞FnVFin
17 fnresdm VFin×+∞FnVFinVFin×+∞VFin=VFin×+∞
18 15 16 17 mp2b VFin×+∞VFin=VFin×+∞
19 13 18 uneq12i recxVx+10ωcardVFinVFin×+∞VFin=VFin×+∞
20 uncom VFin×+∞=VFin×+∞
21 un0 VFin×+∞=VFin×+∞
22 19 20 21 3eqtri recxVx+10ωcardVFinVFin×+∞VFin=VFin×+∞
23 4 5 22 3eqtri .VFin=VFin×+∞
24 23 fveq1i .VFinA=VFin×+∞A
25 fvres AVFin.VFinA=A
26 14 fvconst2 AVFinVFin×+∞A=+∞
27 24 25 26 3eqtr3a AVFinA=+∞
28 2 27 sylbir AV¬AFinA=+∞
29 1 28 sylan AV¬AFinA=+∞