set f = {[1,1],[2,2]};
{[1,1],[2,2]} is Function-like
proof
let x,
y,
z be
set ;
:: according to FUNCT_1:def 1 :: thesis: ( [x,y] in {[1,1],[2,2]} & [x,z] in {[1,1],[2,2]} implies y = z )
assume
(
[x,y] in {[1,1],[2,2]} &
[x,z] in {[1,1],[2,2]} )
;
:: thesis: y = z
then
( (
[x,y] = [1,1] or
[x,y] = [2,2] ) & (
[x,z] = [1,1] or
[x,z] = [2,2] ) )
by TARSKI:def 2;
then
( ( (
x = 1 &
y = 1 ) or (
x = 2 &
y = 2 ) ) & ( (
x = 1 &
z = 1 ) or (
x = 2 &
z = 2 ) ) )
by ZFMISC_1:33;
hence
y = z
;
:: thesis: verum
end;
then reconsider f = {[1,1],[2,2]} as Function ;
take
f
; :: thesis: not f is constant
take
1
; :: according to FUNCT_1:def 16 :: thesis: ex y being set st
( 1 in dom f & y in dom f & not f . 1 = f . y )
take
2
; :: thesis: ( 1 in dom f & 2 in dom f & not f . 1 = f . 2 )
A:
( [1,1] in f & [2,2] in f )
by TARSKI:def 2;
hence
( 1 in dom f & 2 in dom f )
by RELAT_1:def 4; :: thesis: not f . 1 = f . 2
then
( f . 1 = 1 & f . 2 = 2 )
by A, Def4;
hence
not f . 1 = f . 2
; :: thesis: verum