let x0 be Real; :: thesis: for f being PartFunc of REAL,REAL st ( f is_right_divergent_to+infty_in x0 or f is_right_divergent_to-infty_in x0 ) & ( for r being Real st x0 < r holds
ex g being Real st
( g < r & x0 < g & g in dom f & f . g <> 0 ) ) holds
( f ^ is_right_convergent_in x0 & lim_right ((f ^),x0) = 0 )

let f be PartFunc of REAL,REAL; :: thesis: ( ( f is_right_divergent_to+infty_in x0 or f is_right_divergent_to-infty_in x0 ) & ( for r being Real st x0 < r holds
ex g being Real st
( g < r & x0 < g & g in dom f & f . g <> 0 ) ) implies ( f ^ is_right_convergent_in x0 & lim_right ((f ^),x0) = 0 ) )

assume A1: ( f is_right_divergent_to+infty_in x0 or f is_right_divergent_to-infty_in x0 ) ; :: thesis: ( ex r being Real st
( x0 < r & ( for g being Real holds
( not g < r or not x0 < g or not g in dom f or not f . g <> 0 ) ) ) or ( f ^ is_right_convergent_in x0 & lim_right ((f ^),x0) = 0 ) )

A2: now :: thesis: for seq being Real_Sequence st seq is convergent & lim seq = x0 & rng seq c= (dom (f ^)) /\ (right_open_halfline x0) holds
( (f ^) /* seq is convergent & lim ((f ^) /* seq) = 0 )
dom (f ^) = (dom f) \ (f " {0}) by RFUNCT_1:def 2;
then A3: dom (f ^) c= dom f by XBOOLE_1:36;
let seq be Real_Sequence; :: thesis: ( seq is convergent & lim seq = x0 & rng seq c= (dom (f ^)) /\ (right_open_halfline x0) implies ( (f ^) /* seq is convergent & lim ((f ^) /* seq) = 0 ) )
assume that
A4: seq is convergent and
A5: lim seq = x0 and
A6: rng seq c= (dom (f ^)) /\ (right_open_halfline x0) ; :: thesis: ( (f ^) /* seq is convergent & lim ((f ^) /* seq) = 0 )
(dom (f ^)) /\ (right_open_halfline x0) c= right_open_halfline x0 by XBOOLE_1:17;
then A7: rng seq c= right_open_halfline x0 by A6, XBOOLE_1:1;
A8: (dom (f ^)) /\ (right_open_halfline x0) c= dom (f ^) by XBOOLE_1:17;
then rng seq c= dom (f ^) by A6, XBOOLE_1:1;
then rng seq c= dom f by A3, XBOOLE_1:1;
then A9: rng seq c= (dom f) /\ (right_open_halfline x0) by A7, XBOOLE_1:19;
now :: thesis: ( (f ^) /* seq is convergent & lim ((f ^) /* seq) = 0 )end;
hence ( (f ^) /* seq is convergent & lim ((f ^) /* seq) = 0 ) ; :: thesis: verum
end;
assume A14: for r being Real st x0 < r holds
ex g being Real st
( g < r & x0 < g & g in dom f & f . g <> 0 ) ; :: thesis: ( f ^ is_right_convergent_in x0 & lim_right ((f ^),x0) = 0 )
now :: thesis: for r being Real st x0 < r holds
ex g being Real st
( g < r & x0 < g & g in dom (f ^) )
let r be Real; :: thesis: ( x0 < r implies ex g being Real st
( g < r & x0 < g & g in dom (f ^) ) )

assume x0 < r ; :: thesis: ex g being Real st
( g < r & x0 < g & g in dom (f ^) )

then consider g being Real such that
A15: g < r and
A16: x0 < g and
A17: g in dom f and
A18: f . g <> 0 by A14;
take g = g; :: thesis: ( g < r & x0 < g & g in dom (f ^) )
thus ( g < r & x0 < g ) by A15, A16; :: thesis: g in dom (f ^)
not f . g in {0} by A18, TARSKI:def 1;
then not g in f " {0} by FUNCT_1:def 7;
then g in (dom f) \ (f " {0}) by A17, XBOOLE_0:def 5;
hence g in dom (f ^) by RFUNCT_1:def 2; :: thesis: verum
end;
hence f ^ is_right_convergent_in x0 by A2; :: thesis: lim_right ((f ^),x0) = 0
hence lim_right ((f ^),x0) = 0 by A2, Def8; :: thesis: verum