let X, Y be set ; for f, g being PartFunc of X,Y st ( Y = {} implies X = {} ) & f tolerates g holds
ex h being PartFunc of X,Y st
( h is total & f tolerates h & g tolerates h )
let f, g be PartFunc of X,Y; ( ( Y = {} implies X = {} ) & f tolerates g implies ex h being PartFunc of X,Y st
( h is total & f tolerates h & g tolerates h ) )
assume that
A1:
( Y = {} implies X = {} )
and
A2:
f tolerates g
; ex h being PartFunc of X,Y st
( h is total & f tolerates h & g tolerates h )
now ex h being PartFunc of X,Y st
( h is total & f tolerates h & g tolerates h )per cases
( Y = {} or Y <> {} )
;
suppose A4:
Y <> {}
;
ex h being PartFunc of X,Y st
( h is total & f tolerates h & g tolerates h )set y = the
Element of
Y;
defpred S1[
object ,
object ]
means ( ( $1
in dom f implies $2
= f . $1 ) & ( $1
in dom g implies $2
= g . $1 ) & ( not $1
in dom f & not $1
in dom g implies $2
= the
Element of
Y ) );
A5:
for
x being
object st
x in X holds
ex
y9 being
object st
S1[
x,
y9]
A9:
for
x,
y1,
y2 being
object st
x in X &
S1[
x,
y1] &
S1[
x,
y2] holds
y1 = y2
;
consider h being
Function such that A10:
dom h = X
and A11:
for
x being
object st
x in X holds
S1[
x,
h . x]
from FUNCT_1:sch 2(A9, A5);
rng h c= Y
then reconsider h9 =
h as
PartFunc of
X,
Y by A10, RELSET_1:4;
A17:
f tolerates h
A18:
g tolerates h
h9 is
total
by A10;
hence
ex
h being
PartFunc of
X,
Y st
(
h is
total &
f tolerates h &
g tolerates h )
by A17, A18;
verum end; end; end;
hence
ex h being PartFunc of X,Y st
( h is total & f tolerates h & g tolerates h )
; verum