deffunc H1( Real) -> set = (2 * $1) - 1;
deffunc H2( Real) -> set = $1 - (1 / 4);
deffunc H3( Real) -> set = (1 / 2) * $1;
defpred S1[ Real] means $1 > 3 / 4;
defpred S2[ Real] means ( $1 > 1 / 2 & $1 <= 3 / 4 );
defpred S3[ Real] means $1 <= 1 / 2;
A1: for c being Element of I[01] holds
( S3[c] or S2[c] or S1[c] ) ;
A2: for c being Element of I[01] holds
( ( S3[c] implies not S2[c] ) & ( S3[c] implies not S1[c] ) & ( S2[c] implies not S1[c] ) ) by XXREAL_0:2;
consider f being Function such that
A3: ( dom f = the carrier of I[01] & ( for c being Element of I[01] holds
( ( S3[c] implies f . c = H3(c) ) & ( S2[c] implies f . c = H2(c) ) & ( S1[c] implies f . c = H1(c) ) ) ) ) from BORSUK_6:sch 1(A2, A1);
for x being object st x in the carrier of I[01] holds
f . x in the carrier of I[01]
proof
let x be object ; :: thesis: ( x in the carrier of I[01] implies f . x in the carrier of I[01] )
assume x in the carrier of I[01] ; :: thesis: f . x in the carrier of I[01]
then reconsider x = x as Point of I[01] ;
per cases ( S3[x] or S2[x] or S1[x] ) ;
suppose S3[x] ; :: thesis: f . x in the carrier of I[01]
then f . x = (1 / 2) * x by A3;
then f . x is Point of I[01] by Th6;
hence f . x in the carrier of I[01] ; :: thesis: verum
end;
suppose A4: S2[x] ; :: thesis: f . x in the carrier of I[01]
then f . x = H2(x) by A3;
then f . x is Point of I[01] by A4, Th7;
hence f . x in the carrier of I[01] ; :: thesis: verum
end;
end;
end;
then reconsider f = f as Function of I[01],I[01] by A3, FUNCT_2:3;
for x being Point of I[01] holds
( ( x <= 1 / 2 implies f . x = (1 / 2) * x ) & ( x > 1 / 2 & x <= 3 / 4 implies f . x = x - (1 / 4) ) & ( x > 3 / 4 implies f . x = (2 * x) - 1 ) ) by A3;
hence ex b1 being Function of I[01],I[01] st
for x being Point of I[01] holds
( ( x <= 1 / 2 implies b1 . x = (1 / 2) * x ) & ( x > 1 / 2 & x <= 3 / 4 implies b1 . x = x - (1 / 4) ) & ( x > 3 / 4 implies b1 . x = (2 * x) - 1 ) ) ; :: thesis: verum