let X be set ; for f being Function holds
( f = id X iff ( dom f = X & ( for x being object st x in X holds
f . x = x ) ) )
let f be Function; ( f = id X iff ( dom f = X & ( for x being object st x in X holds
f . x = x ) ) )
hereby ( dom f = X & ( for x being object st x in X holds
f . x = x ) implies f = id X )
end;
assume that
A4:
dom f = X
and
A5:
for x being object st x in X holds
f . x = x
; f = id X
now for x, y being object holds
( ( [x,y] in f implies ( x in X & x = y ) ) & ( x in X & x = y implies [x,y] in f ) )let x,
y be
object ;
( ( [x,y] in f implies ( x in X & x = y ) ) & ( x in X & x = y implies [x,y] in f ) )hereby ( x in X & x = y implies [x,y] in f )
end; assume A8:
x in X
;
( x = y implies [x,y] in f )then
f . x = x
by A5;
hence
(
x = y implies
[x,y] in f )
by A4, A8, Th1;
verum end;
hence
f = id X
by RELAT_1:def 10; verum