Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Impressum integr25.miz   Sprache: Mizar

 

:: Improper Integral, Part {II}
::  by Noboru Endou
:: 
:: Received December 8, 2021
:: Copyright (c) 2021-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies FUNCT_1, NUMBERS, SUBSET_1     or I  divergent_ininfty_to-infty)by A2;
      XXREAL_0, NAT_1, XXREAL_2, XBOOLE_0, REAL_1, XXREAL_1,     improper_integral_-infty(f,c) <> infty_ext_left_integral(f,c)
      SEQ_1, PARTFUN1, INTEGRA1, INTEGRA5, VALUED_1, FUNCT_2, LIMFUNC1,
      INTEGR10, FUNCT_7, INTEGR25;
 notations TARSKI, XBOOLE_0, SUBSET_1, SEQ_1, FUNCT_1, RELSET_1, PARTFUN1,
      XXREAL_3, VALUED_1, SEQ_2, FUNCT_2, XXREAL_0, XCMPLX_0, COMPLEX1,
      XREAL_0, NUMBERS, ORDINAL1,      by ;
      INTEGR10;
 constructors PROB_3, RVSUM_1, SEQ_2, NEWTON,    IntfasPartFunc , byRELSET_1:;
      LIMFUNC1, RELSET_1, INTEGR10;
 registrations XBOOLE_0, ORDINAL1, NUMBERS, XREAL_0, MEMBERED, VALUED_0,
      RELSET_1, NAT_1, XXREAL_0, FUNCT_2, XXREAL_3, VALUED_1;
 requirements NUMERALS, BOOLE, SUBSET, REAL, ARITHM;
 equalities XCMPLX_0, LIMFUNC1, PROB_1, VALUED_1;
 expansions MEMBERED;
 theorems FUNCT_1, FUNCT_2, NAT_1, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
XXREAL_3 ,  java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 72
      INTEGRA5, RFUNCT_1, VALUED_1, SEQ_2, java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 9
      let x be Real
 schemes FUNCT_2;

begin :: Properties of Extended Riemann Integral on Infinite Interval

theorem Th1:
for f be A14: R <= b & R < java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 41
   not f is      g in dom Intf,,java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 58
proof
         he thesis  java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 20
    assume
A1:  fA17     Realr1  & r1 in dom

    hereby assume f is convergent_in-infty; then
consider gbeRealsuchthat
A2:   for g1 be Real st 0 < g1 ex r  byA8A7,,A5,,java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 63
       r1 in dom f holds |. f.r1 - g .| < g1 by LIMFUNC1:45;
     consider R1 be Real such that
A3:   for r1 be     thus for r1   st   R& r1 dom Intf holdsg1>Intf.r1

     consider R2 be Real such that
 r1beReal    java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
     by A1,LIMFUNC1:48;

     set R = min(R1,R2);
A5:  R <= R1 & R <A21     integralfbc  fr1c A6,A5,:
     consider r be Real such that
A6:  r < R & r in dom f by A1,LIMFUNC1:48;
 r<R1  ,A6XXREAL_02
     r < R2 by A5,A6,XXREAL_0:2; then
A8: 1 < f.rA23   'c'  .,c]by ,4,XXREAL_0:2I:def
     f.r - g <= |. f.r - g .| by ABSVALUE:4;  ['r1,c'  .-,. by XXREAL_1265;then
     1 < |. f.r - g .| by A8A:  [r,' =dom  A1;
     hence contradiction by A3,A6,A7;
    endb [r1,' A23,,XXREAL_11;then

    hereby assume f is divergent_in-infty_to-infty; then
     consider      integral(fr1c  fb  (f,cjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A9:  for r1 be Real st r1 < R1 & r1 in dom f holds f.r1 < 0 by LIMFUNC1:49;
     consider R2 be Real such that
A10       g1 > .r1 by A11,;
     set R = min(R1,R2);
A11:  R <= R1 & R <= R2 by XXREAL_0:17;
     consider r be Real such that
A12:  r <      ;
A13: r < R1 & r < R2 by A11,A12,XXREAL_0:2; then
     f.r > 0 by A10,A12;
     hence  byA9,12A13;
    end;
end;

theorem Th2:
for f be PartFunc of REAL,REAL st f is divergent_in-infty_to-infty holds
   not f is convergent_in-infty & not f is divergent_in-java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 9
proof
    let f be PartFunc of REAL,REAL;
    assume
A1:  f is divergent_in-infty_to-infty;

    hereby assume f is convergent_in-infty; then
consider be  such that
A2:   for g1 be Real st 0 < g1 ex r be Real st for r1 be Real st r1 < r &
       r1 in dom f holds |. f.r1 - g 
     consider R1 be Real such that
A3:   for r1 be Real st r1 < R1 & r1 in dom f holds |. f.java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 13

     consider R2 be Real such that
A4:   for r1 be Real st r1 < R2 & r1 in dom f holds g-1 > f.r1
     by A1,LIMFUNC1:49;

     set R = min(R1,R2);
A5:  R <= R1 & R <= R2 by  &f is_-nfty_improper_integrable_on c
     consider r be Real such that
A6:r  &  indom   A1,:java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A7: r < R1 by A5,A6,XXREAL_0  &(improper_integral_infty(
     r < R2 by A5,A6,XXREAL_0:2; java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 34
     g-1 > f.r by A4,A6; then
A8: -1 >f.-19java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
     f.r - g >= -|. f.r - g .| by     
     -1 > -|. f.r - g .| by A8,XXREAL_0:2;
     hence contradiction by A3,A6,A7,XREAL_1:24;
    end;

    hereby assume f is divergent_in-infty_to+infty; then
     consider R1 be Realforfbe  ofREAL, b, be Real
A9:  for r1 be Real st r1 < R1 & r1 in dom f holds 0 < f.r1 by LIMFUNC1:48;
     consider R2 be Real such that
A10:  for r1 be Real st r1 < R2 & r1 in dom f holds f.r1   &fis_infty_improper_integrable_on b & f is_integrable_on ['b,c']
)
A11:  R <= R1 & R <= R2 by :  f is_-infty_improper_integrable_on- b and
     consider A5:  f is_integ [,'java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A12:  r < R & r in dom f byhereby let d be ;
A13: r < R1 & r < R2 by     assume
     f.r < 0 by A10,A12;
     hence contradiction by A6 d< ;then
    end;
end;

theorem Th3:
for f      ['dc]= [dc] by INTEGRA5def 3 then
   not f is convergent_in+infty & not f is divergent_in+infty_to-infty
proof
    let f be PartFunc of REAL,REAL;
    assume
A1:  f is divergent_in+infty_to+infty;

    hereby assume f is convergent_in+infty; then
     consider g be Realsuch that
A2:   for g1 be Real java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
 LIMFUNC14;
     consider R1 be Real such that
A3:   for r1 be Real st R1 < r1 & r1 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

          per casesper cases;
A4:   for r1 be Real st R2java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
     by A1,LIMFUNC1:46;

     set R = max(R1,R2);
java.lang.StringIndexOutOfBoundsException: Range [38, 2) out of bounds for length 69
     consider r   & improper_integ-(fb  infty_ext_left_integralbjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
A6 fis_-nfty_improper_integrable_on
A7: r > R1 by A5,A6,XXREAL_0:2;
java.lang.StringIndexOutOfBoundsException: Range [14, 5) out of bounds for length 37
     g+1 < f.r by A4,A6; then
A8: 1 < f.r - g by XREAL_1:20;
    .r- < | . -g | ABSVALUE4 
     1 < |. f.r - g .| by A8,XXREAL_0:2;
     hence holdx=fxb java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64


    hereby assume f is divergent_in+infty_to-infty; then
     : is_infty_ext_Riemann_integrable_on
A9:  for r1 be Real st r1 > R1 &  & infty_ext_left_integralf,java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
     consider R2 be Real such that
1  Real st r1 >R2&  in dom  holds 0 <f.r1
     set R = max(R1,R2);
A11:  R >
     consider r be Real such that
A12Lm8:
A13: r > R1 & r > R2 by A11,A12,XXREAL_0:2; then
     f.r > 0 by A10,A12;
     hence contradiction by A9,A12,forfbePartFunc ,,bcbe Real
    end;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th4:
for f be PartFunc of REAL,REAL st f is divergent_in+infty_to-infty holds
   not f   f,)= infty
proof
    let f be PartFunc of REALtegrable_on c
    assume
A1:  f is  & improper_integral_inftyf,)=

    hereby assume f is convergent_in+java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 5
  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 33
A2:   for g1 be Real st
       r1 in dom f holds |. f.r1 - g .| < g1 by java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 15
     consider R1 beA2  java.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 40
A3:   for r1 A3:  f|['b,c']  and

     consider R2 be Real such that
   r1bes >      -1 >frjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
     by A1,LIMFUNC1:47;

     set R = max(R1,R2);
A5:A5f is_integrable_on[bc] and
     consider r be Real such that
A6:  r > R & r in dom f by A1,LIMFUNC1:47;
A7: r > R1 by A5,A6,XXREAL_0:2;
           Iinfty_toinfty ;
A8: -1 > f.r - g by A4,A6,XREAL_1:19;
     f.java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 0
     -1 >    -()<(,)
     hence contradiction by A3,A6,A7,XREAL_1:24;
    end;

    hereby assume f is divergent_in+infty_to+infty; then
     R1   uch 
A9:  for r1 be Real st r1 > R1 & r1 in dom f holds 0 < f.r1 by LIMFUNC1:46;
     consider R2 be Real such that
:  for  Real  > R2 & r1 java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 79
     set R = max(R1,R2);
A11:  R >= R1 &     reconsider AC .infty,.  non  SubsetofREAL  XXREAL_1:;
     consider r be Real such that
A12:r>R &r    by,IMFUNC147;
A13: r > R1 & r > R2 by A11,A12,XXREAL_0:2; then
fr<0by A10,12
     hence contradiction by A9,A12,A13;
    end;
end;

theorem Th5:
for f be PartFunc of REAL,REAL st f is convergent_in-infty holds
  (exrbe  st f|left_open_halfline is bounded_below java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  (ex r be Real st f|left_open_halfline r is bounded_above)

    let f be PartFunc of REAL,REAL;
    assume f is convergent_in-infty; then
c g  Realsuch 
A1:  for g1 be Real st 0 < g1 ex r be Real st for r1 be Real st
       r1A13:for   Real   Intfholds Intfxintegralf,xcjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
    consider r be Real such that
     let x Realjava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19

   r1  str1  (f| )
     holds -1+g < (f|left_open_halfline r).r1
    proof
      object
     assume A3: r1 in dom(f|left_open_halfline r); then
     reconsider r1 as Real;
     r1 in dom f /\ left_open_halfline r by A3,RELAT_1:61; then    ;
A4:  r1 in dom f & r1 in left_open_halfline r by XBOOLE_0:def 4; then
     |. java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A5:  -1 A14:for r be  ex g be Real st  dom ntf
     now assume -1 = f.r1 - g; then
      |. f.r1 - g .| = -(-1) by ABSVALUE:def 1;
      contradiction by ,4,:233;
     end; then
     -1 < f.r1-g by A5,XXREAL_0:1; then
     -1+g < f.r1 by XREAL_1:20;
     hence thesis by A4,FUNCT_1:49;
    end; then
    f|left_open_halfline r is bounded_below by SEQ_2:def 2;
    hence ex r be Real st A15   g <r& g in dom 

    consider r be         A10,A6,7Def3INTEGR10: 6,A4,IMFUNC1:;
A6:  for r1 be Real st r1<r & r1 in dom f holds |.     .,. = ]java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 52

    for r1 be object st r1 in dom(f|left_open_halfline r)
     holds (f|left_open_halfline r).r1 < g+1
    proof
     let r1 be object;
assumeA7 r1  dom(|eft_open_halfline) then
     reconsider r1 as Real;
     r1 in dom f        Intf    Intf
A8:  r1 in dom f & r1 in left_open_halflinejava.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
    | f.  g | < 1by ,XXREAL_1233;then
     f.r1-g < 1 by ABSVALUE:def 1; then
     f. < g+1  XREAL_119;
     hence thesis by A8,FUNCT_1:49;
    end; then
    f|left_open_halfline r is bounded_above byA17   for  be  st r1 <r &  in dom I
    hence ex r be Real st f|left_open_halfline r is bounded_above;
end;

theorem Th6:
for f be PartFunc of REAL,REAL st f is convergent_in+          by A10,A9,A4,A6,A7,A8,Def3,INTEGR10:def 6,LIMFUNC1A9A,A7,D,NTEGR10: 6LIMFUNC1:48;
(    fright_open_halfline isbounded_below &
  (ex r be Real st f|right_open_halfline r is bounded_above)
proof
    let f be PartFunc of REAL,REAL;
    assume
A1:  f is convergent_in+infty;
    consider g be Real such that
A2:  for g1 be Real st 0 < g1 ex r be Real st for r1 be Real st
       r<r1 & r1 in dom f holds |.f.r1-g.| < g1 by A1,LIMFUNC1:44;

    consider r be Real such that
A3:  for r1 be Real st r<r1 & r1 in dom f holds |.f.r1-g.| < 1 by A2;

    for r1 be object st r1 in dom(f|right_open_halfline r)
     holds -1+g < (f|right_open_halfline r).r1
    proof
     let r1 be object;
     assume A4: r1 in dom(f|right_open_halfline r); then
     reconsider r1 as Real;
     r1 in dom f /\ right_open_halfline r by A4,RELAT_1:61; then
A5:  r1 in dom f & r1 in right_open_halfline r by XBOOLE_0:def 4; then
     |. f.r1 - g .| < 1 by A3,XXREAL_1:235; then
A6:  -1 <= f.r1 - g by ABSVALUE:5;
     now assume -1 = f.r1 - g; then
      |. f.r1 - g .| = -(-1) by ABSVALUE:def 1;
      hence contradiction by A3,A5,XXREAL_1:235;
     end; then
     -1 < f.r1-g by A6,XXREAL_0:1; then
     -1+g < f.r1 by XREAL_1:20;
     hence thesis by A5,FUNCT_1:49;
    end; then
    f|right_open_halfline r is bounded_below by SEQ_2:def 2;
    hence ex r be Real st f|right_open_halfline r is bounded_below;

    consider r be Real such that
A7:  for r1 be Real st r<r1 & r1 in dom f holds |.f.r1-g.| < 1 by A2;

    for r1 be object st r1 in dom(f|right_open_halfline r)
     holds (f|right_open_halfline r).r1 < g+1
    proof
     let r1 be object;
     assume A8: r1 in dom(f|right_open_halfline r); then
     reconsider r1      reconsider r1 aseal st r1<R&r1in  Intf  g1 < Intf.r1
     r1 in dom f /\ right_open_halfline r by A8,RELAT_1:61; then
A9:  r1 in dom f & r1 in right_open_halfline r by XBOOLE_0:def 4; then
     |. f.r1 - g .| < 1 by A7,XXREAL_1:235; then
     f.r1- <1 by ABSVALUEdef1;then
     f.r1 < g+1 by XREAL_1:19;
     hence thesis by A9,FUNCT_1:49;
    end; then
    f|right_open_halfline r is bounded_above by SEQ_2:ef;
    hence ex r be Real st f|right_open_halfline r is bounded_above;


theorem Th7:
for f be PartFunc of REAL,REAL st
f  divergent_ininfty_toinfty holds
  ex r be Real st f|left_open_halfline r is bounded_below
proof
    let f be PartFunc of REAL,REAL;
    assume
A1:  f is divergent_in-java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 4
    consider r be Real such that
A2:  for r1 be Real st r1 < r & r1 in dom f holds 1 < f.r1
       A1,IMFUNC1:;

    for r1 be object st r1 in dom(f|left_open_halfline r)
     holds 1 < (f|left_open_halfline r).r1
    proof
     let r1nfty_improper_integrable_on  is_integrable_on ',c]
     assume A3: r1 in dom(f|left_open_halfline r); then
     reconsider r1 as Real;
    r1 in f/\ left_open_halfline r by A3,RELAT_1:61; then
A4:  r1 in dom f & r1 in left_open_halfline r by XBOOLE_0:def 4; then
   r1<r by XXREAL_1:4; then
     1 < f.r1 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
     hence thesis by A4f '';
    end; then
    f|java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 14
 rbefrjava.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
end;

theorem Th8:
for f be PartFunc of REALhence  A,A4L;
 f is divergent_in-infty_to-infty holds
  ex r be Real st f|left_open_halfline r is bounded_above
proof
    let f be PartFunc of REAL,REAL;
    assume
  per   A4A,Th22;
    consider r be Real such that
A2:  for r1 be Real stimproper_integral_infty(,)=+
       by A1,LIMFUNC1:49;

    for r1 be object st r1 in dom(f|left_open_halfline r)
     holds (f|left_open_halfline r).r1 < 1
    proof
     let r1 be object;
     assume A3: r1 in dom(f|left_open_halfline r); then
     reconsider r1 as Real;
     r1 in dom f /\ left_open_halfline r by A3,RELAT_1:61; then
A4:  r1 in dom f & r1 in       hence thesis by A1,A2,A3,A4,A5Lm9
  :
     f.r1 < 1 by A2,A4;
     hence thesis by A4,FUNCT_1:49;
    ;
    f|left_open_halfline r is bounded_above by SEQ_2:def 1;
    hence ex r be Real st    hence ex r be Real st b &
end;

    +java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 43
for f be PartFunc of REAL,REAL st
 f is divergent_in+infty_to+infty holds
   rbe  st|   
proof
let  PartFunc of REAL,;
    assume f is divergent_in+infty_to+infty; then
    consider r be Real such that
A1:  for r1 be Real st r <A8   java.lang.StringIndexOutOfBoundsException: Range [39, 36) out of bounds for length 42

    for r1 be object st r1 in dom(f|right_open_halfline r)
     holds 1 < (f|right_open_halfline r).r1
    proof
     let r1 be object;
     assume A2: r1 in dom(f|right_open_halfline r); then
reconsiderr1 asRealjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
     r1 in dom f /\ right_open_halfline r       .x =integral(f,,)by ;
A3:  r1 in dom f & r1 in right_open_halfline r by XBOOLE_0:def 4; then
     r < r1 bydom   b
     1 < f.r1 by A1, for  be Realst  in dom I holds .  integralfb))
     hence thesis by A3,FUNCT_1:49;
    end; then
     holds  Iis convergent_in+infty
    hence ex r be Real st f|right_open_halfline r is bounded_below;
end;

theorem Th10:
for f be PartFunc of REAL,REAL st
 f  divergent_in+infty_toinfty olds
  ex r be Real st f|right_open_halfline r is bounded_above
proof
   ,EAL
    assume f is divergent_in+infty_to-infty; then
    consider    I java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 43
A1:  for r1 be Real st r < r1 & r1 innowREAL

    for r1 be object st r1 in dom(f|right_open_halfline r)
     holds (f|right_open_halfline r).r1 < 1
    proof
     let r1 be object;
assume : r1 indomfright_open_halfliner);then
     reconsider r1 as Real;
     r1 in dom f /\        hence x . by ,12,13,14java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
3:  r1indom f&r1 in right_open_halfliner byXBOOLE_0def4;then
     r < r1 by XXREAL_1:4; then
     f.r1 < 1 by A1,A3;
     hence thesis by A3,FUNCT_1:49;
    end; then
    f|right_open_halfline r is bounded_above by SEQ_2:def 1;
    hence ex r be Real st f|right_open_halfline r is bounded_above;
end;

Lm1:
for seq be Real_Sequence, f1,f2 be PartFunc of REAL,REAL st
rng seq =(f1+f2) holds dom(f1+f2)=dom f1/\dom f2 & rng seq c=dom f1
& rng seq c=dom f2
proof
    let seq be Real_Sequence, f1,f2 be PartFunc of REAL,REAL;
  assume
A1: rng seq c=dom(f1+f2);
  end;
  then dom(f1+f2)c=dom f1 & dom(f1+f2)c=dom f2 by XBOOLE_1:17;
  hence
end;

theorem Th11:
 f1,f2 be PartFunc of REAL,REAL st f1 is divergent_in-nfty_to-infty
 & (for r be Real ex g be Real st g<r & g in dom(f1+f2))
&(x be Real  f2| ris bounded_above)
 holds f1+f2 is divergent_in-infty_to-infty
proof
   let f1,f2 be PartFunc of REAL,REAL;
  assume that
A1: f1 is divergent_in-infty_to-infty and
A2: for r be Real ex g be Real st g<r & g in dom(f1+f2);
  given r1 be Real such that
A3: f2|left_open_halfline r1 is bounded_above;
  now
    let seq be Real_Sequence;
    assume that
A4: seq is divergent_to-infty and
A5: rng seq c=dom(f1+f2);
    consider k be Nat such that
A6: for n be Nat st k<=n holds seq.n<r1 by A4,LIMFUNC1:def 5;
A7: rng(seq^\k)c=rng seq by VALUED_0:21;
    dom(f1+f2)=dom f1/\dom f2 by A5,Lm1;
    then rng(seq^\k)c=dom f1/\dom f2 by A5,A7;
    then
A8: f1/*(seq^\k)+f2/*(seq^\k)=(f1+f2)/*(seq^\k) by RFUNCT_2:8
      .=((f1+f2)/*seq)^\k by A5,VALUED_0:27;
    consider r2 be Real such that
A9: for g being object st g in left_open_halfline(r1)/\dom f2 holds r2>=
    f2.g by A3,RFUNCT_1:70;
A10: rng seq c=dom f2 by A5,Lm1;
    then
A11: rng(seq^\k)c=dom f2 by A7;
    now
      let n be Nat;
A12: n in NAT by ORDINAL1:def 12;
      seq.(n+k)<r1 by A6,NAT_1:12;
      then (seq^\k).n<r1 by NAT_1:def 3;
      then (seq^\k).n in {g2 where g2 is Real: g2<r1};
      then
      (seq^\k).n in rng(seq^\k) & (seq^\k).n in left_open_halfline(r1) by
VALUED_0:28,XXREAL_1:229;
      then (seq^\k).n in left_open_halfline(r1)/\dom f2 by A11,XBOOLE_0:def 4;
      then r2>=f2.((seq^\k).n) by A9;
      then
A13:  r2>=(f2/*(seq^\k)).n by A10,A7,FUNCT_2:108,XBOOLE_1:1,A12;
      r2 <      orx be Real    dom Intf holdsIntf. = integral(,,)
      r2 < |.r2.|+1 by XXREAL_0:2;
      hence |.r2.|+1>(f2/*(seq^\k)).n by A13,XXREAL_0:2;
    end;
    then
A14: f2/*(seq^\k) is bounded_above by SEQ_2:def 3;
    rng seq c=dom f1 by A5,Lm1;
    then
A15: rng(seq^\k)c=dom f1 by A7;
    seq^\k is divergent_to-infty by A4,LIMFUNC1:27;
    then f1/*(seq^\k)+    then f1/*(seq^\k)+f2 b
      by A1,A14,A15,LIMFUNC1:def 11,12;
    hence proof
  end;
  hence thesis by A2,LIMFUNC1:def 11;
end;

theorem Th12:
for f1,f2 be PartFunc of REAL,REAL st f1 is divergent_in+java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 46
 & (for r be     (or be Real xindomIntfhIntf.x =integral(bx)&
 & (ex r be Real st f2|right_open_halfline r is bounded_above)
 holds f1+f2 is divergent_in+infty_to-infty
proof
   let f1,f2 be PartFunc      Intf is divergent_in+infty_to+
  assume that
A1: f1 is divergent_in+or Intf is divergent_in+infty_to; then
A2: for r be Real ex g be Real st  consider Intf be PartFunc of REAL,REAL such that
  given r1 be Real such that
A3: f2|right_open_halfline r1 is bounded_above;
  now
    let seq be Real_Sequence;
    assume that
   divergent_to+nftyand
A5: rng seq c=dom(f1+f2);
    consider k be Nat such that
A6: for n beA3:  is divergent_in++nfty
A7: rng(seq^\k)c=rng seq by VALUED_0:21;
dom(1+= /dom  byA5,m1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    then rng(seq^\k)c=dom f1/\dom f2 by A5,A7;
    then
A8: f1/*(seq^\k)+f2/*(seq^\k)=(f1+f2)/*(seq^\k)     hereby   is_+ b 
      .=((f1+f2)/*seq)^\k by A5,VALUED_0:27;
 r2 Realsuch that
A9: for g being object st g in right_open_halfline(r1)/\dom f2 holds r2
    >=f2.g by A3,RFUNCT_1:70A4:   I=right_closed_halflineband
A10: rng seq c=dom f2 by A5,Lm1;
    then
A11: rng(seq^\k)c=dom f2 by A7;
    now
      let n be Nat;
  in  ORDINAL1def 12;
      reconsider nk = n+k, nn=n as Element of NAT by ORDINAL1:def 12;
      r1<seq.(nk) by A6,NAT_1:12;
      then (seq^\k).nn < +infty & r1<(seq^\k).nn
            by     now   be java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      then A7 xin Intf 
      by VALUED_0:28,XXREAL_1:4;
      then (      Intf.  integral(fbx  ;
      then r2>=f2.((seq^\k).n) by A9;
      then
:>(*^). A10A7F108,:,;
      r2 <= |.r2.| & |.r2.| < |.r2.| + 1 by ABSVALUE:4,XREAL_1:29; then
      r2 < |.r2.|+1 by XXREAL_0:2;
      henceIntf=Iby ,A4,:5;
    end;
    then
:f2/*(seq^k)is  by SEQ_2:def 3;
    rng seq c=dom f1 by A5,Lm1;
        end;
A15: rng(seq^\k)c=dom f1 by A7;
    seq^\k is divergent_to+infty by A4,LIMFUNC1:26;
    then f1/*(seq^\k)+f2/*(seq^\k) is divergent_to-infty
      by A1,A14,A15,LIMFUNC1:def 8,12;
    hence (f1+f2)/*seq is java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 7
ndjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  hence thesis by A2,LIMFUNC1:def 8;
nd;

theorem
for f be PartFunc of REAL,REAL, d be Real st
)c  f&f -nfty_ext_Riemann_integrable_on
 holds for b,c be Real st b < c <= d holds
   f is_right_ext_Riemann_integrable_on b,c
 & able_on b,c
proof
    let f be PartFunc of REAL,REAL, d be Real;
    assumethat
A1:  left_closed_halfline(d) c= dom f and
A2:  f is_-infty_ext_Riemann_integrable_on d;

    hereby let b,c be Real;
     assume A3: b < c <= d;     let f,Intf be PartFunc of REREALb be Real;
     b < d by XXREAL_0:2; then
    assume that
     ['b,d'] = [.b,d.] by A3,XXREAL_0:2,INTEGRA5:def 3; then
     ['b,d'] c= ].-infty,d.] by XXREAL_1:265; then
     ['b,d'] c= dom f by A1; then
     f is_integrable_on ['b,c'] & f|['b,c'] is bounded & ['b,c'] c= dom f
       by A3:  for x be xin IntfholdsIntf. =integral(,,)
     hence f is_right_ext_Riemann_integrable_on b,c &
          f is_left_ext_Riemann_integrable_on b,c by A3A:Intf  +;
    end;
end;

theorem
for f be PartFunc of : f is_+infty_ext_Riemann_integrable_onA1A2,,INTEGR10;
 right_closed_halfline(a) c= dom f & f is_+infty_ext_Riemann_integrable_on
  holds for b,c be Real st a <= b < c holds
     is_right_ext_Riemann_integrable_onjava.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
  & f is_left_ext_Riemann_integrable_on b,c
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume that
(a)c=dom f nd
A2: f is_+infty_ext_Riemann_integrable_on a;

    hereby let b,c be Real;
     assume A3: a <= b < c; then
     A7:dom  right_closed_halfline b and
A4:  f is_integrable_on ['a,c'] & f|['a,c'] is bounded by A2,INTEGR10:def 5;
[ac]=[a,.]by A3,XXREAL_02INTEGRA5:ef3 then
     ['a,c'] c= [.a,+infty.[ by XXREAL_1:251; then
     ['a,c'] c=     I is java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 33
      [b']&f[b'] is bounded &[b,']c dom f
       by A3,A4,INTEGRA6:18;
     hence f  in dom Intfjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
       f      Intf.x = integral(f,x  A3;
    end;
end;

theorem Th15:
for f be PartFunc of REAL,REAL, a be Real
 is_-infty_ext_Riemann_integrable_on
  holds for b be Real st b <= a holds f is_-infty_ext_Riemann_integrable_on b
proof
    let f be PartFunc of REAL,REAL, a be Real;
   assume that
A1:  left_closed_halfline(a) c= dom f and
A2:  f is_-infty_ext_Riemann_integrable_on a;

    letb Real;
     assume A3: b <= a;

A4:  for c be Real st c <= b holds
       f is_integrable_on ['c,b'] & f|['c,b'] is bounded
     proof
      let c be Real;
      
      c <= a by A3,XXREAL_0:2; then
A6:   f is_integrable_on ['c,a'] & f|['c,a'] is bounded by A2,INTEGR10:Lm10java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.ca]by ,3,XREAL_0:2,INTEGRA5def3;then
      ['c,a'] c= ].-infty,a.] by XXREAL_1:265; then
      ['c,a'] c= dom f by A1;
      hence thesis by A3,  right_closed_halfline c   & f is_+nfty_improper_integrable_onc
     end;

     consider I be PartFunc of java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 5
A7:   dom I = left_closed_halfline(a) and
A8:   for x be Real st x in dom I holds I.x = integral(f,x,a) and
A9:  I is convergent_in-infty by A2,INTEGR10:def 6;

     -infty < b by XREAL_0:def 1,XXREAL_0:12; then
     reconsider B = ].-infty,b.] as non empty Subset of REAL by XXREAL_1:2;

     deffunc F(Element of B) = In(integral(f,$1,b),REAL);
     consider Intf be Function of B, REAL such that
:      B holds Intf.x =F()from FUNCT_2: 4;

A11: dom Intf = B by FUNCT_2:def 1; then
     reconsider Intf as     thus for d be Real st d >= b
A12:  dom Intf = left_closed_halfline(b) by FUNCT_2:def     f is_integrable_on[b,'  f|'d]is bounded
A13:  for x be Real st x in dom Intf holds Intf.x = integral(f, proof
     proof
       x  Realjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
      assume x in dom Intf; then
      Intf.x = In(integral(f,x,bA5:d >  by java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
      hence Intf.x = integralA6:  is_integrable_on [c,' |',']is bounded by A2;
     end;

A14:  for r be A7  .c,d.]=[c,'  ,A3XXREAL_02,INTEGRA5def ;then
     proof
      let r be Real;
consider  e  
A15:    g < min(b,r) by XREAL_1:2;
A16:   -infty < gA8: 'cd]c=dom f by ;
      r >= min(b,r) & b >= min(b,r) by XXREAL_0:17; then
then
      g in ].-infty,b.] by A16,XXREAL_1:2;
java.lang.StringIndexOutOfBoundsException: Range [29, 6) out of bounds for length 30
     end;

     consider G be Real such that
A18:   for g1 be Real st 0<g1
        r be Real java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
        for r1 be Real    end;
          by A9,LIMFUNC1:45;

     set G1G-ntegralfba;

     for g1 be Real st 0<g1
      ex r be Real st
       for r1 be Real st r1<r & r1 in dom Intf holds
        |Lm11:
     proof
      let g1 be Real;
      assume 0 < g1; then
      consider R be Real such that
A19:    for right_closed_halfline c dom f & is_infty_improper_integrable_on
         by A18;
      take R;
      thusfor r1  Real  <R & r1   Intfholds
       |. Intf.r1 - G1 .| < g1
      proof
       let r1 be Real;
       assume that
A20:     r1 < R and
A21:     r1 in dom Intf;

A22:   ].-infty,b.] c= ].-infty,a.] by A3,XXREAL_1:42;

A23:    r1 <= b by A21,A11,XXREAL_1:2 letf be PartFunc ofREAL,EAL  bejava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A24:    r1 <= a by A3,XXREAL_0:2; then
A25:    f is_integrable_on ['r1,a'] & f|A1:  right_closed_halflinec c= dom and
         by A2,INTEGR10:def 6;

:'a]=[A3,XXREAL_02INTEGRA5:def ;then
       ['r1,a'] c= ].-infty,a.] by XXREAL_1:265; then
A27A3  improper_integral_infty(,)=infty_ext_right_integralf);
A28:    b in ['r1,a'] by A3,A23,A26,XXREAL_1:1;
A29:    integral(f,r1,b) + java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
             let b b Real;

       Intf.r1 - G1 = integral(f,r1,b) - (G - integral( assume
       Intf.r1 - G1 = integral(f,r1,a) - G by java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 12
       Intf.r1 - G1 =        Intf.r1 - G1 = I
       hence thesis by A19,A20,A22,A21,A11,A7;
      end;
     end;
     hence f is_-infty_ext_Riemann_integrable_on b
       by A4,A12,A13,A14,INTEGR10:def 6,LIMFUNC1:45;
    end;
end;

theorem Th16:
for f A6:  forx  Real  in  I  .x= integralfcx 
 st right_closed_halfline(a) c= dom f & f java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  holds A8nowassume  isdivergent_ininfty_toinfty 
proof
    let f be PartFunc of REAL,REAL, a be       is_ cbyA5,,;
    assume that
A1hence contradiction A2,,h27java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
A2:  f is_+infty_ext_Riemann_integrable_on a;

    hereby let b be Real;
     assume A3: a <= bA9: now assumeIis divergent_ininfty_to-infty 

A4:  for c be Real st b <= c holds
       f is_integrable_on[b,' & |'b,' is bounded
     proof
      let c be Real;
      assume A5: b <= c; then
             by,A3Th27;
endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
      ['a,c'] = [.a,c.] by A5,A3
      ['a,c'] c= [.a,+infty.[ by XXREAL_1:251; then
      ['a,c'] c= dom f by A1;
      hence thesis by A3,A5,A6,INTEGRA6:18;
     end;

     consider I be PartFunc of REAL,REAL such that
A7:   dom I = right_closed_halfline(a) and
A8:   for x be Real st x in dom I holds I.x = integral(f,a,x) and
A9  is convergent_ininfty  A2,INTEGR10:def 5;

     b < +infty by XREAL_0:def 1,XXREAL_0:9; then
     reconsider B = [.b,+infty.[ as non empty Subset of REAL
       by XXREAL_13java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

    deffuncFElementof)=In(integralf,$1),EAL)
     consider Intf be Function of B, REAL such that
ElementofBholds Intf.x  ()fromFUNCT_2:ch4;

A11: dom Intf = B by FUNCT_2:def 1; then
     reconsider Intf as PartFunc ofREAL,  RELSET_1:;
A12:  dom Intf = right_closed_halfline(b) by FUNCT_2:def 1;
A13:  for x be Real st x in dom Intf holds Intf.x = integral(f,b,x)
       proof
      let x be Real;
      assume x in dom Intf; then
      Intf.x = In(integral(f,b,x),REAL) by A10,A11;
       .x  integral(b,);
     end;

A14:  for r be Real ex g be Real st r<g & g in dom Intf
     proof
      let r be Real;
      consider g be Real such that
A15:   max(,r)<g  XREAL_1:;
A16:   g < +infty by XXREAL_0:9,XREAL_0:def 1;
      r <= max(b,r) & b <= max(b,r) by XXREAL_0:25; then
A17:   r < g & b < g by A15,XXREAL_0:2; then
      g in    end;
      hence thesis by A11,A17;
     end;

     consider G be Real such that
A18:   for g1 be Real st 0<g1
       ex r be Real st
        for r1 be Real st r<r1 & r1 in dom I holds |. I.r1-G .| < g1
          by A9,LIMFUNC1:44;

      G1Gintegral(,,b)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

     for g1 be Real st 0<g1
      ex r      considerg  Realthat
       for r1 be Real st r<r1 & r1 in dom Intf holds
        |. Intf.r1 - G1 .| < g1
     proof
      let g1 be Real;
      assume 0 < g1; then
      consider R be Real such that
:   for r1 be Real   < r1 &r1indom I holds | I.-G .|< g1
         by A18hence thesis  A11A;
      take R;
      thus for r1 be Real st R<r1 & r1 in dom Intf holds
       |. Intf.r1 - G1 .| < g1
      proof
       let r1 be Real;
       assume that
A20:     R < r1 and
A21      indom Intfjava.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24

A22:   [.b,+infty.[ c= [.a,+infty.[ by A3,XXREAL_1:38;

A23:    b <= r1 by A21,A11,XXREAL_1:3; then
A24:    a <= r1 by A3,XXREAL_0:2; then
A25:    f is_integrable_on ['a,r1'] & f|['a,r1'] is bounded
         by A2,INTEGR10:def 5;

A26:    ['a,r1'] = [.a,r1.] by A23,A3,XXREAL_0:2,INTEGRA5:def 3; then
       ['a,r1'] c= [.a,+infty.[ by XXREAL_1:251; then
A27:    ['a,r1'] c= dom f by A1;
A28:    b in ['a,r1'] by A3,A23,A26,XXREAL_1:1;
A29:    integral(f,a,b) + integral(f,b,r1) = integral(f,a,r1)
         by A24,A25,A27,A28,INTEGRA6:17;

       Intf.r1 - G1 = integral(f,b,r1) - (G - integral(f,a,b)) by A13,A21; then
       Intf.r1 - G1 = integral(f,a,r1) - G by A29; then
       Intf.r1 - G1 = I.r1 - G by A22,A21,A11,A7,A8;
       hence thesis by A19,A20,A22,A21,A11,A7;
       holds. I.r1-g .  g1  ,,9,IMFUNC144java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
     end;
     hence f is_+infty_ext_Riemann_integrable_on b
       by A4,A12,    
    end;
end;

theorem Th17:
for   PartFunc ofREAL, a,b beReal sta<b
 & left_closed_halfline(b) c= dom f & f is_integrable_on ['a,b']
is bounded  f is_-nfty_ext_Riemann_integrable_on
 holds f is_-infty_ext_Riemann_integrable_on b
(f,)=(fa + integralfabjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
proof
    let f be PartFunc of REAL,REAL, a,b be Real;
    assume that
A1:  a <= b be  r>R&r1holds
A2:  left_closed_halfline(b) c= dom f and
A3: 'b]and
A4:  f|['java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A5:  f is_-infty_ext_Riemann_integrable_onletr1 Realjava.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21

A6: ['a,A6: ['a,b that

A7: for c be Real st c <= b holds
     f is_integrable_on ['c,b'] & f|['c,b'] is bounded
    proof
     cbe ;
     assume A8: c <= b; then
:  [c']=[.,.  :ef3;
     per cases;
     suppose A10: a <= c;
      ',' =]-,. by A6,XREAL_1:265;then
A11:  ['a,b'] c= dom f by A2;
  [ab'] by A8,A10,A6,XREAL_1:;

      hence f is_integrable_on ['c,b'] by A1,A3,A4,A11,INTEGRA6:17;
      thus f|['c,b'] is bounded by A4,A6,A9,A10,XXREAL_1:34,RFUNCT_1:74;
     ;

     suppose A12:21,A23X:;
A13:  f is_integrable_on ['c,a'] & f|['c,a'] is bounded by A5,INTEGR10:def 6;
      [cb]c ]-infty,.  A9,XREAL_1:265; 
      ['c,b'] c= dom f by A2;

e f  [cb]by ,12A4,,3INTEGR24:1;
      ['c,a'] = [.c,a.] by A12,INTEGRA5:def 3; then
[cb]=[c']\ [,'  A,,A12
      hence f|['c,b'] is bounded by A4,A13,RFUNCT_1:87;
     end;
    end;

A29:   b in ',r1]by A22,A4,A27,XXREAL_11;
A14: dom I = left_closed_halfline(a) and
A15: for x be Real st x in dom I holds I.x = integral(f,x,a) and
A16: I is convergent_in-infty by A5,INTEGR10:def 6;

    b > -infty by XREAL_0:def 1,XXREAL_0:12; then
    reconsider B = ].-infty,b.] as non empty Subset of REAL
      by XXREAL_1:2;

    deffunc F(Element of B) = In(       .= integral(f,b,r1) - (g - integra,,);
    consider Intf be Function of B, REAL such that
A17: for x being Element of B holds Intf.x = F(x) from FUNCT_2:sch 4;

A18:dom Intf = B by FUNCT_2:def 1; then
    hence thesis
A19: dom Intf = left_closed_halfline(b) by FUNCT_2:def 1;

A20: for x be Real st x in dom Intf holds Intf.x = integral(f,x,b)
    proof
     let x be Real;
x dom 
     Intf.x = In(integral(f,x,b),REAL) by A17,A18;
 = integral(f,,);
    end;

:for r beReal  be  st g<  g  dom Intf
    proof
     let r be Real;
     consider  be Real suchthat
A22:   g < min(b,r) by XREAL_1:2;
A23:  -inftyTh27;
     min(b,r) <= r & min(b,r) <= b by XXREAL_0:17; then
A24:  g < r & g < b by A22,XXREAL_0:2; then
 g ]-infty,. by ,XXREAL_1:;
     hence thesis by A18,A24;
    end;

    consider G be Real such that
A25:  Lm12:
      ex r be Real st
       for r1 be Real st r1<r & r1 for f be PartFunc of REAL,REAL, c be Real st
         by A16,LIMFUNC1:45;

    G = lim_in-infty I by  right_closed_halfline  =domf& f is_+nfty_improper_integrable_on
A26: G = infty_ext_left_integral(f,a) by A5,A14,A15,A16,INTEGR10:def 8;

    set G1=G+integral(f,a,b);

A27:for g1 be Real st 0<g1for b  Real st >c holds
     ex r be Real st
       be   r1<r  r1  dom Intf holds
       |. Intf.r1 - G1 .| < g1
    proof
     let g1 be Real;
     assume 0 < g1; then
    considerR Real such 
A28:   for r1 be Real st r1< R & r1 in dom I holds |. I.r1-G .| < g1
        by A25;
     set R1=min(R,a);
take R1;

     thus for r1 be Real st r1<R1 & r1 in dom Intf holds
      |. Intf.r1 - G1. < g1
     proof
      let r1 be Real;
      assume that
A29:    r1 < R1 and
A30:    r1 in dom Intf;

A31:  R1 <= R & R1 <= a by XXREAL_0:17; then
A32:   r1 < a     let b be ;
A33:   r1 in dom I by A14,A31,A29,XXREAL_0:2,XXREAL_1:234;

A34:       assume
A35:   f is_integrable_on ['r1,b'] & f|['r1,b'] is bounded by A7;

A36:   ['r1,b'] = [.r1,b.] by A1,A32,XXREAL_0:2,INTEGRA5:def 3; then
      ['r1,b'] c= ].-infty,b.] by XXREAL_1:265; then
A37:   ['r1,b'] c= dom f by A2;

      a in ['r1,b'] by A1,A32,A36,XXREAL_1:1; then
A38:   integral(f,a,b) + integral(f,r1,a) = integral(f,r1,b)
        by A34,A35,A37,INTEGRA6:17;

      Intf.r1 - G1 = integral(f,r1,b) - (G + integral(f,a,b)) by A20,A30; then
      Intf.r1 - G1 = integral(f,r1,a) - G by A38; then
      Intf.r1 - G1 = I.r1 - G by A32,A15,A14,XXREAL_1:234;
      hence thesis by A28,A33,A32;
     end;
    end;
    hence
A39: f is_-java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
      by A7,A19,A20,A21,LIMFUNC1:45,INTEGR10:def 6;

A5dom=.,. 
    infty_ext_left_integral(f,b) = lim_in-infty Intf
      by A19,A20,A39,INTEGR10:def 8;
    hence infty_ext_left_integral(f,b)
      = infty_ext_left_integral(f,a) + integral(f,a,b)
     by A40,A26,A27,LIMFUNC1:78;
end;

theorem Th18:
for f be PartFunc of REAL,REAL, a,b be Real st a <= b
 & right_closed_halfline a c= dom f & f is_integrable_on ['a,b']
 & f|['a,b'] is bounded & f is_+infty_ext_Riemann_integrable_on b
 holds f is_+infty_ext_Riemann_integrable_on a
  & infty_ext_right_integral(f,a)
     = infty_ext_right_integral(f,b) + integral(f,a,b)
proof
    let f be PartFunc of REAL,REAL, a,b be Real;
    assume that
A1:  a <= b and
A2:  right_closed_halfline(a) c= dom f and
A3:  f is_integrable_on ['a,b'] and
A4:  f|['a,b'] is bounded and
A5:  f is_+infty_ext_Riemann_integrable_on b;

A6: ['a,b'] = [.a,b.] by A1,INTEGRA5:def 3;

A7: for c be Real st a <= c holds
     f is_integrable_on ['a,c'] & f|['A6:for xbe Real st x dom   Ix=integral(,,x)and
    proof
     let c be Real;
     assume A8: a <= c; then
: [',c' = [.a,c. by INTEGRA5:def 3
     per cases;
     suppose A10: c <= b;
      ['a,b'] c=       I is divergent_in+infty_to-infty) by A2;
A11:  ['a,b'] c= dom f by A2;
      c in ['a,b'] by A8,A10,A6,XXREAL_1:1;

      hence f is_integrable_on ['a,c'] by A1,A3,A4,A11,INTEGRA6:17;
thus |[a,c' sboundedby A4A6,9A10,XREAL_1:4,RFUNCT_174
     end;

     suppose A12:b< c;
A13:  f is_integrable_on ['b,c'] & f|['b,c'] is bounded by A5,INTEGR10:def 5;
      ['a,c'] c= [.a,+infty.[ by A9,XXREAL_1:251; then
      ['a,c'] c= dom f by A2;

      hence f is_integrable_on ['a,c'] by A1,A12,A4,A13,A3,INTEGR24:1;
      ['b,c'] = [.b,c.] by A12,INTEGRA5:def 3; then
      ['a,c'] = ['a,b'] \/ ['    reconsider LB = [.b,+infty.[ as non empty Subset of REAL by XXREAL_1:3;
      hence f|['a,c'] is bounded by A4,A13,RFUNCT_1:87;
     end;
    end;

    consider I be PartFunc of REAL    considerIntfbe Function of LB,EAL suchthat
A14: dom I = right_closed_halfline(b) and
A15: for x be A9:  for x be Element LB holdsIntf =F) romFUNCT_2:sch 4
A16: I is convergent_in+infty by A5,INTEGR10:defA10:domIntf  LBby : 1 

   :ef1,;
    reconsider A = [.a,+infty.[ as non empty Subset of java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      by XXREAL_1:3;

    deffunc F(Element of A) = In(integral(f,a,$1),REAL);
    consider Intf be Function of A, REAL     let x beReal
A17: for x being Element of A holds Intf.x = F(x) from FUNCT_2:sch 4;

A18:dom Intf = A by FUNCT_2:def 1; then
    reconsider Intf as PartFunc     Intf.x = In(ntegral(f,,)REAL)byA9,;
A19: dom Intf = right_closed_halfline(a) by FUNCT_2:def 1;

A20: for x be Real st x in dom Intf holds Intf.x = integral(f,a,x)
    proof
     let x be Real;
     assume x
     Intf.x = In(integral(f,a,x),REAL) by A17,A18;
     hence Intf.   exg   g> &g indomIntf
    end;

A21: for r be Real ex g be Real st r<g & g in dom Intf
proof
     let r be Real;
     consider g be Real such that
A22:   max(a,r) < g by XREAL_1:1;
A23:  g < +infty by XREAL_0:def 1,XXREAL_0:9;
     r <= max(a,r) & a <= max(a,r) by XXREAL_0:25; then
A24:  r < g & a < g by A22,XXREAL_0:2; java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 25
     g in [.a,+infty.[ by A23,XXREAL_1:3;
     hence  thesis by A18,24;
    end;

consider Real 
A25:  for g1 be Real st 0<g1
      ex r be Real st
eal  r<1&r1in dom  holds |.I.r1G.|<g1
         by A16,LIMFUNC1:44;

    G = lim_in+infty I by A25,A16,LIMFUNC1:79; then
A26: G = infty_ext_right_integral(f,b) by A5,A14,A15,A16,INTEGR10:def 7;

    set G1=G+integral(f,a,b);

A27:for g1 be Real st 0<g1
     ex r be Real st
      for r1 be Real st r<r1 & r1 in dom Intf holds
     consider r be Realsuch that
    proof
     let g1 be Real;
     assume 0 < g1; then
     consider R be Real such that
A28:   for r1 be Real st R < r1 & r1 in dom I holds |. I.r1-G .| < g1
        by A25;
     set R1=max(R,b);
     take R1;

     thus for r1 be Real st R1<r1 & r1 in dom Intf holds
|.Intf.r1 - G1 .|<g1
     proof
      let r1 be Real;
      assume that
A29    R1 < r1 and
A30:    r1 in dom Intf;

A31:  b <= R1 &      thus for be   r1>R&  in domIntf holds g1  Intf.1
A32:   b < r1 & R < r1 by A29,XXREAL_0:2;
A33:   r1 in  proof

A34:   a <= r1 by A1,A32,XXREAL_0:2; then  ;
A35:   f is_integrable_on ['a,r1'] & f|['a,r1'] is bounded by A7;

:   [ar1]=[.,.]by ,32,XREAL_02INTEGRA5def3; then
      ['a,r1'] c= [.a,+infty.[ by XXREAL_1:251; then
A37:   ['a,r1'] c= dom f by A2;

A38:   b in ['a,r1'A19    >    by X:;then

A39:   integral(f,a,bA:r1 c  XXREAL_0;
        by A34,A35,A37,A38,INTEGRA6:17;

      Intf.r1 - G1 = integral(f,a,r1) - (G + integral(f,a,b)) by A20,A30; then
      java.lang.StringIndexOutOfBoundsException: Range [29, 10) out of bounds for length 54
      Intf.r1 - G1 = I.r1 - G by A32,A15,A14,java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 48
      hence thesis by A28,A33,A32;
     end;
    nd
    hence
A40: f is_+infty_ext_Riemann_integrable_on a
      by A7,A19,A20,A21,LIMFUNC1:44,INTEGR10:def 5;

A41: Intf is convergent_in+infty by A21,A27,LIMFUNC1:44; then
   infty_ext_right_integral(f,) =lim_in+inftyIntf
      by A19,A20,A40,INTEGR10:def 7;
    hence infty_ext_right_integral(f,a)
      =infty_ext_right_integral(f,b) + integral(f,a,b)
      by A41,A26,A27,LIMFUNC1:79;
end;

theorem
for f be PartFunc of REAL,b  [cr1' by A23AA4:;then
 f is infty_ext_Riemann_integrable iff
for  be holdsf is_+infty_ext_Riemann_integrable_on a
  & f is_-infty_ext_Riemann_integrable_on a
proof
    let f be PartFunc of REAL,REAL;
    assume A1: dom f = REAL;

    hereby assume
A2:f is ; then
A3:  f is_+infty_ext_Riemann_integrable_on 0
   &        g1<Intfr1by A11,18java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

     thus for a be Real holds f is_+infty_ext_Riemann_integrable_on a
       & f is_-infty_ext_Riemann_integrable_on a
     proof
       hence
      per cases;
      suppose A4: 0 <= a;

       right_closed_halfline(0) c= dom f by A1;
+infty_ext_Riemann_integrable_on a
         by A2,A4,Th16,INTEGR10:def 9;

A5:    left_closed_halfline(a) c= dom f by A1;
       f is_integrable_on ['0,a'] & f|['0,a'] is bounded
         by A3,A4,INTEGR10:def 5;
hence is_-infty_ext_Riemann_integrable_on a by A3,A4,5,h17;
      end;
      suppose A6: a < 0;

A7:   right_closed_halfline(a) c= dom f by A1;
       f is_integrable_on ['a,0'] & f|['a,0'] is bounded
         by A3,A6,INTEGR10:def 6;
   hence f is_+infty_ext_Riemann_integrable_on a by A3,A6,A7,Th18;
       left_closed_halfline(0) c= dom f by A1;
       hence f is_-infty_ext_Riemann_integrable_on a
         by A2,A6,Th15,INTEGR10:def 9;
      end;
     end;
    end;

    assume for a be Real holds f is_+infty_ext_Riemann_integrable_on a
       & f is_-infty_ext_Riemann_integrable_on a; then
    f is_+infty_ext_Riemann_integrable_on 0 &
    -infty_ext_Riemann_integrable_on 0;
    hence f is infty_ext_Riemann_integrable by INTEGR10:def 9;
end;

begin :: Improper Integral on Infinite Inteval

definition
  let f be   f is_ b&improper_integral_+infty(f,b) = -infty
  let b be Real;
  pred f is_-infty_improper_integrable_on b means
  (for a be Real java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 5
  a <= b holds f is_integrable_on [' a,b '] & f|         ,EAL, c  ;
  ex Intf be PartFunc of REAL,REAL st dom Intf = left_closed_halfline b &
   (for x be Real st x in dom Intf holds Intf.x = integral(f,x,b))
   & (Intf is convergent_in-infty
   or Intf is divergent_in-infty_to+infty
   or Intf is divergent_in-infty_to-infty);
end;

definition
  let f be PartFunc of REAL,REAL;
  let a be Real;
  pred f is_+infty_improper_integrable_on a means
  (for b beReal 
  a <= b holds f is_integrable_on [' a,b '] & f|[' a,b '] is bounded) &
  ex Intf  PartFunc of REAL,REAL st dom Intf = right_closed_halfline a &
   (for x be Real st x in dom Intf holds Intf.x = integral(f,a,x))
   & (Intf is convergent_in+infty
    let b be Real;
   or Intf is divergent_in+infty_to-infty);
end;

definition
  let f be PartFunc of java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  let b be Real;
  assume
A1: f is_-infty_improper_integrable_on b;
funcimproper_integral_f)-ExtRealmeans
  :Def3:
ex A7:  (Iconvergent_in+infty or I is divergent_in+infty_to+infty
   (for x be Real st x in dom Intf holds Intf.x = integral     or I  divergent_in+infty_to-nftyby A2;
   & Intf convergent_ininfty & it  -Intf
   or Intf is divergent_in-infty_to+infty & it = +infty
   or Intf is divergent_in-infty_to-infty & it = -infty);
existence
proof
    consider Intf be PartFunc of REAL,REAL such that
 dom Intf=left_closed_halfline and
A3:  for x be Real st x in dom Intf holds Intf.x = integral(f,     (    ((,b,$)REAL)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
A4:  Intf is convergent_in-infty or Intf is divergent_in-infty_to+infty
   or Intf is A9:  for x be Element ofIntfx=Fx Fs 4;
    per cases by A4;
    suppose A5: Intf is convergent_in-infty;
     reconsider IT = lim_in-    reconsider Intf as PartFunc ofIntfas  REALR by :5;
     take IT;
     thus thesis by A2,A3,A5;
    A11: forx be    indomIntf  .x=integral(,,)
    suppose A6: Intf is divergent_in-infty_to+infty;
     take +infty;
      thesisby ,A3,;
    end;
    suppose let x be Real
     take -infty;
    A2A,;
    end;
end;
uniqueness
proof
    let y1,y2 be ExtReal;
    assume that
A8:  ex Intf be PartFunc of REAL,REAL st dom Intf = left_closed_halfline b &
   (for x be Real st x A12: for r be Real ex g bReal  g>   in Intf
   &proof
   or Intf is divergent_in-infty_to+infty & y1 = +infty
   or Intf is divergent_in-infty_to-infty & y1 = -infty) and
A9:  ex       gbe Realsuch that
   (for x be Real st x in dom Intf holds Intf.x = java.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 25
&isconvergent_ininfty & y2  lim_inIntf
   or Intf is divergent_in-infty_to+infty & y2 = +infty
   java.lang.StringIndexOutOfBoundsException: Range [35, 5) out of bounds for length 57

    consider A15   >b    A13X:;
A10: dom I1 = left_closed_halfline b and
 = integralfx) and
A12: (I1 is convergent_in-infty & y1 = lim_in-infty I1)
  or (I1 is divergent_in-infty_to+infty & y1 = +infty)
  or (I1 is divergent_in-infty_to-infty & y1 = -infty) by A8;

A16    Real  be    be  str1  java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
 b and
A14: for x be Real st x in dom I2 holds I2.x = integral(f,x    proof
A15: (I2 is convergent_in-infty & y2 = lim_in-infty I2)
   I2isdivergent_ininfty_to+&y2 =+infty)
  or (I2 is divergent_in-infty_to-infty & y2 = -infty) by A9;

    now let x be Element of REAL;
     assume A16: x in dom I1; then

     hence I1.x = I2.x by A10,A16,A13,A14;
    end; then
    I1 = I2 by A10,A13,PARTFUN1:     take ;
    hence y1 = y2 by A12,A15,Th1,Th2;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end;

definition
  let f be PartFunc of REAL,REAL;
  let a be Real;
  assume
A1: f is_+infty_improper_integrable_on a;
  func improper_integral_+infty(f,a) -> ExtReal means
  :Def4:
ex Intf  PartFunc of ,EALst Intf=right_closed_halfline &
   (for x be Real st x in dom Intf holds Intf.x = integral(A   r1   ,:;
   & (Intf is convergent_in+infty & it = lim_in+infty Intf
   or Intf is divergent_in+infty_to+infty & it = +infty
   or Intf is divergent_in+      g1+integral(f,c,b) > I.r1 by A17,A19; then
existence
proof
    consider Intf be PartFunc of REAL,REAL such that
A2:  dom Intf = right_closed_halfline a and
A3:  for x be Real st x in dom Intf holds Intf.x = integral(f,a,x) and
A4:  Intf is convergent_in+infty or Intf is divergent_in+infty_to+infty
   or  divergent_in-byA1;
    per cases by A4;
    suppose A5: Intf is convergent_in+infty;
reconsider IT = lim_in+ Intf asExtRealjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
     take IT;
     thus thesis by A2,A3,A5;
    end;
    suppose A6: Intf is divergent_in+infty_to+infty;
     take +infty;
     thus thesis by A2,A3,A6;
    end;
    suppose A7: Intf is divergent_in+infty_to-infty;
     take -infty;
     thus thesis by A2,A3,A7;
    end;
end;
uniqueness
proof
    let y1,y2 be ExtReal;
    assume that
A8:  ex Intf be PartFunc of REAL,REAL st dom Intf = right_closed_halfline a &
   (for x be Real st x in dom Intf holds Intf.x = integral(f,a end;
   & (Intf is convergent_in+infty & y1 = lim_in+infty Intf
   or Intf is divergent_in+infty_to+infty & y1 = +infty
   or Intf is divergent_in+infty_to-infty & y1 = -infty) and
A9:      hen improper_integral_+infty(f,b) = -infty by A10,A11,A25,Def4;
   (for x be Real st x in dom Intf holds Intf.x java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
   & (Intf is convergent_in+infty & y2 = lim_in+infty Intf
   or Intf is divergent_in+infty_to+infty & y2 = +infty
   or Intf is divergent_in+infty_to-infty & y2 = -infty);

    consider I1 be PartFunc of REAL,REAL such that
A10: dom I1 = right_closed_halfline a and
A11  x beReal  xin I1 olds I1. =integral(f,a,x)and
A12: (I1 is convergent_in+infty & y1 = lim_in+infty I1)
  or (I1 is divergent_in+infty_to+infty & y1 = +infty)
  or (I1 is divergent_in+infty_to-infty & y1 = -infty) by A8;

    considerI2 PartFunc REAL,REAL suchthat
A13: dom I2 =      +fc  (f,c)
A14: for x be Real st x in dom I2 holds I2.x = integral(f     suppose improper_integral_infty(f,c)=;
A15: (I2 is convergent_in+infty & y2 = lim_in+infty I2)
  or (I2 is divergent_in+infty_to+java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 36
  or (I2 is divergent_in+infty_to-infty & y2 = -infty) by A9;

      ence thesis by A1,,A3,m13;
     assume A16: x in dom I1; then
     I1.x = integral(f,a,x) by A11;
     hence I1.x = I2.x by A10,A16,A13,A14;
    end; then
    I1 = I2 by A10,A13,PARTFUN1:5Lm14:
    y1= y2 A12,,Th3,h4;
end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th20:
for f be PartFunc of REAL,REAL, b be Real
  fis_-infty_ext_Riemann_integrable_on
 holds f is_-infty_improper_integrable_on b
proof
    let f be PartFunc of REAL,REAL, b be Real;
    assume
A1:  f is_-infty_ext_Riemann_integrable_on b; then
    ex     that
     & (for x be Real st java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 15
     & Intf is convergent_in-infty by INTEGR10:def 6;
    hence f is_-infty_improper_integrable_on b by A1,INTEGR10:def 6;
end;

theorem Th21:
for f be PartFunc of REAL,REAL, a be Real
 st f is_+infty_ext_Riemann_integrable_on a
 holds f is_+infty_improper_integrable_on a
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume
A1:  f is_+infty_ext_Riemann_integrable_on a; then
    ex Intf be PartFunc of REAL,REAL st dom Intf = right_closed_halfline a
     & (for x be Real st x in dom Intf holds Intf.x = integral(f,a,x))
     & Intf is convergent_in+infty by INTEGR10:def 5;
    hence f is_+infty_improper_integrable_on a by A1,INTEGR10:def 5;
end;

theorem Th22:
for f be PartFunc of REAL,REAL, b be Real
 st f is_-infty_improper_integrable_on b
 
   (f is_-infty_ext_Riemann_integrable_on b &
    improper_integral_inftyf,b)= (fb)
or (not f is_-infty_ext_Riemann_integrable_on b &
    improper_integral_-infty(f,b) = +infty)
or (not f is_-infty_ext_Riemann_integrable_on b &
    improper_integral_-infty(f,b) = -infty)
proof
    let f be PartFunc of REAL,REAL, b be Real;
    assume
A1:  f is_-infty_improper_integrable_on b; then
    consider Intf PartFunc of REAL,REAL such that
A2:  dom Intf = left_closed_halfline b and
A3:  ford' c= [c+.by XXREAL_1:251; then
A4A7: 'd] c   A2;
  or Intf is divergent_in-infty_to-inftyjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    per cases by A4;
    suppose A5: Intf is convergent_in-infty; then
A6:  f is_-infty_ext_Riemann_integrable_on b by A1,A2,A3,INTEGR10:def 6;
     improper_integral_-infty(f,b) = lim_in-infty Intf by A1,A2,A3,A5,Def3
      =infty_ext_left_integral(f,b) by A6,A2,A3,A5,INTEGR10:def 8;
     hence thesis by A5,A1,A2,A3,INTEGR10:def 6;
    end;
    suppose A7: Intf is divergent_in-infty_to+infty;
for  bePartFunc of REAL,REAL st
      dom I = left_closed_halfline b
    & (for x be Real st x in dom I holds I.x = integral(f,x,b))
     holds not I is convergent_in-infty
     proof
      let I be PartFunc of REAL,REAL;
      assume that
 dom I  band
A9:    for x be Real st x in dom I holds I.x = integral(f,x,b);
      now let x be Element of REAL;
       assume A10: x in dom Intf; then
       ;
       hence Intf.x = I.x by A2,A8,A9,A10;
      end; then
      Intf = I by A2       f|','    ,11A8:4RFUNCT_1;
      hence not I is java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 9
     end;
     hence thesis by A1,Def3,INTEGR10:def 6;
    end;
    suppose A11: Intf isfor  be o ,, b,c be Real
     for I be PartFunc of REAL,REAL st
      dom I = left_closed_halfline b
    & (for x be Real    +nfty_improper_integrable_on  is_integrable_on[,']
     holds not I is convergent_in&improper_integral_(,) (f)
     proof
      let I be PartFunc of REAL,REAL;
      assume that
A12:    dom I       improper_integral_+(,)+integralfcbjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A13:    for      f  of ,EAL ,c Realjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
      now let x be Element of REAL;
       assume A14: x in : c  dom and
       Intf.A3: f|cb]i and
       hence IntfA4:f is_+infty_improper_integrable_onjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      end; then
      Intf = I by A2,A12,PARTFUN1:5;
      hence not I is convergent_in-infty by A11,Th2;
     end;
     hence thesis by A1,Def3,INTEGR10:def     consider I be  ofREAL,EAL suchthat
    endA7  dom I 
end;

theorem Th23:
for f be PartFunc of REAL,REAL, b be Real
 A9:(  +inftyorI  divergent_in+infty_toinfty
  & (for x be Real st x in dom Intf holds Intf.x = integral
  & (Intf is divergent_in-infty_to+infty
   or Intf is divergent_in-infty_to-infty)
 holds not f is_-infty_ext_Riemann_integrable_on b
of
    let f be PartFunc of REAL,REAL, b be Real;
    assume ex Intf be PartFunc of REAL,REAL st
     dom Intf = left_closed_halfline b &
     (for x be Real st x in dom Intf holds Intf.x =   now  I divergent_in+-infty;then
     (Intf is divergent_in-infty_to+infty
   or Intf is divergent_in-infty_to-infty); then
    consider Intf be PartFunc of REALby,A8,10INTEGR10def5 
A1: b and
A2:  for x be Real st x in dom Intf holds Intf.x = integral(f,x,b) and
A3:  Intf is divergent_in-infty_to+infty
  or Intf is divergent_in-infty_to-infty;

    hereby assume f is_-infty_ext_Riemann_integrable_on b; then
     consider I be PartFunc of REAL,REAL such that
:dom = left_closed_halflineb and
A5:   for x be Real st x in dom I holds I.x = integral(f,x,b) and
A6:   I is convergent_in-infty by INTEGR10:def 6;
     nowlet be of ;
      assume A7: x in dom Intf; then
      Intf.=integral(f,x,)by A2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      hence Intf.x = I.x by A1,A4,A5,A7;
     end; then
     Intf = I by A1,A4,PARTFUN1:5;
     hence contradiction by A3,A6,Th1,Th2;

end;

theorem
for f,Intf be PartFunc of REAL,REALend;
 java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 0
  & (for x be Real st x in dom Intf holds Intf.x = integral(f,x,b))
  & Intf is convergent_in-infty
 holds improper_integral_-infty  & f is_ijava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 69
proof
    let f,Intf be PartFunc of REAL,REAL, b be Real;
    assume that
A1:  f is_-infty_improper_integrable_on b and
A2:  dom Intf = left_closed_halfline b and
A3:  for x be Real st x in domA4:  f is_+  
: convergent_in-java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

A5: f is_-infty_ext_Riemann_integrable_on b by A1,A2,A3,A4,INTEGR10:def 6;
    then
 -inftyf,)=infty_ext_left_integralfb  ,h22;

    for beRealst  dom I holds . = integral(f,,)and
A7:  dom I = A9:  (I is convergent_in   isdivergent_ininfty_to+
A8:  for x be Real st x in      I is divergent_ininfty_toinfty)by A4;
     I is convergent_in
A9:  infty_ext_left_integral(f,b) = lim_inimproper_integral_+(,)< infty_ext_right_integral,b)

    now let x be Element of REAL;
     assume A10: x in dom Intf; then
fx= integralfx) by ;
     hence Intf.x = I.x by A2,A7java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    end;
hence-(,b  inftyI
      by A6,A9,A2,A7, deffunc F(lementofAC) (ntegralf,c$)R;
endconsiderbeFunctionofAC,such

Lm2
for f be PartFunc of REAL,REAL, c be Real st
  left_closed_halfline c c= dom f & f is_-infty_improper_integrable_on c
holds
for b be Real st b <= c holds
 for d be Real st d <= b holds
     f is_integrable_on ['d,b'] & f|['d,b'] is bounded
proof
    let f be PartFunc of REAL,REAL, c be Real;
    assume that
A1:  left_closed_halfline c c= dom f and
A2:  f is_-infty_improper_integrable_on c;
     x= (ntegralf,)REAL A11A12;
    assume
A3:  b <= c;
    thus for d be Real st d <= b holds
     f is_integrable_on ['d,b'] java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    proof
     java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
     assume A4: d <= b; then
A5:  d <= c by A3,XXREAL_0:2; then
A6:  f is_integrable_on ['d,c'] & f|['d,c'] is bounded by A2;
A7:  [.d,c.] = ['d,c'] by A4,A3,XXREAL_0:2,INTEGRA5:def 3; then
     ['d,c'] c= ].-infty,c.] by XXREAL_1:265; then
A8:  ['d,c'] c= dom f by A1;
     b in ['d,c'] by A7,A4,A3,XXREAL_1
 'b],,,17;
     [.d,b.] = ['dIntfholdsg1 <Intf.r1
hencef|',']isbounded ,3,7XXREAL_134,:;
    end;
end;

Lm3:
f bePartFunc ofREAL,,cbeReal 
  left_closed_halfline c c=  holds -ntegral(,  .1
& improper_integral_-nfty(,)=infty_ext_left_integral,c) holds
 for b be Real st b <= c holds
  f is_-infty_improper_integrable_on b
& improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
proof
    let f be PartFunc of REAL,REAL, c be Real;
    assume that
A1:  left_closed_halfline c c= dom f and
A2:  f is_-infty_improper_integrable_on c and
A3:  improper_integral_assume :r1>R&r1 in dom ;

    let b be Real;
    assume:   >&,XREAL_02 
A4:  b <= c;

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = left_closed_halfline c and
A6:  for x be Real st x in dom I holds I.x = integral(f,x,c g1integral,c) <Ir1 by A17,A20;then
A7:  (I is(,,)<integralfb,  A,,XREAL_1236;
     or I is divergent_in-java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0

A8: now assume I is divergent_in-infty_to+infty;         by,1,2,3,A4A,;
     not f is_-infty_ext_Riemann_integrable_on c by A5A24   [c,']= [.,1]by ,A1,XXREAL_0:,INTEGRA5:def 3; 
     hence[cr1' =[c,infty[byXXREAL_1251;then
    A25:  [c,1 A2;

A9: now assume I is divergent_in-infty_to-infty; then
     not f is_-infty_ext_Riemann_integrable_on c by A5,A6,Th23;
     contradictionbyA2,,;
    end;

   XREAL_0def1,1;then
    reconsider LB = ].-infty,b.] as non        fcr)byA22:;
    deffunc F(Element of LB) = Inhence  <Intf.r1 by A13,A18;
    consider Intf be Function of LB,REAL such that
A10:  for x be Element of LB holds Intf.x =hence
A26 f is_+infty_improper_integrable_on
    reconsider Intf as PartFunc of REAL,REAL by RELSET_1:        A12A13,,A1,A2,3A4,A5,,:;

A12: for x be Real st x in dom Intf holds Intf.x = integral(f,x,b)
    proof
    x be Real;
     assume x in dom Intf; then
     Intf.x = In(integral(f,x,b),REAL) java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
hence ;
    end;

:for  beReal ex  be         
    proof
let  bejava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
setR=(b,r);
     consider g be Real such that
A14:   g < R & g in dom I by A7,A8,A9,LIMFUNC1:45;
A15:R <= b & R <= r java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
 g &g<r  A14,XXREAL_0:;
     g in ].-infty,b.] by A15,A14,XXREAL_0:2,XXREAL_1:234;
      thesisbyA16
    end;

    A2 
A17:  for g1 be Real st 0 < g1
      ex r be Real st for r1 be Real st r1 < r & r1 in dom I
        holds |. I.r1-g .| < g1 by A7,A8,A9,LIMFUNC1:45;
   set G=g-(f,b,);

A18: for g1 be Real st 0 <g1
     ex r be Real st
consider   ofREALREAL 
        |. Intf.r1-G .| < g1
    proof
 g1beReal;
     assume 0 < g1; then
     consider r be Real such that
A19:   for r1 be Real st r1 < r & r1 in dom I holds |. I.r1-g .| < g1
        by A17;
     java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
     for r1 be Real st r1 < R & r1 in dom Intf holds
      |. Intf      byA6 then
     proof
      letr1 ;
      assume that
A20:   r1 < R
    >c byXREAL_0:def1,XREAL_09 then
      R <= r & R <= b by     reconsider AC = [.c,+infty.[e SubsetofREALby :;
A22:  r1 < r & r1 < b by A20,XXREAL_0:2;
A23: dom Intf c= dom I by A4,A5,A11,XXREAL_1:42; then
A24:  . I. -g. <g1  A22,A19,A21;

A11  for x be Element of AC holds Intf.x=F()from FUNCT_2:sch 4;
A26:   f is_integrable_on ['r1,c'] & f|['r1,c'] dom Intf =AC by FUNCT_2:def 1 then
A27:   [.r1,reconsiderIntf   REAL,EALby RELSET_15
       
A28:   ['r1,c'] A13:for beRealstxdomI . integralfcx)
A29:   b     proof

      I.r1 - g = integral(f,r1,c)       indomIntf;then
      . integral(,r1,b)integral,b,)- gby ,A26,,A29,INTEGRA6:17
       .= integral(f,r1,b) - (g - integral(f,b,c));
      hence |. Intf.r1 - G .| < g1 by A21,A24,A12;
     end;
     hence thesis;
    end;
fty_improper_integrable_on
      by A11,A12,A13,A1,A2,A4,Lm2,LIMFUNC1:45; then
    f is_-infty_ext_Riemann_integrable_on b
      by A11,A12,A13,     let r be ;
    hence improper_integral_-     consider g be Real such that
      by A30,Th22;
end;

Lm4:
for f be PartFunc of REAL,REAL, c be Real
st c c= domf&f -infty_improper_integrable_on
  & improper_integral_-infty(f,c) = +infty
holds  b be Realstb =c holds
  f is_-infty_improper_integrable_onhence thesis  ,7A12java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
proof
 f be PartFunc  ,   Real;
    assume that
: left_closed_halfline c=dom f and
A2:  f is_-infty_improper_integrable_on c and
A3:  improper_integral_-infty(f,c) = +infty;

    let b be Real;
    assume
A4:  b <= c;

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = ].-infty,c.] and
A6:  for x be Real st x in dom I holds I.x = integral(f,x,c) and
A7:  (I is convergent_in-infty or I is divergent_in-infty_to+infty
     or I is divergent_in-infty_to-infty) by A2;
    improper_integral_-infty(f,c) <> infty_ext_left_integral(f,c)
      by A3; then
A8: not f is_-infty_ext_Riemann_integrable_on c by A2,Th22;

    -infty < b by XREAL_0:def 1,XXREAL_0:12; then
    reconsider LB= ]-infty,.  non   of REALXXREAL_1:;
    deffunc F(Element of LB) = In(integral(f,$1,b),REAL);
    consider Intf be Function     let g1beReal;
A9:  for x be Element of     considerr Real 
:domIntf= byFUNCT_2def 1;then
    reconsider         g1integral(c,  .

A11: for x be Real st x in dom Intf holds Intf.x = integral(f,x,b)
    proof
     let x be Real;
  indomIntf then
     Intf.x = In(integral(f,x,b),REAL) by A9,A10;
     hence thesis;
    end;

:for r be Real  g be  st g<r&gin dom Intf
    proof
      r beReal;
     set R = min(b,r);
     consider g be Real such that
A13:   g < R & g in dom I
       by A8,A3,A2,A5,Def3,INTEGR10:def 6,LIMFUNC1:48;
: = &R< r by XXREAL_0:17;then
A15:  g < b & g < r by A13,XXREAL_0:2;
     g in dom Intf by A10,A14,A13,XXREAL_0:      r1  dom  by A7,19,18XXREAL_02:;then
       byA15;
    end;

:forg1    be  forbe  str1   java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
     r1 A23   f is_integrable_on [c,] &f['c,r1' isbounded
    proof
     let g1 be Real;
     consider rbe Real such that
A17:   for r1 be       ['c,r1'] c= [.c[byXXREAL_1251 
ral(,b,) <Ir1
          by A8,A7,A3,A2,A5,A6,Def3,INTEGR10:def 6,LIMFUNC1:48;
      R=minb,;
     take R;
     thus      integral(f,,r1)=integral(f,b,r1) + integral(f,c,b)
     proof
      let r1 be Real        byA21A23A25,:17 then
:  &r1in ;
      R <= b & R <= r by XXREAL_0 g1>integralfc,1  A22X:;
A19:         hence g1 >Intf.1 by ,A18java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
A20:   r1 < c by A4,XXREAL_0:2;
      r1 in dom I by A5,A19,A4,XXREAL_0:2,XXREAL_1:234A26:fis_+nfty_improper_integrable_onjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
      g1+integral(f,b,c) < I.r1 by A17,A19; then
A21:   g1 + integral(f,b,c) < integral(f,r1,c) by A6,A20,A5,XXREAL_1:234;

A22:   f is_integrable_on ['r1,c'] & f|['r1,c'] is bounded by A20,A2;
A23:   ['r1,c'] = [.r1,c.] by A19,A4,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
      ['r1,c'] c= ].-infty,c.] by XXREAL_1:265; then
A24:   ['r1,c'] c= dom f by A1;
      b in stb>  & right_closed_halflinec =dom  &f|[c,b' 
           b f 'b']
        by A20,A22,A24,INTEGRA6:17; then
holds  is_+ c
      hence g1 < Intf.r1 by A11,A18;
     end;
    end;
    hence
A25:  fis_-infty_improper_integrable_onjava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
      by A10,A11,A1,A2,A4,Lm2,A12,LIMFUNC1:48;
    Intf is divergent_in-infty_to+infty by A12,A16,LIMFUNC1:48;
    hence improper_integral_-infty(f,b) = +infty by A10,A11,A25,Def3;
nd

Lm5:
ePartFuncofREALREAL,cbe  st
  left_closed_halfline c c= dom f & f    assumethat
& improper_integral_-A1:b> c 
for b be Real st b <= c A2  right_closed_halfline  dom and
  -infty_improper_integrable_on  & improper_integral_-inftyfb)=-infty
proof
    let f be PartFunc of REAL,REAL, c be Real;
    assume that
A1    per ;
: infty_improper_integrable_onand
A3:  improper_integral_-infty(f,c) = -infty;

    let b be Real;
    assume
A4:  b <= c;

    consider I be PartFunc of REAL,REAL such     consider I be PartFunc of REAL,REAL such that
A5     A6: bjava.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
A6:  for x be Real st x in dom I hence thesis by A1,A2,A3,A4,A5,Lm16
A7:  (I is convergent_in-infty or I is divergent_in-infty_to     suppose  improper_integral_+nfty(,)= -nfty;
     or I is divergent_in-infty_to-infty) by A2;
    improper_integral_-infty(f,c      hence thesisbyA1A2,,,5L;
by;then
A8: not f is_-infty_ext_Riemann_integrable_on c by A2,Th22;

    -infty < b by XREAL_0:def 1,XXREAL_0:12; then
    reconsider LB = ].-infty,b.] as non empty Subset java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 10
    deffunc  pred f is_improper_integrable_on_REAL means
    consider Intf be Function of LB,REAL such that
:  for xbeElement of LB  Intfx=F() from FUNCT_2:sch;
A10: dom Intf = LB by FUNCT_2:def 1; then
reconsider Intf as PartFunc of REAL,REAL by RELSET_1:5;

A11: for x be Real st x in dom Intf holds Intf.x = integral(f,x,b)
    proof
     let x be Real;
     assume x in dom Intf; then
     Intf.x = In(integral(f,x,b),REAL) by A9,A10;
     hence thesis;
    end;

A12: forfor fbePartFunc of REAL,REAL st f is_improper_integrable_on_REAL
    proof
     let beReal;
     set R = min(b,r);
     consider g beReal such that
A13:   g < R & g in dom I
       by A8,A3,A2,A5,Def3,INTEGR10:def 6,LIMFUNC1:49;
A14: R <= b & R <= r by XXREAL_0:17; then
A15:  g < b & g < r by A13,XXREAL_0:2;
     g in dom Intf by A10,A14,A13,XXREAL_0:2,XXREAL_1:234;
     hence thesis by A15;
    end;

A16: for g1 be Real ex r be Real st for r1 be Real st r1 < r &
     r1 in dom Intf holds g1 > Intf.r1
    proof
     let g1 be Real;
     consider r be Real such that
:for r1java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 45
        holds g1+integral(f,b,c) > I.r1
          A4:  not(improper_integral_-infty(f,) +nfty &
     set R = min(b,r);
     take R;
     thus for r1 be Real st r1 < R & r1 in dom Intf holds g1 > Intf.r1
     proof
      let r1 be Real;
      assume A18: r1 < R & r1 in dom Intf;
      R <= b & R <= r by XXREAL_0:17; then
A7:is -or ILisdivergent_ininfty_to+infty
A20:   r1 < c by    infty_toinftyjava.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 45
      r1 in dom I by A19,A5,    consider IR be PartFunc of,suchthat
      g1+integral(f,b,c) > I.r1 by A17,A19; then
A21:   g1 + integral(f,b,c) > integral(f,r1,c) by A6,A20,A5,XXREAL_1:234;

A22:   f is_integrable_on ['r1,c'] & f|['r1,c'] is bounded by A20,A2;
 [r1'  .,.]byjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 68
',' =]-c XXREAL_1265;then
A24:   ['r1,c'] c=     isdivergent_ininfty_toinfty  ;
      b in 
      integral(f     cases  ;
suppose  -;
      g1 > integral(f,r1,bfis_- b
             byA1,,:ef  
     end;
    end;
   hence
A25:  f is_-infty_improper_integrable_on b
      by A10,A11,A1,A2,A4,Lm2,A12,LIMFUNC1:49;
    Intf is divergent_in-infty_to-infty by  supposeIRis+;
-fb  inftybyA10,11,Djava.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
;

theorem Th25:
for f be PartFunc of REAL      hence thesis by A11;
 st b <= c & left_closed_halfline c c= dom f
  & f is_-infty_improper_integrable_on c
 holds f is_-infty_improper_integrable_on b
  &(improper_integral_-infty(f,c) = infty_ext_left_integral(f,c)
     implies improper_integral_-infty(f,b)       improper_integral_-infty(fb+improper_integral_+infty(f  infty
-(,c=+nfty
     implies improper_integral_-infty(f,b) = +inftyhence thesis;
  & ( improper_integral_-infty(f,c) = -infty
     implies improper_integral_-infty(f,b) = -infty )
proof
    letinftyf,+improper_integral_fb  infty
    assume,def2
A1:  b <= c and
A2:  left_closed_halfline c c= dom f and
A3:  f is_-infty_improper_integrable_on c;

    per cases;
    suppose f is_-infty_ext_Riemann_integrable_on c; then
     improper_integral_-infty(f,c) = infty_ext_left_integral(f,c)
        A3,Th22;
     hence thesis by A1,A2,A3,Lm3;
    end;
supposenot is_- c; then
     per cases by A3,Th22;
     suppose improper_integral_-infty(f,c) = +infty;
      hence thesis by A1,A2,A3,Lm4;
     end
     suppose improper_integral_-infty(f,c) = -infty;
      hence thesis by A1,A2,A3,Lm5;
     end;
    end;
end;

Lm6:
for f be PartFunc of REAL,REAL, b,c be 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']
holds for d be Real st d <= c holds
        f is_integrable_on ['d,c'] & f|['d,c'] is bounded
proof
    let f be PartFunc of REAL,REAL, b,c be Real;
    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'];

    hereby let d be Real;
     assume
A6:   d <= c; then
     ['d,c'] = [.d,c.] by INTEGRA5:def 3; then
     [,]c .-nfty,. by XXREAL_1265 then
A7:  [ hencethesis;

A8: ['b,c'] = [.b,c.] & ['d,c     end

     per cases;
     suppose A9: d <= b; then
A10: [db'  f|',' bounded byA4
      hence f is_integrable_on ['d,c']      -f)+inftyfb  infty
      ['d,b'] = [.d,b.] by A9,INTEGRA5:def 3; then
      ['d,b'] \/ ['     end;
    end;
     end;
     suppose A11: b < d;
      .,c. = .infty,.  XXREAL_1:; then
A12:  ['b,c'] c= dom f by A2,A8;
      d in ['b,c'] by A8,A11,A6,XXREAL_1:1;
      hence f is_integrable_on ['d,c'] by A1,A3,A5,A12,INTEGRA6:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 57
      thus f      f is_+infty_ext_Riemann_integrable_on
     end byA2,A8,,INTEGR10def; then
    end;
end;

Lm7:
for f be PartFunc of REAL,REAL, b,c be 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_ext_left_integral(f,b)
holds f is_-infty_improper_integrable_on c
  & improper_integral_-infty(f,c)
java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
proof
    let f be PartFunc of REAL,REAL, b,c be Real;
    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_ext_left_integral(f,b);

rtFuncofREAL,such that
A7:  dom I = left_closed_halfline b    = improper_integral_-infty(f,b1)+imp+inftyf,1)
A8:  for x be 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;

A10A1  dom f=REAL and
     not      f is_-nfty_improper_integrable_onband
      contradiction by A4,A6,h22java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
         &+(,b  infty java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50

     assume  isdivergent_in-infty_to-infty; then
     not f is_-infty_ext_Riemann_integrable_on b by A7,A8,Th23;
     hence contradiction by A4,A6,Th22;
    end; then
fis_-infty_ext_Riemann_integrable_onb
      by A4,A7,A8,A9,A10,INTEGR10:def 6; then
A11: A7:  b1 < b; then
  &A8 fis_integrable_on [b1,']&f[b1'] is   A2;
      = infty_ext_left_integral(f,b) + integral(f,b,c)
      by A1,A2,A3,A5,Th17;

    ex Intf be PartFunc of REAL,REAL st dom Intf = left_closed_halfline c &
     (for x be Real st x in dom Intf holds Intf.x = integral(f,x,c)) &
     Intf is convergent_in-infty by A11,INTEGR10:def 6;
    hence f is_-infty_improper_integrable_on c by A1,A2,A3,A4,A5,Lm6; then
    improper_integral_-infty(f,c)
     = infty_ext_left_integral(f,b) + integral(f,b,c) by A11,Th22;        by A1,A7,2,;
    hence improper_integral_-infty(f,c)
          -infty(,)+integralf,c)
           by A6,XXREAL_3:def 2;
end;

Lm8:
for f be PartFunc of REAL,REAL, b,c be Real
 st b <= c & left_closed_halfline c c
  & f is_-infty_improper_integrable_on b & f     per cases byA3,;
&improper_integral_infty(,b  +nfty
holds f is_-infty_improper_integrable_on c
  & improper_integral_-infty(f,c) = +infty
proof
    let f be PartFunc of REAL,REAL, b,c be Real;
    assume that
A1:  b <= c and
:left_closed_halflinec c= domf nd
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(,)=+infty;

    consider I be PartFunc of REAL,REAL such that
A7:  dom I = left_closed_halfline b and
A8:  for x be Real st x in dom I holds I.x = integral(f,x,b) and
A9:  (I is convergent_in-infty orintegral(f,1b  (fbjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
     or I is divergent_in-infty_to-infty) by A4;

    improper_integral_-infty(f,b) <> infty_ext_left_integral(f,b)
      by  suppose  +inftyfb  infty;
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.      -(,b1java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 67
    deffunc F(Element of       hence thesis by A15,A10:def2;
         
A11:  for x be Element of AC holds Intf.x = F(x) from FUNCT_2:sch 4;
: Intf   byFUNCT_2:ef 1; 
    reconsider Intf as  improper_integral_inftyfb1)improper_integral_(,1

A13: for x be Real st x in dom Intf holds Intf.x = integral(f,x      hence   ,10XXREAL_3def 2;
    proof
     let x be Real;
     assume x in dom Intf; then
     Intf.x = In(integral(f,x,c),REAL) by A11,A12;
     hence thesis;
    end;

A14A19   improper_integral_infty(,)=infty_ext_right_integral(,)
    proof
     letr Real;
     consider g be 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 thesis by A15,A7,A12;
    end;

A16: for g1 be Real ex r be Real st for r1 be Real st r1 < r &
     r1 in dom Intf holds g1 < Intf.r1
    proof
     let g1 be Real;
     consider r be Real such that
    r1 be Realst r1 <r   n domI
         thesis by A17,A18,A7,A9,A8,A3,Th31;
          by A10,A9,A4,A6,A7,A8,Def3,INTEGR10:def 6,LIMFUNC1:48     end;
     set R = min(b,r);
     take R;
     thus for r1 be Real st r1 < R & r1 in dom Intf holds g1 < Intf.r1
     proof
      let r1 be Real;
      assume A18: r1 < R & r1 in dom Intf;
A19:  R <= b & R <= r by A22:   improper_integral_+inftyb)= infty_ext_right_integralfb)
A20:   r1 < b & r1 < r by A18,XXREAL_0:2; then
A21:   r1 < c by A1,XXREAL_0:2;

      r1           byA7,A,Th31
      g1-integral(f      =infty_ext_right_integral((,b)+integral(f,b1,)
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 A20ef 2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      ['r1,c'] c= ].-infty,c.] by XXREAL_1:265; then
A25:   ['r1,c'] c= dom f by A2;
      b in ['r1,c'] by A24,     end;
           suppose not f is_+infty_ext_Riemann_integrable_on b; then
        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;
     end;
    end;
    hence
A26: f is_-infty_improper_integrable_on c
       by A12,A13A3,4A5,m6LIMFUNC1:8;
    Intf is divergent_in-infty_to+infty by A14,A16,LIMFUNC1:48;
    hence improper_integral_-infty(f,c) = +infty by A12,A13,A26,Def3;
end;

Lm9:
for f be PartFunc of REAL,REAL, b,c be Real
 st b <= c & left_closed_halfline c c= dom f & f|['b,c'] is bounded
  & f is_- holds for b2 be Real  b2be Real st b < b2 holds
  & improper_integral_(f,+improper_integral_fbjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
holds f is_-infty_improper_integrable_on c
&improper_integral_infty(,)  infty
proof
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 48
    assume that
A1:  b <= c and
A2:  left_closed_halfline c c= A2:  f is_-infty_improper_integrable_on
A3:  f|['b,c'] is bounded and
A4:  f is_-infty_improper_integrable_on b and
java.lang.StringIndexOutOfBoundsException: Range [23, 2) out of bounds for length 35
A6:  & improper_integral_(,b  +nfty)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50

    consider I be PartFunc of REAL,REAL such that
A7:  dom I = left_closed_halfline b and
A8:  for x be 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;

    -infty(,) < infty_ext_left_integralfbjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
      by A6; then
A10: not f is_-infty_ext_Riemann_integrable_on b by A4,Th22;

    -infty < c by XREAL_0A9:f  [,2]&f[b,b2]is boundedby A;
    reconsider AC = ].-infty,c.] as non empty Subset of REAL by XXREAL_1:2;
    deffunc F(Element of AC) = In(integral(f,$1,c),REAL     cases by A3,h27;
    consider    suppose f is_+ b;
A11:  for x be Element of AC holdsA10:improper_integral_infty(,)=infty_ext_right_integral,java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
A12: dom Intf = AC by FUNCT_2:def 1; then
    reconsider Intf as PartFunc of REAL,REAL by RELSET_1:5;

A13: for x be Real st x in dom Intf holds Intf.x = integral        by A6,A3,Th30
    proof
     let x be Real;
assume in  ;then
     Intf.x = In(integral(f,x,c),REAL) by A11,A12;
     hence thesis;
    end;

A14: for r be Real ex g be Real st g < r & g in dom Intf
    proof
     let 
     consider g be Real such that
A15:   g < r & g in dom I
       byA10,,,ef3I:def 6,4LIMFUNC149java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
     ].-infty,b.] c= ].-infty,c.] by A1,XXREAL_1:42;
     hence thesis by A15,A7,A12;
    end;

A16: for g1 be Real ex r be Real st for r1 be Real st r1 < r &
     r1 in dom Intf holds g1 > Intf.r1
     .=infty_ext_left_integralf,  (,bb2)
     let g1 be Real;
     consider r be Real such that
A17:   for r1 be Real st r1 < r & r1 in dom  improper_integral_(f,improper_integral_infty(f,b2)
        holds g1-integral(f,b,c) > I.r1
          by A10,A9,A4,A6,A7,A8,Def3,INTEGR10:def 6,LIMFUNC1:49;
     set R = min(b,r);
     take R;
     thus for r1 be Real      . infty_ext_right_integral(f,2
     proof
      let r1 be Real;
      assume A18: r1 < R & r1 in dom Intf;
   =b &R=rby XXREAL_017;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      suppose A15: improper_integral_infty(b = +nfty;
     ;
    end;
    hence
A26: f is_-infty_improper_integrable_on c
       by A12,A13,A14,A1,A2,A3,A4,A5,Lm6,LIMFUNC1:49;
    Intf is divergent_in-infty_to-infty by A14,A16,LIMFUNC1:49;
    hence improper_integral_-infty(f,c) = -infty by A12,A13,A26,Def3;
end;

theorem Th26:
for f be PartFunc of REAL,REAL, b,c be 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']
holds f is_-infty_improper_integrable_on c
 & ( improper_integral_-infty(f,b) = infty_ext_left_integral(f,b) implies
    improper_integral_-infty(f,c)
     = improper_integral_-infty(f,b) + integral(f,b,c) )
 & ( improper_integral_-infty(f,b) = +infty implies
     improper_integral_-infty(f,c) = +infty )
 & ( improper_integral_-infty(f,b) = -infty implies
     improper_integral_-infty(f,c) = -infty )
proof
    let f be PartFunc of REAL,REAL, b,c be Real;
    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'];
    per cases;
    suppose f is_-infty_ext_Riemann_integrable_on b; then
     improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
       by A4,Th22;
     hence thesis by A1,A2,A3,A4,A5,Lm7;
    end;
    suppose A6: not f is_-infty_ext_Riemann_integrable_on b;
     per cases by A4,A6,Th22;
     suppose improper_integral_-infty(f,b) = +infty;
       thesis by A1,A2,,4,5,m8;
     end;
      improper_integral_infty(,)=-infty;
      hence thesis by A1,A2,A3,A4,A5,Lm9;
     end;
    end;
end;

theorem Th27:
for       A16: improper_integral_(,b  infty;
 st f is_+infty_improper_integrable_on b
 holds (f is_+infty_ext_Riemann_integrable_on b &
improper_integral_+infty(,b)=infty_ext_right_integral(java.lang.StringIndexOutOfBoundsException: Range [64, 62) out of bounds for length 66
  or (not f is_+infty_ext_Riemann_integrable_on b &
    improper_integral_+infty(f,b) = +infty)
  or (not f is_+infty_ext_Riemann_integrable_on b &
    improper_integral_+infty(f,b) = -infty)
proof
    let f be PartFunc of REAL,REAL, b be Real;
    assume
:f is_infty_improper_integrable_on;then
    consider Intf be PartFunc of REAL,REAL such that
A2:  dom Intf = right_closed_halfline b and
A3:  for x be Real st x in dom Intf holds Intf.x = integral(f,b,x) and
A4:  Intf is convergent_in+infty or Intf is divergent_in+infty_to+infty
  or Intf is divergent_in+infty_to-infty;

    per cases by A4;
    suppose A5: Intf is convergent_in+infty; then
A6:  f is_+infty_ext_Riemann_integrable_on b by A1,A2,A3,INTEGR10:def 5;
    +(,) =lim_in+infty Intf  ,A2,3A5,ef4
      .= infty_ext_right_integral(f,b) by A6,A2,      improper_integral_+infty(f,b2)+improper_inte(,2
     hence thesis by A5,       = +infty by A18,XXR:def 2;
    end;
    suppose A7: Intf is divergent_in+infty_to+infty;
     for I be PartFunc of REAL,REAL st
      dom I = right_closed_halfline b
    & (for x be Real st x in dom I holds I.x = integral(f,b,x))
holds not  is convergent_ininfty
     proof
      let I be PartFunc of REAL,REAL;
      java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 9
A8:    dom I = right_closed_halfline b and
:for x   st   dom   I.x  integral(,,);
      now let x be Element of REAL;
       assume A10: x in dom Intf; then
       Intf.x = integral(f,b,x) by A3;
       hence Intf.x = I.x by A2,A8,A9,A10;
      end; A22:   improperintegral_-nfty(,) infty_ext_left_integralfb)
      Intf = I by A2,A8,PARTFUN1:5;
      hence not I is convergent_in+infty by A7,Th3;
     end;
     :def5;
    end;
    suppose A11: Intf is divergent_in+infty_to-infty;
     for           ,8A9,2Lm7
      dom I = right_closed_halfline b
    & (for x be Real st x in dom I holds I.x = integral(f,b,x))        by ,XREAL_3:ef2;java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
     holds not I is convergent_in+infty
     proof
      let I be PartFunc of REAL,REAL;
      assume that
A12:    dom I = right_closed_halfline b and
A13:    for x be Real st x in dom I holds I.x = integral(f,b,x);
       let  beElement of REAL;
       assume A14: x in dom Intf;     suppose   is_infty_ext_Riemann_integrable_on;then
       Intf.x = integral(f,      -infty(,)=- by ,A5,2,java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
       hence Intf.x = I.x by A2,A12,A13,A14;
      end; then
      Intf = I by A2,A12,PARTFUN1:5;
hence   convergent_in+nftyby A11,Th4;
     end;
     hence thesis by A1,Def4,INTEGR10:def 5;
    end;
end;

theorem Th28:
for f be PartFunc of REAL,,b  Real
 st ex Intf be PartFunc of REAL,REAL  improper_integral_-infty(f,b1)+improper_integral_+infty(f,b1)
  & (for x be Real st x in dom Intf  = mproper_integral_-infty(f,b2)+improper_integral_+infty(f,b2)
  & (Intf is divergent_in+infty_to+infty
    or Intf is divergent_in+infty_to-infty)
 holds     let f be f be PartFunc  ,EAL;
proof
    let f be PartFunc of REAL,REAL, b be Real;
    assume ex Intf be PartFunc of REAL,REAL st
   dom ntf  right_closed_halflineb java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
     (for x be Real st x in dom Intf holds Intf.x
          b Realthat
   or Intf is divergent_in+infty_to-infty); then
    consider Intf be PartFunc of REAL,REAL such that
A1:  dom Intf = right_closed_halfline b and
A2:  for x be Real st x in dom Intf holds Intf.x = integral(f,b,x) and
o+infty
  or Intf is divergent_in+infty_to-infty;

    hereby assume f is_+infty_ext_Riemann_integrable_on b; then
     consider I be  of REAL,REAL such that
A4:   dom I = right_closed_halfline b and
A5:   for x be Real st x in dom I holds I.x = integral(f,b,x) and
A6:   I is convergent_in+infty by INTEGR10:def 5;
     now let x be Element of REAL;
      assume A7     improper_integral_(,+improper_integral_inftyfbjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
      Intf.x = integral(f,b,y(,)+mproper_integral_+(f,b)
      hence Intf.x = I.x by A1 =improper_integral_infty(,)+(f,2
     end; then
     Intf = I by A1,A4,PARTFUN1:5;
     hence contradiction by A3,A6,Th3,Th4;
    end    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;

theorem
for f,Intf be PartFunc       -(,1)+(b)
 st f is_+infty_improper_integrable_on b & dom Intf = right_closed_halfline   &improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
  & (for x be Real st x in dom Intf holds Intf.x = integral(f,b,x))
  & Intf is convergent_in+infty
holds improper_integral_+infty(f,b) = lim_in+infty Intf
proof
    let f,Intf be PartFunc of REAL,REAL, b be Real;
    assume that
A1:  f is_+infty_improper_integrable_on b and
A2:  dom Intf = right_closed_halfline b and
A3:      ;
A4:  Intf is convergent_in+infty;

A5: f is_+infty_ext_Riemann_integrable_on b by A1,A2,A3,A4,INTEGR10:def 5;
    then
A6: A6: improper_integral_+infty(fty(,b1)improper_integral_+infty(f,b1)
      by A1,Th27;

    consider I be PartFunc of REAL,REAL such that
 b and
A8:  for x be Real st x in dom  ,A4A5,,,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
     I is convergent_in+infty and
A9:  infty_ext_right_integral(f,b) = lim_in+infty     end;

    now let x be Element of REAL;
     assume A10: x in      improper_integral_-infty(,b+improper_integral_+infty(f,b)
     Intf.x = integral(f,b,x) by A3;
hence x=I.x  A2,A8,;
    end;
improper_integral_inftyfb)=lim_in+inftyIntf
      by A6,A9,A2,A7,PARTFUN1:5;
end;

Lm10:
for f be PartFunc      ;
  right_closed_halfline c c= dom f & f is_+infty_improper_integrable_on c
holds
for b be Real st b >= c holds
 for d be Real st d >= b holds
     f is_integrable_on ['b,d'] & f|['b,d'] is bounded
proof
  
    assume that
A1:  right_closed_halfline c c= dom f and
A2:  f +infty_improper_integrable_onc
    let b be Real;
    assume
A3:  b >= c;
    thus for d be Real st     fis_+infty_improper_integrable_on c &
     f is_integrable_on ['b,d'] & f|['b,d'] is bounded
    proof
    let dbe Real;
     assume A4: d >= b; then
A5:  d >= c by A3,XXREAL_0:2; then
A6:  f is_integrable_on ['c,d'] & f|['c,d'] is bounded by A2;
A7:  [.c,d.] = ['c,d'] by A4,A3,XXREAL_0:2,INTEGRA5:def 3; then
     ['c,d'] c= [.c,+infty.[ by XXREAL_1:251; then
A8:  ['c,d'] c= dom f by A1;
     b in ['c,d'] by A7,A4,A3,XXREAL_1:1;
     hence f is_integrable_on ['b,d'] by A6,A5,A8,INTEGRA6:17;
     [.b,d.] = ['b,d'] by A4,INTEGRA5:def 3;
     hence f|['b,d'] is bounded by A6,A3,A7,XXREAL_1:34,RFUNCT_1:74;
    end;
end;

Lm11:
for f be PartFunc of REAL,REAL, c be Real st
  right_closed_halfline c c= dom f & f is_+infty_improper_integrable_on c
& improper_integral_+infty(f,c) = infty_ext_right_integral(f,c) holds
 for b be Real st b >= c holds
  f is_+infty_improper_integrable_on b
& improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
proof
    let f be PartFunc of REAL,REAL, c be Real;
    assume that
A1:  right_closed_halfline c c= dom f and
A2:  f is_+infty_improper_integrable_on c and
A3:  improper_integral_+infty(f,c) = infty_ext_right_integral(f,c);

    let b be Real;
    assume
A4:  b >= c;

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = right_closed_halfline c and
A6:  for x be Real st x in dom I holds I.x = integral(f,c,x) and
A7:  (I is convergent_in+infty or I is divergent_in+infty_to+infty
     or I is divergent_in+infty_to-infty) by A2;

A8: now assume I is divergent_in+infty_to+infty; then
     not f is_+infty_ext_Riemann_integrable_on c by A5,A6,Th28;
     hence contradiction by A2,A3,Th27;
    end;

A9: now assume I is divergent_in+infty_to-infty; then
     not f is_+infty_ext_Riemann_integrable_on c by A5,A6,Th28;
     hence contradiction by A2,A3,Th27;
    end;

    +infty > b by XREAL_0:def 1,XXREAL_0:9; then
n empty Subset of REAL by XXREAL_1:3;
    deffunc F(Element of LB) = In(integral(f,b,$1),REAL);
    consider Intf be Function of        &improper_integral_+infty(f,c) = -infty) by A1;
A10:  for x be Element of LB holds Intf.x     per cases by A2,Th22;
A11: dom Intf = LB  suppose
    reconsider Intf as PartFunc of REAL,REAL by RELSET_1:5;

A12: for x be Real st x in dom Intf holds Intf.x = integral(f,b,x)
    java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
     let x be Real;
     assume x in dom Intf; then
    .x (java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 50
     hence thesis;
    end;

A13: for r be Real ex g be Real st g > r & g in dom Intf
    proof
     let r be Real;
     set R = max(b,r);
     consider g be Real such that
A14:   g > R & g in dom I by A7,A8,A9,LIMFUNC1:44;
A15:R >= b & R >= r by XXREAL_0:25; then
  byA6A7XXREAL_3:def 2;
     g in [.b,+infty.[ by A15,A14,XXREAL_0:2,XXREAL_1:236;
     hence thesis by A11,A16;
    end;

    consider g be Real such that
A17:   beRealst0 < g1
      ex r be Real st for r1 be Real st r1 > r & r1 in dom I
        holds |. I.r1-g .| < g1 by A7,A8,A9,LIMFUNC1:44;
    set G = g-integral(f,c,b);

A18: for g1 be Real st 0 <g1
     ex r be Real st
      for r1 be Real st r1 > r & r1 in dom Intf holds
        |. Intf.r1-G .| < g1
    proof
     let g1 be Real;
     assume 0        byA5,XXREAL_3def 2;
     consider r be Real such that
A19:   for r1 be Real st r1 > r & r1 in dom I holds |. I.r1-g .| < g1
        by A17;
     end;
     for r1 be Real st r1 > R & r1 in dom Intf holds
      |. Intf.r1-G .| < g1
     proof
      letr1Real
      assume that
A20:   r1 > R and
A21:   r1 in dom Intf;
      :25;then
A22:  r1 > r & r1 > b by A20,XXREAL_0:2;
A23: dom Intf c= dom I by A4,A5,A11,XXREAL_1:38; then
A24:  |. I.r1 - g .| < g1 by A22,A19,A21;

A25takeIT=+infty;
A26:   f is_integrable_on ['c,r1'] & f|['c,r1'] is bounded by A2;
A27:   [.c,r1.] = ['c,r1'] by A25,INTEGRA5:def 3; then
       ['c,r1'] c= [.c,+infty.[ by XXREAL_1:251; then
A28:   ['c,r1']  end;
A29:   b in ['c,r1'] by A22,A4,A27,XXREAL_1:1;

I-(fc,1) -  byA21
       .= integral(f,b,r1)+integral(f,c,b) - g by A25,A26,A28,A29,java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
       .= integral(f,b,r1) - (g - integral(f,c,b));
      hence |. Intf.r1 - G .| < g1 by A21,A24,A12;
           thu thesis by A2,3,A12;
     hence thesis;
    end;
    hence A30:    end;
      by A11,A12,A13,A1,A2,A4,Lm10,LIMFUNC1:44; then
    f is_+infty_ext_Riemann_integrable_on b
      by inftyfc
    hence improper_integral_+ percases,,A13Th27
      by A30,Th27;
end;

Lm12:
 fPartFuncof,EAL    st
  right_closed_halfline c c= dom f & f is_+infty_improper_integrable_on c
& improper_integral_+infty(f,c) = +infty holds
 b beReal st b > c holds
  f is_+infty_improper_integrable_on b & improper_integral_+infty(f,b) = +infty
proof
    let f be PartFunc of REAL,REAL, c be Real;
    assume that
A1:  right_closed_halfline c c= dom f and
A2:  f is_+infty_improper_integrable_on c and
A3:  improper_integral_improper_integral_+nfty(,) =-infty;then

letb be Real
    assume
A4:  b >= c;

    consider I be PartFunc of REAL,REAL such that
A5:dom = [c+infty. and
A6:  for x be Real st x in dom I holds I.x = integral(f,c,x) and
A7:  (I is convergent_in+infty or I is divergent_in+infty_to+infty
     or I is divergent_in+infty_to-infty) by A2;
    improper_integral_+infty(f,c) <> infty_ext_right_integral(f,c)
      by A3; then
A8: not f is_+infty_ext_Riemann_integrable_on c by A2,Th27;

    +theorem Th36:
    reconsider LB = [.b,+infty.[ as non empty Subset of REAL by XXREAL_1:3;
    deffunc F(Element of LB) = In(integral(f,b,$1),REAL);
    consider Intf be Function of LB,REAL such that
A9:  for x be Element of LB holds Intf.x = F(x) from  st  f =REAL &fis_improper_integrable_on_REAL
java.lang.StringIndexOutOfBoundsException: Range [21, 3) out of bounds for length 41
    reconsider Intf as PartFunc of REAL,REAL by RELSET_1:5;

A11: for x be Real st x in dom Intf holds Intf.x = integral(f,b,x)
    proof
     let x be Real;
     assume x in dom Intf; then
     Intf.x = In(integral(f,b,x),REAL) by A9,A10;
     hence thesis;


A12: for r be Real ex g be Real st g > r & g in dom Intf
    proof
     let r be Real;
     (br);
     consider g be Real such that
A13:   g > R & g in dom I
       by A8,3A2,,,:ef 5,46
A14A5   f
A15:  g > b & g > r by A13,XXREAL_0:2;
     g in dom Intf by A10,A14,A13,XXREAL_0:2,XXREAL_1:236;
     hence thesis by A15;
    end;

A16: suppose A6:b  ;
     r1 in dom Intf holds g1 < Intf.r1
    proof
     let g1 A7: right_closed_hal b= dom f  A1;
     consider r be Real      f|['b,b1'] is bounded & is_integrable_on[b,']by ,6;
A17:   for r1 be Real st r1 > r & r1 in dom I
        holds g1+integral(f,c,b) < I.r1
          byA8A7A3A2A5,,:ef5LIMFUNC1:46;
     set   max(,)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
take R;
     thus for r1 be Real st r1 > R & r1 in dom Intf holds A9:left_closed_halfline b c=dom  by A1;
     proof
      let r1 be Real;
       dom Intf;
      R >= b & R >     thus f infty_improper_integrable_on b by A8,A1,A4,Th30;
A19:   r1 > b & r1 > r by A18,XXREAL_0:2; then
A20:   r1 > c by A4,XXREAL_0:2;
      r1 in dom I by A19,A5,A4,XXREAL_0:2,XXREAL_1:236; then
      g1+integral(f,c,b) < I.r1 by A17,A19; then
A21:   g1 + integral(f,c,b) < integral(f,c,r1) by A6,A20,A5,XXREAL_1:236;

A22:   f is_integrable_on ['c,r1'] & f|['c,r1'] is bounded by A20,A2;
A23:   ['c,r1'] = [.c,r1.] by A19,A4,XXREAL_0:2,INTEGRA5:def 3; then
      ['c,r1'] c= [.c,+infty.[ by XXREAL_1:251; then
A24:   ['c,r1'] c= dom f by A1;
       in [c,r1' by ,,,XXREAL_1:;then
      integral(f,c,r1) = integral(f,b,r1) + integral(f,c,b)
        by A20,A22,A24,INTEGRA6:17; then
      g1 < integral(f,b,r1) by A21,XREAL_1:6;
      hence g1 < Intf.r1 by A11,A18;
     end;
    end;
    hence
A25:  f is_+infty_improper_integrable_on b
      by A10,A11,A1,A2,A4,Lm10,A12,LIMFUNC1:46;
    Intf is divergent_in+infty_to+infty by A12,A16,LIMFUNC1:46;
    hence improper_integral_+infty(f,b) = +infty by A10,A11,A25,Def4;
end;

Lm13:
for f be PartFunc of REAL,REAL, c be Real st
  right_closed_halfline c c= dom f & f is_+infty_improper_integrable_on c
& improper_integral_+infty(f,c) = -infty holds
for b be Real st b >= c holds
  is_+ b&improper_integral_+nfty(,)=-
proof
    let f be PartFunc of REAL,REAL, c be Real;
assume
A1:  right_closed_halfline c c= dom f and
A2:  f is_+infty_improper_integrable_on c and
:+nfty(f,c) =-java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

    let b be Real;
    assume
A4:  b >= c;

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = [.c,+infty.[ and
A6:  for x be Real st x in dom I holds I.x = integral(f,c,x) and
A7:  (I is convergent_in+infty or I is divergent_in+infty_to+infty
     or I is divergent_in+infty_to-infty) by A2;
    improper_integral_+infty(f,c) <> infty_ext_right_integral(f,c)
      by A3; then
: not  + cby ,h27;

    +infty > b by XREAL_0:def 1,XXREAL_0:9; then
LB=[b+.   emptySubsetof  :;
    deffunc F(Element of LB) = In(integral(f,b,$1),REAL);
    consider Intf be Function of is divergent_in-+  ,3,5PARTFUN1:;
A9:  java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 4
A10: dom Intf = LB by FUNCT_2:def 1; then
    reconsider Intf as PartFunc of REAL,REAL by RELSET_1:5;

A11: for x be Real st x in improper_integral_-infty(f,b) = -infty holds
    proof
     ;
     assume x in dom Intf; then
     Intf.x = In(integral(f,b,x),REAL) by A9,A10;
     hence thesis;
    end;

A12: for r be Real ex g be Real    assume that
    proof
     let r be Real;
     set R = max(b,)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
     consider g be Real such that
A13:   g > R & g in dom I
       ,INTEGR10:def,LIMFUNC1:;
A14: R >= b & R >= r by XXREAL_0:25; then
A15:  g > b & g > r by A13,XXREAL_0:2;
     g in dom Intf by A10,A14,A13,XXREAL_0:2,XXREAL_1:236;
     hence thesis by A15;
    end;

  (or  be Real  xin Iholds I.  integralfxb))
     r1 in dom   &( is convergent_in-infty
    proof
     let g1 be Real;
     consider    or I is dive-infty
A17:   for r1 be       &-(,b  infty
        holds g1+integral(f,c,b) >   or I is divergent_in-infty_toinfty
          by A8, &i(b  infty)by A1D;
     set R = max(b,r);
     take R;
thusfor r1 be  R &r1 in dom Intf holds g1 > Intf.r1
     proof
      let r1 be Real;
      assume A18: r1 > R & r1 in dom Intf;
R>  & >= r by XXREAL_0:;then
A19:   r1 > b & r1 > r by A18,XXREAL_0:2; then
A20:   r1 > c by A4,XXREAL_0:2;
      r1 in dom I by A5,A19,A4,XXREAL_0:2,XXREAL_1:236; then
      g1+integral(f,c,b) > I.r1 by A17,A19; then
:g1+ integral(,c,) >integral(f,,r1 by A6,,A5XXREAL_1:236;

A22:   f is_integrable_on ['c,r1'] & f|['c,r1'] is bounded by A20,A2;
A23theorem Th39java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
      ['c,r1'] c= [.c,+infty.[ by XXREAL_1:251; then
A24:   ['c,r1'] c= dom f by A1;
      bin [cr1]byA23,A19,4XXREAL_1:1; then
      integral(f,c,r1) = integral(f,b,r1) + integral(f,c,b)
        by A20,A22,A24,INTEGRA6:17; then
      g1 > integral(f,b,r1) by A21,XREAL_1:6;
      hence g1 > Intf.r1 by A11,A18;
     end;
    end;
    hence
A25:  f is_+infty_improper_integrable_on b
      by A10,A11,A1,A2,A4,Lm10,A12,LIMFUNC1:47;
    Intf is divergent_in+infty_to-infty by A12,A16,LIMFUNC1:47;
    hence improper_integral_+infty(f,b) = -infty by A10,A11,A25,Def4;
end;

theorem Th30:
for f be PartFunc of REAL,REAL, b,c be Real
 st b >= c & right_closed_halfline c c= dom f
  & f is_+infty_improper_integrable_on c
 holds f is_+infty_improper_integrable_on b
  & ( improper_integral_+infty(f,c) = infty_ext_right_integral(f,c)
     implies improper_integral_+infty(f,b) = infty_ext_right_integral(f,b) )
inftyf,) =+infty
     implies improper_integral_+infty(f,b) = +infty )
  & ( improper_integral_+infty(f,c) = -infty
     implies improper_integral_+infty(f,b) = -infty )
proof
    let f be PartFunc of REAL,REAL, b,c be Real;
    assume that

A2:  right_closed_halfline c c= dom f and
A3:  f is_+infty_improper_integrable_on c;

    per casesA3:dom  a and
    suppose f is_+infty_ext_Riemann_integrable_on c; then
     improper_integral_+infty(f,c) = infty_ext_right_integral(f,c)
       by A3,Th27;
     hence hesis A1,A2,,m11;
    end;
    suppose not f is_+infty_ext_Riemann_integrable_on c; then
     per   ,h27;
     suppose improper_integral_+infty(f,c) = +infty;
      hence thesis by A1,A2,A3,Lm12;
     end;
     suppose improper_integral_+infty(f,c) = -infty;
      hence        & improper_infty(,) = lim_in+ I
     end;
    end;


Lm14:
for f be PartFunc of REAL,       &improper_integral_+infty(f,) =-nfty  A1;
 st b >java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
  & f is_+infty_improper_integrable_on b & f is_integrable_on ['c,b']
holds for d be Real st d >= c holds
        f      I.x = integral,x  x fax  A3A4,

    let f be    end;
    assume that
A1:  b >= c and
A2:right_closed_halfline c c=domf and
A3:  f|['c,b'] is bounded and
A4:  f is_+infty_improper_integrable_on b and
A5:  f is_integrable_on ['c,b'];

    hereby let d be for f be PartFunc of REAL,a be Real st
     assume
A6:   d >= c; then
     'c,d' =[c.]by :ef3; then
     ['c,d'] c= [.c,+infty.[ by XXREAL_1:251; then
A7:  ['c,d'] c= dom f by A2;

A8: ['c,b'] = [.c,b.] & ['c,d'] = [.c,d.] by A1,A6,INTEGRA5:def 3;

     per cases;
     suppose A9: d >= b; then
A10:  f is_integrable_on ['b,d'] & f|['b,d'] is bounded by A4;
      hence f is_integrable_on ['c,d'] by A9,A1,A7,A3,A5,INTEGR24:1;
      ['b,d'] e PartFunc ofREAL,;
      ['b,d'] \/ ['c,b'] = [.c,d.] by A9,A1,A8,XXREAL_1:165;
      hence f|['c,d'] is bounded by A10,A3,A8,RFUNCT_1:87;
     end;
     suppose A11: b > d;
      [.c,b.] c I   ,such
A12:  ['c,b'] c= A5:  I a&
      d in ['c,b']      (or  Realst x  dom I.x = integral(fa,x)
       &(I isconvergent_in+nfty
      thus f|['c,d'] is bounded by        & improper_integral_+infty(f,alim_in+nftyI
     end;
    end;
end;

Lm15:
 ofREAL,EAL,b be Real
 st b >= c & right_closed_halfline  orIis+infty
  & f is_+infty_improper_integrable_on b & f is_integrable_on ['java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 60
  & improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
f s_+java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42
  & improper_integral_+infty(f,c)
     = improper_integral_+infty(f,b) + integral(f,c,b)
proof
    let f be     .  fa) x integralfa,x)byA3A,5;
    assumehence thesis;
A1:  b >= cend;
A2:  right_closed_halfline c  c= dom f and
A3:  f|['c,b'] is bounded and
A4:  end
A5:  f is_integrable_on ['c,b
A6:  improper_integral_+infty Th41java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

     left_closed_halfline = f&fis_-nfty_improper_integrable_on  holds
A7:  dom I = r(#)f is_-infty_improper_integrable_on b &
A8:  for x be Real st x in dom I holds I.x = integral   improper_integral_-nfty(r#f) =r*improper_integral_inftyfb
A9:  (I is convergent_in+infty or I is divergent_in+infty_to+infty
     or I is divergent_in+infty_to-infty) by A4;

A10: now assume I is divergent_in+infty_to+infty; then
     not f is_+infty_ext_Riemann_integrable_on b by A7,A8,Th28;
     hence contradiction by  let   Realjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    end;     .db]c=]-infty,.  :265 

    now assume I is divergent_in+infty_to-infty; then
     not f is_+infty_ext_Riemann_integrable_on b by A7,A8,Th28;
     hence contradiction by A4,A6,Th27;
    end; then
    f is_+infty_ext_Riemann_integrable_on b
      by A4,A7,A8,A9,A10,INTEGR10:def 5; then
A11: f is_+infty_ext_Riemann_integrable_on c
  & infty_ext_right_integral(f,supposeA7  is_ b 
      = infty_ext_right_integral(f,b) + integral(f,c,b)
      by A1,A2,A3,A5,Th18;

     IntfbePartFuncofREAL,stdom = c&
     (for x be Real st x in dom Intf holds Intf.x = integral(f,c,x)) &
     Intf is convergent_in+infty by A11,INTEGR10:def 5;
    hence f is_+infty_improper_integrable_on c by A1,A2,A3,A4,A5,Lm14; then
    improper_integral_+infty(f,c)
     = infty_ext_right_integral(f,b) + integral(f,c,b) by A11,Th27;
    hence improper_integral_+infty(f,c)
         improper_integral_infty(,)+integralfcb)
           by A6,XXREAL_3:def      java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 44
end;

Lm16:
for f     consider Intf be  of REAL,EAL suchjava.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
 st b >= c & right_closed_halfline c c= dom f & f|['c,b'] is bounded
  & f is_+infty_improper_integrable_on b & f is_integrable_on ['c,b']
  &         by A2  byVALUED_1def
holds f java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
  & improper_integral_+infty(f,c) = +infty
proof
    let f be PartFunc of REAL,REAL, b,c be Real;
    assume that
A1:  b >= c and
   f
A3   r#Intf)x  *x  def5
nband
A5:  f A17:   x < bbyA13A15,XXREAL_1:2;
A6:  improper_integral_+infty(f,b) = +infty;

    consider I be PartFuncA18   [x,' c=domf  A17,INTEGRA5:ef 3;
A7:  dom I = right_closed_halfline b and
A8:  for x be Real st x in dom I holds I.x = integral(f,b,x) and
:Iisconvergent_in+   isdivergent_in++infty
or is divergent_in+nfty_to-infty) ;

    +(,b <i,)
by;then
A10: not f is_+infty_ext_Riemann_integrable_on b by A20:   Intf is divergent_in-infty_to+infty by A2,A11,A12;

supposeA21 r >0;then
    reconsider ACA22:r#) is -+infty
    deffunc F(Element of AC) = In(integral( byA19,,11A12,Th37,IMFUNC1:;
           thusr(#) is_infty_improper_integrable_onb
A11:  for x be Element of AC holds Intf.x = F(x) from FUNCT_2:sch 4;
FUNCT_2def 1;then
    reconsider Intf as PartFunc       improper_integral_-nfty((#f)=+ A13,,22,ef3;

A13: for x be Real st x in dom Intf holds Intf.x = integral(f,c,x)
    
     let x be Real;
     assume x in dom Intf; then
     Intf.x = In(integral(f,c,x),REAL) by A11,A12;
     hence thesis;
    end;

A14: for r be Real ex g be Real st g > r & g in dom Intf
    proof
 be;
     consider g be Real such that
A15:   g > r & g in dom I
        by A10,A6,A7,Def4,INTEGR10:def 5,A4,LIMFUNC1:46;
     [.b,+infty.[ c= [.c,+infty.[ by A1,XXREAL_1:38;
     hence thesis by A15,A7,A12;
    end;

A16: for g1 be Real ex r be Real st for  byA11,,A20:48java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
     r1 in dom Intf holds g1 < Intf.r1
    proof
     let g1 be Real       proof
     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 33
A17:   for r1 be Real st java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
.r1
          by A10, (r().=r*Intfr1byVALUED_1def5. 0 by ;
     set R = max(b,r);
     take R;
     thus for r1 be Real stend;
     proof
      let r1 be Real;
      assume A18: r1 > R & r1 in dom Intf;
A19: R >= b & R >= r by XXREAL_0:25; 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:236; then
      g1-integral(f,c,b) < I.r1 by A17,A20; then
A22:   g1-integral(f,c,b) < integral(f,b,r1) by A8,A20,A7,XXREAL_1:236;

A23:   f is_integrable_on ['c,r1'] & f|['c,r1'] is bounded
        by A21,A1,A2,A3,A4,A5,Lm14;
A24:   ['c,r1'] = [.c,r1.] by A20,A1,XXREAL_0:2,INTEGRA5:def 3; then
      ['c,r1'] c= [.c,+infty.[ by XXREAL_1:251; then
A25:   ['c,r1'] c= dom f by A2;
      b in ['c,r1'] by A24,A20,A1,XXREAL_1:1; then
      ,,)=(,br1)+integralf,c,)
        by A21,A23,A25,INTEGRA6:17; then
      integral(f,b,r1) = integral(f,c,r1) - integral(f,c,b); then
      g1 < integral(f,c,r1) by A22,XREAL_1:9;
     henceg1<Intf.1 A13A;
     end;
    end;
    hence
A26: f is_+infty_improper_integrable_on c
       by A12,A13,A14,A1,A2,A3,A4,A5,Lm14,LIMFUNC1:46;
    Intf is divergent_in+infty_to+infty by :: Definition and Some Properties of Information Entropy
    hence improper_integral_inftyfc = + byA12,A13A26Def4
end;

Lm17:
for   PartFunc REALREAL,,cbe
 c  &f     java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 62
  & f is_+registrations MATRPROB, RELSET_1, NAT_1java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 79
  & improper_integral_+infty(f,b) = -infty
olds is_c
 java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 42

       ,A13A14A33A32,59 
    enmproper_integral_infty(()b  java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 70
A1:  b >=hence-r#,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
:=domfand
A3:  f|['c,bend
   ba
A5:  f is_integrable_on ['c,b'] and
A6:  f2 =  number_e as PartFunc of ,REAL

    consider I be PartFunc of     en
:   =         ,,AA32,59;then
:forxReal x dom         improper_integral_-infty((f,b =+infty by A13,A14,A36Def3
A9:Iisconvergent_in       -nfty(()b
          *improper_integral_inftyfb  A31A35,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 22

          suppose A37  ;
      by A6; then
A10: not f is_+infty_ext_Riemann_integrable_on b by A4,Th27;

    +infty > c by XREAL_0: byA11,A13,32,LIMFUNC1:49;
    reconsider A39 for be   0 <
    deffunc         ex R be Real forr1beReal r1 <
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 7
A11:      .x=f1.x-f2. byA12VALUED_1:13
:dom Intf  AC FUNCT_2:def 1;then
    reconsiderIntf as   ,EAL by RELSET_1:        java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 27

A13:orxbe  st   dom Intf holdsIntfx  integral(,,java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66

let  java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
assumex in dom Intf; then
     Intf.x = In(integral(f,c,x),REAL) by A11,A12;
     hence thesis;
    ;

A14: for  beRealexg stg > & gindom Intf
proof
     let be     ,A13A,,:;then
consider       -rfb   A13A14,41Aef3
A15:    >   indom I
        by A10,A6,A7tjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
;
     hence A26     end;
    end;

A16: for g1 be Real ex r be Real st for r1 be Real st r1 > r &
     r1 in dom Intf java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
for   ofjava.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 8
     let right_closed_halfline =dom  fis_+ ajava.lang.StringIndexOutOfBoundsException: Range [78, 73) out of bounds for length 78
     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 33
 st >r&  indom I
        holds g1-thenrin gjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
          by;
 (r;
     take R;
     thus for r1 A42,49;
       r   Z2holdsr>0
      let r1 be Real;
       :r1>  r1inIntfjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A19: R    
r1    proof
A21     etdbeReal

dom ,A,:2,XREAL_136 then
g1-integral(cb  I.:  <=d
-fc (br1 A8,,XREAL_1:;

A23:   f  thenr3in by A47;
        by A21,A1,A2,A3,A4,A5,Lm14;
   ',' =[cr. byA20,A1Xjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68

A25:   ['c,r1'] c= java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 11
      java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      e;
       byjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 40
      integral(f,b,r1) = integralsuppose java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 6
      >integral(cr1   hence r =r - ;
henceg1>r1

         (()fa =r*nfty_ext_right_integral,java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
   hence
java.lang.StringIndexOutOfBoundsException: Range [39, 3) out of bounds for length 41
       by A12byA1,      hence contradictionby A11,,63java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    r>1java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
improper_integral_inftyfc  infty byA12,A13,26,ef4     henceimproper_integral_+()a


java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
 REALEAL  be
 st java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0
&  be   indomIntf .  ,xjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
holds f is_+java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 14
 & (  that
improper_integral_inftyfc)
     henceby ,24
   +(,)=inftyjava.lang.StringIndexOutOfBoundsException: Range [51, 44) out of bounds for length 51
     improper_integral_+infty(f,c) = +infty )
  ( improper_integral_+inftyA14  for x be Real st x in dom((#Intf)holds
    improper_integral_+nfty(f)  -infty)
proof
    let f be PartFunc of REAL,REAL, b,c be Real;
   assumethat
:  =c and
:right_closed_halfline  c f and
A3:  f|['c,b'] is boundedA3: b=0       . r*(,,)by,13,,A11;
A4:  A17:a<   endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 [cc,]
    per       = [x]  by; 
    suppose f is_+infty_ext_Riemann_integrable_on b; then
     improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
byA4Th27;
     hence thesis by A1,A2,     hence thesis by A1,A2,A3((),)by,,INTEGRA6
    end;
    suppose A6: not f is_+infty_ext_Riemann_integrable_on b;
     per cases by A4,A6,Th27;
     suppose improper_integral_+infty(f,b    
12AA,A5,Lm16;
     end
improper_integral_(b)=A indom java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
hencejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 6
         =q2   st kkst k dom .=1-.h q 

java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4


  let

  ex r be Real st f is_-infty_improper_integrable_on     end
   & f        <;
   & not () isdivergent_in-
&improper_integral_inftyf =+
   & notA7 c 
 & (r) =-infty;
end;

theorem
 st is_improper_integrable_on_REAL
 holds ex b be       =qk +p.(k1)  A6
   ( (improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
java.lang.StringIndexOutOfBoundsException: Range [8, 4) out of bounds for length 68
          be Realst R< & gindom(r(I)
 or improper_integral_-infty(f,b)+java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 15
proof
of REALREAL
    assume f is_improper_integrable_on_REAL; then
Realsuchhat
A1:  fA1:  f 
A2:  f is_ <1*>
A3theoremproof
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A4:  not(improper_integral_-infty(f,bA2:r>0
         +f,b =-infty)

    consider IL be PartFunc of REAL,REAL such that
5  IL = left_closed_halfline 
A6:  for x be Real st x in dom  
A7:  IL is convergent_in-infty or IL is divergent_in-infty_to+infty
or  isdivergent_in-nfty_to-infty by A1;

    consider java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 5
A8:   hencebyA1A2;
A9: for x be Real st x in dom IR holds IR.x = integral(f,b,x) and
nfty_to+
  or IR is divergent_injava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

percasesA7java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
 is- 
 b
       byjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A11: improper_integral_-infty(f,b) = reconsider a=p.k as Element of REAL by XREAL_0
       by A1,Th22;

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     suppose IR is convergent_in+infty
      f is_+infty_ext_Riemann_integrable_on  assumei inSeglenp2;
        by     then 0<>i25java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
improper_integral_(,)=(fb
       A2Th27;
     thesisA11java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
     end;
    IR is divergent_in++infty; then
      improper_integral_+infty(f,b) = +infty by A2,A8,A9,Def4; then
      improper_integral_-infty(f,b)+improper_integral_+infty(f,b) = +infty
       by ,:def;
      hence A15: k =len p1 by FINSEQ_1:17
     end;
supposeIRis +-infty;then
 improper_integral_(f,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
fbimproper_integral_inftyfb  infty
X 2
      hence
     end;
    end;
    suppose A12: IL is divergent_in-infty_to+infty; then
A13:  improper_integral_-infty(f,b) = +infty by A1,A5,A6,Def3;

     per cases by A10,A2,A8,A9,A12,A4,A1,A5,A6,Def3,Def4;
     suppose IR is convergent_in+infty; then
     fis_infty_ext_Riemann_integrable_on b
        by A2,A8,A9,INTEGR10:def 5; then
      improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
         p1 beingFinSequenceofREAL  that
improper_integral_fb++inftyf)=infty
        by A13,XXREAL_3:def 2;
      hence thesis;
     ;
     suppose IR is divergent_in           *fa  A,:def;
      java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 10
      improper_integral_-infty(f,b)+improper_integral_+infty(f,b) = +infty
        by A13,XXREAL_3:def 2;
      hence thesis;
     end;
    end;
    suppose A14: IL is divergent_in-infty_to-infty; then
A15:  A39          proof

4,A3,A5,Def3,Def4java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
supposeIR convergent_ininftythen
      f is_+infty_ext_Riemann_integrable_on b
        by A2,A8,A9,INTEGR10:def 5        now let r1 be Realjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
        by A2,Th27; then
improper_integral_inftyfb+improper_integral_+infty(b) infty
        by A15,XXREAL_3:def 2;
      hence thesis;
     end;
     suppose IRlet k be  uch that
      +infty(b  infty byA2,A9,ef4;then
      improper_integral_-infty(f,b)+ notk1 Seg k2 by A12,FINSEQ_11
        by A15,then consider be suchthat
thesis;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    end;
end;

kin p2;
f   REALREAL, beReal stdomf=REAL
 & f is_-infty_improper_integrable_on b
 & p2k p(k A,AFINSEQ_1defjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
 & not (improper_integral_-infty(f,b) = -infty
    & improper_integral_+infty(f,b) = +infty)
 & not (improper_integral_-infty(f,b) = +infty
    & improper_integral_+infty(f,b) = -infty)
 holds for b1 be Real st b1 <= b holds
  improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
   = improper_integral_-infty(f,b1)+improper_integral_+infty(f,b1)
proof
    let f be PartFunc of REAL,REAL, b be Real;
    assume that
A1:  dom f = REAL and
A2:  f is_-infty_improper_integrable_on b and
A3:  f is_+infty_improper_integrable_on b and
A4:  not (improper_integral_-infty(f,b) = -infty
     & java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 10
:improper_integral_infty(,b  +nfty
     & improper_integral_+infty then

A6: left_closed_halfline b c=dom &right_closed_halfline bc=dom  by A1;

    let b1 be       Sum p = Sum + p2by ,:java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    assume

 A2;

A9   pbeingProbFinS FinSequence of REAL   stk dom p&java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66

p cases by ,h22;
    suppose f is_-infty_ext_Riemann_integrable_on b; then
A10:  improper_integral_        theorem Th16:
       by A2,Th22; then
A11:  f is_-infty_improper_integrable_on b1
 improper_integral_nfty(,1  infty_ext_left_integral(b)
         ,,;
2: thus r(#)f is_+infty_impropejava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 52
=improper_integral_-infty(f,1+t  inSegiyFUNCOP_113
byA7A6,A11,
f (,, Sum -(/)=i  )byRVSUM_180

     java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 15
: + b 
A14:   improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
A3;then
      improper_integral_+infty(f,b1)
       = improper_integral_+infty(f,b) + integral(f,b1,b)
        by A7,A9,A8,A3,Th31
      .= infty_ext_right_integral Th43:
        by A14,XXREAL_3:def 2; then
      forfbe  REAL,EAL  be Real st left_closed_halfline b=  
        fb1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
        proof
         by A11,XXREAL_3:def 2
      . infty_ext_left_integral(,b1)
       + integral(f,b1,b) + infty_ext_right_integral(f,b)
      .= improper_integral_    ssumeA1:left_closed_halfline =java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
         by A12,XXREAL_3:def 2;
      hence thesis by A13,A3,Th27;
     end;
         per cases by A2,ATRIX_0: ;
improper_integral_infty(b  infty
        by  end
      improper_integral_-infty(f,b1)+improper_integral_+infty(f,b1)
       = +infty by  end;
      hence thesis by A15,A10,XXREAL_3:def 2coherence;
     end;
     suppose A16: improper_integral_+infty(f,b) = -infty;
      improper_integral_+infty(f,b1) = -infty
        by A7,A9,A8,A3,A16,Th31; then
      improper_integral_  Matrixof holds for  st   holds(Mi
       = -infty by A11,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 8
      hence thesis by A16,       mnonnegative iff   iin MR holds (,)is nonnegative
     end;
    end;
    suppose       letk
A18:  improper_integral_-infty(f,b1) A3:  in MR)byA2,:;

     per cases;
     suppose[,]  by ,,:;
A19:   improper_integral_+infty(f,b) = infty_ext_right_integral
        by A3,
      improper_integral_+java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 5
       = improper_integral_+infty(f,b) + integral    then
by ,9A8,A3,h31
      .
        by A19,XXREAL_3:def 2; then
      improper_integral_-infty(f,b1)+improper_integral_+infty(f,b1)
       = +infty by A18,XXREAL_3:def 2;
      hence thesis by A17,A19,XXREAL_3:def 2;
     end;
     suppose not f is_+infty_ext_Riemann_integrable_on b; then
      improper_integral_+infty(f,b) = +infty by A17,A5,A3,Th27;
      hence thesis by A17,A18,A7,A9,A8,A3,Th31;
     end;
    end;
    java.lang.StringIndexOutOfBoundsException: Range [35, 11) out of bounds for length 56
A21:  improper_integral_-infty(f,b1) = -infty by A1,A2,A20,A7,Lm5;

     per
     suppose f is_+infty_ext_Riemann_integrable_on:
A22:   improper_integral_+f ofR,a   ac  f
        by A3,Th27; then
      improper_integral_+infty(f,b1)
       = improper_integral_+infty(f,b) + integral(f,b1,b)
          by A7,A9,A8,A3,Th31
      .= infty_ext_right_integral(f,b) + integral(f,b1,b)
        by A22,begin :: Properties on  betweenVector 
     inftyf,b1)+improper_integral_egrable_on a ;
 inftybyA21,d 2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
now
     A5: k in dom Col(M,j);
     suppose not f is_+infty_ext_Riemann_integrable_on b; then
 improper_integral_infty(f,)=-nfty by A20,A4,A3,Th27;
      hence thesis by A20,A21,A7,A9,A8,A3,Th31;
     ;
    end;


theoremTh34:
for f be PartFunc of REAL,REAL, b be Real st dom f = REAL
 & f is_-infty_improper_integrable_on b
 & f is_+java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
(-f,)=-nfty
    fb  java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
 & not (:len  ;
    & improper_integral_+infty(f,b) = -infty)
 holds for A4: width M1 = 1 by MATRIXR1:def 9;
  improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
 =infty(b2+(,2)
proof
     REAL ,)+java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
that
A1:then
        . *.*  ,11 
A3:  f is_+.= <*p.i*> "*" <*q.j*> by RVSUM_1
A4:  not (improper_integral_;
     & improper_integral_+infty(f,b) = +infty) and
A5:  not (improper_integral_-infty(f,b) = +infty
     & improper_integral_+infty(f,b) = -infty);
    let b2 be Real;
    assume
A6 =b2

A7: left_closed_halfline b 

A8: left_closed_halfline:  iin len :3

A9: f is_integrable_on ['b,b2'] & f|['b,b2'] is bounded by A6,A3;

     cases
    suppose f is_+infty_ext_Riemann_integrable_on b; then        
A10:  improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
       by A3 java.lang.StringIndexOutOfBoundsException: Range [57, 12) out of bounds for length 57
A11:  f is_+infty_improper_integrable_on b2
   & improper_integral_.=dom(.i )by d 5;
        by A6,A1,A3,Th30;
A12:  improper_integral_+infty(f,b)
     infty(b2)integral(f,,b2
byA,9A11Th31
      .= infty_ext_right_integral(f,b2) +integral(f,b,b2)
         by A11,XXREAL_3:def 2;

     perM(,j  Line(,).j bydef7
     suppose A13:      =p. qbyRVSUM_1:;
A14:   improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
        by A2,Th22; then
      improper_integral_-infty(f,b2)
        improper_integral_-infty(f,)+ integral(f,b,b2)
        by A6,A8,A9,A2,Lm7
      .= infty_ext_left_integral(f,b) + java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 26
A14:def 2;java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
      improper_integral_+infty(     beReal
       = infty_ext_right_integral(f,b2)
+((,b  integral(A9: [','&',b ounded java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
d 2
      .= infty_ext_right_integral(f,b2)
       + integral(f,b,b2) + infty_ext_left_integral(f,b)
y(fb +(fb
         let i,j that
 byA13,,java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 34
     end;
     suppose A15:    (+)('b \'d,' by R83;
      improper_integral_-infty(f,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 32
        by A6,A8,A9,A2,        nd;
      improper_integral_+     ;
 byA11XXREAL_3:2
      hence thesis by A15,A10,XXREAL_3hence     & g is_nfty_ext_Riemann_integrable_onb then
A11  ;
        &-,  ,)
             by A3,A4,Th22;
        by A6,A8, letn;
      improper_integral_ +java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
       = -infty by A11,XXREAL_3:def 2;
y,10,XXREAL_3:def 2;
     ;

by,java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
(:for,    [,]  Indices  *, =F(jjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
     per cases;
     suppose f is_-infty_ext_Riemann_integrable_on b; then
A19:   improper_integral_-infty(f,b) = infty_ext_left_integralend
        by A2,Th22; then
      improper_integral_-A1: width MR = n by MATRIX_0:24;
       = improper_integral_-infty(f,b) + integral(f,b,b2)
          by A6,A8,A9,A2,Lm7
      = infty_ext_left_integral(,)+ integral(,b,2java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
        by java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 7
      improper_integral_infty(b2)improper_integral_-infty(,)
       = +infty by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      hence thesis by  jindom (i A7M60;
     end;
     suppose not f is_-infty_ext_Riemann_integrable_on b; then
      improper_integral_-infty(        hence (Ri.j =MR*ij) byMATRIX_0:def 7
       .=0by A3A8,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
     end;
    end;
    suppose A20: improper_integral_+inftyA10  st in  MR holdsLine(,  i;
A21:  improper_integral_+infty(f,b2

     per cases;
     suppose f is_-infty_ext_Riemann_integrable_on b; then
-infty(f,b)=(,java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
        by A2,Th22; then
      improper_integral_-infty(f,b2)
       = improper_integral_-infty(f,b) + integral
          by A6,A8,A9,A2,Lm7
        byA12
        by A22,XXREAL_3:def 2
      improper_integral_+infty(f,b2)+  func Vec2DiagMx p -> diagonal Matrix of lenA19    holds.=xband
 2;
            I is-inftyor
     end;
     suppose not f is_-A1: for i,j being Nat st [i,j] in [:Seg len   ]e xbeing
      improper_integral_-infty(f,b) = -infty by A20,A5,A2,Th22;
      hence thesis by A20,A21,A6,A8,A9,assume [i,j] in [:Seg len p, Seg len
     end
    end;
end;

theorem Th35:
for f be PartFunc:.l java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
& java.lang.StringIndexOutOfBoundsException: Range [41, 35) out of bounds for length 41
for b1,b2 be Real holds
 forj st j in dom (,j)=pj
  = improper_integral_-infty(f,b2)+improper_integral_+infty(f assume jin p
proof
    let f be PartFunc of REAL,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 8
    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 15
:dom f = REAL and
A2:  f is_improper_integrable_on_REAL;
    let b1,b2 be Real;

    consider b be Real such that
A3:  f is_-infty_improper_integrable_on b and
A4   is_ b
A5:  not (improper_integral_-A12:  i1]ing  ['b]& []isbounded,A4;java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
       & improper_integral_+infty(f,b) = +infty) and
A6:  not (improper_integral_ ij) j byA7,13
       & java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10

    per cases;
    suppose b1      . integral(,hence MATRIX_07;
     improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
      = improper_integral_-infty(f,b1)+improper_integral_      .=integral(,,)+ integral(,,)byA23,def4;
   & improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
      = improper_integral_-infty(f,b2)+improper_integral_+infty(f,b2)
       by A1,,A4A5,Th33java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
     hence thesis;
    end;
    suppose b1 < b & b <= b2; then
     improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
      = improper_integral_-infty(f,b1)+java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   &improper_integral_-i  )has_onlyone_value_in L,.java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 72
             gbe stga
       byA1A3,,5A6,Th33,Th34;
     hence thesis;
    end;
    suppose b <= b1 & b2 < b; then
    inftyf,+inftyf,)
      = improper_integral_-infty(f,b1)+improper_integral_i.=p
   l_infty(f,)improper_integral_+fb)
       improper_integral_-infty(f,b2)improper_integral_+infty(f,2
       by,A4A5A6Th33,Th34;
     hence thesis;
    end;
    suppose b <:len = len
     improper_integral_-infty(f,b)+java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 30
      = improper_integral_-infty  reconsiderMM=MR  Matrixof pREAL A7,M:isinfty_to+ftyb ,Th37
    inftyf,
java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 69
       by A1,A3,A4,A5,A6,Th34;
     hence thesis;
    end;


definition
  let f be PartFunc of REAL,REAL;
  assume
A1: dom f = REAL & f is_improper_integrable_on_REAL;
f-
  :Def6:
   ex c be Real st f is_-hereby
    f is_hence lenMR1=   &width=widthMR  ,A1A2MATRPROB39
    it = java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
existence
f
    consider c be Real such that
A2:  f is_-infty_improper_integrable_on c andA11  (,)i=.byTh25
is_njava.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 45
A4:  not (java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 74
        & improper_integral_+infty(f,c) = +infty) and
5  ((, 
        & improper_integral_+infty(f,c) = -infty) by A1;
    per cases by A2,Th22;
    suppose
A6:  f is_-A19: dom MR1 = dom MM by A1,A16,FINSEQ_3:29;
     improper_integral_-infty(f,c) = infty_ext_left_integral(f,c);
     per cases by A3,Th27;
     suppose
A7:   f is_+infty_ext_Riemann_integrable_on c &
      A22: i in dom MR1 3
      reconsider
       IT = infty_ext_left_integral(f,c) + infty_ext_right_integral(f,c)
       as ExtReal;
      take:q.i =((MMi.  ColMRj. by ,A2A24A25,  java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
        f,java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 66
        byA6A7,
      hence thesis by A2,A3;
     end;
      +nfty      
A8:   p =len  (MR1=(java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
         MRi))
        set MM =Vec2DiagMx-byA37,INTEGR10: ;
      thusA1:len   lenMR;
     end;
     suppose improper_integral_+infty(f,c) = -infty; then
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 44
        by A5,XXREAL_3:def 2;
      take java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 9
      thus thesis by A2,A3,A9;
     ;
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8

    suppose
A10: improper_integral_-infty(f,c) = +infty;
     per cases by A3,A5,A10,closed_halfline A7:[,]inIndices MR1 ,ATRPROBjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
     java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
      f is_      .= left_closed_halfline b
      improper_integral_+infty(f,c) = java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
A11:  improper_integral_-infty(f,c) + improper_integral_+infty(f,c) = +infty
        by A10,XXREAL_3:def 2;
      IT= +infty;
      thus thesis by A2,A3,A11;
     end;
     uppose
      improper_integral_+infty(f,c) = +infty; then
A12:  improper_integral_-infty(f,c) + improper_integral_+infty(f,cA:MR1=lenpjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
       by for, [,]  MR1java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 66
      IT=infty:,]in;
thusthesis yA2,A3A;
     end;
    end;

    suppose
:byA48A49java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36
     per cases by A3,java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 13
     suppose
      f   Vec2DiagMxp)* 
      improper_integral_+infty(f, let be FinSequenceof REAL;
A14:  improper_integral_-infty(f,c) + improper_integral_+infty(f,c) = -infty
        by A13,XXREAL_3:def 2;
      take IT = -infty;
      thus thesis by A2,A3,A14;
     ;
     suppose
      improper_integral_+infty(f,chence(ntfIntg.=integralgb)A50;
improper_integral_-nftyfc  java.lang.StringIndexOutOfBoundsException: Range [76, 62) out of bounds for length 76
       by A13A51:for          Sum(Mb ,h27
      takeexg.p * SumM.k) A5,A8,MATRIX_0:60
      thus thesis by A2,A3,A15;
     end;
    ;
end;
niqueness by ,Th35
end;

theorem Th36:
for  Pof ,EAL, b be
 st dom f = REAL & f is_improper_integrable_on_REAL
  holds f is_-infty_improper_integrable_on b
    f +infty_improper_integrable_onA12: .>0  MATRPROB:ef5java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
   &ij  .i(*i) byA1,A10
tegral_infty(b  improper_integral_+(fbjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
proof
    let f be PartFunc of REAL,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 24
    assume that
A1:  dom f = REAL and
A2:  f is_improper_integrable_on_REAL;

    consider b1 be Real such that
A3:  f is_-infty_improper_integrable_on=improper_integral_b  java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 70
A4=1,
A5:  improper_integral_on_REAL f
      = java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 4
        A2,;

percasesA41;hen
    suppose A6
     hence f is_-infty_improper_integrable_on b by A3,A1,Th25;
A7: right_closed_halfline b c= dom f by A1;
      f[,] A36;
     hence  is_infty_improper_integrable_on b by A6,A4,A7,Th31;
      defpred P]means
    end;
    suppose A8: b >= b1;
A9: left_closed_halflinenbeNat
       >= 1&n< len Mimplies en (.)=n
     henceassume that     end
     f java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 19
     thus thesis by A1,A2,A5,Th35;
    end;
         p(  () .+ 9NAT_1:;

:

Th37:
for f be PartFunc of REAL,REAL, b be Real st
 f is_-java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
 improper_integral_-infty(f,b) = +infty holds
 or Intf be PartFunc ofREAL, or Intf is divergent_in-nfty_toinfty
  ( xbeReal stx    or Intf is divergentninfty_to-infty)byjava.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
  Intf is divergent_in-infty_to+infty
proof
    let f be PartFunc of REAL,REAL, b be A60   dom Intghence thesis  ,A12A14;
    A61:   for betheoremTh30java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
:f- band
A2:  improper_integral_-infty(f,b) ) i,  idom &j indom p&i nfty
    let Intf be PartFunc of REAL,REAL;
    assume that
A3:  dom Intf = java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
:forx bes x  dom

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 11
     (for x be Real st x in dom I holdsthen Seg len (p.)cjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   & (I is convergent_in-infty
       & improper_integral_-infty(f,b) = lim_in-infty       Intf+Intg)  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
   orIis divergent_in-infty_to+infty
       & improper_integral_-infty(f,b) = +infty
   or divergent_in--
       & improper_integral_-infty(f,b) = -infty) by A1,Def3

 D such
    proof
     let      .xb]c= : for k st k >= 1  holdsp(k+1)=()^.k)
dom
    .= integral:'' xb byA65NTEGRA5 ;
    thesis
    end;
    hence Intf is divergent_in-infty_to+infty by A2,A3,A5,PARTFUN1:5;
end;

theorem Th38:
for f be PartFunc of REAL,REAL, b be Real st=integral(    1<= len p by A1,NAT_1:14;< p  A1N14;
 is_then1indomp by FINSEQ_1def
 improper_integral_-infty(f,b) = -infty holds
 for Intf be PartFunc of REAL,REAL st dom Intf = left_closed_halfline b &
  (for x be Real let j  that
  Intf is divergent_in-infty_to-infty
proof
    let f be PartFunc of;
    assume that
A1:  f is_len M & (for k st k >= 1 & k < len M holds p.(k+1) = (p.k) ^ M.(k+1)) holds for
A2:  improper_integral_-inftyst = 1 & j < len p holds for l st l in dom(=(.(j1).
    let Intf be PartFunc of REAL,REAL;
    assume that
A3:  dom Intf = left_closed_halfline b and
A4:  for x be Real st x in dom Intf holds Intf.x = integral(f,x,b);

    e;
A5:  dom I = left_closed_halfline b &
     (for x be Real st x in dom I holds I.x = integral(f,x,b))
   & (I is convergent_in-infty
       & improper_integral_-infty(ft :
   or I is divergent_in-infty_to+infty
       &improper_integral_-fty,b=+
   or I    or I is i, st indomp&j in dom & pjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
       &improper_integral_-infty(,b =-infty)byA1,;

    for x be Element of REAL st x in dom I holds I.x =  p=len and
    proof
     let x beElement of REAL;
     assume x in dom I; then
     I.x = integral(f,x,b) & Intf.x = integral(f,x,b) by A3,A4,A5;
     hence thesis;
    end
    hence Intf is divergent_in-infty_to-infty by A2,1in  p implies for st i    i
end;

theorem Th39:
for f be PartFunc of REAL,REAL, a be Real st
 f is_+infty_improper_integrable_on a &
 improper_integral_+infty(f,a) = +infty holds
 for Intf be PartFunc of REAL,REAL st dom java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 34
 st in   Intf fax) 
  Intf is divergent_in+infty_to+infty
proof
java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    assume
A1:  f is_+infty_improper_integrable_on a and
A2:  improper_integral_+infty(f,a) = +infty;
     beof REAL,REAL;
    assume that
then
A4:  for x be Real st x in dom Intf holds Intf.x = integral(f,a,x);

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = right_closed_halfline a &
     (for x be Real st x in dom I holds I.x = integral(f,a,x))
   & (I is convergent_in+infty
       & improper_integral_+infty(f,a) = lim_in+infty I
   or I is divergent_in+infty_to+infty
       & improper_integral_+infty(f,a) = +infty
   or I is divergent_in+infty_to-infty
       & improper_integral_+infty(f,a) = -infty) by A1,Def4;

for  be Element of  st indom I holds Ix =Intf.
    proof
     let x be Element of REAL;
     assume x in dom I; then
     I.x = integral(f,a,x) & Intf.x = integral(f by A10A11,XREAL_0:1;
     hence thesis;
    end;
    A12:  j=1java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
end

theorem Th40:
for f be A16:    l in dom(p.i);
 f is_+infty_improper_integrable_on a &
 improper_integral_suppose
 for Intf be PartFunc ofA18 domp.  p by
  (for x be Real st x in dom Intf holds Intf. . (.j1)lby A1,A3,A12,A13,A16,A18,Th32;
  Intf is divergent_in+infty_to-infty
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume that
 f is_st Intgjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 65
A2:  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    letA19: P]java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    assume that
A3end;
A4:  for xtheorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

    consider Ibe PartFunc ofREAL,REAL improper_integral_-nfty+, -byA63,A78Def3;
A5:  dom I = right_closed_halfline a &
tegral(,,x))
    I infty
       & improper_integral_+infty(f,a) = lim_in+infty I
   or I is divergent_in+infty_to  let p beFinSequence  * 
       & improper_integral_+infty(:k1   p() p.)^Mk)
   or I is divergent_in+infty_to-infty
       & improper_integral_+infty(f,a) = -infty) by A1,Def4;

    for x be Element of REAL st x in dom I holds I.x = Intf.x
    proof

     assume x in dom I; then
    .x=integral,,)&Intf. = (,x by A3,4,java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
     hence thesis;
    end;
fty_toinfty A2,A3,,5java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
end;

theorem Th41:
forfbe  ofREAL,REAL, br Realjava.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
 left_closed_halfline b= domf  fis_-infty_improper_integrable_on b holds
   r(#)f is_-infty_improper_integrable_on b    henj in dom  by :def 3java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
   improper_integral_-infty(r(#)f,b) = r * improper_integral_-infty(f,b)
proof
    let f be PartFunc of REAL,REAL, b,r be Real;
    assume that
A1:  left_closed_halfline b c= dom f and
A2:  f is_-infty_improper_integrable_on b;
then j1   len M y,A2:  right_closed_halfline a c= dom g and
A3: for d be Real st d <= b holds r  then
     & (r(#)f)|[' d,b '] is bounded
    proof
t
     assume
A4   d =java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
     [.d,  then j*w jM +linSegp(+) byjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 31
     [.d,b.] c= dom f by A1; then
A5:       Real
A6:  f is_integrable_on ['d,btheoremassume
     hence r(#)f is_integrable_on ['d,b'] by A5,INTEGRA6:9;
     thus (())[d,b' java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 11
    end;

 cases;
supposeA7:fis_infty_ext_Riemann_integrable_onb;then
A8:  improper_integral_-inftyA2: p.  M1 java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
       by A2,Th22;
A9:  r(#)f is_-infty_ext_Riemann_integrable_on b &
egral(f) infty_ext_left_integral((f)
       by A1,A7,INTEGR10:11;
     thus r(A6 i dom FINSEQ_1:def 3;
       by A1,A7,INTEGR10:11,Th20; then
r#f,)=infty_ext_left_integralr(#)f,b)
       by A9,Th22;
henceimproper_integral_infty((+)[ad \'a')isby FUNCT_1;
       = r * improper_integral_infty(f,b)by
    end;
    suppose A10: not f is_-infty_ext_Riemann_integrable_on b;
    
:Intf=  band
 holds.=hjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
        by A2;
A13:  dom(r(#)Intf) = left_closed_halfline b by A11,A11:  improper_integral_+infty(f,a) = infty_ext_right_integr,a)

A14:  for x be Real st x in dom(r(#)Intf) holds
      (r(#)Intf).x = integral(r(#)f,x,b)
:fga
      let x be Real;
      assume A15: x in dom =fa + (a
A16         by A,INTEGR10:8
       = integralf,x,) A15A13,A12,11;
A17:   x <= b         A1,,INTEGR108; then
      [.x,b.] c= ].-infty,b.] by XXREAL_1(f+,a)
      [.x,b.] c= dom f by A1; java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 19
A18:   ['x,b'] c= dom f by A17,INTEGRA5:def 3;
      f is_integrable_on ['x,b'] & f|['x,b'] is bounded by A2,A17;
      hence (r(#)Intf).x = integral(r(#)f,x,b) by A16,A17,A18,INTEGRA6:10;
     end;

     per casesA14  inftyf,a)=infty_ext_right_integral(,)
     suppose A19: improper_integral_-infty(f,b) = +infty; then
A20:   Intf is divergent_in-infty_to+infty by A2,A11,  suppose

      per cases;
      suppose A21: r > 0; then
A22:    r(#)Intf is divergent_in-infty_to+infty
          byA19,11,12,h37,LIMFUNC1:59;
   isinfty A13,INTEGR10:ef ;
         by java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
infty(f, =infty A,A22ef3
       hence improper_integral_-infty(r) forfor  in ig)
        ()byA21java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 71
      end;
suppose:r<; 
A24:    r(#)Intf is
         by A19,A2,A11,A12,Th37,LIMFUNC1:59;
       thus:[,]injava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 23
byA3A13A14,A23,A20LIMFUNC159;byA15,, 1
       improper_integral_-infty(r(#)f,b) = -infty by A13,A14,A24,Def3A7: iin  =right_closed_halfline;
       hence improper_integral_-infty(r(#)f,b)
         = r * A9 i <l M 1;
      end;
      suppose A25: r = 0;
A26:    for R be Real
        ex g be Real stA11 i in pbyA1,: java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
         by A11,A13,A20,LIMFUNC1:48;
A27 for g1b Real st 0 <g1
        ex R be Real st for r1 be Real st r1 < R
         & r1 in dom(r(#)Intf) holds |. (r(#)Intf).r1 - 0 .| < g1
       proof
          be
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 27
        now let r1 be Real;
          r1 b & i domr();then
         (r(# henceintegral+,'') ntegral,ax)integral,'
end
        end;
        hence thesis;
       ;then
A29:    r(#)Intf is convergent_in-infty by A26,LIMFUNC1:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 5
:java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 55
       thus r(#)f is_-infty_improper_integrable_on b
,A13A14A27,,45 
       improper_integral_-.= integral(f,a,x) + Intg A,,16
       hence   p.(k+1) = (p.k) ^ M.1)byA1A2. java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 63
         = r * improper_integral_-infty(f,b) by A25;
      end;
     end;
  M being atrix ofREAL pbeing of *st
A32:   Intf is divergent_in-infty_to-infty by A2,A11,A12,Th38;
      per cases;
      suppose A33: r ofsuchjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A34:    r(#)Intf java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 14
         by A31,A2,A11,A12,Th38,LIMFUNC1:59;
       thus r
         by A3,java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
       improper_integral_-infty(r(#)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 27
              hence improper_integral_-fjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
         = r * improper_integral_-infty(fA8  =len qand
      end;
      suppose A35: r < 0; then
A36:    r(#)Intf is divergent_in-infty_to+infty
         by A31,A2,A11,A12,Th38,LIMFUNC1:59;
       thus r(#)f is_-infty_improper_integrable_on b
         by A3,A13,A14,A35,A32,LIMFUNC1:59; then
       improper_integral_-infty     jbeNatst dom .  (p.j
       hence improper_integral_P[  1 qq ,,ef
        end
      end;
      suppose A37: r = 0;
A38:    for R be Real
        ex g be Real st g < R & g in dom(r(#)Intf)
          by A11,A13,A32,LIMFUNC1:49;

        ex R be Real      improper_integral_f:1     A7A14A813A,3
   (()ntf) | r#)ntf).   |  java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
       proof
        let g1         cases A22,NAT_1:;
        assume A40: 0 < g1;
        now let  Real;
         assume r1 < b & r1 in dom(r(#)Intf); then
         (r(#)Intf).r1 = r * Intf.r1 by VALUED_1:def 5 .        suppose
          | r#Intf)r1   |<g1by,2java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
        ;
        hence thesis;
;
A41:    r(#)Intf is convergent_in-infty by A38,LIMFUNC1:45;            inSeg    Intf infty_toinftyby;
A42:    lim_in-infty (r(#)Intf) = 0 by A39,LIMFUNC1          then
        b
         by A3,A13,A14,A39,A38,LIMFUNC1:45; then
       improper_integral_-infty(r(#)f,b) = 0 by A13,A14,A41,A42,Def3;
       hence improper_integral_          (+1 = qq. +q.k) by A8,A10,A27,A28
         = r * improper_integral_-infty(f,b) by A37;
      end;
     end;
    end;
end;

theorem Th42:
for f be PartFunc of REAL,REAL, a,r be Real st
 right_closed_halfline a c= dom f & f is_+infty_improper_integrable_on a holds
   r(#            .Sum(p.k)+Sum LineM(+)             : inntgthen
   nfty()a=  +a)
proof
    let            . (p.(k1)) by A3A,Th37
    assume that
 right_closed_halfline ac  and
 

A3: for  gis_integrable_on ','  h 
      r#f| ,d]is
    proof
     let d be Real;
     assume
A4:   a <= d;
      =integral(,,x +g[a')by: java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
     [.a,d.] c= dom f by A1; then
  ',' c um(java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 45
A6:  f is_integrable_on       . integral(f,)+integral(
     hence r(#)f        ().=integral(f+g,   (M -  D 
     thus (r(#)f)|['a,d'  } 
    end;

;
supposeA7:f +nfty_ext_Riemann_integrable_on ; then
A8:  improper_integral_+infty(f,a)       lenM =0
       by A2,Th27;
A9:  r(#)f is_+infty_ext_Riemann_integrable_on a &
     infty_ext_right_integral(r(#)f,a) = r*infty_ext_right_integral(f,a)
       by A1,A7,INTEGR10:9;
     thus r(#)f is_+infty_improper_integrable_on a
       byA17NTEGR10:,;then
           defpred P[Nat PNat,set,set]means:    max( g 
       by A9,      q1 = $2 & p=M.(1)  $ =^ p1
     hence improper_integral_+infty(r(#)f,a)
       = r * improper_integral_+infty(f,a) by A8,A9,XXREAL_3:def 5;
    end;
    suppose A10: not f is_+java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 18
beofREAL,EALsuch that
:domIntf
A12:   for x be Real st x in dom Intf holdsset =x  java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
        by A2;
:domr#)end

:x  Realstx  dom(r()holds
      (r(#)Intf  :4A2)
     proof
      let x be Real;
      assume      +(+a  + byA41,p=o  =ajava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
.(,) gjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
       .= r*integral(f,a,x) by A15,A13,A12,A11;
A17:  <=byA13,A15XXREAL_13java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      [.a,x.] c= [.a,+infty.[ by XXREAL_1:251; then
      [.a,x.] c= dom f by A1; thenletnbe Nat such that
A18:   ['a,x'] c= dom n  M;
      fax]&f|['a,x] is bounded by,A17improper_integral_+infty(+,) infty byA41A42A54Def4
      hence (r henceimproper_integral_+inftyfg,)
     end;

     per cases by A2,A10,Th27;
    +infty,  ;
A20:   java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 7

      per cases;
      suppose A21: r > 0; then
A22:    r  being  *suchjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
         by A19,A2,A11,A12,Th39,LIMFUNC1:58;
       thus()f is_+infty_improper_integrable_ona
         byA3A13,A14,A21,A20,LIMFUNC1:58; then
       improper_integral_+infty(r(#)f,a) = +infty by A13,A14,A22,Def4;
       hence improper_integral_+infty(r(#)f,a)
         = r * improper_integral_+infty(f,a) by A19,A21fork k> 1 & k <= len Mjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      ;
      suppose A23: r < 0; then
    () isdivergent_in+java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 19
         A19,2A,Th39,IMFUNC1:;
       thus r(#)f is_+infty_improper_integrable_on a
         by A3,A13,A14,A23,A20,LIMFUNC1:58; then
       improper_integral_+infty(r(#)f,a) = -infty          
       
         = r * improper_integral_+infty(            :x RealiI java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10

A25 r ;      letx be ;
     RbeReal
        :    
by,,LIMFUNC146java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
A27:    for g1 be Real st 0 < g1
        ex
         & r1   for M being Matrix D olds  Mx2FinS()  M* width java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
       proof
java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 23
        assume java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 14
            hence tthesisbyA1;
         assume a < r1 & r1 in dom(r(#)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 9
         (r(#)Intf).r1 =      IntfIntg.x = Intf.x  x A62
         hence |. (r(#)Intf).r1 - 0 .| < g1 by A28,ABSVALUE:2;
        end;
thesis
       end; then
A29:    r(#)Intf is convergent_in+infty by A26,LIMFUNC1:44; then
A30:    lim_in    

       thus r(#)f is_+infty_improper_integrable_on a
         by ,A14forMMatrix of  i,st jinholds(1
       improper_integral_+infty(r(#)f,a) = 0 by A13,A14,A29,A30,Def4;
       hence improper_integral_+infty(r(#)f,a)
         = r * improper_integral_+infty(f,a) by A25;
      end;
     end;
     suppose A31: improper_integral_+java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 18
A32:   Intf is divergent_in+infty_to-infty by A2,A11,A12,Th40;
percases
      suppose A33: r > 0; thenDef5java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A34
         by A31,A2,A11,A12,Th40,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 30
thus r() is_+suppose A69: improper_integral_(,)=+;then
         by A3,A13,A14,A33,A32,LIMFUNC1:58; then
       improper_integral_+infty(      improper_integral_+infty(,a)=infty by ,A55Th27,;      *( +)(mod))
       hence improper_integral_+infty(r(#)f,a)       retksuch
         =:l=k -1
      end;
      A35 r<;then
A36:    r(#)Intf is divergent_in+infty_to+infty
         by A31,A2,A11,A12,Th40,LIMFUNC1:58then
       thus r(#)f is_+infty_improper_integrable_on a
         by A3,A13,A14,A35,A32,LIMFUNC1:58; then
       improper_integral_+infty(r(#)fA6: width;
       hence improper_integral_+infty(r(#)f,a)
         = r * improper_integral_+infty(f,a) java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 25
      end;
      java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 25
A38:    for R beA38:    for R be  infty_toinfty
extldivwidthM< AT_D8;
         by A11,A13,A32,LIMFUNC1:hence +is_infty_improper_integrable_onby ,      hence f+g is_+infty_improper_integrable_on a by A7,A60
A39:    for g1 be Real st 0 < g1
        ex R be Real st for r1 be Real st R < r1
         & r1 in dom(r(#)Intf) holds |. (r(#)Intf).r1 - 0 .| <   +inftyjj =byjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
       
        let g1 be Real;
        assume A40: 0 < g1;
        
         assume a < r1 & r1 in dom(r.=(java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 31
         (r(#)Intf).r1 = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 13
         hence |. (r(#)Intf).r1 - java.lang.StringIndexOutOfBoundsException: Range [11, 1) out of bounds for length 69
        end;
        hence thesis;
       end; then
A41:    r(#)Intf is convergent_in+infty by A38,LIMFUNC1:44; then
A42:    lim_in+infty (r(#)Intf) = 0 by A39,LIMFUNC1:79;
       thus r(#)f is_+java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 8
         by A3=lenjava.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 48
            Th38
       hence improper_integral_+infty(r(#)f,a)
         = r * improper_integral_+infty(f,a) by A37;
      end;
     end;
    end;


theorem Th43:
forf  REALREAL    A5  mproper_integral_,)=+
 f is_-infty_improper_integrable_on b holds
   - i Mx2FinSMR)
   improper_integral_-infty(-f,b) = - improper_integral_-:dom(g =dom g ;
proof
    let A3:   (Mx2FinS(MR)).i = MR*(((lA9:now assume A10: improper_inte-(,) = +&
lfline c f
    & f is_-infty_improper_integrable_on b;
    hence -f is_-java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 8
    improper_integral_-java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     infty(,  (java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 24
    hence improper_integral_-infty(-f,b) = - improper_integral_-infty(f,b)
      by XXREAL_3:91;
;

java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  a
   -f is_+infty_improper_integrable_on a &
   improper_integral_+infty(-f,a) = - improper_integral_+infty(f,a)
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume A1: right_closed_halfline a c= dom f
      & f is_+infty_improper_integrable_on a;
    hence -f is_+infty_improper_integrable_on a by Th42;
    +infty-,a  -  f,)
      Th42;
    +-,  -by XXREAL_3:def 4java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      by XXREAL_3
end;

theorem Th45:
for f,g be PartFunc of REAL,REAL, b be Real
 st left_closed_halfline b c= dom f & left_closed_halfline b c= dom g
  & f is_-infty_improper_integrable_on  then  =Mx2FinSMR asProbFinS FinSequence ofREAL
  & g is_-infty_improper_integrable_on  reconsiderp=pjava.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 60
  &   & f is_infty_improper_integrable_ona
       &improper_integral_infty(,b) = infty)
  & not (improper_integral_-infty(f,b) = -infty
       inftygb) =infty)
holds f+g is_-infty_improper_integrable_on b
  inftyf,)
  =-f,b+,b
proof
let, be of ,  ;
    assume that
A1:  left_closed_halfline b c= dom f and=ijava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 65
A2:  left_closed_halfline b c= dom g and
A3:  f is_-infty_improper_integrable_on b and
A4:  g is_-A2: a= g and
A5:not((b = infty
        & improper_integral_-infty(g,b) =-infty) 
A6:  not (improper_integral_-infty(f,b) = -infty
        & improper_integral_::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).

A7: for d be Real st d<=b holds
      [d'] &(+)|[d,' is 
    proof
     let beReal
     assume
A8:   d<=b;
A9:  f is_integrable_on ['d,b'java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 19
     is_integrable_on[','  g|',' boundedbyA3,A8
     [.d,b] c= ].-infty,.]suppose
         ',b' =.,b.]  A8,: 3;-g)-)
     ','   &[d,b'] c= dom  by,;
      fgis_integrable_on[d,' A9,NTEGRA6:11
     (f+g)|(['d,b'] /\ ['d,b']) is bounded by A9,RFUNCT_1:83;
     hence (f+g)|['d,b'] java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 24
    
    per cases;
    java.lang.StringIndexOutOfBoundsException: Range [54, 11) out of bounds for length 56
     & g is_-infty_ext_Riemann_integrable_on b; then
A11:      ] from FINSEQ_1:sch 5)
   & improper_integral_-infty(g,b) =     hence  byA6
       by A3,A4uniqueness
   letp1,2 be FinSequence REALsuch that
   & infty_ext_left_integral(f+g,b)
     =infty_ext_left_integral(f,)+infty_ext_left_integral(gbjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
         by A1,A2,A10,    .k )) & (p.k = 0 implies.  0 
     thus f+g is_-infty_improper_integrable_on b
       by A1,A2,A10,INTEGR10:10,Th20; then
     improper_integral_-infty(f+g,b) = infty_ext_left_integral(f+g,b)
       by A12,Th22;
     hence improper_integral_-infty(f+g,b)
       = improper_integral_-infty(f,b) + improper_integral_-infty(g,b)
         by A11,A12,XXREAL_3:def 2;
    end;
    suppose A13: f is_-infty_ext_Riemann_integrable_on b &
                not g is_-infty_ext_Riemann_integrable_on b; then
A14:  improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
       by A3,Th22;theorem Th49:

     consider Intf be PartFunc of REAL,REAL such
A15:  dom Intf = left_closed_halfline b and
A16:  forA10:
:  java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 56

     consider Intg be PartFunc of REAL,REAL such that
A18:   dom Intg = left_closed_halfline b and
A19:   for x            dom pby,;
      I or isjava.lang.StringIndexOutOfBoundsException: Range [67, 67) out of bounds for length 26
or divergent_in-infty_toinfty A4

A20:  dom(Intf+Intg) = left_closed_halfline b /\ left_closed_halfline b
        A15A18,VALUED_1:ef 1
      .= left_closed_halfline b;

A21:  for x be Real st x in dom    +java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 5
(Intgx=java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 40
     proofthen/  divk  /k

      assume:xin (IntfIntg)  byA1h42;
:x< java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      :   :;
A24endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A25:   ['x,theoremTh47:
 bydef A3java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
gjava.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 74
       Z;
        by A24,A25,f1.  G() by;
26   java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
. java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 68
      .= integralA1 = Fjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 40

     Intg)     hence() is_improper_integrable_on_REAL A5java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
       .= integral(f,ajava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      hence (Intf+Intg).x = integral(f+g,x,b) by A26;
     end;

: beA5:k   ;
      exg Real st<   +java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
     proof
      let:r1Z1and
      g
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      take g;
        byA33
      by,,XXREAL_1234;
     

    java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 8
       assume
:)+ or

A31 hencebyREAL_1:9;
        by A17,Th5; then
java.lang.StringIndexOutOfBoundsException: Range [23, 3) out of bounds for length 47
   ,,A18,19,,:56;
      java.lang.StringIndexOutOfBoundsException: Range [10, 1) out of bounds for length 44
        by A7,A20,A21,A31,A30,A27,LIMFUNC1:56; then
      improper_integral_-infty(f+g,b) = +infty by A20,A21,A32,Def3;
      hence improper_integral_-infty(f+g,b)
       = improper_integral_-infty(f,b) + improper_integral_-infty(g,b)
         by A14,A29,XXREAL_3:def 2;.=.k,A15;
     ;
     suppose A33: improper_integral_-      then (FinSeq_log(2,p)).k = log(2,p.kA,java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 47
    ishence  ;

A35:   ex r3hence y java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 9
        java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
:+  
,java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
            impr    
         by    end
tegral_infty(+g,  -  ,     ;
      hence improper_integral_-nfty(f+gb)
      =-java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 61
     java.lang.StringIndexOutOfBoundsException: Range [11, 3) out of bounds for length 24
e;
    end;
   supposeA37: fis_-infty_ext_Riemann_integrable_on &
ntegrable_onb 
A3810or-r0by:;
        by A4,Th22then(theore

     consider IntgA66 .
A39:  r >  log(,r) =r-1&(=1ifflog(umber_e,
A40  thenr  {g wheregis  : 0g;
A41:  Intg is convergent_in-end;

     consider java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
A42:   dom Intf = left_closed_halfline band
43:  forxbeReal st xindom IntfholdsIntf.
      -infty -f java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 62
    -infty by

A44:  dom(Intf+Intg     thesis;
       by
      java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32

:forxbe Real     ((-)#f java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
       (Intf+A3:for kst kin  q1holds .k=q1.  
       q1;
      let x be.=q1/k+ q2.  A4,def6
        hence thes byA1A2,
   x  by  letnFinSequence ,;
      [.x,. =left_closed_halflinejava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 50
A48assume
A49:   ['x,b'] = [.x,b.] by A47,INTEGRA5:def 3;
      [xb]&|',b']is 
&g[xb] isboundedbyA3,A447then
fg[x' =java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 69
        by A48,A49 Th9
A50:   integral(f+g,  >k < 
=java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 70
      :1in byA1java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
      .= integral(rngqc REAL

           + A2A4,
         ;
       ,,
      hence    then
             then p0.k= 3,NT_1:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

A51:  for r be Real
exjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 49
       redefineattr pisnonnegative 
let     indomholds  improper_integral_on_REALf=
    l
A52:end
       g
      min(br =XXREAL_0   improper_integral_on_REAL  java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 44
  hence thesis by A44A52,XXREAL_0:,XXREAL_1:234
     end;

    .=SegA8egrable_onc and
     suppose A53: improper_integral_-infty(f,b) = +infty;
       stntg|left_open_halfline rbounded_below
        by A41,Th5; then
A54:   Intf+Intg is divergent_in-infty_to+infty
        by A53,A51,A3,A42,A43,Th37,LIMFUNC1:56;
      hence f+g        +(fc)=-infty)by ;
      improper_integral_-infty(f+g,b) = +infty by A44,A45,A54,Def3;
      hence improper_integral_-infty(f+g,b)
       = improper_integral_-infty(f,b) + improper_integral_-infty(g,b)
         by A38,A53,XREAL_3:ef 
     end;
     suppose A55: improper_integral_-infty(f,b) = -infty;
      ex r be Real st       & improper_integral_+infty(g,c1) = +infty) and
        by A41,Th5; then
A56:    suppose
        by A55,A51,A3,A42,A43,Th38,Th11;
      hence f+g is_-infty_improper_integrable_on b by A7,A44,A45; then
      improper_integral_-java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
      hence improper_integral_-infty(f+A16:c     in p ;
       = improper_integral_-infty(f,b) + improper_integral_-infty(g,b)
        A38AXXREAL_3:2;
  hence thesis;
    end;
    
     notgis_-infty_ext_Riemann_integrable_onb

     java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
A58:   dom Intf = left_closed_halfline bhence thesis byA2;
 x be st x in domjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      (Intf is convergent_in-infty or Intf is divergent_in-infty_to+infty
    Intfd-infty) A3;

     consider Intg be PartFunc of REAL,REAL such that
java.lang.StringIndexOutOfBoundsException: Range [40, 3) out of bounds for length 44
 RealxdomholdsIntg.  g,)java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
      (  thesisby ,59;
ntg is infty_to-  A4;

)= left_closed_halfline b \ left_closed_halfline b
        by A60,A58,VALUED_1:def 1
=b

:x  Real st x  dom(IntfIntg) 
       (Intf+Intg).x = integral(f+g,x,b)
     proof
       xbe;
assume: domIntfIntg);then
  then
[xb]c= left_closed_halfline  byXXREAL_1:; then
:[,]c=dom  &.,b.]  dom A1,;
[] bb, 33java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
      f is_integrable_on ['x,b'] & f|['x,b'] java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 6
] &g[,      java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
      integral(     A15,Th26
        by A66,A67,INTEGRA6:;then
A68    .a A3A6,FINSEQ_1: 7java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
       = java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 10
  A20:i < k A15,AT_1:java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
      .= integral(f,x,b) + integral(g,x,b) by A65,INTEGRA5:defA22: i in dom p1 by A14,FINSEQ_2:15;

      (      = A2A3    .=  A6,,Def1
       .= integral(    letj  ;
      =integral(f,,b)+ integral(    hence p3. A18,java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
       A68;
     end;

A69: for r beReal
      g eal  g< &  in(IntfIntg
     proof
      let r be Real;
  considerg  Realsuch 
      (qq.  (r<c
      ,A11,Df6
      min(bA2:  in dom and
 by62XXREAL_0,;
     end;

     per casesby A57Th22
          then consider integral_(,) infty
   Intf isdivergent_in-infty_to+inftyby A3&improper_integral_+infty(,=+

   improper_integral_-infty(g,b) = +java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 31
:   exrbe Real  Intg|eft_open_halfline r is bounded_below
        by A4,A60,A61,Th37,Th7; then
ntgis divergent_in-infty_to+infty
        by A69,A71,A3,A58,A59,Th37,LIMFUNC1:56          for  beinginfty_improper_integrable_on java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      thus f+g is_-infty_improper_integrable_on b
        by A7,A62,        p2.k = p.(k2+. = p.(2k  A13A15A17,FINSEQ_1def 7
      java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 67
      henceimproper_integral_-(+g,)
       = improper_integral_-infty(f,b) + improper_integral_-infty(g,b)
         by A5,A71,XXREAL_3:def 2;
     endA21:dom p1 c=dom pbyjava.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 43
    A75    k=0;
:   Intf is divergent_in-infty_to-infty by A3,A58,A59,Th38;

   improper_integral_:k1<k2
 Intg ris
        by A4           Natsuch 
A78:   Intf+Intg is divergent_in-infty_to-infty
         k<< j1byA32:;
A:k1 in dom p yA33,FINSEQ_3:25;
        k =1;        tA134
,b) =- hence by:51java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      hence improper_integral_-infty(f+g,b)
integral_infty(fb) +improper_integral_-infty(,)
         by A6,A75,XXREAL_3:def 2;
     ;
    end;
end;

theorem Th46:
f,g be REAL
 sthencethesis A3;
  &end;
  +infty_improper_integrable_on a
  & not (improper_integral_+
       & improper_integral_+infty(g,a) = -infty)
  & not (improper_integral_+infty(f,a) = -infty
       & improper_integral_+java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 17
f+is_+infty_improper_integrable_on a
 & improper_integral_+infty(f+g,a)
  = improper_integral_+infty(f,a) + improper_integral_+infty(g,a)
proof
    let f,g be PartFunc of REAL,REAL, a be Real;
    assume that
A1:  width it = width MR & kst k   holdsitkmlt(M,k,
A2:  right_closed_halfline a c= dom g and
  (i |- (1/)=i  xistence
A4:  g is_+infty_improper_integrable_on aproof
:not improper_integral_      suchthat
       A:M =1java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A6:  not (improper_integral_+infty(f,a) = -infty
       & improper_integral_+infty(g,a) = +infty);

be  aholds
     f+g is_integrable_on Ihence by F:11
    proof
     let d be Real;
     assume
A8:   a<=d;
A9 [ad]&f|',d' is  java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
     g is_integrable_on :
[.a,.]c .,.[ by XXREAL_1:not g,)=java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
     ['a,d'] c= [.a,+infty.[ by A8,  hence dom(M.i) = dom Line(M,i) by MATRIX_0 domjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 10
     ['a,d       Line
     hence f+g is_integrable_on ['a,d MR is -nonnegative iffA11mltine(Rj,FinSeq_log[c,'by 
     (f+g)|(['a,d'] /\ ['a,d']    assume
     hence (f+g)|['a,d'] is bounded;
    end;

    per cases;
        java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
     & g is_+    end;
A11:  improper_integral_+infty(f,a) = A5: for i st i in dom MR holds Line(MR,i) isbyA31,A11,;
   &A12     =java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A3, ence A12
A12: f+g is_+infty_ext_Riemann_integrable_on a
   ijava.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 36
      java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 68
          ]  &java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 70
     thus f+g is_+infty_improper_integrable_on a
         jindom pholdsColLineVec2Mx         A34,A15,Th26;
proper_integral_(g)=(+,a
      A12,Th27;
     hence improper_integral_+inftyA2 dom <pj>     FINSEQ_1: ;
       = improper_integral_+infty(f,a) + improper_integral_+infty(g,a)
         by A11,A12,XXREAL_3java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
suppose:f is_+ ajava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
                not g is_+infty_ext_Riemann_integrable_on a;    M1M2be ofREAL suchthat
A14:  improper_integral_+infty(f,a) = infty_ext_right_integral(f,a)
        by A3A17 forAhencethesis byA4FINSEQ_1:;

IntfEAL  = nfty,)nftyfc)
A15:      width  MRby A13Th36
  x Real java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 32
A17:  Intf is convergent_in+infty by A13,INTEGR10:def 5;

     considerlet q   ;
A18:   dom Intg = right_closed_halfline a and
     be stx dom  holdsIntg  ga,)and
( inftyorjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 73
    or Intg is divergent_in+

  dom(Intf      improper_integral_infty(,)+java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        by A15,A18,VALUED_1:def 1
      .= right_closed_halfline a;

 xin(Intgholds
       (IntfbyA5A,,A30A30XXREAL_3:;
     proof
      let      (MRk
      assume A22      jjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 45
23:a =x by A20XXREAL_13;
      [.a,x.] c= right_closed_halfline a by XXREAL_1:251; then
A24:   [.a,x.] c= dom f & [.A43 =Summlt(*.i><qnd;
A25:   ['a,x'A7,,A1 
    'ax]&['ax]  =Th53
      g  forij      = impr ,c+java.lang.StringIndexOutOfBoundsException: Range [48, 1) out of bounds for length 62
 = integralf,[a,x')ig[ax')
        by java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 5
A26:   integral(f+gA:dom M1 = dom M by FINSEQ_3:29;
       = java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 70
      .= integral(f,a,x) + integral(g,['a,x']) by A23,java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 0
. integralf,,x)+ integral(g,,x byI:def4

      (Intf+Intg).x = Intf.x + Intg.x by A22,VALUED_1:def 1
       .= integral(f,a,x) + Intg.x by A22,A20,A15,A16
       .= integral(f,a,x) + integral(g,a,  
      hence (Intf+Intg).x = integral(f+g,a,x) by A26;
     end;

A27:  for r be Real
      ex g be Real A4 [,]in 
     proof
      let r be Real;
      consider g be Real such that
A28:    max(a,r) < g by XREAL_1:1;

      max(a,r) >= a & max(a,r) >= r by XXREAL_0:25;
      hence thesis by A20,A28,XXREAL_0:2,XXREAL_1:236;
     end;

A29:  (ex r be Real st       thus M1*(i,j) = Line( *,)=Line(i.j A5,ATRIX_0:def 
   &(ex r be Real st Intf|right_open_halfline r is bounded_above)
       by A17,Th6;

     per cases by A4,A13,Th27;
     suppose A30: improper_integral_+infty(g,a) = +infty; then
A31:   Intf+Intg is divergent_in+infty_to+infty
        by A27,A4,A18,A19,A29,Th39,LIMFUNC1:54;
      hence f+g A13:M1 =dom M A10,:
      improper_integral_+infty(f+g,a) = +infty by A20,A21,A31,Def4;
      hence improper_integral_+infty(f+g,a)
       mproper_integral_infty(,)+improper_integral_+(ga
         by A14,A30,XXREAL_3:def 2;
     end;
     suppose A32: improper_integral_+infty(g,a) = -infty; then
A33:   Intf+Intg is divergent_in+infty_to-infty
        by A27,A4,A18,A19,A29,Th40,Th12;
    +ginfty_improper_integrable_ona    s java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
      improper_integral_
       +fg,)
  ,  1
byX: java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
     end;
    end;
suppose:not is_ a java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                g is_+infty_ext_Riemann_integrable_on a; java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 32
A35:  improper_integral_java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
        i such that

     consider Intg be PartFunc of REAL,REAL such that
A36:  dom Intg = right_closed_halfline a and
A37:  for x be Real st x in dom Intgend
A38:theorem A8:     j<>i

     consider Intf be PartFunc of REAL,REAL such being ofREAL          j in Seg width MR by A5,INSEQ_1java.lang.StringIndexOutOfBoundsException: Range [49, 47) out of bounds for length 50
A39:          domLineMR,i)by A2A ..java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 78
A40 xbe   x in  Intf  Intf.x = integral(f,a,x) and

    isjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 50

)  pqbe non empty ProbFinS FinSequenceof REAL,ppqqbeFinSequence of
            
      .= right_closed_halfline a;

for    indomIntf+)
       (    dLinei =Seg FINSEQ_1:def 3
= A16;
      let x be Real;
      assume A43: x in dom(  func Vec2DiagMx p -> diagonalA5number_e<1by TAYLOR_1;
A44:   a <= x by A41,  forjj len( qq= byA2RVSUM_1;
      [.a,x.] A1  ijjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 45
A45:   [.a,x.] cA30: p> by A,;
A46:       =((.p)(p.
   f is_integrable_on ['a,x'] &      .=log,)1 M1  M2  26
 being that
      integralfg['a,x'])as Nat
        by A45,A46,INTEGRA6:11; then12;
ral+ga,java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
       = integralA15:    <>j;
      .= integral(f,a,x    =           *j),ef3
      ) by,INTEGRA5:def 4;

 (+ntg)x=Intf.  number_e-0> 21byTAYLOR_1:11,XREAL_115java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
       .= integral(f,a,x) + Intg.x by A43,A41,A39,A40  i in dom,) 0 java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
       .= integralassume
    letk suchthat
     A3: dom =  byFINSEQ_3:;

    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
       gbeReal r < gIntg
    
      let:Line(M1,) i byA5,Th24;
      consider g be Real such that
A49:    max(a,r) < g by java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 6
      take g;
     a)>a  maxar =r by :
java.lang.StringIndexOutOfBoundsException: Range [50, 6) out of bounds for length 54
     end;

A50:  (ex r be Real st Intg|right_open_halfline r is bounded_below that
: k1   nand
;
     per java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 13
     suppose A51: improper_integral_+infty(f,a) = +infty; then. *(*java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A52:   Intf+Intg is divergent_in+infty_to+infty
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      hence f+g is_+infty_improper_integrable_on aA5:MR1= MM  MR;
      improper_integral_+infty(f+g,a) = +infty by A41,A42,A52,Def4;
       inftyf+:  byA1,FINSEQ_329;
       = improper_integral_+infty(f,a) + java.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 52
         by A35,A51,XXREAL_3:def 2;
     end;
     suppose A53: improper_integral_+infty(f,a) = -infty; then
A54:   Intf+Intg is divergent_in+infty_to-infty    java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        by A48,A3,A39,A40,A50,Th40,Th12;
      hence f+g is_+infty_improper_integrable_on a by A7,A41,A42; then
      improper_integral_+infty(f+g,a) = -infty by A41,A42  assume that
      hence improper_integral_+infty(f+g,a)
       = improper_integral_+infty(f,a) + improper_integral_+infty(g,a)  consider beFinSequence ofREAL that
         by A35,A53,XXREAL_3:def 2;
     end;
    end;
    suppose A55: not f is_+infty_ext_Riemann_integrable_on a &
     not g is_+infty_ext_Riemann_integrable_on a;

nsider Intf be PartFunc of REAL,REAL such that
A56A6:k  p2;
:thus. = )byA3,
      Intfisconvergent_in+infty or  is +infty_to+infty
    )byA3

     consider      =p.i*Line,. byRVSUM_144
A58:   dom     . java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 32
A59:   for x   p *M is
      (Intg is convergent_in hereby
    or Intg is java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 17

A60:  dom(Intf+Intg)A LineSum  = p
       by A58,A56s java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 22
      = a

A61:  for x;
       (ntf+)=integral(ga:Sump2 -(21/1 Sum :87
     proof
      let x be Real;
 isnon java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 58
A63:   a < endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
[,  .,[then
A64:   [.a,x.]    let i,j  that
:[ax]= .a,. byA63def
   f is_integrable_on [len   be Matrixof;
        qq=domppby,FINSEQ_3:9
      fg[a,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        by A64,A65,k in Seg len qq by A6,FINSEQ_1
A66:   integral(f+g,a,xlen (.  reconsiderl   1s byjava.lang.StringIndexOutOfBoundsException: Range [48, 45) out of bounds for length 49
       = integral(f,['a,xthendom pi =Seg len(pj) byFINSEQ_1:def3;
      .= integral(f,a,x) + integral(g,['a,x']) by A63,INTEGRA5:def 4
      ijava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 65

      ) holds  (.)= width  &  j st1j M j (p)
       .= integral(f,a,x) + Intg.x by A62,A60 let M be Matrix ofD
       .= integral(A1 len p 
      Intf.  fg,,  A66
     end:lenM=0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14

A67:  for r be Real
      ex g be Real st r    [,  IndicesM
     proof
java.lang.StringIndexOutOfBoundsException: Range [9, 6) out of bounds for length 20
       then 1 in len byFINSEQ_1:;
A68    then1indomp by : h60:
       g
      max    let j ssuch
      hence thesis by A60,A68,XXREAL_0:2,XXREAL_1:236;
     

percases byA3A55;
dom =dom by VALUED_1def5java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
inftyga  infty byA55Th27 then
      ex r be Real st Intg|right_open_halfline r is bounded_below
        by A4,A58,A59,Th39,Th9; then
A70:   Intf+Intg is divergent_in+infty_to+infty
        by A69,A67,A3,A56,A57,Th39,LIMFUNC1:54;
      hence f+g is_+infty_improper_integrable_on a by A7,A60,A61; then
      improper_integral_+infty(f+g,a) = +infty by A60,A61,A70,Def4;
      hence improper_integral_+inftylenM&  asMatrixby,h23;
       = +nftyfa + improper_integral_+(gajava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
         by  
     end;
     suppose A71: improper_integral_+infty(f,a) = -infty; then
      improper_integral_+infty(java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 19
      ex r be Real st Intg|right_open_halfline
        by A4,A58,A59,Th40,Th10; then
A72:   Intf+Intg is divergent_in+infty_to-infty
        by A71,A67,A3,A56,A57,Th40,Th12;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      improper_integral_+infty(f+g,a) = -infty by A60,A61,A72,Def4;
      hence improper_integral_+infty(f+g,a)
       = improper_integral_+infty(f,a) + improper_integral_+infty(g,a)
         by A71,A6,XXREAL_3: 2;
     end;
    end;
end;

theorem
for f,g be PartFunc of REAL,REAL, b be Real
  left_closed_halflineb c=dom  left_closed_halfline bppProbFinS FinSequence of by Th45;
mproper_integrable_on  b
_improper_integrable_on b
  & not (improper_integral_-infty(f,b) = +infty
       &improper_integral_-infty(,) = +infty)
  & not (improper_integral_-infty(fend
       & improper_integral_-infty(g,definition
holds f-g is_-java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 9
 & improper_integral_inftyfgb
  = improper_integral_-infty(f,b) - improper_integral_-infty(g,b)

    let f,g be PartFunc of REAL,REAL, b be Real;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A1:  left_closed_halflinethuslen     then len(p.(j+1)) = ( ,,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 58
  java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 40
A3:  f is_-infty_improper_integrable_on b and
A4:  g is_-  thesis A11,FINSEQ_1:def7;
A5:  not (improper_integral_-infty(f,b) = +infty
       &mproper_integral_nfty(,=infty)
A6:  not (improper_integral_-infty(f,b) = -infty
       & improper_integral_-infty(g,b) = -infty);
A7: dom(-g) = dom g by VALUED_1:8;
A8: -g is_-infty_improper_integrable_on b by A2,A4,Th43
A9:now assume A10: improper_integral_-infty(f,b) = +inftyk)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
     (-,b =-infty; then
     -improper_integral_-infty(g,b) = -(+infty) by A2,A4,Th43,java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 6
       per end;
    ;
A11:now assume A12: improper_integral_-infty(f,b) = -infty &
     improper_integral_A10: i - 1 < (len M + 1) - 1  1<len  1-1by 4;
     -improper_integral_-infty(g,b) = -(-infty)
        by A2,A4,Th43,XXREAL_3:5;
     by A12,XXREAL_310;
end
    hence f-g is_-infty_improper_integrable_on b
      by A1,A2,A7,A3,A8java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
   java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 35
     = improper_integral_-infty(f,b) + improper_integral_A2 p  java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        A1A2,A3,A8,9,11java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    .= improper_integral_-infty(f,b) + (-improper_integral_-infty(g,b))
       by A2,A4,Th43;
    hence improper_integral_-infty(f-g,b)
      = improper_integral_-infty(f,b) - improper_integral_-infty(g,b)
       by:i<=lenM by FINSEQ_1: A13,,
end;


for f,g be PartFunc of REAL, len = kk  p -Sum(
 st right_closed_halfline a c=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  & f is_+infty_improper_integrable_on a
  & g is_+A8: for k st k in dom holds .  -( for k st k >= 1 & k < len M holds p.(k+1) = (p.k) ^ M =1&k<Mp(=p.  kjava.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
  & not (improper_integral_+infty(f,a) = +infty
       & improper_integral_+infty(g,a) = +infty)
  & not (improper_integral_+infty(f,a) = -infty
       & improper_integral_+(g,a) = -infty)
holds fA11: java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
&mproper_integral_inftyf-,a
= improper_integral_infty(fa) -improper_integral_+(ga
proof
    letf,hence((   0:2RELAT_1:,72
    assume that
A1:  right_closed_halfline 
A2:  right_closed_halfline a c= dom g and
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A4:  g is_+infty_improper_integrable_on a and
A5:  not (improper_integral_+infty(f,a) = +infty
l_ga)= + and
A6:  not (A15: dom Sum p = dom p by FINSEQ_3:29;
       & improper_integral_+infty(g,a) = -infty);
A7: dom(-g) = dom g by VALUED_1:8;
A8:- infty_improper_integrable_on a byA2,A4,Th44;
A9:now assume A10: improper_integral_A19:    k+ <= len qq  A13,FINSEQ_1:;
     +(ga = infty then
     -improper_integral_+infty(g,a) = -(+infty)
       by A2,A4,Th44,XXREAL_3:6;
     hence contradiction by A5,A10,XXREAL_3:10;
    end
infty,a = - java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
: len q  bjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
     -            .= Sum:dom p   qbyFINSEQ_3:29java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
hlet  such java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
     hence     pk Sum (Infor_FinSeq_ofM)k27>1
    end;
    hence f-g is_+infty_improper_integrable_on a
      byA1,A2,7A3t
    improper_integral_+infty(f-g,a)
     _integral_+(,a)+ java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
byA2, being=p*
    .= improper_integral_+infty(f,a) + (-improper_integral_+infty(g,a))
       by A2,A4,Th44;
    hence improper_integral_+infty(f-g,a)
      = improper_integral_+infty(f,a) - improper_integral_+infty(g,a)
        by XXREAL_3:def 4;
end;

theorem :
for f be PartFunc of REAL,REAL, r be Real st dom f =Sumqbef
 f is_improper_integrable_on_REAL holds
  r#) is_improper_integrable_on_REAL &
    end;
proof
    let f beA5: len L = len M2 by MATRPROB:def 1;
    assume that
A1:  dom f = REAL and
A2:  f is_improper_integrable_on_REAL;

considerc be Real such that Real,java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
     fproof
     f is_+infty_improper_integrable_on c and
  =;
        & improper_integral_+infty(f,c) = +infty) and
A4:  not (improper_integral_ of *st  =p( M & p=411MATRPROB:;
        & improper_integral_(.*2pk*)=dom qbyVALUED_1:      l Mholds .(1=(k^.k1)

    f is_-infty_improper_integrable_on c
  & f +infty_improper_integrable_on  byA1,;then
A5: r(#)f is_-infty_improper_integrable_on c
  & r(#)f is_+infty_improper_integrable_on c
  &     
  & improper_integral_+infty(r(#)f,c) = r * improper_integral_+infty(f,c)
  by A1,Th41,Th42;

: improper_integral_-nfty(rjava.lang.NullPointerException
     = r * (      .= Sum((p.k*log(2,p.kq)+(pkmlt(,,)) byA12
       by A5,XXREAL_3:95
.r java.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 53

A7:    hencejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17

    per cases;
java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 18
     hence r(#)f is_improper_integrable_on_REAL by A5;
hence  (f= *mproper_integral_on_REAL
       A1,6A7;
d
    suppose A8: r > 0;
A9:  now assume A10: improper_integral_-infty(r(#)f,c) = -infty      n ^M.n1
       & java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 18
      improper_integral_-infty(f,c) = +infty n)=q1  p1 by,,;
      improper_integral_-infty(f,c) = -infty by A5,XXREAL_3:70;
      hence contradiction by A3,A10,A5,A8,XXREAL_3:69;
     end;

A11:  now assume A12: improper_integral_-infty(r(#)f,c) = +infty
        java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 57
    p1 being  D*such
      improper_integral_-infty(f:p1=dom  byA3,,:29java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
      hence contradiction by A4,A12,A5,A8,XXREAL_3:70;
     end;

     thus r(#)f p*.by59
      (r#)f
      = r * improper_integral_on_REAL   
       A1,,Th36
    end
    suppose A13        assume that
A14:          aassume 
       A:n   <M
      improper_integral_-infty(f,c) = +infty or
      improper_integral_-infty(f,c) = -infty by A5,XXREAL_3:70          end;
      hence contradiction by A4,A15,A5,A13,XXREAL_3:69;
     end;

A16:now. 1by A21;
       & improper_integral_+infty(r(#)f,c) = -infty; then
      java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 47
      improper_integral_-infty(f,c) = -infty by A5,XXREAL_3:69;
      hence contradiction by A3,A17,A5,A13,XXREAL_3:70;
     end;

thusr#fis_improper_integrable_on_REALby A5,A16;
     hence improper_integral_on_REAL (r(#)f)
       = r * improper_integral_on_REAL f
       by A1,A6,A7,Th36;
    end;
end;

theorem Th50:
for f be PartFunc of REAL,REAL,  suppose
  considerbeingFinSequenceof*suchthat
  -f is_improper_integrable_on_REAL &
  improper_integral_on_REAL -f = - improper_integral_on_REAL f
proof
    let f be PartFunc of REAL,REAL, r be Real;len in SeglenMbyA2,INSEQ_1:;
    assume dom f = REAL & f      by ,A4A,,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
on_REAL
    improper_integral_on_REAL((1)#) = (-)*improper_integral_on_REAL f
      by Th49;
    hence 
end;

theorem Th51
for f,g  then
 dom g = REAL & f is_improper_integrable_on_REAL &
 g is_improper_integrable_on_REAL &
 not (improper_integral_on_REAL f = +infty
    & improper_integral_on_REAL g = -infty) &
 not (improper_integral_on_REAL f = -infty
    & improper_integral_on_REAL g = +infty)
 holds
  f+g is_improper_integrable_on_REAL &
  improper_integral_on_REAL (f+g)
   = improper_integral_on_REAL f + java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 0
proof
    let f,g be PartFunc of REAL,REAL;
    assume that
A1:  dom f =A2 l= k-1;
A2:  dom g = REAL and
A3:  f is_improper_integrable_on_REAL and
A4:  g   then k < M*widthM+1 by ,:13java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A5:
    & improper_integral_on_REAL g = -infty) and
A6:  not (improper_integral_on_REAL f = -infty
    & improper_integral_on_REAL g = +infty);

    consider c be Real such that
A7:  f is_-infty_improper_integrable_on c and
A8: f is_+infty_improper_integrable_on c and
A9: not (improper_integral_-infty(fFINSEQ_1:1
       +infty(f,c  +nfty java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
: improper_integral_infty(,  +
       & java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 4

  percases;
A11: g is_A1 len MR  0
A12: .=   A1MATRPROB:;
A13: not (improper_integral_-infty(g,c1) = -inftylenMR > 0;
       &improper_integral_+infty(g,c1) = +infty) and
A14: not (improper_integral_-infty(g,c1) = +infty
       & improper_integral_+infty(g,c1) = -infty) by A4;

A15: left_closed_halfline c c= dom g by A2;
A16: right_closed_halfline c c= dom g by A2;
:left_closed_halfline c1 c= dom g by A2;
A18: right_closed_halfline c1 c MRis m- iff Mx2FinS(R)is

A19:g is_-infty_improper_integrable_on c
    proof
      cases;
     suppose c < c1;
      hence g is_-infty_improper_integrable_on c by A2,A11,Th25;
     end;
     suppose A20: c1 <= c; then
|'1c' is &g [c1,' by ;
      hence g is_-infty_improper_integrable_on c
      by A20,A15,A11,Th26;
     end;
    end;
A21:g is_+infty_improper_integrable_on c
    proof
     per cases;
     suppose A22: c < c1;
      g|['c,c1'] is bounded & g is_integrable_on ['c,c1'] by A22,A11;
      hence g is_+java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 4
      by A22,16A12,;
     end;
     suppose c1 <= c;
      hence g is_+infty_improper_integrable_on c by A2,A12,Th30;
     end;
    end;

A23:not (.= 1 by A1,MATRPROB7
      & improper_integral_+infty(g,c) = +infty)
    proof
     per cases;
     suppose A24: c < c1; then
A25:   g|['c,c1'] is bounded & g is_integrable_on ['c,c1'] by A11;
A26:   g is_-infty_improper_integrable_on c
       by A24,A2,A11,Th25;
      g is_+infty_improper_integrable_on c
       by A24,A16SumAll MR = Sum p by Th42
      hence thesis by A13,A2,A17,A24,A25,A26,Th26,Th30;
     end;
     suppose A27: c1 <= c; then
A28:   g|['c1,c'] is bounded & g is_integrable_on ['c1,c'] by A12; then
A29:   g is_-infty_improper_integrable_on c
27A15A11,Th26;
      g is_+infty_improper_integrable_on c
         ,,12,;
      hence      nonnegative;
     end;
    end;

A30:not (improper_integral_-infty(g,c) = +infty
           &+infty(gc =-nfty)
    proof
     per cases;
     suppose A31: c < c1;
A32:   g|['c,c1'] is bounded &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A33:g is_-infty_improper_integrable_onc
         by A31,A2,A11,Th25;
      g is_+infty_improper_integrable_on c
        by A31,A16,A32java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      hence thesis by A14,A2,A17,A31,A32,A33,Th26,Th30;
    ;
     suppose A34: c1 = c;
A35:   g|['c1,c'] is bounded & g is_integrable_on ['c1,c'] by A34,A12;
A36:   g is_-infty_improper_integrable_on c
        by A34,A35,A15,A11,Th26;
      g is_+infty_improper_integrable_on c
A34A2,,Th30
      hence thesis by A14,A2,A18,A35,A34,A36,Th25,Th31;
     end;
    end;

A37: improper_integral_on_REAL f
      = improper_integral_-infty(f,c)+java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 8
       by A1,A3,Th36;
A38: improper_integral_on_REAL g
      = improper_integral_-infty(g,c)+improper_integral_
       by A2,A4,Th36;

A39:not (improper_integral_-infty(f,c) = +infty &
      improper_integral_-infty(g.k)&(p.k =  implies p2.k=)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
              let k beNat;

improper_integral_infty,)= -infty &
      improper_integral_-infty(g,c    dom p1  ,FINSEQ_1:3
   A6A37A38,A30,XREAL_3:ef;

A41:not (improper_integral_+infty(f,c) = +infty &
      improper_integral_+infty(g  mlt(FinSeq_log(2,)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
        by A5,A37,A38,A9,java.lang.StringIndexOutOfBoundsException: Range [43, 34) out of bounds for length 43

A42:not
      improper_integral_A3 q   p
        by A6,A37,A38,A10,A23,XXREAL_3:def 2;


: infty_improper_integrable_on
        by A7,A19,A1,A2,A39,A40,Th45;
improper_integral_infty(+g,)
      = improper_integral_-infty(f,c) + improper_integral_-infty(g,c)
        by A1,A2,A7,A19,A39,A40,Th45;


A45:f+g is_+infty_improper_integrable_on c
        by A1,A2,A8,A21,A41,A42,Th46;

A46:improper_integral_+infty(f+g,c)
      =A11 dom q = dom pp byFINSEQ_3:29;
        by A1,A2,A8,A21,A41,A42A12 dom : The SCMPDS Computer and the Basic Semantics of Its Instructions

:nowjava.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 16
f+, inftyjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
per cases byA9,,A46A48,XXREAL_3:
     suppose improper_integral_-infty(f,c) = -java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 11
      improper_integral_+infty(,c = +infty;
      hence contradictionhence.  k (pk;
       by A6,A9,      SUBSET_1,ORDINAL1;
     end;
 
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
cluster Int  of
       by A5,A9,A37,A38,A23,XXREAL_3:def 2;
   llet nFinSequence ofREALjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    ;;

A49:now assume A50: java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 18
      improper_integral_infty+,c)=-infty;
     perhereby
     suppose improper_integral_    hence (Infor_FinSeq_of p).k=0logen  {,}{]\  \ or in I  5
      java.lang.StringIndexOutOfBoundsException: Range [21, 15) out of bounds for length 61
      f in   k*21)

     suppose-g,c) = +infty&
      
hencecontradiction  A6A10,37A6   .k=-p0.k y,VSUM_1:17java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
     nd;
    
      per cases
A51:  f+g is_improper_integrable_on_REAL  then  then reconsider

    dom(f+g) = dom f   hence thesis by       end;
A52:improper_integral_on_REAL (f+g        p.k>;
     = A1: x in { 9,10,11,12,13 };
        A1A,51k5       sElement INTbyINT_1: 2

    perjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
A54:  improper_integral_on_REAL   end

     per java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 7
[,*k1]
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 17
 (fjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
       =improper_integral_on_REALf+improper_integral_on_REALg
  [,}<,k1k2*];
end
     =-0byA14A15java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      improper_integral_on_REAL g  
      hence suppose
       = improper_integral_on_REAL;
        by A6,.= -(p.k8{,*,k1,k2*>;
     
end
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
  improper_integral_on_REAL f  nftyby47A52,XXREAL_3d

correctness
posejava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 57
      improper_integral_on_REAL f[{,*,bk1,*>];
      hence then [11,{},<*v1,k*> in-Instr Th8
       =improper_integral_on_REALf +improper_integral_on_REALg
         by ,56,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 17
     end;
suppose improper_integral_-infty(,  - then
      13 in { 9,10,11,12,13java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 46
      theorem
       = improper_integral_on_REAL f+improper_integral_on_REAL g
         def2
     end;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
     :-fgc   then
A58  java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 7
     improper_integral_MultBya,,k) = 11java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
by
     reconsider lf = improper_integral_-infty(f,c),
                lg =   then dom (r*mlt(p,FinSeq_log r*mltpF2p))= dom  byVALUED_1:def 5;
     per cases by XXREAL_0:14;

     suppose A59: improper_integral_+infty(then
      improper_integral_+infty(f,c) = +infty or
      java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
      improper_integral_on_REAL f = +infty or
      improper_integral_on_REAL gthen
      improper_integral_on_REAL f + java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 30
XREAL_3:def ;
      hence improper_integral_on_REAL (f+g)
         +improper_integral_on_REAL
        by A57,A59,A52,XXREAL_3DataLoc, :in :((,*)k=r2)p.:;
     endjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
 java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 64
      improper_integral_+infty(f,ch java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21
      improper_integral_+infty(g,c) = -infty byd1 isElement of
      improper_integral_on_REAL  infty or
      improper_integral_on_REAL g = -infty by A58,A37,A38,XXREAL_3:def 2; then
      al_on_REAL g  infty
        A5,6,XREAL_3:def 2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
      hence : I1 in { 4,5,6,8;
        = improper_integral_on_REAL f+improper_integral_on_REAL g
        ,60A52,XXREAL_3def;
     endjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
     suppose improper_integral_+infty(f+g,c) in REAL; then
consider
      improper_integral_+infty(g,c) in REAL
        by A41ejava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
        then I = [0,{}} java.lang.StringIndexOutOfBoundsException: Range [30, 24) out of bounds for length 37
                 rg   ins = goto k1
      improper_integral_on_REAL f = lf+rf &
      improper_integral_on_REAL g = lg+rg by A37A38,:def 2;then
: +improper_integral_on_REAL
        = lf+rf + (lg+rg) by XXREAL_3:def 2;
      improper_integral_-infty(hence k1beingofINT that
      improper_integral_+infty(f+g,c) = rf+endppose
      by    then
      improper_integral_on_REAL(f+gAns=return java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
      hence (+)
 +java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 73
     ;
    let I ofSCMPDS suchthat
end;

theorem
for;
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 50
 
 let;
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 20
  improper_integral_on_REAL -java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
&g=-infty
 holds
  -gjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

   Iin {[0,{},{}]} or
proof
let,gbePartFuncofREAL,REAL;
    assume that
A1: dom f = REAL and
      then  jbeat 
 fis_improper_integrable_on_REALandA5  indom 

:  take ak2;
    & improper_integral_on_REAL = infty)and
A6: not (improper_integral_on_REAL f = -infty
  improper_integral_on_REALg =-nfty)
 -)=  :8;
A8:letx bejava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A9:improper_integral_on_REAL  SCMPDS st InsCode ins=6  ex,java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71

AL >+nfty
g)>-infty
byA5,9,XXREAL_3:23

       (,)width  :def
  or improper_integral_on_REAL(-g) <> +infty
      by A6,A9,XXREAL_3:23;

    f A12,,;
    improper_integral_on_REALk2 beingElement of INTthen pMatrix   A4d4, java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
     = improper_integral_on_REAL     p = width MR
      by A1,A2,A3,A7,A8,A10,A11,Th51; then
    improper_integral_on_REAL(f-  reconsider =  Int_position by      suppose
     =then width  by,java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 46
    hence improper_integral_on_REAL
      oper_integral_on_REAL improper_integral_on_REAL
 XXREAL_3def;
end;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.369 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,058
#Domains=861,593