let X, Y, Z be non empty set ; for F being Function of X,Y
for G being Function of X,Z st ( for x, x9 being Element of X st F . x = F . x9 holds
G . x = G . x9 ) holds
ex H being Function of Y,Z st H * F = G
let F be Function of X,Y; for G being Function of X,Z st ( for x, x9 being Element of X st F . x = F . x9 holds
G . x = G . x9 ) holds
ex H being Function of Y,Z st H * F = G
let G be Function of X,Z; ( ( for x, x9 being Element of X st F . x = F . x9 holds
G . x = G . x9 ) implies ex H being Function of Y,Z st H * F = G )
defpred S1[ set , set ] means ( for x being Element of X holds not $1 = F . x or for x being Element of X st $1 = F . x holds
$2 = G . x );
assume A1:
for x, x9 being Element of X st F . x = F . x9 holds
G . x = G . x9
; ex H being Function of Y,Z st H * F = G
A2:
now let e be
set ;
( e in Y implies ex u being set st
( u in Z & S1[e,u] ) )assume
e in Y
;
ex u being set st
( u in Z & S1[e,u] )now per cases
( ex x being Element of X st e = F . x or for x being Element of X holds not e = F . x )
;
case
ex
x being
Element of
X st
e = F . x
;
ex u being Element of Z st
( u in Z & ( ex x being Element of X st e = F . x implies ex x being Element of X st
( e = F . x & u = G . x ) ) )then consider x being
Element of
X such that A3:
e = F . x
;
take u =
G . x;
( u in Z & ( ex x being Element of X st e = F . x implies ex x being Element of X st
( e = F . x & u = G . x ) ) )thus
(
u in Z & ( ex
x being
Element of
X st
e = F . x implies ex
x being
Element of
X st
(
e = F . x &
u = G . x ) ) )
by A3;
verum end; case A4:
for
x being
Element of
X holds not
e = F . x
;
ex u being set st
( u in Z & ( ex x being Element of X st e = F . x implies ex x being Element of X st
( e = F . x & u = G . x ) ) )consider u being
Element of
Z;
u in Z
;
hence
ex
u being
set st
(
u in Z & ( ex
x being
Element of
X st
e = F . x implies ex
x being
Element of
X st
(
e = F . x &
u = G . x ) ) )
by A4;
verum end; end; end; then consider u being
set such that A5:
u in Z
and A6:
( ex
x being
Element of
X st
e = F . x implies ex
x being
Element of
X st
(
e = F . x &
u = G . x ) )
;
take u =
u;
( u in Z & S1[e,u] )thus
u in Z
by A5;
S1[e,u]thus
S1[
e,
u]
by A1, A6;
verum end;
consider H being Function of Y,Z such that
A7:
for e being set st e in Y holds
S1[e,H . e]
from FUNCT_2:sch 1(A2);
take
H
; H * F = G
hence
H * F = G
by FUNCT_2:113; verum