let a, b be Real; :: thesis: for I being Interval holds (AffineMap (a,b)) .: I is Interval
let I be Interval; :: thesis: (AffineMap (a,b)) .: I is Interval
set f = AffineMap (a,b);
per cases ( a = 0 or 0 < a or a < 0 ) ;
suppose a = 0 ; :: thesis: (AffineMap (a,b)) .: I is Interval
then ( (AffineMap (a,b)) .: I = {} or (AffineMap (a,b)) .: I = {b} ) by Lm1, ZFMISC_1:33;
then ( (AffineMap (a,b)) .: I = {} or (AffineMap (a,b)) .: I = [.b,b.] ) by XXREAL_1:17;
hence (AffineMap (a,b)) .: I is Interval ; :: thesis: verum
end;
suppose A1: ( 0 < a or a < 0 ) ; :: thesis: (AffineMap (a,b)) .: I is Interval
for r, s being ExtReal st r in (AffineMap (a,b)) .: I & s in (AffineMap (a,b)) .: I holds
[.r,s.] c= (AffineMap (a,b)) .: I
proof
let r, s be ExtReal; :: thesis: ( r in (AffineMap (a,b)) .: I & s in (AffineMap (a,b)) .: I implies [.r,s.] c= (AffineMap (a,b)) .: I )
assume A2: ( r in (AffineMap (a,b)) .: I & s in (AffineMap (a,b)) .: I ) ; :: thesis: [.r,s.] c= (AffineMap (a,b)) .: I
then consider x being Element of REAL such that
A3: ( x in I & r = (AffineMap (a,b)) . x ) by FUNCT_2:65;
consider y being Element of REAL such that
A4: ( y in I & s = (AffineMap (a,b)) . y ) by A2, FUNCT_2:65;
A5: ( [.x,y.] c= I & [.y,x.] c= I ) by A3, A4, XXREAL_2:def 12;
for z being object st z in [.r,s.] holds
z in (AffineMap (a,b)) .: I
proof
let z be object ; :: thesis: ( z in [.r,s.] implies z in (AffineMap (a,b)) .: I )
assume A6: z in [.r,s.] ; :: thesis: z in (AffineMap (a,b)) .: I
then reconsider u = z as ExtReal ;
( r = (a * x) + b & s = (a * y) + b ) by A3, A4, FCONT_1:def 4;
then ( (a * x) + b <= u & u <= (a * y) + b ) by A6, XXREAL_1:1;
then ( ((a * x) + b) - b <= u - b & u - b <= ((a * y) + b) - b ) by XXREAL_3:37;
then ( ( (a * x) / a <= (u - b) / a & (u - b) / a <= (a * y) / a ) or ( (a * y) / a <= (u - b) / a & (u - b) / a <= (a * x) / a ) ) by A1, XXREAL_3:103, XXREAL_3:79;
then ( ( x <= (u - b) / a & (u - b) / a <= y ) or ( y <= (u - b) / a & (u - b) / a <= x ) ) by A1, XXREAL_3:88;
then A7: (u - b) / a in I by A5, XXREAL_1:1;
dom (AffineMap (a,b)) = REAL by FUNCT_2:def 1;
then A8: (AffineMap (a,b)) . ((u - b) / a) in (AffineMap (a,b)) .: I by A7, FUNCT_1:def 6;
reconsider uba = (u - b) / a as Real by A7;
(a * uba) + b in (AffineMap (a,b)) .: I by A8, FCONT_1:def 4;
then ((a * (a ")) * (u - b)) + b in (AffineMap (a,b)) .: I by XXREAL_3:66;
then (1 * (u - b)) + b in (AffineMap (a,b)) .: I by A1, XCMPLX_0:def 7;
then (u - b) + b in (AffineMap (a,b)) .: I by XXREAL_3:81;
hence z in (AffineMap (a,b)) .: I by XXREAL_3:22; :: thesis: verum
end;
hence [.r,s.] c= (AffineMap (a,b)) .: I ; :: thesis: verum
end;
hence (AffineMap (a,b)) .: I is Interval by XXREAL_2:def 12; :: thesis: verum
end;
end;