set C = [.0,1.];
defpred S1[ Real, Real] means $1 + $2 > 1;
deffunc H1( Element of [.0,1.], Element of [.0,1.]) -> Element of [.0,1.] = In ((min ($1,$2)),[.0,1.]);
deffunc H2( Element of [.0,1.], Element of [.0,1.]) -> Element of [.0,1.] = In (0,[.0,1.]);
ex f being Function of [:[.0,1.],[.0,1.]:],[.0,1.] st
for c, d being Element of [.0,1.] st [c,d] in dom f holds
( ( S1[c,d] implies f . [c,d] = H1(c,d) ) & ( not S1[c,d] implies f . [c,d] = H2(c,d) ) )
from SCHEME1:sch 21();
then consider f being Function of [:[.0,1.],[.0,1.]:],[.0,1.] such that
A1:
for c, d being Element of [.0,1.] st [c,d] in dom f holds
( ( S1[c,d] implies f . [c,d] = H1(c,d) ) & ( not S1[c,d] implies f . [c,d] = H2(c,d) ) )
;
take
f
; for a, b being Element of [.0,1.] holds
( ( a + b > 1 implies f . (a,b) = min (a,b) ) & ( a + b <= 1 implies f . (a,b) = 0 ) )
A0:
dom f = [:[.0,1.],[.0,1.]:]
by FUNCT_2:def 1;
let a, b be Element of [.0,1.]; ( ( a + b > 1 implies f . (a,b) = min (a,b) ) & ( a + b <= 1 implies f . (a,b) = 0 ) )
cc:
( min (a,b) = a or min (a,b) = b )
by XXREAL_0:15;
AA:
[a,b] in dom f
by A0, ZFMISC_1:87;
( ( a + b > 1 implies f . (a,b) = min (a,b) ) & ( a + b <= 1 implies f . (a,b) = 0 ) )
hence
( ( a + b > 1 implies f . (a,b) = min (a,b) ) & ( a + b <= 1 implies f . (a,b) = 0 ) )
; verum