let r be Real; for S being RealNormSpace
for E being Subset of S
for f being PartFunc of S,RNS_Real st f is_continuous_on E & dom f = E holds
ex H being Subset of S st
( H /\ E = f " ].-infty,r.[ & H is open )
let S be RealNormSpace; for E being Subset of S
for f being PartFunc of S,RNS_Real st f is_continuous_on E & dom f = E holds
ex H being Subset of S st
( H /\ E = f " ].-infty,r.[ & H is open )
let E be Subset of S; for f being PartFunc of S,RNS_Real st f is_continuous_on E & dom f = E holds
ex H being Subset of S st
( H /\ E = f " ].-infty,r.[ & H is open )
let f be PartFunc of S,RNS_Real; ( f is_continuous_on E & dom f = E implies ex H being Subset of S st
( H /\ E = f " ].-infty,r.[ & H is open ) )
assume that
A1:
f is_continuous_on E
and
A2:
dom f = E
; ex H being Subset of S st
( H /\ E = f " ].-infty,r.[ & H is open )
A3:
now for z being object st z in f " ].-infty,r.[ holds
ex t being Point of S st
( t = z & ex s being Real st
( 0 < s & ( for t1 being object st t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) ) )let z be
object ;
( z in f " ].-infty,r.[ implies ex t being Point of S st
( t = z & ex s being Real st
( 0 < s & ( for t1 being object st t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) ) ) )assume A4:
z in f " ].-infty,r.[
;
ex t being Point of S st
( t = z & ex s being Real st
( 0 < s & ( for t1 being object st t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) ) )then A5:
(
z in dom f &
f . z in ].-infty,r.[ )
by FUNCT_1:def 7;
then A6:
ex
t being
Real st
(
t = f . z &
-infty < t &
t < r )
;
reconsider t =
z as
Point of
S by A4;
take t =
t;
( t = z & ex s being Real st
( 0 < s & ( for t1 being object st t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) ) )thus
t = z
;
ex s being Real st
( 0 < s & ( for t1 being object st t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) )reconsider y =
f . t as
Real ;
set e =
r - y;
consider s being
Real such that A7:
(
0 < s & ( for
t1 being
Point of
S st
t1 in E &
||.(t1 - t).|| < s holds
||.((f /. t1) - (f /. t)).|| < r - y ) )
by A2, A5, A6, A1, NFCONT_1:19, XREAL_1:50;
take s =
s;
( 0 < s & ( for t1 being object st t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) )thus
0 < s
by A7;
for t1 being object st t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[thus
for
t1 being
object st
t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[
verumproof
let t1 be
object ;
( t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } implies f . t1 in ].-infty,r.[ )
assume A8:
t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s }
;
f . t1 in ].-infty,r.[
then A9:
(
t1 in E &
t1 in { t1 where t1 is Point of S : ||.(t1 - t).|| < s } )
by XBOOLE_0:def 4;
reconsider y0 =
t1 as
Point of
S by A8;
A10:
ex
y1 being
Point of
S st
(
y0 = y1 &
||.(y1 - t).|| < s )
by A9;
reconsider r1 =
f /. y0,
r2 =
f /. t as
Real ;
A11:
r2 = f . t
by A5, PARTFUN1:def 6;
(f /. y0) - (f /. t) = r1 - r2
by DUALSP03:4;
then
||.((f /. y0) - (f /. t)).|| = |.(r1 - r2).|
by EUCLID:def 2;
then
r1 in ].(r2 - (r - y)),(r2 + (r - y)).[
by A7, A9, A10, RCOMP_1:1;
then
ex
g being
Real st
(
g = r1 &
r2 - (r - y) < g &
g < r2 + (r - y) )
;
then
(
-infty < r1 &
r1 < r )
by A11, XXREAL_0:12;
then
r1 in ].-infty,r.[
;
hence
f . t1 in ].-infty,r.[
by A9, A1, PARTFUN1:def 6;
verum
end; end;
defpred S1[ object , object ] means ex t being Point of S ex s being Real st
( t = $1 & s = $2 & 0 < s & ( for t1 being object st t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) );
A12:
for z being object st z in f " ].-infty,r.[ holds
ex y being object st
( y in REAL & S1[z,y] )
proof
let z be
object ;
( z in f " ].-infty,r.[ implies ex y being object st
( y in REAL & S1[z,y] ) )
assume
z in f " ].-infty,r.[
;
ex y being object st
( y in REAL & S1[z,y] )
then consider t being
Point of
S such that A13:
(
t = z & ex
s being
Real st
(
0 < s & ( for
t1 being
object st
t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) ) )
by A3;
consider s being
Real such that A14:
(
0 < s & ( for
t1 being
object st
t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) )
by A13;
reconsider y =
s as
Element of
REAL by XREAL_0:def 1;
take
y
;
( y in REAL & S1[z,y] )
thus
y in REAL
;
S1[z,y]
thus
S1[
z,
y]
by A13, A14;
verum
end;
consider R being Function of (f " ].-infty,r.[),REAL such that
A15:
for x being object st x in f " ].-infty,r.[ holds
S1[x,R . x]
from FUNCT_2:sch 1(A12);
defpred S2[ object , object ] means ex t being Point of S st
( t = $1 & 0 < R . $1 & $2 = { t1 where t1 is Point of S : ||.(t1 - t).|| < R . $1 } );
A16:
for z being object st z in f " ].-infty,r.[ holds
ex y being object st
( y in bool the carrier of S & S2[z,y] )
consider B being Function of (f " ].-infty,r.[),(bool the carrier of S) such that
A18:
for x being object st x in f " ].-infty,r.[ holds
S2[x,B . x]
from FUNCT_2:sch 1(A16);
set H = union (rng B);
reconsider H = union (rng B) as Subset of S ;
take
H
; ( H /\ E = f " ].-infty,r.[ & H is open )
for z being object holds
( z in H /\ E iff z in f " ].-infty,r.[ )
proof
let z be
object ;
( z in H /\ E iff z in f " ].-infty,r.[ )
hereby ( z in f " ].-infty,r.[ implies z in H /\ E )
assume
z in H /\ E
;
z in f " ].-infty,r.[then A19:
(
z in H &
z in E )
by XBOOLE_0:def 4;
then consider Y being
set such that A20:
(
z in Y &
Y in rng B )
by TARSKI:def 4;
consider x being
object such that A21:
(
x in dom B &
Y = B . x )
by FUNCT_1:def 3, A20;
A22:
z in E /\ (B . x)
by A20, A21, A19, XBOOLE_0:def 4;
A23:
ex
t being
Point of
S st
(
t = x &
0 < R . x &
B . x = { t1 where t1 is Point of S : ||.(t1 - t).|| < R . x } )
by A18, A21;
ex
t being
Point of
S ex
s being
Real st
(
t = x &
s = R . x &
0 < s & ( for
t1 being
object st
t1 in E /\ { t1 where t1 is Point of S : ||.(t1 - t).|| < s } holds
f . t1 in ].-infty,r.[ ) )
by A15, A21;
then
f . z in ].-infty,r.[
by A22, A23;
hence
z in f " ].-infty,r.[
by A1, A19, FUNCT_1:def 7;
verum
end;
assume A24:
z in f " ].-infty,r.[
;
z in H /\ E
then reconsider z0 =
z as
Point of
S ;
A25:
(
z in dom f &
f . z in ].-infty,r.[ )
by A24, FUNCT_1:def 7;
consider t being
Point of
S such that A26:
(
t = z &
0 < R . z &
B . z = { t1 where t1 is Point of S : ||.(t1 - t).|| < R . z } )
by A18, A24;
||.(z0 - z0).|| = ||.(0. S).||
by RLVECT_1:15;
then A27:
z0 in B . z0
by A26;
z0 in dom B
by A24, FUNCT_2:def 1;
then
B . z0 in rng B
by FUNCT_1:3;
then
z in union (rng B)
by A27, TARSKI:def 4;
hence
z in H /\ E
by A2, A25, XBOOLE_0:def 4;
verum
end;
hence
H /\ E = f " ].-infty,r.[
by TARSKI:2; H is open
for z being Point of S st z in H holds
ex N being Neighbourhood of z st N c= H
hence
H is open
by NDIFF_1:5; verum