let A be Interval; for x being Real st x <> 0 & A is closed_interval holds
x ** A is closed_interval
let x be Real; ( x <> 0 & A is closed_interval implies x ** A is closed_interval )
assume A1:
x <> 0
; ( not A is closed_interval or x ** A is closed_interval )
assume
A is closed_interval
; x ** A is closed_interval
then consider a, b being real number such that
A2:
a <= b
and
A3:
A = [.a,b.]
by MEASURE5:def 6;
reconsider a = a, b = b as R_eal by XXREAL_0:def 1;
now per cases
( x < 0 or x = 0 or 0 < x )
;
case A4:
x < 0
;
x ** A is closed_interval now reconsider s =
a,
r =
b as
Real by Th6;
reconsider d =
x * s as
R_eal by XXREAL_0:def 1;
reconsider g =
x * r as
R_eal by XXREAL_0:def 1;
A5:
b in REAL
by Th6;
A6:
x * r <= x * s
by A2, A4, XREAL_1:67;
A7:
[.g,d.] c= x ** A
A14:
a in REAL
by Th6;
x ** A c= [.g,d.]
proof
let q be
set ;
TARSKI:def 3 ( not q in x ** A or q in [.g,d.] )
assume A15:
q in x ** A
;
q in [.g,d.]
then reconsider q =
q as
Real ;
consider z2 being
Real such that A16:
z2 in A
and A17:
q = x * z2
by A15, INTEGRA2:def 2;
reconsider z2 =
z2 as
R_eal by XXREAL_0:def 1;
a <= z2
by A3, A16, XXREAL_1:1;
then consider 1o,
1ra being
Real such that A18:
(
1o = a &
1ra = z2 )
and A19:
1o <= 1ra
by A14;
z2 <= b
by A3, A16, XXREAL_1:1;
then consider 2o,
2r being
Real such that A20:
(
2o = z2 &
2r = b )
and A21:
2o <= 2r
by A5;
A22:
x * 2r <= x * 2o
by A4, A21, XREAL_1:67;
(
x * 1o is
R_eal &
x * 1ra is
R_eal )
by XXREAL_0:def 1;
then consider 1o1,
1r1 being
R_eal such that A23:
(
1o1 = x * 1o &
1r1 = x * 1ra )
;
1r1 <= 1o1
by A4, A19, A23, XREAL_1:67;
hence
q in [.g,d.]
by A17, A18, A20, A22, A23, XXREAL_1:1;
verum
end; then
x ** A = [.g,d.]
by A7, XBOOLE_0:def 10;
hence
x ** A is
closed_interval
by A6, MEASURE5:def 6;
verum end; hence
x ** A is
closed_interval
;
verum end; case A24:
0 < x
;
x ** A is closed_interval now per cases
( a in REAL & b in REAL )
by Th6;
case A25:
(
a in REAL &
b in REAL )
;
x ** A is closed_interval then reconsider r =
b as
Real ;
reconsider s =
a as
Real by A25;
reconsider g =
x * r as
R_eal by XXREAL_0:def 1;
x * s is
R_eal
by XXREAL_0:def 1;
then consider d being
R_eal such that A26:
d = x * s
;
A27:
[.d,g.] c= x ** A
A35:
x * s <= x * r
by A2, A24, XREAL_1:66;
x ** A c= [.d,g.]
proof
let q be
set ;
TARSKI:def 3 ( not q in x ** A or q in [.d,g.] )
assume A36:
q in x ** A
;
q in [.d,g.]
then reconsider q =
q as
Real ;
consider z2 being
Real such that A37:
z2 in A
and A38:
q = x * z2
by A36, INTEGRA2:def 2;
reconsider z2 =
z2 as
R_eal by XXREAL_0:def 1;
a <= z2
by A3, A37, XXREAL_1:1;
then consider 1o,
1ra being
Real such that A39:
(
1o = a &
1ra = z2 )
and A40:
1o <= 1ra
by A25;
z2 <= b
by A3, A37, XXREAL_1:1;
then consider 2o,
2r being
Real such that A41:
(
2o = z2 &
2r = b )
and A42:
2o <= 2r
by A25;
A43:
x * 2o <= x * 2r
by A24, A42, XREAL_1:66;
(
x * 1o is
R_eal &
x * 1ra is
R_eal )
by XXREAL_0:def 1;
then consider 1o1,
1r1 being
R_eal such that A44:
(
1o1 = x * 1o &
1r1 = x * 1ra )
;
1o1 <= 1r1
by A24, A40, A44, XREAL_1:66;
hence
q in [.d,g.]
by A26, A38, A39, A41, A43, A44, XXREAL_1:1;
verum
end; then
x ** A = [.d,g.]
by A27, XBOOLE_0:def 10;
hence
x ** A is
closed_interval
by A26, A35, MEASURE5:def 6;
verum end; end; end; hence
x ** A is
closed_interval
;
verum end; end; end;
hence
x ** A is closed_interval
; verum