let X, Y be finite set ; for x, y being set st not x in X & y in Y holds
card (Funcs (X,Y)) = card { F where F is Function of (X \/ {x}),Y : F . x = y }
let x, y be set ; ( not x in X & y in Y implies card (Funcs (X,Y)) = card { F where F is Function of (X \/ {x}),Y : F . x = y } )
assume that
A1:
not x in X
and
A2:
y in Y
; card (Funcs (X,Y)) = card { F where F is Function of (X \/ {x}),Y : F . x = y }
set F2 = { F where F is Function of (X \/ {x}),Y : F . x = y } ;
set F1 = { F where F is Function of (X \/ {x}),(Y \/ {y}) : ( rng (F | X) c= Y & F . x = y ) } ;
{y} c= Y
by A2, ZFMISC_1:31;
then A3:
Y = Y \/ {y}
by XBOOLE_1:12;
A4:
{ F where F is Function of (X \/ {x}),Y : F . x = y } c= { F where F is Function of (X \/ {x}),(Y \/ {y}) : ( rng (F | X) c= Y & F . x = y ) }
{ F where F is Function of (X \/ {x}),(Y \/ {y}) : ( rng (F | X) c= Y & F . x = y ) } c= { F where F is Function of (X \/ {x}),Y : F . x = y }
then
{ F where F is Function of (X \/ {x}),(Y \/ {y}) : ( rng (F | X) c= Y & F . x = y ) } = { F where F is Function of (X \/ {x}),Y : F . x = y }
by A4;
hence
card (Funcs (X,Y)) = card { F where F is Function of (X \/ {x}),Y : F . x = y }
by A1, A2, Th1; verum