let f be PartFunc of REAL,REAL; :: thesis: for b, c being Real st b <= c & left_closed_halfline c c= dom f & f | ['b,c'] is bounded & f is_-infty_improper_integrable_on b & f is_integrable_on ['b,c'] & improper_integral_-infty (f,b) = +infty holds
( f is_-infty_improper_integrable_on c & improper_integral_-infty (f,c) = +infty )

let b, c be Real; :: thesis: ( b <= c & left_closed_halfline c c= dom f & f | ['b,c'] is bounded & f is_-infty_improper_integrable_on b & f is_integrable_on ['b,c'] & improper_integral_-infty (f,b) = +infty implies ( f is_-infty_improper_integrable_on c & improper_integral_-infty (f,c) = +infty ) )
assume that
A1: b <= c and
A2: left_closed_halfline c c= dom f and
A3: f | ['b,c'] is bounded and
A4: f is_-infty_improper_integrable_on b and
A5: f is_integrable_on ['b,c'] and
A6: improper_integral_-infty (f,b) = +infty ; :: thesis: ( f is_-infty_improper_integrable_on c & improper_integral_-infty (f,c) = +infty )
consider I being PartFunc of REAL,REAL such that
A7: dom I = left_closed_halfline b and
A8: for x being Real st x in dom I holds
I . x = integral (f,x,b) and
A9: ( I is convergent_in-infty or I is divergent_in-infty_to+infty or I is divergent_in-infty_to-infty ) by A4;
improper_integral_-infty (f,b) <> infty_ext_left_integral (f,b) by A6;
then A10: not f is_-infty_ext_Riemann_integrable_on b by A4, Th22;
-infty < c by XREAL_0:def 1, XXREAL_0:12;
then reconsider AC = ].-infty,c.] as non empty Subset of REAL by XXREAL_1:2;
deffunc H1( Element of AC) -> Element of REAL = In ((integral (f,$1,c)),REAL);
consider Intf being Function of AC,REAL such that
A11: for x being Element of AC holds Intf . x = H1(x) from FUNCT_2:sch 4();
A12: dom Intf = AC by FUNCT_2:def 1;
then reconsider Intf = Intf as PartFunc of REAL,REAL by RELSET_1:5;
A13: for x being Real st x in dom Intf holds
Intf . x = integral (f,x,c)
proof
let x be Real; :: thesis: ( x in dom Intf implies Intf . x = integral (f,x,c) )
assume x in dom Intf ; :: thesis: Intf . x = integral (f,x,c)
then Intf . x = In ((integral (f,x,c)),REAL) by A11, A12;
hence Intf . x = integral (f,x,c) ; :: thesis: verum
end;
A14: for r being Real ex g being Real st
( g < r & g in dom Intf )
proof
let r be Real; :: thesis: ex g being Real st
( g < r & g in dom Intf )

consider g being Real such that
A15: ( g < r & g in dom I ) by A10, A6, A7, Def3, INTEGR10:def 6, A4, LIMFUNC1:48;
].-infty,b.] c= ].-infty,c.] by A1, XXREAL_1:42;
hence ex g being Real st
( g < r & g in dom Intf ) by A15, A7, A12; :: thesis: verum
end;
A16: for g1 being Real ex r being Real st
for r1 being Real st r1 < r & r1 in dom Intf holds
g1 < Intf . r1
proof
let g1 be Real; :: thesis: ex r being Real st
for r1 being Real st r1 < r & r1 in dom Intf holds
g1 < Intf . r1

consider r being Real such that
A17: for r1 being Real st r1 < r & r1 in dom I holds
g1 - (integral (f,b,c)) < I . r1 by A10, A9, A4, A6, A7, A8, Def3, INTEGR10:def 6, LIMFUNC1:48;
set R = min (b,r);
take min (b,r) ; :: thesis: for r1 being Real st r1 < min (b,r) & r1 in dom Intf holds
g1 < Intf . r1

thus for r1 being Real st r1 < min (b,r) & r1 in dom Intf holds
g1 < Intf . r1 :: thesis: verum
proof
let r1 be Real; :: thesis: ( r1 < min (b,r) & r1 in dom Intf implies g1 < Intf . r1 )
assume A18: ( r1 < min (b,r) & r1 in dom Intf ) ; :: thesis: g1 < Intf . r1
A19: ( min (b,r) <= b & min (b,r) <= r ) by XXREAL_0:17;
then A20: ( r1 < b & r1 < r ) by A18, XXREAL_0:2;
then A21: r1 < c by A1, XXREAL_0:2;
r1 in dom I by A7, A19, A18, XXREAL_0:2, XXREAL_1:234;
then g1 - (integral (f,b,c)) < I . r1 by A17, A20;
then A22: g1 - (integral (f,b,c)) < integral (f,r1,b) by A8, A20, A7, XXREAL_1:234;
A23: ( f is_integrable_on ['r1,c'] & f | ['r1,c'] is bounded ) by A21, A1, A2, A3, A4, A5, Lm6;
A24: ['r1,c'] = [.r1,c.] by A20, A1, XXREAL_0:2, INTEGRA5:def 3;
then ['r1,c'] c= ].-infty,c.] by XXREAL_1:265;
then A25: ['r1,c'] c= dom f by A2;
b in ['r1,c'] by A24, A20, A1, XXREAL_1:1;
then integral (f,r1,c) = (integral (f,r1,b)) + (integral (f,b,c)) by A21, A23, A25, INTEGRA6:17;
then integral (f,r1,b) = (integral (f,r1,c)) - (integral (f,b,c)) ;
then g1 < integral (f,r1,c) by A22, XREAL_1:9;
hence g1 < Intf . r1 by A13, A18; :: thesis: verum
end;
end;
hence A26: f is_-infty_improper_integrable_on c by A12, A13, A14, A1, A2, A3, A4, A5, Lm6, LIMFUNC1:48; :: thesis: improper_integral_-infty (f,c) = +infty
Intf is divergent_in-infty_to+infty by A14, A16, LIMFUNC1:48;
hence improper_integral_-infty (f,c) = +infty by A12, A13, A26, Def3; :: thesis: verum