let A be non empty 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 = [.a,b.]
by MEASURE5:def 3;
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 A3:
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;
A4:
b in REAL
by Th6;
A5:
[.g,d.] c= x ** A
A12:
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 A13:
q in x ** A
;
q in [.g,d.]
then reconsider q =
q as
Real ;
consider z2 being
Real such that A14:
z2 in A
and A15:
q = x * z2
by A13, INTEGRA2:39;
reconsider z2 =
z2 as
R_eal by XXREAL_0:def 1;
a <= z2
by A2, A14, XXREAL_1:1;
then consider 1o,
1ra being
Real such that A16:
(
1o = a &
1ra = z2 )
and A17:
1o <= 1ra
by A12;
z2 <= b
by A2, A14, XXREAL_1:1;
then consider 2o,
2r being
Real such that A18:
(
2o = z2 &
2r = b )
and A19:
2o <= 2r
by A4;
A20:
x * 2r <= x * 2o
by A3, A19, XREAL_1:65;
(
x * 1o is
R_eal &
x * 1ra is
R_eal )
by XXREAL_0:def 1;
then consider 1o1,
1r1 being
R_eal such that A21:
(
1o1 = x * 1o &
1r1 = x * 1ra )
;
1r1 <= 1o1
by A3, A17, A21, XREAL_1:65;
hence
q in [.g,d.]
by A15, A16, A18, A20, A21, XXREAL_1:1;
verum
end; then
x ** A = [.g,d.]
by A5, XBOOLE_0:def 10;
hence
x ** A is
closed_interval
by MEASURE5:def 3;
verum end; hence
x ** A is
closed_interval
;
verum end; case A22:
0 < x
;
x ** A is closed_interval now per cases
( a in REAL & b in REAL )
by Th6;
case A23:
(
a in REAL &
b in REAL )
;
x ** A is closed_interval then reconsider r =
b as
Real ;
reconsider s =
a as
Real by A23;
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 A24:
d = x * s
;
A25:
[.d,g.] c= x ** A
x ** A c= [.d,g.]
proof
let q be
set ;
TARSKI:def 3 ( not q in x ** A or q in [.d,g.] )
assume A33:
q in x ** A
;
q in [.d,g.]
then reconsider q =
q as
Real ;
consider z2 being
Real such that A34:
z2 in A
and A35:
q = x * z2
by A33, INTEGRA2:39;
reconsider z2 =
z2 as
R_eal by XXREAL_0:def 1;
a <= z2
by A2, A34, XXREAL_1:1;
then consider 1o,
1ra being
Real such that A36:
(
1o = a &
1ra = z2 )
and A37:
1o <= 1ra
by A23;
z2 <= b
by A2, A34, XXREAL_1:1;
then consider 2o,
2r being
Real such that A38:
(
2o = z2 &
2r = b )
and A39:
2o <= 2r
by A23;
A40:
x * 2o <= x * 2r
by A22, A39, XREAL_1:64;
(
x * 1o is
R_eal &
x * 1ra is
R_eal )
by XXREAL_0:def 1;
then consider 1o1,
1r1 being
R_eal such that A41:
(
1o1 = x * 1o &
1r1 = x * 1ra )
;
1o1 <= 1r1
by A22, A37, A41, XREAL_1:64;
hence
q in [.d,g.]
by A24, A35, A36, A38, A40, A41, XXREAL_1:1;
verum
end; then
x ** A = [.d,g.]
by A25, XBOOLE_0:def 10;
hence
x ** A is
closed_interval
by A24, MEASURE5:def 3;
verum end; end; end; hence
x ** A is
closed_interval
;
verum end; end; end;
hence
x ** A is closed_interval
; verum