let x0 be Real; :: thesis: for f being PartFunc of REAL,REAL st ( f is_divergent_to+infty_in x0 or f is_divergent_to-infty_in x0 ) holds
abs f is_divergent_to+infty_in x0

let f be PartFunc of REAL,REAL; :: thesis: ( ( f is_divergent_to+infty_in x0 or f is_divergent_to-infty_in x0 ) implies abs f is_divergent_to+infty_in x0 )
assume A1: ( f is_divergent_to+infty_in x0 or f is_divergent_to-infty_in x0 ) ; :: thesis: abs f is_divergent_to+infty_in x0
now :: thesis: abs f is_divergent_to+infty_in x0
per cases ( f is_divergent_to+infty_in x0 or f is_divergent_to-infty_in x0 ) by A1;
suppose A2: f is_divergent_to+infty_in x0 ; :: thesis: abs f is_divergent_to+infty_in x0
A3: now :: thesis: for seq being Real_Sequence st seq is convergent & lim seq = x0 & rng seq c= (dom (abs f)) \ {x0} holds
(abs f) /* seq is divergent_to+infty
let seq be Real_Sequence; :: thesis: ( seq is convergent & lim seq = x0 & rng seq c= (dom (abs f)) \ {x0} implies (abs f) /* seq is divergent_to+infty )
assume that
A4: seq is convergent and
A5: lim seq = x0 and
A6: rng seq c= (dom (abs f)) \ {x0} ; :: thesis: (abs f) /* seq is divergent_to+infty
A7: rng seq c= (dom f) \ {x0} by A6, VALUED_1:def 11;
then f /* seq is divergent_to+infty by A2, A4, A5;
then A8: abs (f /* seq) is divergent_to+infty by LIMFUNC1:25;
rng seq c= dom f by A7, XBOOLE_1:1;
hence (abs f) /* seq is divergent_to+infty by A8, RFUNCT_2:10; :: thesis: verum
end;
now :: thesis: for r1, r2 being Real st r1 < x0 & x0 < r2 holds
ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) )
let r1, r2 be Real; :: thesis: ( r1 < x0 & x0 < r2 implies ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) ) )

assume that
A9: r1 < x0 and
A10: x0 < r2 ; :: thesis: ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) )

consider g1, g2 being Real such that
A11: r1 < g1 and
A12: g1 < x0 and
A13: g1 in dom f and
A14: g2 < r2 and
A15: x0 < g2 and
A16: g2 in dom f by A2, A9, A10;
take g1 = g1; :: thesis: ex g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) )

take g2 = g2; :: thesis: ( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) )
thus ( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) ) by A11, A12, A13, A14, A15, A16, VALUED_1:def 11; :: thesis: verum
end;
hence abs f is_divergent_to+infty_in x0 by A3; :: thesis: verum
end;
suppose A17: f is_divergent_to-infty_in x0 ; :: thesis: abs f is_divergent_to+infty_in x0
A18: now :: thesis: for seq being Real_Sequence st seq is convergent & lim seq = x0 & rng seq c= (dom (abs f)) \ {x0} holds
(abs f) /* seq is divergent_to+infty
let seq be Real_Sequence; :: thesis: ( seq is convergent & lim seq = x0 & rng seq c= (dom (abs f)) \ {x0} implies (abs f) /* seq is divergent_to+infty )
assume that
A19: seq is convergent and
A20: lim seq = x0 and
A21: rng seq c= (dom (abs f)) \ {x0} ; :: thesis: (abs f) /* seq is divergent_to+infty
A22: rng seq c= (dom f) \ {x0} by A21, VALUED_1:def 11;
then f /* seq is divergent_to-infty by A17, A19, A20;
then A23: abs (f /* seq) is divergent_to+infty by LIMFUNC1:25;
rng seq c= dom f by A22, XBOOLE_1:1;
hence (abs f) /* seq is divergent_to+infty by A23, RFUNCT_2:10; :: thesis: verum
end;
now :: thesis: for r1, r2 being Real st r1 < x0 & x0 < r2 holds
ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) )
let r1, r2 be Real; :: thesis: ( r1 < x0 & x0 < r2 implies ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) ) )

assume that
A24: r1 < x0 and
A25: x0 < r2 ; :: thesis: ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) )

consider g1, g2 being Real such that
A26: r1 < g1 and
A27: g1 < x0 and
A28: g1 in dom f and
A29: g2 < r2 and
A30: x0 < g2 and
A31: g2 in dom f by A17, A24, A25;
take g1 = g1; :: thesis: ex g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) )

take g2 = g2; :: thesis: ( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) )
thus ( r1 < g1 & g1 < x0 & g1 in dom (abs f) & g2 < r2 & x0 < g2 & g2 in dom (abs f) ) by A26, A27, A28, A29, A30, A31, VALUED_1:def 11; :: thesis: verum
end;
hence abs f is_divergent_to+infty_in x0 by A18; :: thesis: verum
end;
end;
end;
hence abs f is_divergent_to+infty_in x0 ; :: thesis: verum