let x0 be Real; :: thesis: for r being real number
for f being PartFunc of REAL ,REAL st f is_continuous_in x0 & f . x0 <> r & ex N being Neighbourhood of x0 st N c= dom f holds
ex N being Neighbourhood of x0 st
( N c= dom f & ( for g being Real st g in N holds
f . g <> r ) )
let r be real number ; :: thesis: for f being PartFunc of REAL ,REAL st f is_continuous_in x0 & f . x0 <> r & ex N being Neighbourhood of x0 st N c= dom f holds
ex N being Neighbourhood of x0 st
( N c= dom f & ( for g being Real st g in N holds
f . g <> r ) )
let f be PartFunc of REAL ,REAL ; :: thesis: ( f is_continuous_in x0 & f . x0 <> r & ex N being Neighbourhood of x0 st N c= dom f implies ex N being Neighbourhood of x0 st
( N c= dom f & ( for g being Real st g in N holds
f . g <> r ) ) )
assume A1:
( f is_continuous_in x0 & f . x0 <> r )
; :: thesis: ( for N being Neighbourhood of x0 holds not N c= dom f or ex N being Neighbourhood of x0 st
( N c= dom f & ( for g being Real st g in N holds
f . g <> r ) ) )
given N being Neighbourhood of x0 such that A2:
N c= dom f
; :: thesis: ex N being Neighbourhood of x0 st
( N c= dom f & ( for g being Real st g in N holds
f . g <> r ) )
assume A3:
for N being Neighbourhood of x0 holds
( not N c= dom f or ex g being Real st
( g in N & f . g = r ) )
; :: thesis: contradiction
consider p being real number such that
A4:
( 0 < p & N = ].(x0 - p),(x0 + p).[ )
by RCOMP_1:def 7;
A5:
p is Real
by XREAL_0:def 1;
deffunc H1( Element of NAT ) -> Element of REAL = x0 - (p / ($1 + 1));
consider a being Real_Sequence such that
A6:
for n being Element of NAT holds a . n = H1(n)
from SEQ_1:sch 1();
deffunc H2( Element of NAT ) -> Element of REAL = x0 + (p / ($1 + 1));
consider b being Real_Sequence such that
A7:
for n being Element of NAT holds b . n = H2(n)
from SEQ_1:sch 1();
defpred S1[ Element of NAT , real number ] means ( x0 - (p / ($1 + 1)) < $2 & $2 < x0 + (p / ($1 + 1)) & f . $2 = r & $2 in dom f );
A8:
for n being Element of NAT ex g being Real st S1[n,g]
consider d being Real_Sequence such that
A15:
for n being Element of NAT holds S1[n,d . n]
from FUNCT_2:sch 3(A8);
A16:
( a is convergent & lim a = x0 )
by A5, A6, Th13;
A17:
( b is convergent & lim b = x0 )
by A5, A7, Th14;
then A19:
d is convergent
by A16, A17, SEQ_2:33;
A20:
lim d = x0
by A16, A17, A18, SEQ_2:34;
A21:
rng d c= dom f
then A22:
( f /* d is convergent & f . x0 = lim (f /* d) )
by A1, A19, A20, FCONT_1:def 1;
hence
contradiction
by A1, A22, SEQ_2:def 7; :: thesis: verum