Eine aufbereitete Darstellung der Quelle

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


SSL integr25.miz   Interaktion und
PortierbarkeitMizar

 

:: 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, ARYTM_3, CARD_1, RELAT_1, TARSKI,
      XXREAL_0, NAT_1, XXREAL_2, XBOOLE_0, REAL_1, XXREAL_1, ARYTM_1, COMPLEX1,
      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, NAT_1, VALUED_0, RCOMP_1, INTEGRA5, LIMFUNC1,
      INTEGR10;
 constructors PROB_3, RVSUM_1, SEQ_2, NEWTON, COMSEQ_2, INTEGRA2, INTEGRA5,
      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, XBOOLE_0, XBOOLE_1, XXREAL_0, ORDINAL1,
      XXREAL_3, XXREAL_1, XREAL_1, XREAL_0, VALUED_0, PARTFUN1, RELAT_1,
      INTEGRA5, RFUNCT_1, VALUED_1, SEQ_2, ABSVALUE, RELSET_1, INTEGR10,
      INTEGRA6, LIMFUNC1, RFUNCT_2, INTEGR24;
 schemes FUNCT_2;

begin :: Properties of Extended Riemann Integral on Infinite Interval

theorem Th1:
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-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 Real 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 .| < g1 by LIMFUNC1:45;
     consider R1 be Real such that
A3:   for r1 be Real st r1 < R1 & r1 in dom f holds |. f.r1 - g .| < 1 by A2;

     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:48;

     set R = min(R1,R2);
A5:  R <= R1 & R <= R2 by XXREAL_0:17;
     consider r be Real such that
A6:  r < R & r in dom f by A1,LIMFUNC1:48;
A7: r < R1 by A5,A6,XXREAL_0:2;
     r < R2 by A5,A6,XXREAL_0:2; then
A8: 1 < f.r - g by A4,A6,XREAL_1:20;
     f.r - g <= |. f.r - g .| by ABSVALUE:4; then
     1 < |. f.r - g .| by A8,XXREAL_0:2;
     hence contradiction by A3,A6,A7;
    end;

    hereby assume f is divergent_in-infty_to-infty; then
     consider R1 be Real such that
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:  for r1 be Real st r1 < R2 & r1 in dom f holds 0 < f.r1 by A1,LIMFUNC1:48;
     set R = min(R1,R2);
A11:  R <= R1 & R <= R2 by XXREAL_0:17;
     consider r be Real such that
A12:  r < R & r in dom f by A1,LIMFUNC1:48;
A13: r < R1 & r < R2 by A11,A12,XXREAL_0:2; then
     f.r > 0 by A10,A12;
     hence contradiction by A9,A12,A13;
    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-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 Real 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 .| < g1 by LIMFUNC1:45;
     consider R1 be Real such that
A3:   for r1 be Real st r1 < R1 & r1 in dom f holds |. f.r1 - g .| < 1 by A2;

     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 XXREAL_0:17;
     consider r be Real such that
A6:  r < R & r in dom f by A1,LIMFUNC1:49;
A7: r < R1 by A5,A6,XXREAL_0:2;
     r < R2 by A5,A6,XXREAL_0:2; then
     g-1 > f.r by A4,A6; then
A8: -1 > f.r - g by XREAL_1:19;
     f.r - g >= -|. f.r - g .| by ABSVALUE:4; then
     -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 Real such that
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 < 0 by A1,LIMFUNC1:49;
     set R = min(R1,R2);
A11:  R <= R1 & R <= R2 by XXREAL_0:17;
     consider r be Real such that
A12:  r < R & r in dom f by A1,LIMFUNC1:49;
A13: r < R1 & r < R2 by A11,A12,XXREAL_0:2; then
     f.r < 0 by A10,A12;
     hence contradiction by A9,A12,A13;
    end;
end;

theorem Th3:
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+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 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 LIMFUNC1:44;
     consider R1 be Real such that
A3:   for r1 be Real st R1 < r1 & r1 in dom f holds |. f.r1 - g .| < 1 by A2;

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

     set R = max(R1,R2);
A5:  R >= R1 & R >= R2 by XXREAL_0:25;
     consider r be Real such that
A6:  r > R & r in dom f by A1,LIMFUNC1:46;
A7: r > R1 by A5,A6,XXREAL_0:2;
     r > R2 by A5,A6,XXREAL_0:2; then
     g+1 < f.r by A4,A6; then
A8: 1 < f.r - g by XREAL_1:20;
     f.r - g <= |. f.r - g .| by ABSVALUE:4; then
     1 < |. f.r - g .| by A8,XXREAL_0:2;
     hence contradiction by A3,A6,A7;
    end;

    hereby assume f is divergent_in+infty_to-infty; then
     consider R1 be Real such that
A9:  for r1 be Real st r1 > R1 & r1 in dom f holds f.r1 < 0 by LIMFUNC1:47;
     consider R2 be Real such that
A10:  for r1 be Real st r1 > R2 & r1 in dom f holds 0 < f.r1 by A1,LIMFUNC1:46;
     set R = max(R1,R2);
A11:  R >= R1 & R >= R2 by XXREAL_0:25;
     consider r be Real such that
A12:  r > R & r in dom f by A1,LIMFUNC1:46;
A13: r > R1 & r > R2 by A11,A12,XXREAL_0:2; then
     f.r > 0 by A10,A12;
     hence contradiction by A9,A12,A13;
    end;
end;

theorem Th4:
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+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 Real 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 .| < g1 by LIMFUNC1:44;
     consider R1 be Real such that
A3:   for r1 be Real st r1 > R1 & r1 in dom f holds |. f.r1 - g .| < 1 by A2;

     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:47;

     set R = max(R1,R2);
A5:  R >= R1 & R >= R2 by XXREAL_0:25;
     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;
     r > R2 by A5,A6,XXREAL_0:2; then
A8: -1 > f.r - g by A4,A6,XREAL_1:19;
     f.r - g >= -|. f.r - g .| by ABSVALUE:4; then
     -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 Real such that
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
A10:  for r1 be Real st r1 > R2 & r1 in dom f holds f.r1 < 0 by A1,LIMFUNC1:47;
     set R = max(R1,R2);
A11:  R >= R1 & R >= R2 by XXREAL_0:25;
     consider r be Real such that
A12:  r > R & r in dom f by A1,LIMFUNC1:47;
A13: r > R1 & r > R2 by A11,A12,XXREAL_0:2; then
     f.r < 0 by A10,A12;
     hence contradiction by A9,A12,A13;
    end;
end;

theorem Th5:
for f be PartFunc of REAL,REAL st f is convergent_in-infty holds
  (ex r be Real st f|left_open_halfline r is bounded_below) &
  (ex r be Real st f|left_open_halfline r is bounded_above)
proof
    let f be PartFunc of REAL,REAL;
    assume f is convergent_in-infty; then
    consider g be Real such that
A1:  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.| < g1 by LIMFUNC1:45;
    consider r be Real such that
A2:  for r1 be Real st r1<r & r1 in dom f holds |.f.r1-g.| < 1 by A1;

    for r1 be object st r1 in dom(f|left_open_halfline r)
     holds -1+g < (f|left_open_halfline r).r1
    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 left_open_halfline r by XBOOLE_0:def 4; then
     |. f.r1 - g .| < 1 by A2,XXREAL_1:233; then
A5:  -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 A2,A4,XXREAL_1: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 f|left_open_halfline r is bounded_below;

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

    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;
     assume A7: r1 in dom(f|left_open_halfline r); then
     reconsider r1 as Real;
     r1 in dom f /\ left_open_halfline r by A7,RELAT_1:61; then
A8:  r1 in dom f & r1 in left_open_halfline r by XBOOLE_0:def 4; then
     |. f.r1 - g .| < 1 by A6,XXREAL_1:233; then
     f.r1-g < 1 by ABSVALUE:def 1; then
     f.r1 < g+1 by XREAL_1:19;
     hence thesis by A8,FUNCT_1:49;
    end; then
    f|left_open_halfline r is bounded_above by SEQ_2:def 1;
    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+infty holds
  (ex r be Real st f|right_open_halfline r is bounded_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:::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).

    for r1 be object :: License version 3.0 or:: detailed in file COPYING.interpretation.
     holds -1+g < (f|right_open_halfline r).r1
    roof
     let r1 be object;
     assume A4: r1 in dom(f|right_open_halfline r); then
     r1 asReal;
     r1 in dom f /\ right_open_halfline r by A4      ,CARD_1 FINSEQ_1,ORDINAL4,,FUNCT_1 , ,
 r1in  f      by XBOOLE_0def 4;then
    | f.r1 -g|<1by A3,:;then
A6:  - ,TARSKI ,ZFMISC_1   java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
     nowassume - r1-g;then
       ,NAT_1,XREAL_0  , ,SUBSET_1java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
      hence contradiction      ,ORDINAL1,XTUPLE_0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
     ;then
     .r1- by A6X:1; then
     -1+g <theoremsAFINSQ_1,CARD_1 ,FUNCT_1 ,ORDINAL1 ,
     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      RELSET_1 REWRITE1 SUBSET_1,TARSKI , , XREAL_1,

for r1be object st st r1in domfright_open_halfline)
ht_open_halfline ) <+
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
     let r1 be object;
     assume A8: r1 in dom(f|right_open_halfline r); then
     reconsider r1 ru,,v ,v2 ,w9  for of omega
     r1 in dom f /\ right_open_halflinerbyA8,: 
A9:  r1 injava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 50
     |. f.r1 - g .| < 1 by A7,XXREAL_1:235; then
     f.r1-g < 1 by ABSVALUE:def 1; then
     f.r1
      A9FUNCT_14;
    end; then
    f|right_open_halfline r isjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th7:
 f   of REALR st
 :: java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
  ex r be Real st f|left_open_halfline r is
proof
A1:a^b=a orb^a=a;
    assume
A1:  f is divergent_in-infty_to+infty;
     r be Reals 
A2java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
      A1LIMFUNC1:48;

    for r1 be object st r1 in
holds1<(f| r.
    proof
     java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
     assume :r1 in dom(|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
     r1 < r by XXREAL_1:4; then
     1 < f.r1 by A2,A4;
     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 f|left_open_halfline r is bounded_below;
end;

theorem Th8:
for f be PartFunc of REAL,REAL st
 fis ivergent_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,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 18
    assume
A1:  is divergent_in-infty_toinfty;
  consider r   such 

       by A1,LIMFUNC1:49

    for r1     in dom(| r)
     holds (f|left_open_halfline r  thenlen   0+1;
    proof
     let A1:len    
      A3:r1 in (f|eft_open_halfline r)then
       as ;
     r1 in dom f /\ java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A4:  in    inleft_open_halfline  by XBOOLE_0: 4;then
      <r XXREAL_14 
      k<>   u<= +implies
ethesis by ,UNCT_1:49;
    end; then
    f|left_open_halfline r is bounded_above by SEQ_2:def 1;
    hence ex r be Real st f|left_open_halfline r is bounded_above;
end;

theorem Th9:
for f be PartFunc of REAL,REAL st
 f is divergent_in+infty_to+infty holds
  ex r be Real st f|right_open_halfline r is bounded_below
proof
    let f be PartFunc of REAL,REAL;
    assume f is divergent_in+infty_to+infty; then
    consider r be Real such that
A1:  for r1 be Real st r < r1 & r1 in dom f holds 1 < f.r1 by LIMFUNC1:46;

    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
     reconsider r1 as Real;
     r1 in dom f /\ right_open_halfline r by A2,RELAT_1:61; then
A3:  r1 in dom f & r1 in right_open_halfline r by XBOOLE_0:def 4; then
     r < r1 by XXREAL_1:4; then
     1 < f.r1 by A1,A3;
     hence thesis by A3,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;
end;

theorem Th10:
for f be PartFunc of REAL,REAL st
 f is divergent_in+infty_to-infty holds
  ex r be Real st f|right_open_halfline r is bounded_above
proof
    let fA3 len v1 = kand
    assumef divergent_ininfty_toinfty 
    consider  be Real suchthat
Realst r<r1 & in domf . <   LIMFUNC1:;

    forr1 be   r1d(f rjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
      r).r1 <1
    proof
     let  be objectjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
     reconsider=<> asElementof E^;
     reconsider r1 as Real;
     r1 in dom f /\ right_open_halfline r by A2,RELAT_1:61; java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 21
A3: in f & in  rby : 4;then
       <  :4;then
     f.    A;
     hence thesis by A3,FUNCT_1:49;
    end; then
    f| r is  by SEQ_2: 1;
   ex Real fright_open_halfliner is ;
end;

Lm1:
 be  , ofREALR 
rng ;
&seqc=dom 
proof
       ,f1f2be  of ,REALjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  assume
   c=om(f1f2)
  thus (f1+)=omf1/dom byVALUED_1def1java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  then dom(f1+f2)c=dom f1 & dom(f1+f2)c=dom f2 by XBOOLE_1:17;
  hence thesis by A1;
end;

theorem Th11:
for f1,f2 be PartFunc of REAL,REAL st f1 is divergent_in-infty_to-infty
 & (for r be Real ex g be Real st g<r & g in dom(f1+f2))
 & (ex r be Real st f2|left_open_halfline r is 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;
      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      then r2thesis
      then
A13: >(2/(^k)n A10,,:,:A;
       < ..|&|r2. <|r2|    :4,REAL_1:;then
      r2 < ..+ byXXREAL_0:;
      hence |.r2.|+1>(f2/*(seq^\k)).n by A13,XXREAL_0:2;
      then e  st einE&<>  <%e>by FLANG_1:ef4;
    then
A14:f2/*seq^k)is bounded_aboveby SEQ_2def 3;
    rng seq c=dom f1 by A5,Lm1;
    then
A15: rng(seq^\k)c=dom f1 byend;
    seq u  (E)iff lenu=1
k+(\)djava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 56
byA14A15,LIMFUNC1:def 11,12;
    hence (f1+f2)/*seq is divergent_to-infty by A8,LIMFUNC1:7;
  end;
  hence thesis by A2,LIMFUNC1:def 11;
end;

alen   java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
for f1,f2 be PartFunc of REAL,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 32
&f be  gbe rg&g (1f2)
 & (ex r be Real st f2|right_open_halfline r java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 0
 holds +f2  divergent_in+infty_to-infty
proof
   let f1,f2 be PartFunc of REAL,REAL;
  assume that
A1::u< 
A2:u in ()and
   r1 Realsuch that
A4:len u    ,h9;
  now
       Real_Sequence
       assume 
A4:  
 len(u^)= + len w by A4,AFINSQ_1:17;
    consider k be Nat such that
A6: for n be Nat st k<=n holds java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 27
A7 len(u      :;
1/java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
    thenend;
    
 *seq\)+*seq^k=f1+)*seq\)by:java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
      .=((f1+f2)/*seq)^\k by
    consider r2 be Real    of Function
 g st g r1/r
    >=f2.g by A3,RFUNCT_1:70;
 rngcd byA5,Lm1

\)by;
    now
      let int  of)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A12: n in NAT by:: This is a construction that limits new transitions to single character ones.
      nk=+,nnnasof ORDINAL112java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
        java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      then (seq^\k).nn < +infty & r1<(seq^\k).nn
            by NAT_1:def 3,  Tran of it iff len w  1&T =- S );
      then(seq\)n ins^k  \)n (r1)
      by VALUED_0:28,XXREAL_1:4;
(seq^k.in()\ by,java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 79
      then r2>=f2.((seqconsider   :, ():, that
     then
A13:  r2>=(/*seq^\k)n y ,7FUNCT_2108,XBOOLE_1:,;
      r2 <= |.r2.| & |.r2.| < |.r2.| + 1 by ABSVALUE:4, set bTS =transitionsystem#cTS  #)
      r2 < |.r2.|+1 bytake bTS  carrier  bTS bool (thecarrier of TS)
      hence |.r2.    thus [S ] ]inthe Tranof TSimplieslen   &T =-java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 77
    end;
    then
A14: f2/*(seq^\k) is bounded_above by java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 12
    rng seq c=dom f1 by endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    then
A15: rng(seq^\k)A4: T = w-succ_of,TS)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 51
  f1/(eq\)f2/*seq^k) -infty
      by A1,14A15,LIMFUNC1:def 8,12;
    hence (f1+f2)/*seq is divergent_to-infty by A8,LIMFUNC1:7;
  end;
  hence thesis by A2,LIMFUNC1:def 8;
end;

theorem
for   PartFuncof REAL,,  
( =dom f&java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
 java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 12
    is_right_ext_Riemann_integrable_onjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
   ,c
proof
    let f be PartFunc of REAL,REAL,A7  java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 33
    assume that
:  (d) c=   
A2    T =- S TS 

    hereby let b,c be Real;
      A3:   c < ; then
       d by XXREAL_02 then
A4:  f is_integrable_on ['b,d'] & f|['b,d'] is bounded by A2,INTEGR10:def 6;
     ['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,A4,INTEGRA6:18;
     hence f is_right_ext_Riemann_integrable_on b,c &
          f is_left_ext_Riemann_integrable_on b,c by A3,INTEGR24:19,18;
    end;
end;

theorem
for f be PartFunc of REAL,REAL, a be Real st
 right_closed_halfline(a) c= dom f & f is_+infty_ext_Riemann_integrable_on a
  holds for b,c be Real st a <= b < c holds
    f is_right_ext_Riemann_integrable_on b,c
  & f is_left_ext_Riemann_integrable_on b,c
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume that
A1: right_closed_halfline(a) c= dom f and
A2:fis_+ a;

    let , beReal;
     assume A3: a <= b < c; then
     a < c by XXREAL_0:2; then
A4:  f is_integrable_on ['a,c'] & f|['a,c'] is bounded by A2,INTEGR10:def 5;
     'c]= .,c A3:d3 
     ['a,c'] c thenconsider,being such
     [,c =domfA1 
_integrable_on ',c] |',c'  bounded &[b,'] c=dom java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
        A4:java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
     hence f then consider being 
       f is_left_ext_Riemann_integrable_on  

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

:
java.lang.StringIndexOutOfBoundsException: Range [17, 3) out of bounds for length 41
sta =f&ijava.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 78
  holdsfor  beReal st < h is_b
proof
    let f be PartFunc of 
 
A1:  java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 12
A2:      x,xc 

    hereby let b be Real;
     assume A3: xcas of by A23java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45

A4:  for c be Real st c <= b holds
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 56
     
      cReal
assumeA5  =b 
<  A3:2;java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
A6:   f reconsider xe = xijava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 47
        (,)byA;
      ['c,a'] c= ].-      hence thesis by A10A27
      ',' =dom  byA1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      hence ,java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
     

     consider    setwTS =thecarrierofbTSjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
:domI=java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 9
A9:  I is convergent_in:[,y2  java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

     -infty < b by XREAL_0:def 1,XXREAL_0:12; then
     reconsider B = ].-infty,b.      of=(java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 60

    java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 57
     consider Intf be     in ()
A10:  for x being       java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 44

:def;
     r , ofTS by;
  Intf java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 58
A13:  for x be java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 8
     proof
Real
mIntf;java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
      Intf.x 
      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 37
     end;

:forr   ex  gr&gi Intf
     
    boolthe carrierof  finite;
      consider g be Real such that
A15:    g < min(b,r) by XREAL_1:2;
A16:   -infty
      r > x,<>=*,%E TS java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      g in ].-infty,b.] by A16,XXREAL_1:2;
      thesis
     end;

     GbeRealthat
A18:   for  
            -( )java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 58
forbeReal  r&in| .-G|< 
          L45java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28

     =fba;

     for g1 be Real st 0<g1
      ex r be Real st
for beRealstr1r&in Intfjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
| .r1  |<g1
     proof
      let g1 be Real;
      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 A18;
      take R;
      thus for r1 be Real st r1<R & r1 in dom Intf holds
       |. 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; then
A24:    r1 <= a by A3,XXREAL_0:2; then
A25:    f is_integrable_on ['r1,a'] & f|['r1,a'] is bounded
         by A2,INTEGR10:def 6;

A26:    ['r1,a'] = [.r1,a.] by A23,A3,XXREAL_0:2,INTEGRA5:def 3; then
       ['r1,a'] c= ].-infty,a.] by XXREAL_1:265; then
A27:    ['r1,a'] c= dom f by A1;
A28:    b in ['r1,a'] by A3,A23,A26,XXREAL_1:1;
A29:    integral(f,r1,b) + integral(f,b,a)   ex e stw  <%e%>&w0=e by A1Th4;
         by A24,A25,A27,A28,INTEGRA6:17;

       Intf.r1 - G1    , w^} => X,<>,_  by A2,h12java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
       Intf.r1 - G1 = integral  then X  _bool TSby :;
       Intf.r1 - G1 = I.r1 - G by A22,A21,A11,A7,A8;
       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 be PartFunc of REAL,REAL, a be Real
 st right_closed_halfline(a) c= dom f & f is_+infty_ext_Riemann_integrable_on a
  holds for b be Real st a <= b holds f is_+infty_ext_Riemann_integrable_on b
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume that
A1:  then reconsider =X    TS;
:f+ a;

    hereby let b be Real;
     assume A3:

A4:  for cbe    =c java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
       f     carrier  #;
     proof
      let c be Real;
       :b =c; then
c A3,:
A6:  is_integrable_on [ac]&f|',c]is   2INTEGR10: 5;
      [a,c'  .,.  A,XXREAL_02INTEGRA5:ef 3; then
      ['a,c']java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      ['a,c'] c= dom f by A1;
      hence thesis by A3,A5,A6,INTEGRA6:18;
     ;

     Ibe  of R  
 =(a and
:for xbe   xin dom I holds Ix fa, 
A9:thus java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37

     b < +infty by XREAL_0:def 1,XXREAL_0:9; then
     reconsider B = [.b,+infty.[ as non empty Subset of REAL
       by XXREAL_1:3;

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

A11:,EWRITE314;
       as  ,EAL  :;
A12:  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
     st 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;
      hence Intf.x = integral(f,b,x);
     end;

A14:  for r be Real ex g be Real st r<g & g in dom Intf
     proof
      let  be 
      consider g be java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
ax,)<  byXREAL_1:1;
A16  coherence;
      r <= max(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A17:   r  func bool SA- strict java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 57
      g in [- ofit=_ transition of SA   nitS  =
nce 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;

     set G1=G-  existence

     for g1 be Real st 0<g1
      ex r be Real 
forr1 beReal  r< &r1 in dom Intf java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
        |. Intf.r1 - G1 .| < g1
     proof
      let  beReal;
      assume0<g1; then
      consider R be Real such that
A19:    for r1 be Real st R < r1 & r1 in dom I holds |. I.r1-G .| < g1
         by A18;
      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:     r1 in dom Intf;

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 ['ar1]by ,A23,,:1;
A29:    integral(f,    bSA as strict noemptydeterministic semiautomatonover ()
         by A24,A25,A27,A28,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 12

       .1-G1 =integralf,b,)-( -integral(,,b)by ,A21 then
       Intfjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
Intfr1  G1 =I.r1 -G A22,,11A7A;
       hencecoherence
      ;
     end;
     hence f A1     TS=1  :0;
by,,,A14,LIMFUNC144INTEGR10def5;
    end;
end;

theorem Th17:
for f be PartFunc of REAL,REAL, a,b be Real st a <= b
 & left_closed_halfline(b) c= dom f & f is_integrable_on ['a,b']
 & f|['a,b'] is bounded & f is_-infty_ext_Riemann_integrable_on a
 holds f is_-infty_ext_Riemann_integrable_on b
& infty_ext_left_integral(f,b) = infty_ext_left_integral(f,a) + integral(f,a,b)
proof
    let f be PartFunc of REAL,REAL, a,b be Real;
    assume that
A1:  a <= b and
A2:  left_closed_halfline(b) c= dom f and
A3:  f is_integrable_on ['a,b'] and
A4:  f|['a,b'] is bounded and
A5:   hencethesis byjava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 23

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

A7  the  of _ool      of java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
     f is_integrable_on ['c,b'] & f|['c,b'] is bounded
    proof
     let c be Real;
     assume A8: java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 4
A9:  ['clet  befinitenon empty  over;
     per cases;
     ppose:  = c;
      ['a,b'] c= ].-infty,b.] by A6,XXREAL_1:265; then
A11:  ['a,b'] c= dom f by A2;
      c in ['a,b'] by A8,A10,A6,XXREAL_1: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;
     end;

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

      hence f is_integrable_on ['c,b'] by A1,A12,A4,A13,A3,INTEGR24:1;
      ['c,a'] = [.c,a.] by A12,INTEGRA5:def 3; then
      ['c,b'] = ['c,a'] \/ ['a,b'] by A1,A6,A9,A12,XXREAL_1:165;
          hence thesis by Th14;
     end;
    end;

   consider be  ofREALREAL such that
A14: dom I = left_closed_halfline(a) and
A15: for x be Real st x in domA15: for x be Real st x in dom  E^mega java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A16: Ijava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7

    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,$1,b),REAL);
    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
    reconsider Intf as PartFunc of REAL,REAL by RELSET_1:5;
A19: dom Intf = left_closed_halfline(b) by FUNCT_2:def 1;

A20: for x be Real st x in om Intf holds Intf.x = integral(,,)
    proof
     let x be Real;
         {  :Pw } = E^mega  FRAENKEL:ch10;
     Intf.x    hence thesis;
     hence Intf.x = integral(f,  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
    ndjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8

A21: for r be Real let Qbe 
    proof
     let r be Real;
     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 33
A22:   <min(b,r) by XREAL_1:2;
hence thesis;
     min  thus thesis;
A24:  g < r & g < b by A22,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     hence thesis by   struct (semiautomaton over F) automaton over F (# carrier -> set, Tran ->
    end;

    consider G be Real such that
A25:  for g1 be Real st 0<g1
      ex r be Real st
       for r1 be Real st r1<rend;
         by A16,LIMFUNC1:45;

java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 51
A26:  = (,)  ,A14,,: ;

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

A27endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
     ex r beclusterstrict   deterministic over ;
pjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
       |. Intf.r1 - G1 .| < g1
    proof
     let g1 be Real;
     assume 0 < g1; then
     consider R be Real such that
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
 Real
      assume that
A29:    r1 < R1 and
  set   the Elementof;

A31:  R1 <= R & R1 <= a by XXREAL_0:17; then
A32take( ,T, I,I#;
:  r1 in  I by A14,,A29,XXREAL_0:2XXREAL_1:234;

A34    thus  is nonempty;
A35:   f is_integrable_on ['r1,b'] &     thus the carrier of  is finite;

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

java.lang.StringIndexOutOfBoundsException: Range [17, 6) out of bounds for length 50
A38:   integral(f,a,b) + integral(f,r1,a) = integral(f,r1,b)
        by A34,A35,A37,INTEGRA6:17;

      Intf.r1    hence  is deterministic;
      Intf.r1 - G1 = java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 6
      Intf.r1 -G1=I. -GbyA32,,A14XXREAL_1:234;
      hence thesis by A28,A33,A32;
     end
    
    hence
fty_ext_Riemann_integrable_on b
      by A7,A19,A20,A21,LIMFUNC1:45,INTEGR10:def 6;

A40:Intf is convergent_in-infty by A21,A27,LIMFUNC1:45; then
infty_ext_left_integral(f,b) = lim_in-infty Intf
      by A19,A20,A39,INTEGR10:def 8;
    hence infty_ext_left_integralend;
      = infty_ext_left_integral(f,a) + integral(f,a,b)
     by  func _ A - strictautomatonover Lex() means
end;

theorem Th18:
, ab  st  = b
 & right_closed_halfline a c= dom f & f is_integrable_on ['a,b']
 &f[a,' is bounded & f s_+infty_ext_Riemann_integrable_on
 holds f is_+infty_ext_Riemann_integrable_on a
  & infty_ext_right_integral(fproof
= infty_ext_right_integral(f,b) + integral(f,a,b)
proof
 REAL,REAL, a,b be Real;
    assume that
A1:  a <= b and
A2:  right_closed_halfline(a) c= dom f and
: f is_integrable_on [','] and
A4:  f|['a,b'] is boundedset = the InitS of _ool SA
A5:  f b;

A6: ['a,    proof

A7:for Real st a <= c holds
     f is_integrable_on ['a,c'] & f|['a,c'] is bounded
    proof
     let c be Real;
     assume A8: a <= c; then
A9:  ['a,c'] = [.a,c.] by INTEGRA5:def 3;
     per cases;
     suppose A10: c <= b;
      ['a,b'] c= [.a,+infty.[ by A6,XXREAL_1:251; then
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,4,11,:17;
thusf[',c' sbounded by A4,A6,9A10,XXREAL_1:34,RFUNCT_1:74;
     end;

     suppose A12: b    end;
  fis_integrable_on ['b,c'] & f|['b,c'] is bounded by A5,INTEGR10:def 5;
      ['a,c'] c    of A } as Subset of cA;
      [ac']c dom f  A2

hencef is_integrable_on[ac]byA1,,,:1;
      ['b,c'] = [    take bAjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
      ['a,c'] = end;
      hence f|['a,c'] is bounded by A4,A13,RFUNCT_1
end;
    end;

     coherence
A14: dom I = _bool A;
A15: for x be Real st x in dom I holds I.x = integral(f,b,x) and
A16: I is convergent_in+infty by A5,INTEGR10:def 5;

    a < +infty by XREAL_0:def 1,XXREAL_0:9; then
    reconsider A = [.a,+infty.[ as non empty Subset of REAL
      by XXREAL_1:3;

    deffunc F(Element of A) = In(integral(f,a,$1),REAL);
    consider Intf be Function of A, REAL such that
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    the semiautomatonofXX= _oolthesemiautomaton of A by Def6;
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 in dom Intf; then
     Intf..x = In(ntegral(f,a,x),REAL) by A17,A18;
     hence Intf.x = integral(f,a,x);
    end;

  hence thesis by Th14;
    proof
     let rend;
     consider g be Real such that
A22:   max(a,r) < g by XREAL_1:1;
A23:  g < +infty by java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 11
     r <= max(a,r) & a <= max(a,r)   cluster _ool  - finite;
A24: proof
      in [.,infty.[by A23,XXREAL_1:;
     hence thesis by A18,24;
    end;

    consider G be Real such that
A25:  for g1 be Real A25:  for g1 be Real st
      ex  let , F ;
       for r1 be Real st r<r1 & r1 in dom I java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 23
         by A16,LIMFUNC1:44;

    G = lim_in+infty I by  coherence
 G  infty_ext_right_integral(f,) A14,,INTEGR10: 7;

        A;

  be  0<
     ex  hence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
      for    being ofA holds w -ang(Q  succ_of (
       .Intf.1 - |<g1
    proof
     let g1 be Real;
     assume 0 < g1; then
     consider R be Real such that
28   for r1 Real st R < r1 & r1indom I  | .-G .| <g1
yA25java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
     set R1=max(R,bendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
t R1

     thus for r1 be Real st R1<r1  func Lang(A)->Subset of E^omega equals
      |. Intf.r1 - G1 .| < g1
     proof
      let r1 be Real;
me 
:R1<r1 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A30:   r1 indom Intf;

A31:  b <= R1 & R <= R1 by     { w : P[w] } c= E^omega from:sch 10java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
A32:   b < r1 & R < r1 by A29,XXREAL_0:2;
A33:   r1 in dom I by A14,A31,A29,XXREAL_0:2,XXREAL_1:236;

34:  a<= r1 by A1,,XXREAL_0:2; then
:   f is_integrable_on [ar1] & f|['a,r1] is boundedby A7;

A36:   ['a,r1'] = [.a,r1.] by A1,A32,XXREAL_0:2,INTEGRA5proof
     [ar1] c [a+infty.[by XXREAL_1:251 then
A37:[a,r1']c dom f  A2java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

A38then

39:integralf,,)+integral(,b,) (,a,)
        by A34,    hencethesis;

      Intf  end;
      Intf.r1 - G1 = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 4
      Intf. -G1=I.-Gby A32,15A14,:;
      hence thesis by   in Aimpliesw-(he   A )meets(  of
     end;
    end;
    hence
A40: + a
      by ,A19A20,21,LIMFUNC144,INTEGR10def5;

A41: Intf is convergent_in:p, w => q,A by Th18
    fa) =+ Intf
      by A19  assume w- the   , A) meets (the FinalS A);
     (,)
A4:x w-succ_of(  of , ) and
      A41AA27L:79;
  re xas Elementof by A4java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37

theorem
for f be PartFunc of REAL,REAL st dom end;
 f is   Lang(A) = left-Lang(the FinalSA)
 for a be Real holds f is_+java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 5
  & f is_-infty_ext_Riemann_integrable_on a
proof
    let f be PartFunc of REAL,REAL;
    assume :dom f  REAL;

    hereby assume
: f is infty_ext_Riemann_integrable; then
A3:  f is_+infty_ext_Riemann_integrable_on 0
   & f is_-infty_ext_Riemann_integrable_on 0 by INTEGR10:def 9;

     thus for     then the Fi of A meets succ_of(the of , A)by ;
        f -nfty_ext_Riemann_integrable_on
       thesis by ,UBSET_1:3
      let java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      percasesjava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
suppose A4: 0 <= a;

right_closed_halfline()c   by ;
       hence f is_+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,java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
         by A3,A4,INTEGR10:def 5;
       f -nfty_ext_Riemann_integrable_on by ,4A5,;
      end;
a <0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24

A7:    hence thesis by A1,SUBSET_1:3;
       f is_integrable_on       f is_integrable_on 
         by A3,A6,INTEGR10:def 6;
       hence f is_+infty_ext_Riemann_integrable_on a by java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 0
       left_closed_halfline(0) c= dom f by A1;
       hence f is_-infty_ext_Riemann_integrable_on a
         by   for  being RedSequence of ==>.-relation(TS) st (R.1)`2 = <%e%>^
      end;
     end;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    assume for A1:(R1`=<e%^and
       f s_-infty_ext_Riemann_integrable_on;then
is_+  java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    f is_-infty_ext_Riemann_integrable_on 0;  >{ 25
    hence f is A3: [R.1, R.2] in ==>.-relation(TS) by FINSEQ_3 .]=.(  java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 66
end;

begin :: Improper Integral on Infinite Inteval

definition
 fbePartFuncof REALR;
  let b be Real;
  pred f is_-infty_improper_integrable_on b means
  (forA7: = java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 28
  a <= b holds f is_integrable_on [' a,b '] & f|[' a,b '   cases A8:def 3;
  u1inLex()java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
   ( thenconsider f     such 
   &( is convergent_in-
   or Intfis divergent_ininfty_toinfty
     is -infty_to-infty)
;

definition
  letu1 in {<%E};
  let aA10: u1 =<>E by TARSKI:def 1;
  pred f is_+infty_improper_integrable_on a means
  (for b be Real st
  a <= b holds f is_integrable_on [' a,b '] & f|[' a,b '] is bounded) &
  ;
   (java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
&(Intf is convergent_in+infty
   or Intf is divergent_in+infty_to  .en R)`2  <>E holds len R >len u
   orIntf is divergent_in+infty_to-infty);
end;

definition
  let f java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    
  
A3lenR  + 
  func improper_integral_-infty(f,b) -A5 (len `  %E;
  :Def3:lenu  ;
ex Intf be PartFunc        R>u
   (for x be A6:     len u > 0;
   & (Intf is convergent_in-infty & it =java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 28
   -infty_to+&i  +
or is-  
existence
proof
    consider Intf be PartFunc of REAL,REAL such that
d_halflineb and
A3:  for x be Real st %> by ,8,,:103;
A4:  Intf is convergent_in-infty or Intf is divergent_in-infty_to+infty
   or Intf is
    per cases by A4;
f  -java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
               R2`  %%^java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
     take IT;
     thus java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    end;
    suppose A6: Intf is divergent_in           R>+u1byA9:;
     java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
     thus thesis  ,,;
    end;
    suppose A7: Intf is java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 12
      -infty;
     thus thesisby A,;
    
end;
uniqueness
proof
    let y1,y2 be ExtReal;
    assume that
 bePartFuncofREALREAL    java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
   (for x be Real st x in dom Intf holds Intf.x = integral(f,x,b))
&Intf  convergent_in-infty & y1 = lim_in-infty Intf
   or Intf is divergent_in-infty_to+infty & y1 = +infty
ntf&=-and
A9:  ex Intf be PartFunc of REAL    
   (for x     Pi + java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
   & (Intf is convergent_in-infty & y2 = lim_in-infty Intf
  Intf-java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 55
   java.lang.StringIndexOutOfBoundsException: Range [18, 5) out of bounds for length 18

    consider I1 be PartFunc of REAL,REAL such that
A10: dom I1 =         (.)2=  by A4;
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 10
A12: (I1 is          , suchthat
  or (I1 is divergent_in-infty_to+infty &  + 1 by A7,NAT_1:13;
  or (I1 is divergent_in-infty_to-infty & y1 = -)by A8;

   consider I2be PartFunc of ,REAL such that
A13: dom I2 = left_closed_halfline b and
14: for x be Real st x in dom I2 holds I2.x  integral(f,x,)and
A15: (I2 is convergent_in-infty & y2 = lim_in-infty I2)
  or (I2 is divergent_in-infty_to+infty & y2 = +        then len R + len(u^v) > len(u^v) + 1 by A4,A5:;
  or (I2 is divergent_in-infty_to-        hen considerR9 being RedSequence of=>-relation(TS that

 beElementofREAL;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 34
I1x=integral(,x,) by A11;
     hence I1.x = I2.x by A10,A16,A13,A14;
    end; then
    I1 = I2 by A10,A13,PARTFUN1:5;
    hence y1 = y2 by A12,A15,Th1,Th2;
end;
end;

definition
   fbePartFuncofREAL,;
      R1`  %%^u1^v) by A4A,:27
  assume
A1:proof
  java.lang.StringIndexOutOfBoundsException: Range [25, 6) out of bounds for length 53
  Def4java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
ex Intf be PartFunc of REAL,REAL st java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 27
(xbeReal  xindom Intf Intf.  integral(,a,)
   & (Intf is             set kl+1;
   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
A2:  dom Intf = right_closed_halfline a and
A3:  for x be Real          end
A4:  Intf is            R2)2 =u1^java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
           R.)`  byA2,3A9,12,13java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    per cases by A4;
    suppose A5             kindom  by,A17,Th3;
     reconsider IT = lim_in+infty Intf as ExtReal;
     takeITjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
     thus thesis by A2             (k` =v ,;
    end;
              ;
     take +infty;
     thus thesis by A2,A3,java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 6
    end;
    A7 is infty_to;
     take -infty;
     thus   let ,u ;
    end;
end;
uniqueness
proof
    let y1,y2 be ExtReal;
    assume that
:   Intf  PartFunc of REAL, st  Intf = right_closed_halfline a&
(for x  Real   in domIntf  Intf.=integral(,a,x))
   & (Intf is  
   or Intf is divergent_in+infty_to+infty & y1 = +infty
   or Intf is divergent_in+infty_to-java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 12
A9:  ex Intf be PartFunc of REAL,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 8
   
     ,java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
   or wv u;
   or Intf w  holds w1=w and

   consider I1be PartFunc of ,EAL  that
d_halflinea and
A11: for
A12: (I1 is convergent_in+infty &  
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  (1is+-&  )A8

    consider I2be  ofREALREAL such that
A13: dom I2 = right_closed_halfline a and
:for  be Real st x in dom I2 holds I2.x = integral(f,a,x) and
java.lang.StringIndexOutOfBoundsException: Range [25, 3) out of bounds for length 55
ininfty_to&  
 I2 is divergent_in+infty_to-infty&y2 =-)byA9;

   nowlet  beElementREAL
     assume A16: x inA4:(.1   1`by R:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    .x fa,)A11;
     hence I1.x = considerqbeing FinSequence  that
    end then
I2by ,13PARTFUN1:;
   hence y1  y2 by A12,15,h3,h4java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
end;
end;

theorem Th20:
for f be PartFunc of REAL,REAL, b A9:k +1in dom q;
st is_ b
 holds f is_-infty_improper_integrable_on b
proof
    let f be PartFunc of REAL,REAL,A11 pk`  ^w A2,:;

A1:  f java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 8
      be REAL,EAL    =left_closed_halflineb
     & (for x be Real st x in dom Intf holds Intf.x = integral(f,x,b))
     & Intf is convergent_in-infty by INTEGR10:def 6;
ble_on b A1,def 6;
end;

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
for f be PartFunc of     [[(p.k)`1, v1^(v^w)],pk+)`,v2(^w]=.relation)
 st f is_+infty_ext_Riemann_integrable_on then(.`,vw =.p( +)` v2(v^) TS by REWRITE3d ;
 holds f is_+infty_improper_integrable_on a
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume
 a java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
     be REALdomI=
     & (for x be Real st x in dom Intf holds     dim2.k+ ,E  ,EWRITE3def5java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
     & Intf is convergent_in+infty by INTEGR10:      .= [(p.(k + 1))`1, chop(v2^v^w, w)] by AFINS
    hence f is_+infty_improper_integrable_on a by A1,INTEGR10:def 5;
end;

theoremTh22java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
for f be PartFunc ^v2v
 st f is_-A19: (p.k)`1, v1^v ==>. (p.(k + 1))`1v   ,EWRITE3d ;
 holds
iemann_integrable_on java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    improper_integral_-infty=[.k` vw ] 27
or (not f is_-infty_ext_Riemann_integrable_on b &
    improper_integral_-infty(f,b) = +infty)
or (not f is_-  len p in dom p by A3,FINSEQ_3:25  dom  ,:;
inftyfb  infty)
proof
    let f be PartFunc of REAL,REAL, b be Real   qas  of =>relation()by ,,EWRITE1:ef 2;
    assume
A1:  f is_-infty_improper_integrable_on b; then
    consider Intf be PartFunc of REAL,REAL such that
A2:  dom Intf =    =[,u Def9
 RealstxindomIntf=(,,b 
A4:  Intf is  lenq (len)1 plenp ) ) ,java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  or Intf is java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22

    per cases by=.TS x ,[ v^^ 
     A5  is convergent_in;[ ^w y,w;
A6:  f is_-infty_ext_Riemann_integrable_on     being RedSequenceof=>-relationTS) st p. =[x,u^]&p. p
     improper_integral_-infty(f,b) = lim_in-infty Intf by A1,A2,A3,A5,Def3
t
thesis,A1,3Idefjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    suppose java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     Ibe of 
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    & (for x be Real st x in dom I holds  y w  : 6;
      not is convergent_in
     proof
      let I be PartFunc of REAL,REAL;
      assume that
A8:    dom I = left_closed_halfline b  forp q being    st,u^v=>q,TS holds ex r
A9:    for  being Elementofst ,u=> ,TS  ,v =* q, TS
      now let x 
assume: dom  
       Intf.x = integral(
       x=.A8,,9java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
         >java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 71
   ,A8
      hence .   u 
     java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
       R)2=u^ byA2java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    A5 in Rand
ntf is -infty_toinfty;
       PartFuncofREAL,st
      dom I = left_closed_halfline +1inRjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 xReal xdom .x  ,,bjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
     holds not I is convergent_in-infty
     proof
      let I be PartFunc A9:l< len R by A5,FINSEQ_3:;
      assume that
A12:    dom  domR& =lbyA5:,java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 54
A13:    for x be Real  =-T) .,RlbyA5A,17
nowx  REAL;
       assume A14: x  p  = ,%E ;
Intfx=fxb 
       hence       =lenby 13java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
;
ARTFUN1;
      hence      =*,TSdjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
     end;
     hence     

endthusA1,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38

:
forbePartFuncofREAL,,bbeReal
 st ex Intf be PartFunc of REAL,REAL stA1:now
  & (for x be Real st x in dom     
  & (Intf is divergent_in-infty_to+infty
   or Intf is divergent_in-     beingElementofsuch 
 holds not f is_-infty_ext_Riemann_integrable_on b
proof
    let f be java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 14
ex  R java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
     dom Intf = left_closed_halfline b &
     (for xletxbe java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
     (Intf is divergent_in-infty_to+infty;
   or Intf is divergent_in-infty_to-infty); then
    consider Intfbe PartFunc of REAL,REAL such that
:dom Intf  left_closed_halfline  and
A2:  A10: q  =>p, TS and
A3  Intf is -infty_to+infty
  or Intfis divergent_ininfty_toinfty;

    hereby assume f is_-java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 6
     consider I be PartFuncjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    Ijava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 40
A5:   forLex) c=Lex()\ {<>}by XBOOLE_17
   I is -infty by : 6;
     now letthe _TS E ]c=:thecarrierof_TS ( /{
 A7  dom 
  by:,:;
      hence Intf.x = I.x by A1,A4,A5,;
 
Intf= A,4:;
     hence contradiction by A3,A6,Th1,Th2;
    enddefpred P[at lenu<$   v  -ucc_of({- (
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

A2 [0
for f,Intf be PartFunc of REAL
 st f is_-infty_improper_integrable_on b & dom Intf     then
  & (for x    let v;
&Intf is -infty
 holds improper_integral_-(,_ S   by ,3R:;
proof
    let f,Intf be PartFunc of REAL,REAL, b be Real;
    assume that
A1 f -infty_improper_integrable_on 
A2:  dom Intf =       .= { v^u-succ_of (X, TS ;
A3:  for x be Real st x in dom Intf holds Intf.x A4:
A4:  Intf is convergent_in-infty;

A5: f is_-infty_ext_Riemann_integrable_on ba
    
A6: improper_integral_-infty(f,b) = infty_ext_left_integral ;

           casesby,A7NAT_125
A7:  dom I = left_closed_halfline b and
    be     dom I holdsI =integral(,,b) and
      is convergent_ininfty
A9:  infty_ext_left_integral(f,b) = lim_in-infty I by A5,INTEGR10:def 8;

    now let x be Element of REAL;
     assume A10: x in dom Intf; java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 15
     Intf.x = integral(f,x,b) by A3;
     hencelet be object;
    end;
    improper_integral_-nfty(b  -nfty 
by,A2A7,PARTFUN1:5;
end;

Lm2:
for f be PartFunc of REAL,REAL, c be Real st
  left_closed_halfline c              =^-ucc_of(, TS by A10TARSKI: 1;
olds
for             then
 for d be Real st d <= b holds
     f  [b'] & f|['d,b'] is bounded
proof
    let f             -succ_of(,TS is Element  _boolTS  -(,TS)
    assume 
A1:then  inu- ({vsucc_of (,TS)} bool TS)by ,
A2:  f is_-infty_improper_integrable_on c;
    let b be Real;
    assume
A3:  b <= c;
    thus for d eReal st d <= b holds
     f is_integrable_on ['d,b'] & f|['d,b'] is bounded
    
     let d be Real            assume
     assume A4: d <= b; then
:d =c A3:;
A6:  f is_integrable_on ['d,c'] & f|['d,c'] is bounded A13:        Q in { v-succ_of (X, TS) } & Q, u ==>* P, _bool
:.,]=['c'] by A3:,:3 
     [':1java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  ',' =  byA1;
     b in ['d,c']           ;
     hence f is_integrable_on ['d,b'] by A6,A5,A8,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 15
     [.d,b.] = ['d,b'] by A4,INTEGRA5:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 31
     hence f| 
    end;
end;

Lm3:
for           b Sas emptytransitionsystemover Lex()
  left_closed_halfline c c= dom f & f is_-infty_improper_integrable_on c
y(f,)=infty_ext_left_integralf,)holds
 for b be consider, suchthat
fis_-infty_improper_integrable_on b
& improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
proof
    let f be PartFunc of REAL;
    assume that
:left_closed_halfline c c dom f and
:f -infty_improper_integrable_on c and
A3:  improper_integral_-infty(f,c)         ^succ_of (succ_of XTS ,_TS  v2java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 73

    let b be Real;
   assume
A4:           A19REWRITE3105

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = left_closed_halfline c and
  x stxin  Ix fxc) 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;

java.lang.StringIndexOutOfBoundsException: Range [41, 2) out of bounds for length 53
     f is_- c  ,A6Th23;
     hence contradiction by java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 21
    end;

A9: now assume I is divergent_in-infty_to-infty  end;
notf is_-infty_ext_Riemann_integrable_on by A5,6Th23;
     hence  by A2,,;
    end;

    -infty < b by XREAL_0:java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 15
LB =.b] non    by;
    deffunc F(Element of LB) = In(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 13
    consider Intf be Function of LB,REAL java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 5
:x of x=F( FUNCT_2;
A11: dom Intf = LB by FUNCT_2:def 1; then
    reconsider Intf as   hence w-succ_of ({ Es },   succ_of{ ,_  java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70

A12: for x ^w-succ_of (X TS)}by 
proof
     let x    = -succ_of (X, SA}105;
     assume x in dom Intf; then
Intf. =In(integral(,,)REAL)by ,A11;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    end;x  x    theof_A

A13: for r be Real 
    proof
     let r  then
      R=min(,)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
     considerjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
:g<   in A7A8A,:
A15:R <= b & R <= r by XXREAL_0:17; thenhence  byDef6
A16:  g < b java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     g in  X  theFinalSof boolAimplies X  theFinalS java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
ceby A11,16;
    end;

    beReal 
A17:  for g1 be   the FinalS of _bool={Q  Q is   bool  : meetsthe
 Real for r1 be  st <r &r1 in domjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
        holds  exQbeing  of_ A   =Q&Q  (FinalS  A)byA1
    set G=g-fb,c)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

:forg1 Real st 0 <g1
     ex r be Real st
      r1  Real r1< r  r1  dom Intf holds
        |. Intf.r1-G .| < g1
    
let g1 ;
     assume 0 <  .  <>Esucc_of (the InitSof thesemiautomaton  A,the
      beRealsuchthat
   by REWRITE3:05
        by A17;
theorem :
       beReal st r1< R & r1 in domIntfholds
      |. Intf.r1-G .| < g1
     proof
      let r1 be Real;
assume that
A20:   r1 < R  hencewsucc_of ({ Es} _bool A)=w- ({Es } bool SA by
A21:   r1 in dom Intf;
      <=  &R <  
A22:  r1 < r & r1 < b by A20,XXREAL_0:2;
A23: dom Intf c= dom I by A4,A5,A11,XXREAL_1 . {w-ucc_of (,A }byREWRITE3105
A24:  |. I.r1 - g .| < g1 by A22,A19,A21;

A25:   r1 <= c by A5,A21,A23,XXREAL_1:2; then
'] & |['1c' is boundedbyA2;
A27:
       ['r1,c'] c= ].-infty,c.] by XXREAL_1:265; then
A28:   ['r1,c'] c= dom f by A1;
A29:   b in ['r1,c'] by A22,A4,A27,XXREAL_1:1;

      I.r1
.=integral(f,,)+integral(,bc  g  A25,A26,A28,A29,INTEGRA6:17
       .= integral(f,r1,b) - (g - integral(f,b,c));
  hence . Intf.1-G.|<g1 by A21,,;
     end;
     hence thesis;
   end;
ence: f -nfty_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,A18,LIMFUNC1:45,INTEGR10:def 6;
    improper_integral_-nfty(b  infty_ext_left_integral(f,)
byA30Th22
end;then  beingjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26

Lm4:
for f be PartFunc of REAL,REAL, c be Real
st c c=   f is_-infty_improper_integrable_on 
  & improper_integral_-infty(f,c) = +infty
 holds for  thenw- (he  of ,A in -InitS of DA DA)by
  f is_-infty_improper_integrable_on b & improper_integral_-infty(fthen succ_of(InitS of DA,DA)meetsthe ofDA A2,
proof
    let f be PartFunc of REAL,REAL, c be Real;
    assume that
A1:  left_closed_halfline c c= dom f and
A2:  f XBOOLE_0:3;
:  improper_integral_-infty(f) =+infty;

    let b be Real;
    assume
:b < ;

considerIbe PartFunc ofREAL, such that
5  dom I  .infty,. and
   be Real st x in dom I holds I. =integral(,,)and
A7: (  convergent_ininfty   isdivergent_ininfty_to+infty
orI isdivergent_in-nfty_to-nfty)by java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    improper_integral_-infty(f,c) <> infty_ext_left_integral(f,c)
      by A3; then
A8:not f -infty_ext_Riemann_integrable_on by A2T;

    -infty < b by XREAL_0:def 1,XXREAL_0:12; then
    reconsider LB = ].-infty,b.] as non empty Subset of REAL by XXREAL_1:2;
(Elementof LB) ((,1b)REAL)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    consider  by;
   x   LBIntfx= Fx  : java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    reconsider Intf as PartFunc  for A being non empty automaton over Lex()\ {%E ex DA being non

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 Intf;then
     Intf.x = In(integral    by Th38;
     hence thesis;
    java.lang.StringIndexOutOfBoundsException: Range [52, 7) out of bounds for length 61

A12: for r be Real ex g be Real st 
    proof
     let r be Real;
     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;
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
A17:   for r1 be Real st r1 < r & r1 in dom I
        holds g1+integral(f,b,c) < I.r1
          by A8,A7,A3,A2,A5,A6,Def3,INTEGR10:def 6,LIMFUNC1:48;
     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
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:234; then
      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,XXREAL_0:2,INTEGRA5:def 3; then
      ['r1,c'] c= ].-infty,c.] by XXREAL_1:265; then
A24:   ['r1,c'] c= dom f by A1;
      b in ['r1,c'] by A23,A19,A4,XXREAL_1:1; then
      integral(f,r1,c) = integral(f,r1,b) + integral(f,b,c)
        by A20,A22,A24,INTEGRA6:17; then
      g1 < integral(f,r1,b) 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,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;
end;

Lm5:
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
& improper_integral_-infty(f,c) = -infty holds
for b be Real 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:  left_closed_halfline c 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 :: This code can be distributed under the:: version 3.0 or:: License version 3.0 or later, subject :: detailed in file COPYING.interpretation.
Iis -- yA2;
java.lang.StringIndexOutOfBoundsException: Range [64, 4) out of bounds for length 65
byA3;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 of REAL by XXREAL_1:2;
    deffunc F(Element of LB) = In(integral(f,$1,b),REAL);
    consider Intf be Function of LB,REAL such that
A9:  for x be Element of LB holds Intf.x = F(x) from FUNCT_2:sch 4;
A10: dom Intf = LB by FUNCT_2:def 1; then
reconsider    of REALREAL by RELSET_15java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59

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

A12: for r be Real ex g be Real st g < r & g in dom Intf
    proof
     let r be Real;
     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:49;
= r byXXREAL_0:17; then
A15:  g < b & g < r by A13,XXREAL_0:2;
     g in dom Intf by A10A14A13,XXREAL_0:2,XXREAL_1:234;
ncethesis 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
:forr1be  st < r& r1in I
        holds g1+integral(f,b,c) >      g    
          ,A7,3,A2,,A6Def3INTEGR10:def 6,LIMFUNC1:49;
     set R = min(b,r);
     take R;
beRealstr1<   inIntf   .
     A4:   for be str1 <R2 & r1 in dom f holds g+1 < f.r1
      let r1 be Real;
      assume A18: r1 < R & r1 in dom Intf;
      R <= b & R <= r by XXREAL_0:17; 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 A19,A5,A4,XXREAL_0:2,XXREAL_1:234; then
      g1+integral(f
:g1+ integral(f,,)>integral(f,,) by ,A20A5,XXREAL_1234;

A22:   f is_integrable_on ['r1,c']A7:r  R1by A5,A6,:;
:   [r1,c]=[r1,c.  A19A4,XXREAL_0:2,NTEGRA5def 3; then
     'r1,'c=]-nftyc] XXREAL_1: then
24:  ['1c]c  f by A1;
       in[r1c]by ,A19A4,XXREAL_1:1 
      integral(f,,)=integral(,r1,)+integral(f,,)
        by A20,A22,A24,INTEGRA6:17; then
      g1 > integral(f,r1,b) by A21,XREAL_1:6;
hence>IntfA18java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
     endjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    endhencecontradiction ,,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    hence
A25:  f is_-infty_improper_integrable_on java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
            gRealjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 33
    Intf is divergent_in-infty_to-infty by A12,A16,LIMFUNC1:49;
    hence improper_integral_-infty(f,b) = -infty by A10,A11,A25,Def3;


theorem Th25:
for f be PartFunc of java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
 st b <= c & java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 23
 & is_-nfty_improper_integrable_on c
 holds f is_-A6   <R &r in fby ,LIMFUNC149;
  -infty(,c) = infty_ext_left_integral(f,c)
     implies improper_integral_-infty(f,b) = infty_ext_left_integral(f,b) )
  & ( improper_integral_-infty(f,c) = +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
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)
       by A3,Th22;
     hence thesis by A1,A2,A3,Lm3;
    end;
    suppose 1  .r g by XREAL_1:;
     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;


Lm6
  PartFunc ,REAL cbejava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
 st java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 34
& -java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 69
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'] A3:  f|['b,c'] isR1,R2;
A4:  f is_-nfty_improper_integrable_onb 
rable_on[bc];

      beReal
     
:   =c 
,'  .,. by: ;
     ['d,c'] c= ].-infty,c.
A7:  ['d,c'    such

A8: ['b,c'] = [.b,c.] & ['d,c'] = [.d,c.] by        r1 in dom f holds |. f.r1 - g .| < g1 by:4

     java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
     suppose A9: d <= b; then
A10:  f is_integrable_on ['d,b'] & f|['d,b'] is bounded by A4;
      hence f is_integrable_on ['d,c'] by A9,A1,A7,A3,A5,INTEGR24:1;
      ['d,b'] = [.d,b.] by A9,INTEGRA5:def 3; then
      ['d,b'] \/ ['b,c'] = [.d,c.] by A9,A1,A8,XXREAL_1:165;
      hence f|['d,c'] is bounded by A10,A3,A8,RFUNCT_1:87;
     end;
     suppose A11: b < d;
      [.b,c.] c= ].-infty,c.] by XXREAL_1:265; 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 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      thus f|['d,c'] is bounded by A3,A11,A8,XXREAL_1:34,RFUNCT_1:74;
     end;
    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']
ral_infty,)=(f,)
holds is_-nfty_improper_integrable_on c
  &      r > R2 by A5,A6,XXREAL_0:2; then
     = improper_integral_-infty f  g< .f.r  . byABSVALUE:;then
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);

    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 s I.x =integral(,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;

A10: now assume I is divergent_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;

    now assume I is divergent_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
    f is_-infty_ext_Riemann_integrable_on b
      by A4,A7,A8,A9,A10,INTEGR10:      by A4,A7,A8,A9,A10,INTEGR10:def
A11:f - c
 infty_ext_left_integral(,)
      = infty_ext_left_integral(f,b) + integral(f,b,c)
      by A10:  for rber1  r1domf< by A1,LIMFUNC1:46;

    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;
    hence improper_integral_-infty(f,c)
         = improper_integral_-infty(f,b) + integral(f,b,c)
           by A6,XXREAL_3:def 2;
end;

java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    of REALREAL ,  Real
 st b end;
  & f is_-infty_improper_integrable_on b & java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 0
& improper_integral_-infty(, +
tegrable_on
  &improper_integral_-(,  +infty
proof
    let f be PartFunc      consider gbeReal such that
    assume that
A1:  b <= c and
:  left_closed_halfline c c= dom f and
is bounded
A4:  f is_-A4:for r1 be Real tr1  R2 &r1 indom f holdsg- .1
:   ',' 
A6:  improper_integral_-infty(f,b) = +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 or I is divergent_in-infty_to+infty
or is divergent_in--)by A4

    improper_integral_inftyf,b < infty_ext_left_integralf,b)
      by A6consider  beReals that
A10: not f is_-infty_ext_Riemann_integrable_on b by A4,Th22;

    -infty <A10:  forr1be  st r1 > R2 & r1in dom f holds f.r1 < 0 by A1,LIMFUNC1:47;
reconsiderAC =]-c]as non empty  of  by XXREAL_1:2;
    deffunc F(A12:    & in domf A1L:47;
    consider Intf be Function of     . < A10A;
A11:  for x be Element of AC holds   (ex r be Real st f|left_open_halfline  beRealst  r  )&
A12: dom Intf = AC by proof
    reconsider Intf as PartFunc     onsider gbe  that

 xbe st x indom   Intf. = (,x,)
    proof
 xbe ;
     assume  for r1 beobjectst r1in dom(f|eft_open_halfliner)
letr1 be ;
     hence thesis;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

 Real  be  g < r & gindomI
    proof
     let r be Real;hence   A2,4XXREAL_1233java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
     byFUNCT_1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
:g<  domI
byA6A,,NTEGR10def6A4L48;
].inftyb.]c]-infty,c.] by A1,XXREAL_1:42;
     hence thesis by A15,A7,A12;
    end;

A16: for       :r1in dom(l r;then
r1indom  holdsg1<.r1
    proof
     let g1  .fr1-. <  A6:;then
          f.r1 <r1<g1by:;
:r1beRealstr1<&r1 java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
        holds g1-integral;
          by A10,A9,4A6,,8,ef3INTEGR10def,LIMFUNC1:48;
     set R =  (exr beRealstf| r )&
     take R
    & domholdsIntfjava.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
     proof
      let r1 fg  b:  java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
    |is d 1
A19:  R <= b & R 
A20:   r1 < b & r1 < r by A18,XXREAL_0:2; then
A21:   r1 < c by A1,XXREAL_0:2;

      r1 in dom I by A7,A19,A18,XXREAL_0:2,XXREAL_1:234; then
      g1-integral(f,b,c) < I.r1 by A17,A20; then
A22:   g1-integral(f,b,c) < integral(f,r1,b) by A8,A20,A7,XXREAL_1:234;

A23:   f is_integrable_on ['r1,c'] & f|['r1,c'] is bounded
        by A21,A1,A2,A3,A4,A5,Lm6;
A24:   ['r1,c'] = [.r1,c.] by A20,A1,XXREAL_0:2,INTEGRA5:def 3; then
      ['r1,c'] c= ].-infty,c.] by XXREAL_1:265; then
A25:   ['r1,c'] c= dom f by A2;
      b in ['r1,c'] by A24,A20,A1,XXREAL_1:1; then
      integral(f,r1,c) = integral(f,r1,b) + integral(f,b,c)
        by A21,A23,A25,INTEGRA6:17; then
      integral(f,r1,b) = integral(f,r1,c) - integral(f,b,c); then
      g1 < integral(f,r1,c) by A22,XREAL_1:9;
      hence g1 < Intf.r1 by A13,A18;
     end;
    end;
    hence
A26: f is_-infty_improper_integrable_on c
       by A12,A13,A14,A1,A2,A3,A4,A5,Lm6,LIMFUNC1:48;
    Intf is divergent_in-infty_to+infty by A14,A16,LIMFUNC1:48;
    hence improper_integral_-infty(f,c) = +infty by A12  is divergent_in-infty_to+infty
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 byA1,IMFUNC1:8java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
nfty_improper_integrable_on b&f is_integrable_on[b,c'java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
  & improper_integral_-infty(f,b) = -infty
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
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;

    consider I be PartFunc of REAL,REAL such that
A7:  dom I = left_closed_halfline  r1dom  / java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 63
A8  byjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
A9:  (I is convergent_in-infty or I is divergent_in-infty_to+infty
     or I is divergent_in-infty_to-infty) by A4;

    improper_integral_-infty(f,b) <> infty_ext_left_integral(f,b)
      by A6; then
A10: not f is_-infty_ext_Riemann_integrable_on b by A4,Th22;

    -infty < c by XREAL_0:def 1,XXREAL_0:12; then
    reconsider AC = ].-infty,c.] as non empty Subset of REAL by XXREAL_1:2;
    deffunc F(Element of AC) = In(integral(f,$1,c),REAL);
    consider Intf be Function of AC,REAL such that
A11:  for x be Element of AC holds Intf.x = F(x) from FUNCT_2:sch 4;
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(f,x,c)
    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;

A14: for r be Real ex g be Real st g < r & g in dom Intf
    proof
     let r be Real;
     consider g be Real such that
A15:   g < r & g in dom I
        by A10,A6,A7,Def3,INTEGR10:def 6,A4,LIMFUNC1:49;
     ].-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
A17:   for r1 be Real st r1 < r & r1 in dom I
        holds g1-integral(f,b,c) > I.r1
          by A10,A9,A4,A6,A7,A8,Def3,INTEGR10:def 6,LIMFUNC1:49;
     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 XXREAL_0:17; then
A20:   r1 < b & r1 < r by A18,XXREAL_0:2; then
A21:   r1 < c by A1,XXREAL_0:2;

      r1 in dom I by A7,A19,A18,XXREAL_0:2,XXREAL_1:234; then
      g1-integral(f,b,c) > I.r1 by A17,A20; then
A22:   g1-integral(f,b,c) > integral(f,r1,b) by A8,A20,A7,XXREAL_1:234;

A23:   f is_integrable_on ['r1,c'] & f|['r1,c'] is bounded
        by A21,A1,A2,A3,A4,A5,Lm6;
A24:   ['r1,c'] = [.r1,c.] by A20,A1,XXREAL_0:2,INTEGRA5:def 3; then
      ['r1,c'] c= ].-infty,c.] by XXREAL_1:265; then
A25:   ['r1,c'] c= dom f by A2;
      b in ['r1,c'] by A24,A20,A1,XXREAL_1:1; then
      integral(f,r1,c) = integral(f,r1,b) + integral(f,b,c)
        by A21,A23,A25,INTEGRA6:17; then
      integral(f,r1,b) = integral(f,r1,c) - integral(f,b,c); then
      g1 > integral(f,r1,c) by A22,XREAL_1:9;
      hence g1 > Intf.r1 by A13,A18;
     end;
    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
     ence exr be Real st f|left_open_halfline r is bounded_below;
       by A4,Th22;
      thesisbyA1,2A3,,A5,m7
    end;
    suppose A6: not f is_-infty_ext_Riemann_integrable_onproof
   casesby A4,6Th22;
     suppose improper_integral_-fb  infty;
      hence 
     end;
     suppose improper_integral_-infty(r1 
,;
     end;
    end;
end;

theorem Th27:
for f be PartFunc of REAL,REAL, b be Real
 st f is_+infty_improper_integrable_on b
 holds (f is_+infty_ext_Riemann_integrable_on     r1 < rbyXXREAL_1:4; hen
    improper_integral_+inftyend;then
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 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;

    perexr  Real fright_open_halfliner isbounded_below
    suppose A5: Intf is convergent_in+infty; then
A6:  f is_+infty_ext_Riemann_integrable_on b by A1,A2,A3,INTEGR10:def 5;
     improper_integral_+infty(f,b) = lim_in+infty Intf by A1,A2,A3,A5,Def4
      .= infty_ext_right_integral(f,b) by A6,A2,A3,A5,INTEGR10:def 7;
     hence thesis by A5,A1,A2,A3,INTEGR10:def 5;
    end;
    suppose A7: Intf is divergent_in     fbe of,EAL
     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 I is convergent_in+infty
     proof
      let I be PartFunc of REAL,REAL;
      assume that
A8:   dom I= right_closed_halfline b and
A9:    for x be Real st x in dom I holds I.x = integral(f,b,x);
      now let x java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       assume A10: x in dom Intf      r1as ;
Intfx  fb,)A3java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
       hence Intf.x = I.x by A2,A8,A9,A10;
      end; then
      Intf = I by A2,A8,PARTFUN1:5;
      hence not I is convergent_in+infty by A7,Th3;
     end;
     hence thesis by A1,Def4,INTEGR10:def 5;
    end;
    suppose A11: Intf is divergent_in+infty_to-infty;
     for I be PartFunc of REAL,REAL st
       I= right_closed_halfline
    &(x   xindom I Ix=(,,xjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
not 
     proof
      let I be PartFunc of REAL fis divergent_in+infty_to-h
      assumePartFuncof REALR;
A12:dom  =right_closed_halfline b and
A13:    for x be Real st x in dom I holds I.x = integral(f,b,x);
      now let x be Element of ;
       assume A14: x in dom Intf; then
       Intf.x = integral(f      A2 r1 in dom(| r); 
       hence Intf. =Ix  A2A,13A;
      end; then
      Intf =3:  r1  dom f   in right_open_halfline r by : 4 
      hence not I is java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 23
     end;
     hence thesiscdom java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 71
    end;
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

forf2PartFuncREALis-java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 71
for f be PartFunc of REAL  ( rstf2left_open_halfline 
 st ex Intf be PartFunc of REAL,REAL st dom Intf = right_closed_halfline b
 stxin holds .fb,)
  & (Intf is divergent_in+infty_to+infty
    or Intf is divergent_in+java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
xt_Riemann_integrable_on

    let f be PartFunc ofend;
    assume ex Intf be PartFunc of REAL,REAL st
     dom Intf = right_closed_halfline b &
     f x  st x    olds Intf.x  integral(,,) java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
(divergent_ininfty_toinfty
   -infty); then
   java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 52
A1
A2:  for x beA4:seqis+ java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
A3: Intf  divergent_ininfty_to+
  or Intf is divergent_in    ff2)dom f1/domf2by L;

    hereby assumefis_infty_ext_Riemann_integrable_on;then
     consider I     consider r2be   that
 dom I  right_closed_halfline  
A5:   for    
A6:   I is convergent_in+infty byA12:nin NATby ORDINAL1: 12java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
now letx Elementof REAL;
me:x  dom; then
Intf.=integral(f,,)byA2
      hence A13  r2=f2/*seq^k)nby ,,UNCT_2:,XBOOLE_11A12;
     end; then
        A1PARTFUN15
     henceA14:f2/*(seq\ bounded_aboveSEQ_2:def3;
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
end;

theorem
  end;
 st f is_+infty_improper_integrable_on b &nd;
  & (for x be Real st  left_closed_halfline(d =dom f  is_- d
  & Intf is f is_left_ext_Riemann_integr
holds improper_integral_ 
proof
AL,,  beReal;
    that
A1:  f is_+infty_improper_integrable_on b and
A2:  dom Intf = right_closed_halfline b and
 Realst  indom   . (bx)and
4  isconvergent_ininfty;

A5:b by A1,A3A4,:def 5

A6: improper_integral_+infty(f,b) = infty_ext_right_integral(    f  b,c
      by A1,Th27;

    consider I be A1: right_closed_halfline c fajava.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
   I=right_closed_halfline b 
A8:  for x be Real st x in dom I holds I.x =      ','  .,.] ,:,d ;then
      isconvergent_in+infty and
A9:  f is_integrable_on',c  |',c]bounded&[bc]c= f

    now let x be Element of REAL;
     assume A10: x; then
,b,x)by java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
     hence Intf.x = I.x by A2,A7,A8, st left_closed_halfline(a) c= dom f & f a
    end;
    hence improper_integral_+infty(f,assume that
      by  hereby   be;
end;

:
for f be for f be PartFunc,. A5,3XXREAL_0:2,: 3 
   c=domf& f is_+ 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
    let f be PartFunc of REAL,REAL, c be Real;
    assume that
A1:  right_closed_halfline c c= dom f and
A2:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    let b be Real;
    assume
A3:A10: forxbeingElementofB  . =Fx :schjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
 holds
     is_integrable_on 'd]&f[b,' is
    
     letbe ;
     assume A4: d >= b; then
   >cA3,XXREAL_0:2; then
 fis_integrable_on [,'& f[cd'  bounded by ;
:[c,.] ',]byA4,:,:3 
     [      gb Realsuchthat
:[c,'   f by A1;
     b in ['c,d'] by A7,A4,A3,XXREAL_1:1
     hence f       hence thesis by A11,A17;
     [.b,d.] = ['bjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     hence f|['b,exrbe Realst
    ;
end;      G1=-ntegral(f,,)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

m11
for java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 25
   c= f &f + c
& improper_integral_+infty(f, for be str1&r1indom 
      
  f is_+infty_improper_integrable_on b
& improper_integral_+infty(f,b) = java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 0
proof
    f be PartFunc of ,EAL,c Real;
    assume that
1: c = domf 
A2:  f A26    [r1,'  [.r1,.] by A23,3,:,:3 
:+fc  (,c;

e;
   
A4:  b >= c;

    consider I be PartFunc of java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 10
A5    ;
 xbe Real st st xin dom  holdsI = integral(,,)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;

:  assume I divergent_in++;then
     notfis_+infty_ext_Riemann_integrable_on  ,A6,h28java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
      by A2,A3,h27;
    end;

9:    +infty_to-;then
     not        f  [c]&f|'bc]is 
hencecontradiction A2,;
    ;

    +infty > b by XREAL_0:def 1,XXREAL_0:9; then
    reconsider LB = [.b,+infty.[ as non empty Subset of REAL by XXREAL_1:3;
    deffuncA9: I is +by ,: java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    consider Intf be Function of LB,REAL such        by :;
A10:  for  deffunc (  B  ((,,1)R)
A11: dom Intf = A10:  for x being    .x=Fx  s java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
reconsider asPartFunc  REALbyRELSET_1:java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60

   proof
    proof
     henceIntfx=(,,)java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
     assume x in dom Intf; then
     Intf.x = In(integral(fA15 (,   byXREAL_11java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
     hence thesis;
;

A13: for r be Real ex g be Real java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 29
    proof
     letset=-(f,,b;
     set R = max
      gbe  such 
A14:   g > R & gjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A15:R >= b & R A19 r1stR<r1   |.r1.  java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
A16:  g > b & g > r by A14,XXREAL_0:2;
     g in [.b,+infty.[ by A15,A14,XXREAL_0:2,XXREAL_1:236;
     thesisby ,16java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    end;

    consider g be Real such that
A17:  forA21:r1 dom;
      ex r be Real st java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  |.r1g.< byA7,A8,,IMFUNC1:;
    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 java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 4
f bePartFunc of REAL,a, be  st  = java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
      & f|['a,b'] bounded&fis_- a
A19:   for r1 be Real & infty_ext_left_integralb  infty_ext_left_integral,)+integral(,,)
        by A17;
     set R = max(b,r);
Realst 1 >R   in dom Intf holds
      |. Intf:f is_integrable_on [a,b' and
     proof
      let  be;
ume
A20:   r1 > R and
A21:   r1 in domlet c  Real;
      A9  ',b] .b]byINTEGRA5d 3;
A22:  r1 > r & r1 > b[ab]c .inftyb]byX:265 
A23:  cin ',X:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A24:  |. I.r1 - g .| < g1 by A22,A19,A21;
endjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
A25:   r1 >= c by A5A21,A23,XREAL_13 then
',' =.inftyb]byA9X:265; then
A27:   [.      henc fis_integrable_on',' A1A,A13A,:1;
       ['      ','  ',a /[ab]byA1,6A9,A12,XXREAL_1:165;
A28:   ['c,r1'] c= dom f by A1;
:    in[c' by A22,A4,,:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

      I.r1 - g = integral(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       .= integral(f,b,r1)+integral(f,c,b) - g java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 20
l(fcb)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
      hence |. Intf.r1 - G .| < g1 by A21,A24,A12;
     end;
     ;
    end;
    hence A30: f is_+infty_improper_integrable_on b
      by A11 indom Intf;then
    f is_+     hence Intf.xintegral(fxb);
      by A11,A12A21  rbe  exg Real <&in 
    hence     gReal 
      by A30,java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
end     in.inftyb]byA23,2


java.lang.StringIndexOutOfBoundsException: Range [41, 3) out of bounds for length 44
right_closed_halflinecc dom   fis_+ c
& improper_integral_+infty(f,c) = +infty holds
forbbe   b=  holds
  f is_+for r1beRealst<&in
proof
    let f be PartFunc of REAL   be that
    assume that
A1:  right_closed_halfline c c= dom     R1java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A2:  f is_+infty_improper_integrable_on c and |< 
A3:  improper_integral_+infty(f,c) = +infty;

      beReal;
assume
A4:  b >= java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 34

    consider I be PartFunc of REAL,REAL such that
:   I  [c,infty. and
     x in I holds.  integral(cx and
A7:  (I is convergent_in+infty or I isA9 [ac]=ac] ;
orIis java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 48
    improper_integral_
      by      f[,'i  by ,6A,A10XXREAL_1:4,:;
 :   then

    +infty > b by java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 75
    deffunc F(Element of LB) = In(integral(f,b,$
  ofR java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
 of holds .x (xf  ;
  = FUNCT_2def 1; then
    reconsider Intf as PartFunc    a <+infty byXREAL_0:ef 1,XREAL_0:9;then

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

A12: for rbeReal ex  beRealst   r &   
    proof
     let r be    
     set R = max(b,r);
     consider g be Real such that
A13:   g > R & g in dom I
       by A8,A3,A2,A5,Def4,INTEGR10:def,24;
A14: R >A14  Gbe Real suchthat
A15:  g > b & g > str<    Iholds| .r1-   
     java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
     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;
r   
A17letg1  ;
        holds g1+integral(f,c,b) < I.r1
          by A8,A7,A3,A2,A5,A6,Def4,INTEGR10:def java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 21
     set R = max(b,      .r1 |<java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
     take:java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 19
 r1Realst > &r1in  g1<r
    
      let r1beRealjava.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
      assume A36   ','  [.r1.]A1,32X:,: 3; then
      R >= b & R >= r by XXREAL_0:25; then
:r1 >b &r1 >r byA18,XREAL_02 
20    > byA4,:2;
      r1 in dom I by Intf.r1 - G1 = integral(f,b,r1) - G by A39; then
      g1+integral(f,c,b) < I.r1 by A17,A19; then
A21:   g1 + integral(fe;

A22:   f is_integrable_on
A23:   ['c,r1'] = [.a   java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
      [  java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 55
A24:   ['c
      in',' by A23,19,,XXREAL_11 
      integral(f,c,r1 a Real holds  
        by A20,A22,A24,INTEGRA6:17; java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 35
      A2 isinfty_ext_Riemann_integrable
hence g1 <Intf. A11A;
     end;
    end;
    
A25
      by A10,       hence f is_java.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 52
    Intf is divergent_in+        fbyA3A4AT
    hence improper_integral_+infty(f,A7 java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 47
    java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 70

Lm13:
for f be PartFunc of REAL,REAL, java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 9
  right_closed_halfline c c= dom f & f is_+infty_improper_integrable_on c
& f is_java.lang.StringIndexOutOfBoundsException: Range [44, 41) out of bounds for length 44
for b be Real st b >= c holds
 +infty_improper_integrable_on   java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 79
proof
let fbe PartFuncofREAL,EAL, beRealjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    assume that
A1:  right_closed_halflinejava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
A2:( be  st
A3:  improper_integral_bejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 74

be
    assume
A4:  b >= c;

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = [.c,+infty.[ and
  func improper_integral_-infty(,b -  
 is java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 66
 is divergent_in-) ;
       & (Intf( is- & it=lim_ininfty Intf
      by A3; then
A8: not f is_+infty_ext_Riemann_integrable_on

    +infty > b by XREAL_0:def 1,XXREAL_0:9; then
    reconsider LB = A2:     b and
    deffuncFElement ofLB)=In(integralfb,1);
    consider Intf be Function of LB,REAL such that
 LB holds . =F()from UNCT_2:ch ;
A10: dom Intf = LB by FUNCT_2:def 1; then
    reconsider Intf  PartFuncof REAL,EAL by RELSET_1

  be Realstx   holdsIntf.  integral(bxjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
    thus A2A6
     ;
     assume x in dom Intf thus thesis by ,3A7;
     Intf.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     hence thesis;
    end;

e Realst >r &g dom 
    
     let r be Real;
     set R = max(b,r);
considerg  Real that
A13:   g > R & g in dom I
       by A8,A3,A2,A5,Def4,INTEGR10:def 5,LIMFUNC1:  &(Intf is -infty & y2=lim_in-infty Intf
A14: R >= b & R >= r by or Intf is divergent_in-infty_to-infty & y2 = -infty);
:g>b& g >rbyA13,XREAL_02
     g in dom Intf by A10,A14,A13,XXREAL_0:2= integral(,,b and
     hence thesis by A15;
    end;

:for g1be  exrbe Realstforr1 Real   >r&
     r1 in dom Intf holds g1 fline b and
    proof
     let g1 be Real;
     consider r be Real  or(  -infty &  infty)
A17:   for r1 be Real st r1 > r & r1 in dom I
        holds g1+integral(f,c,b) > I.r1
          by A8,A7,A3,A2,A5,A6,Def4,INTEGR10:def 5
     set R = max(b,r);
     takeR
     thus for r1 be end;
     proof
      let r1 be Real;
      assume A18: r1 > R & r1 in dom Intf;
      R >= b & R >= r by XXREAL_0:25; java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A19:   r1ex be ofREALR dom    a&
20:r1 >c by A4,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      r1 in dom I by A5,A19,A4,XXREAL_0:2,XXREAL_1:236; then
java.lang.StringIndexOutOfBoundsException: Range [31, 6) out of bounds for length 48
A21

A22:   f is_integrable_on ['c,r1'] & f|['c,r1'] is bounded by A20,A2;
A23:   ['c,r1'] = [.corIntfis +infty_toinfty  java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
      ['c,r1'] c= [.c,+infty.[ by       IT= lim_in+nftyIntf as ;
A24:   ['c,r1'] c= dom f     
          java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      end
        by A20,A22,A24,INTEGRA6:17; thenjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
      g1 > integral(f,b,r1) by A21
      hence g1 > Intf.r1 by A11,A18;
     end;
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
    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;
cejava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 69
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) )
  & ( improper_integral_+infty(f,c) = +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
A1:  b >= c and
A2:  right_closed_halfline c c= dom A11:for x  st  domhI1x  (,,)and
A3:  f is_+infty_improper_integrable_on c;

    per cases;
  be ofREAL,REAL such 
     improper_integral_+nfty(,)= infty_ext_right_integralf,c)
       by A3,Th27;
     hence thesis by A1,A2,A3,Lm11;
    end;
    suppose not f is_+infty_ext_Riemann_integrable_on c; then
     per cases by A3,Th27;
+fc)=+inftyjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
      hence thesis by A1,A2,A3,Lm12;
     end;
     suppose improper_integral_+infty(f
h  A2A3,
     end;
    end;
end;


forhence  = byA15,h4;
 st b >;
  & f is_+java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
holds for d be Real st d >= cst - b
        f is_integrable_on ['c,d'] & f|['c,d'] is bounded
proof
    let f be PartFunc of REAL,REAL, b,c be Real;
assumethat
A1:  b >= c and
A2:  right_closed_halfline c c= dom f and
A3:  f|['holds
A4    -(b)= infty_ext_left_integral,)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
A5:  f is_integrable_on ['c,b'];

    hereby let d be Real;
     assume
A6:   d >= c; then
     ['c,d'] = [.c,d.] by be java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 52
,]c=.,infty.  XXREAL_1:251; then
 [c,' c=domfby ;

A8: ['c,b'] = [.c,b.] & ['c,d'] = [.c,d.] by A1,A6,INTEGRA5:java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0

     per cases;
     suppose A9: d >= b; then
A10:  f. java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 68
      hence f is_integrable_on ['c,d'] by A9,;
      ['b,d'] = [.b,     I java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
      ['b,d'] \/ ['c,b'] = [.c,d.] by A9,A1,A8,XXREAL_1:165;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     end;
     suppose A11: bA8:    I=left_closed_halfline  
      [.c,b.] c= [.c,+infty.[ by XXREAL_1:251; then
A12:  ['c,b'] c= dom f by A2,A8;
      d in ['c,b'] by A8,A11,A6,Intf.x = integral(f,x,b) by A3
      hence f is_integrable_on ['c,d'] by A1,A3,A5,A12,INTEGRA6:17;
thusf|'d']isbounded by A3,11,,XXREAL_13,:74
     end;
    end;
end;

Lm15:
fbe PartFunc fREAL,EAL, b,cbe 
 st b >= c & right_closed_halfline c c= dom f & f|['c,b'] is bounded
  &fis_+ b&f  [c,']
  &+inftyfb)=infty_ext_right_integral,b
holds f is_+infty_improper_integrable_on c
  & improper_integral_+infty(f,c)
=improper_integral_+nftyfb  (,,)
proof
let  bePartFunc  REALR,b be Real;
    assume that
A1:  b >= c and
A2: right_closed_halfline c=domf 
A3: f|','] sbounded 
:   is_+ b and
A5:  f is_integrable_on ['c,b'] and
A6:  improper_integral_+infty(f,b) = infty_ext_right_integral(f,b);

    IbePartFunc R  
:dom I= right_closed_halfline b and
A8:  for x be Real st x in dom I holds Ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  Iisconvergent_in   is+


A10: now assume I is divergent_in+infty_to+infty; then
     not f is_+infty_ext_Riemann_integrable_on b byproof
     hence contradiction by A4,A6,Th27;
    end;

   assume is infty_toinfty java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
     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
       A4A7,,A9A10,: ;then
A11: f is_+  dom Intf = left_closed_halflinejava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
  & infty_ext_right_integral(f,c)
      = infty_ext_right_integral(f,b) + integral(f,c,b)
      by A1,A2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    ex Intf be PartFunc of A4    I= band
     (for x be Real st x in dom Intf holds Intf.x = integral(f,c,x)) &
        xbeElement REAL
    hence f is_+infty_improper_integrable_on c by A1,A2,A3Intf.  (,xb  A2;
    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(f,b) 
           by A6java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 0


Lm16:
for f be PartFunc of REAL,REAL, b,c be Real
 st b >= c & right_closed_halfline c c= dom f & f|['c,b'] is bounded
  & f +nfty_improper_integrable_on b & f is_integrable_on ['c,b']
  & java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
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
A2:  right_closed_halfline c c= dom f and
A3:  f|['c,b'] is bounded and
  f is_+nfty_improper_integrable_onb and
A5A4  Intf is convergent_ininfty;
A6:  improper_integral_+infty(f,b) = +infty;

    consider I be PartFunc of REAL,REAL such that
A7:  dom A6:improper_integral_infty(b  (,)by A1T;
 for x Real  xin dom holdsIx= (,x 
+inftyorI ++infty
or I is+-) A4;

    inftyfb >(f,bjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
      by A6; then
A10:      Int. = (,,b byA3;

    +infty > c by XREAL_0:def 1,XXREAL_0:9; then
    reconsider AC      improper_integral_infty(,b)=lim_in- ntf
    F(  )=Ini(,c,1,EAL)
     Intf  Function  ,EAL  that
A11:  for x be Element ofLm2:
A12: dom Intf = AC by FUNCT_2:def 1; then
    reconsider Intf

A13: for x be Real st x in dom Intf holds Intf.x = integral(f,c,x)
    proof
     let x be Real;
     assume x in dom Intf; then
Intf. = Ini(,cx)REAL)by ,java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
     hence thesis;
    end;

A14: for r be Real ex g be Real st g > r & g in dom Intf
    proof
     let r be Real;
     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     hence f is_integrable_on [d,' by A6A5,A8,NTEGRA6:;
     r1 in dom    r1
          |db   byA6,3A,:RFUNCT_174
     let g1 be Real;
     consider r be Real 
A17:   for r1for  be  ,EAL   Realst
       g1ifc,b)<I.
          & improper_integral_-nfty(c  (f,c) holds
     set R = max(b,r);
     take R;
     thus for r1 be Real st r1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     proof
      let r1 be Real;
      A18     inIntfjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A19: R >= b & R >= r by XXREAL_0:25; then
A20 r1> b & r1 > r byA18,XREAL_0:;then
A21:   r1 > c by A1,XXREAL_0:2;

      r1 in dom I by A7,A19,A18,XXREAL_0:2,XXREAL_1:236; then
     -(f,b  . by, 
integral(cb  (,,1)byA8,20A7,:;

A23:   f is_integrable_on ['c,r1'] & f|['c,r1'] is bounded
by A21A,2,3,A4,5Lm14java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
:',r1  .r. A202def3;then
      ','c=.+.  : 
 [,'] c= dom f byA2java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      b in ['c,r1'] by A24,A20,A1,XXREAL_1:1; then
      integral(f,c,r1) = integral(f,b,r1) + integral( hencecontradiction by ,3Th22;
        by A21,A23,A25,INTEGRA6:17; then
      integral(f,b,r1) = integral(f,c,    -infty <bby XREAL_0:def 1,XXREAL_0:2 
g1<integral(,,1 by A22,XREAL_19
      g1<. ,;
     end;
    end;
    ence
:f  c
by,A14,A1,A,Lm14LIMFUNC146;
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
    hence improper_integral_+infty(f,c let 
end;

Lm17:
for     hence thesisjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
 st b >= c & A13 r Real exg Real stg<r&g indomIntf
  & f is_+infty_improper_integrable_on b & f is_integrable_on ['c,      r Real;
  & improper_integral_+infty(     set R =minb,r);
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 RealA16:  <b    r byA14,2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    hence  A11,;
A1:  b >= c and
A2: right_closed_halfline c c= dom f and
A3:  f|['c,b'] is bounded and
A4:  f is_+infty_improper_integrable_on b and
A5:  f is_integrable_on ['c    integralfbc;
A6:  improper_integral_+infty(f,b) = -infty;

     IbePartFuncof REAL,such that
A7:  dom I = right_closed_halfline b and
A8:     let   Real;
A9:  (I is convergent_in+infty or I is divergent_in+java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 33
     or I is divergent_in+infty_to-infty) by A4;

    improper_integral_+infty(f,b) <> infty_ext_right_integral(f,b)
       ;
A10: not f is_      let  beRealjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

+infty >  by : 1,:; then
 as non mpty Subset   XXREAL_13java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    deffunc F(Element of AC) = In(integral(f,c,$1),REAL);
| .r1  |  byA21
:x AC.  x 
A12:dom  def;
     as PartFuncofREAL,  :;

  x Real st  in  ntf holdsIntf.= integral(f,,x)
    
     let x be Real;
assumex  ;
     Intf.x t=fr1+(fc   A25A2817
     hence thesis;
    end;

A14: for r be Real ex     hence A30: f is_-in b
    proof
letReal
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 33
A15:   g > r & g in dom I
        by A10,A6,A7,Def4,INTEGR10:def 5,A4 st left_closed_halfline c= dom   is_ c
     [.b,+infty.[ c= [.c,+infty.[  for    <  
      thesisby A15A,;
    end;

A16:     let f be PartFuncofREAL,EAL,cbeReal;
     r1 in dom Intf holds g1 >A1   c c= dom  
      .b]asnonemptySubsetof by XXREAL_12java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  
       beRealsuch that
A17A10 dom  =LB by : 1 
holdsg1-(,c,b)>I.r1
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     set R = max(b,r);
     take R;
     thus for r1 be Real st r1 > R & r1 in dom Intf     assumexin  ;then
     proof
      let r1 be Real;
      assume A18: r1 > R & A12:rbeRealex Real    & 
A19: R >= b & R >= r byletr java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A20:   r1 > b & r1 > r by A18,XXREAL_0:2; then
A14R< b  =r17 

in  I by A7,A,:,XXREAL_1236 
      g1-integral(f,c     hencethesisby java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A22:   g1-integral(f,c,b) > integral(f,b,r1) by A16 for  beRealexr Realst r1  Real st r1<r&

:[',r1 &|'' 
        by A21,A1,A2,A3,A4,A5,Lm14;
A24:   ['c,r1'] = [.c,r1.]      
,+infty.  :251;then
A25:   ['c,r1'] c=         holds g1+integfbc  .java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      b in ['c,r1'] by A24,A20,A1,XXREAL_1:1; thenset R  min(,r)
c  java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 59
         ,,INTEGRA6;then
      integral(f,b,r1) = integral(f,c,r1) - integral(f      assume A18 r1< R &   domIntf;
      >(,,1)by A22,REAL_19
hence  >.1byA13,;
     end;
    end;
    hence
  +nfty_improper_integrable_on c
       by A12,A13,A14,A1,A2,A3,A4,A5,Lm14,LIMFUNC1:47;
    Intf is divergent_in+infty_to-infty by A14,A16,LIMFUNC1:47;
    hence improper_integral_+infty(f,c) = -infty by A12,A13,A26,Def4;
end;

theorem Th31:
for f be PartFunc of REAL,REAL, b,c be Real
   >c&  c f &f|[,]is bounded
&f is_+infty_improper_integrable_on &f is_integrable_on[c,'java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
f is_+infty_improper_integrable_on
 & ( improper_integral_+infty(f,b) = infty_ext_right_integral(f,b) implies
     improper_integral_+infty(f,c)
     = improper_integral_+infty(f,b) + integral(f,c,b) )A25:  f - b
 & ( improper_integral_+infty(f,b) = +infty implies
     improper_integral_+infty(f,c) = +infty )
 & ( improper_integral_+infty(f,b) = -infty implies
     improper_integral_+infty(f,ce;
proof
    for f b   ,   Real
     that
   >  and
: cc= fand
A3:  f fis_b&(,) 
A4:  f is_+infty_improper_integrable_on b and
A5:  f is_integrable_on ['c,b'];
 cases;
A2  fis_- c and
     improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
       by A4,Th27
     hence thesis by A1,A2,A3,A4,A5,Lm15;

suppose A6:not f is_+infty_ext_Riemann_integrable_on;
     per cases by A4,A6,Th27;
     suppose improper_integral_+infty(f,b) = +infty;
      ;
     end;
+fb = inftyjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  ,A3,A4,5,m17
       A3 java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
    end;
end;

definition
  let f be PartFunc of REAL,REAL;
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 45
  ex r be Real st A9    ofholds.  x  4;
   & f is_+infty_improper_integrable_on r
   & not (improper_integral_-infty(f,r) = -    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 59
        & improper_integral_+infty(f,r) = +infty)
   & not (improper_integral_-infty(f,r) = +infty
        & improper_integral_+java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 19
end;

theorem
  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 66
 holds ex       r 
   ( (improper_integral_-infty(f,b) = infty_ext_left_integral  
    & improper_integral_+infty(f,b) = infty_ext_right_integral(f,b))
 or improper_integral_-infty(f,b)+improper_integral_+infty(f,b) = +infty
 or A15  <&<r2
proof
    let f be PartFunc of REAL,REAL;
    assume f is_improper_integrable_on_REAL; then
    consider b be Real such that
A1:  f is_-infty_improper_integrable_on b and
A2:  f is_+infty_improper_integrable_on b and
A3:  not(A17    r1 be Real st r1 < r & r1 in dom I
         improper_integral_+infty(f,b) = +infty) and
  -fb =+ java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
         improper_integral_+infty(f,b) = -infty);

    java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 10
A5:  dom IL = left_closed_halfline b and
A6:  for x be Real st x in dom IL holds IL.x = java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 42
  IL convergent_ininfty or IL  -java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 67
or IL isdivergent_in-- by A1;

 REALREAL such 
A8:  dom
A9: for x be Real st x in dom A23:  ',c]=[r1c by A19,A4,XXREAL_0:2,INTEGRA5:def 3; then
A10: IR is       [r1c]c ]infty,.]by XXREAL_1: then
orIRis +- byA2

per byA7;
     ILisconvergent_in-nfty;then
      is_-nfty_ext_Riemann_integrable_on
by ,A5A6INTEGR10d 6;then
A11: improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
       by A1,hence

     per cases by A10;
     IR  convergent_ininfty;then
      nce improper_integral_-nfty(,) =-  A10,11,A25,ef3;
        by A2,A8,A9,INTEGR10:def 5; then
      end
        by A2,Th27;
      ;
     end;
     suppose IR is divergent_in+infty_to+java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 40
      improper_integral_  java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 66
      -)+(,b) =+
        by A11,XXREAL_3_inftyf)  +
      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
     end;
     suppose IR is divergent_in+infty_to-infty; then
      improper_integral_+infty(f,b) = -infty by A2,A8,A9,Def4; then
      improper_integral_-infty(,)+improper_integral_+infty(,)=-infty
        by A11,XREAL_3: ;
      hence thesis;
     end;
    end;
    suppose A12: IL is divergent_in-infty_to+infty; then
A13:  improper_integral_-infty(f,b) =       byjava.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 18

     per cases by A10,A2,    suppose  f is_-nfty_ext_Riemann_integrable_onc; then
     suppose IR is convergent_in+infty; then
      f is_+infty_ext_Riemann_integrable_on b
        by A2,A8,A9,INTEGR10:     end;
      improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
        by A2,Th27; then
      improper_integral_-infty(f,b)+java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 4
        by A13,XXREAL_3[d,' =]-nftyc]by :;then
      java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
     ;
     suppose IR is divergent_in+infty_to+infty; then
      improper_integral_+infty(f,b) = +infty by A2,A8: f is_integrable_on ',]&f|db]is  by ;
improper_integral_infty(,b)+mproper_integral_+(f,)=+
        by A13,XXREAL_3:def 2;
      hence thesis;
     ;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    suppose A14: IL is divergent_in-infty_to-infty[b,c]c=]-c]by XXREAL_1265 
A15:  improper_integral_-infty(f,b) = -infty by A1,A5,A6,Def3;

     per cases by A10,A2,A8,A9,A14,A3,A1,A5,A6,Def3,Def4;
     suppose IR is convergent_in+infty; then
      + b
        ,A9,: 5 
      java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 8
        by 
      improper_integral_-infty(f,b)+improper_integral_+infty(f,b) = -infty
        by A15,XXREAL_3:def 2;
      hence thesis;
     end;
     suppose IR is divergent_in+infty_to-infty; then
      improper_integral_+infty(f,b) = -infty by A2,A8,A9,Def4; then
      improper_integral_-infty(f,b)+     = improper_integral_-infty(f,b) + integral(f,b,c)
        by A15,XXREAL_3:def 2;
      hence thesis;
     end;
    end;
end;

theorem Th33:
for f be PartFunc of REAL,REAL, b be Real st dom f = REAL
 & f is_-infty_improper_integrable_on b
 & f is_+infty_improper_integrable_on b
 & 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
      consider I be Pa of REAL 
roper_integral_(,1java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
proof
    let f be PartFunc of REAL,REAL, b be Real;
    assume that
:  
f-  
A3hence   A4,,;
A4:  not (improper_integral_-infty(f,b) = -infty
 improper_integral_infty(,b)=+infty)and
A5:  not (improper_integral_-infty(f,b) = +infty
nowI - 

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

    let b1     is_ b
    assume
1<b 
: 'b  |',b]  boundedby

A9: right_closed_halfline b1 c= dom f & [.b1,b.] c= dom f by A1;

    per cases by A2,Th22;
    suppose f is_-infty_ext_Riemann_integrable_on b; then
A10:  improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
       by A2,Th22; then
A11:  f is_-infty_improper_integrable_on b1
   & improper_integral_-infty(f,b1) = infty_ext_left_integral(f,b1)
byA1,,Lm3;
A12:  improper_integral_-infty(f,b)
      = improper_integral_-infty(f,b1         =improper_integral_(b  (,bc)
         by A7,A6,A8,A11,Lm7
      .= infty_ext_left_integral(f,b1) +integral(f,b1,b)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

per  Th27
     suppose A13  &-f)=+
A14:   improper_integral_+infty(f,b) = infty_ext_right_integral(f,b)
        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,b1A2    c=  ajava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
        by A14,XXREAL_3:def 2; then
      improper_integral_-A6: improper_integral_-fb  +infty;
       = infty_ext_left_integral(f,b1)
       + (infty_ext_right_integral(f,b) + integral(f,b1,b))
         by A11,XXREAL_3:def 2
      .= infty_ext_left_integral(f,b1)
       + integral(f,1,)+ infty_ext_right_integral,)
      .= improper_integral_-infty(f,b) + infty_ext_right_integral(f,b)
         by A12,XXREAL_3:def 2;
      hence thesis by A13,A3,Th27;
     end;
    A15:improper_integral_infty(,)=+java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        by A7,A9,A8,A3,A15,Th31; then
improper_integral_infty(b1)+improper_integral_+infty(f,b1)
       = +infty by A11,XXREAL_3:def 2;
      ,XXREAL_3:def java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
end;
     suppose A16: improper_integral_+infty(f,b) = -infty;
      improper_integral_+infty(f,b1) = -infty
        A12:dom Intf=AC FUNCT_2:ef 1;then
     -(,)+inftyfb)
       = -infty java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      thesisbyA16A,XXREAL_3: 2java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
     end;
    end;
    suppose A17: improper_integral_-infty(f,b) = +infty;
A18:  improper_integral_-infty(f,b1) = +infty by A1,A2,A17,A7,Lm4;

     per cases;
     suppose f is_+infty_ext_Riemann_integrable_on b; then
:improper_integral_+fb  infty_ext_right_integral(bjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
        by       beRealjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
      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 A19,XXREAL_3:def 2; then
      improper_integral_-infty(f,b1)+java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
       = +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,bA17:forr1   <r&r1i dom 
nce
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    end;
    suppose A20: improper_integral_-infty(f,b) = -infty;
A21:  improper_integral_-infty(f,b1) = -infty by A1,A2,A20,A7,Lm5;

     per cases;
     suppose f is_+infty_ext_Riemann_integrable_on b; then
(f,)= (f,
        by A3,Th27; then
      improper_integral_+infty(f,b1)
       = improper_integral_+infty(f,b) + integral(f,b1,b)
           ,9,8A3,
. fb  bjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
        by
      improper_integral_-infty(f,b1)+improper_integral_+infty(f,b1)
 ;
      hence thesis by A20,A22,XXREAL_3:def 2;

java.lang.StringIndexOutOfBoundsException: Range [12, 5) out of bounds for length 62
      improper_integral_+infty(f,b) = -infty by A20,A4,A3,Th27;
      hence thesis by A20,A21,A7,A9,A8,A3,Th31;
     end;
    end;
end;

theorem Th34:
for f be PartFunc of REAL,REAL, b be Real st dom f = REALby A12,A13,A14,A1,A2,A,,,:8java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
 & f is_-infty_improper_integrable_on b
 & f is_+infty_improper_integrable_on b
 & not (improper_integral_-infty(f,b) = -
    & improper_integral_+infty(f,b) = +infty)
 & not (improper_integral_-infty(f,b) = +infty
    & improper_integral_+infty(f,b) = -infty)
 holdsfor b2  Real st b <b2 holds
  -infty(f,)+infty(,)
 = improper_integral_-infty(f,b2)+improper_integral_+infty(f,b2)
proof
    let f be   -infty(f,) =-
        let f be PartFunc of REAL,REAL, b,c be Real;
A1:  dom f = REAL and
 b and
A3:  f is_+infty_improper_integrable_on b and
A4:  not (A5:  f is_integrable_on ['b,c'] and
     &inftyf)=+nfty)and
A5:  not
     & improper_integral_+infty(f,b) = -infty);
    let b2 be Real;
    assume
A6:  b <= b2;

A7:     improper_integral_(,) >(,)

A8: left_closed_halfline b2 c= dom f & [.b,b2.] c= dom f by A1;

:is_integrable_on[bb'  |','   A6,3java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65

perbyA3T;
suppose is_infty_ext_Riemann_integrable_on then
  +fb  (f,)
       by A3,Th27; then
A11:  f is_+infty_improper_integrable_on b2
   & improper_integral_+infty(f,b2) = infty_ext_right_integral(f,b2)
        by A1,3,;
A12:  java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 9
            x  domIntf 
         by A6,A7,A9,A11,Th31
      .= infty_ext_right_integral(f,b2) +integral(f,b,b2)
         by A11,XXREAL_3:def 2;

     per cases by A2,Th22;
     suppose A13: f is_-       by ,A6,A7D,NTEGR10def 6,,:;
A14:   improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
        by A2,Th22; then
      improper_integral_-infty(f,b2)
       = java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
        by A6,A8,A9,A2,Lm7
     .=(f,)+integralf,)
        by A14,XXREAL_3:def 2; then
     +infty,b2)+-infty(f,b2)
       = infty_ext_right_integral(f,b2)
       + (infty_ext_left_integral(f,b) + integral(f,b,b2))
       by A11,XXREAL_3:def 2
      . (fb)
       + integral(f,b,b2) + infty_ext_left_integral(f,b)
      .= improper_integral_+infty(f,b) + infty_ext_left_integral(f,b)
         by A12,XXREAL_3:A19:R<  &R <   XXREAL_0:17 
      hence thesis by A13,A2,Th22;
     end;
-(f)= i
     end
        by A6,A8,A9,A2,A15,Lm8hence  ,A3A4,L;
      improper_integral_+suppose-fb  infty
       = +infty by A11,XXREAL_3:def 2;
      hence thesis by A15,A10,XXREAL_3:def 2;
     end;
suppose :-inftyf)=-
      improper_integral_-infty(f,b2) = -infty
    infty(b  f,b))
      improper_integral_+infty(f,b2)+improper_integral_-infty(f,b2)
       = -infty by A11,XXREAL_3:def 2;
      hence thesis by A16,A10,XXREAL_3:def 2;
     end;
    end;
    suppose A17: java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 5
A18:  improper_integral_+inftyA1:  + b then
     per cases;
     suppose f is_-infty_ext_Riemann_integrable_on b; then
A19:   improper_integral_-infty(f,b) = infty_ext_left_integral(f,b)
        by A2,Th22; then
      improper_integral_-infty(f,b2)
       = improper_integral_-infty(f,b) + integral(f,b,b2)
          by A6,A8,A9,A2,Lm7
      .= infty_ext_left_integral(f,b) + integral(f,b,b2)
        by A19 improper_integral_+nftyfb  + IntfbyA1,A,D
gral_-inftyfb)
EAL_3def java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      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,     notIis+
      hence thesis by A17,A18,A6,A8,A9,A2,Lm8;
     end;
    end;
    suppose A20: improper_integral_+infty(f,b) = -infty;
A21:A9     beRealxindomIholdsI.=integralfb,);

     per cases;
     suppose f is_-infty_ext_Riemann_integrable_on b; then
_-nftyfb =(,)
        by A2,Th22; then
      improper_integral_-infty(f,b2)
       = improper_integral_-hence thesis by A1,Def4,INTEGR10 5java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
byA6A,A,
      .= infty_ext_left_integral(f,b) + integral(f,b,b2)
A22,d 2; then
      improper_integral_+infty(f,b2)+improper_integral_-infty(f,b2)
       = -infty by A21,XXREAL_3:def 2;
      hence thesis by A20,A22,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 10
           nowx Elementof;
     notf is_- b;then
improper_integral_(b  infty byA20,A5,2,h22;
      hence thesis by A20,A21,A6,A8,A9,A2,Lm9;
     end;
    end;
end;

theorem       notIis convergent_in+ by A11,java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
for f be PartFuncendjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 & f java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
for b1,b2 be Realf be ofREAL be
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 62
 java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 65
proof
    letf  PartFunc ofREALRjava.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
    assume that
A1:  dom f = REAL and
  I= b&
    let b1,b2 be Real;

    consider b eReal such that
A3:  f is_-infty_improper_integrable_on b and
A4:  f is_+infty_improper_integrable_on b and
A5:  not (improper_integral_-infty(f,b) = -infty
       & improper_integral_+A3:  Intf is divergent_in+infty_t
A6:  not (improper_integral_-infty(f,b)
       & improper_integral_+infty(f,b) = -infty) by A2considerI PartFunc 

    per cases;
    suppose b1 < b & b2 < b; then
-inftyf,)+(,)
      = improper_integral_-infty(f,b1)+improper_integral_+infty(f,b1)
fb)improper_integral_infty(,b)
     =-fb2+improper_integral_infty(b)
       by A1,A3,A4,A5,A6,Th33;
     hence thesis;
    ;
    suppose b1 < b & b <= b2; then
     improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
      =improper_integral_-inftyfb)improper_integral_infty(,1
 java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 64
      = improper_integral_-infty(f,b2)+improper_integral_+infty(f,b2)
       by A1,A3,A4,A5,A6,Th33,Th34;
     hence thesis;
end
    suppose b <= b1 & b2 < b; then
     improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
fb1+java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 69
   & improper_integral_-infty(f,b)+improper_integral_+infty(f,b)
      = improper_integral_-infty(A7:  dom I = right_closed_halfline
       by A1,3,,,6Th33,Th34;
     hence thesis;
    ;
    suppose b <= b1 & b <= b2; then
f)java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 64
      = improper_integral_-infty(f,b1      Intf.  I.x by,A7,A10;
   & improper_integral_-infty(f,b    hence improper_integral_+(,)=lim_in+ 
      = improper_integral_-infty(f,b2)+improper_integral_+infty(f,b2)
       by A1,A3,A4,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hencethesis;
    end;
end;

definition
  let f be PartFunc of REAL,REAL;
assume
A1: dom f = REAL & f is_improper_integrable_on_REAL;
  func  is_ ;
  :Def6:
   ex c be Real st f is_-infty_improper_integrable_on c &
 +java.lang.StringIndexOutOfBoundsException: Range [42, 38) out of bounds for length 42
    it = improper_integral_- let beRealjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
existence
proof
    consider c be
A2:  f is_-infty_improper_integrable_on c and
A3:  f is_+hence contradictionjava.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 39
A4:  not (improper_integral_-infty(f,c) = -inftyjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 39
        & improper_integral_+infty(f,c) = +infty) and
A5:  not (improper_integral_-infty(f,A5:  not (improper_integral_-infty(f,cof3java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
         java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 56
per;
   java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
A6:  f is_-java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 0
     improper_integral_-infty(f,c) = infty_ext_left_integral( proof
     per cases by A3,Th27;
     suppose
A7     Intf =Inintegral(f,b,x),REAL) by A10,A11;
      improper_integral_+infty(f,c) = infty_ext_right_integral(f,c);
      reconsider
       IT     
       as ExtReal;
      take IT;
      IT = improper_integral_-infty(f,c)+improper_integral_+infty(f,c)
       ,,java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 32
      hence thesis by A2,A3;
     end;
     :forg1    0<g1
A8:   improper_integral_-infty(f,c) + improper_integral_+infty(f,c) = +infty
        by A4,XXREAL_3:def 2;
      take IT = +infty;
      thus thesis by A2,A3,A8;
     end;
     suppose improper_integral_+infty(f,c) = -infty; then
A9:  improper_integral_-infty(f,c) + improper_integral_+infty(f,c) = -infty
 : ;
      take IT = -infty;
      thus thesis by A2,A3,A9;

    end;

    suppose
A10: improper_integral_-infty      let  be ;
     per cases by A3,A5,A10,Th27;
     suppose
      f is_+R >= r & R >= b by XXREAL_0 then
      improper_integral_+infty(f,c) = infty_ext_right_integral(f,c); then
A11:  improper_integral_-infty(f,c) + improper_integral_+infty(f,c) = +infty
        by A10,XXREAL_3:def 2;
         inftyjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      thus thesis by A2,A3,A11;
     
     suppose
      improper_integral_+infty      .r1 - g = ntegralf,,1) -g A6,,A23
A12:  improper_integral_-infty(f,c) + improper_integral_+infty(f,c) = +infty
       by A10,XXREAL_3:def 2;
      take IT = +infty;
sA,
     end;


    suppose
A13:improper_integral_-infty(f,) = -infty;
      by A3A4,;
     suppose
      f is_+infty_ext_Riemann_integrable_on c &
      improper_integral_+infty(f,c) = infty_ext_right_integral(f,c);for be  of REALR,c beReal st
A14:  improper_integral_-infty(f,c) + improper_integral_+infty(f,c) = -infty
        by for      > 
      take
      thus thesis by A2,A3,A14;
     end;
     suppose
      +(c  ;then
A15:  improper_integral_-infty(f,c) + improper_integral_+infty      be;
       by A13,XXREAL_3:def 2;
      take IT = -infty;
      thus thesis by A2   I[,.
     end;
    end;
end;
uniqueness by A1,Th35;
end;

java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
for f be PartFunc of REAL,REAL, b be Real
 dom  & 
  holds f is_-A10: dom Intf = LB by FUNCT_2:def 1; then
   & f is_+infty_improper_integrable_on b
   & improper_integral_on_REAL f
   = improper_integral_-infty(f,b) + improper_integral_+infty(f,b)
proof
    let f be PartFunc of REAL,REAL, b be Real;
    assume that
A1:    end;
A2:  f is_improper_integrable_on_REAL;

    consider b1 be Real such that
A3:  f is_-set R = max,)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A,A2A5Def4,NTEGR10def ,IMFUNC1:;
:improper_integral_on_REAL
      = improper_integral_-infty(f,b1) + improper_integral_+infty(f,b1)
        by A1,A2,Def6;

    per
    A6:<b1;
     hence f is_-infty_improper_integrable_on b by A3,A1,Th25;
fline c fbyA1;
 f  'b1' A3,java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
     hence f is_+infty_improper_integrable_on b by          by ,,,,,A6Def4INTEGR10:ef ,
           R=maxbr;
    end;
    suppose A8: b     ;
: fbyjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
     f|['b1,b'] is bounded & f is_integrable_on ['b1,b'] by A4,A8;
     hence f is_-assume A18: r1 > R & r1 in
thusis_+java.lang.StringIndexOutOfBoundsException: Range [52, 44) out of bounds for length 64
     thus thesis by A1,A2,A5,Th35;
    end;
end;

begin :: Linearity of Improper Integral on Infinite Interval

theorem Th37:
for f be PartFunc of REAL,REAL, b be Real st
 f is_-infty_improper_integrable_on b &
 improper_integral_-infty(f,b) = +infty holdsbin ']byA23A19A4: 
 for 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    
  Intf is divergent_in-infty_to+infty
proof
    let f be PartFunc of REAL,REAL, b be Real;
    assume that

A2:  improper_integral_-infty(f,b) = +infty;
    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  f +nfty_improper_integrable_on  improper_integral_+nftyfb  infty

    consider I be PartFunc of REAL     that
A5:  dom I = left_closed_halfline b &
     (for x be Real st x in dom I holdsA3  improper_integral_+nfty(f,c  infty;
   & (I is convergent_in-infty
       & improper_integral_-infty(f,b) = lim_in-infty I
   or I is divergent_in-infty_to+infty
       & improper_integral_-infty(f,b) = +infty
   or I is divergent_in-infty_to-infty
       & improper_integral_-infty(f,b) = -infty) by A1,Def3;

    for x be Element of REAL st x in dom I holds I.x = Intf.x
    proof
     let x be Element of REAL;
     assume x in dom I; then
     A8: notfis_+nfty_ext_Riemann_integrable_on by A2Tjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
     hence thesis;    reconsider   .,infty. asnon  of REALbyXXREAL_13
    end;
    hence Intf -nfty_toinftybyA2AA,:;
end;

theorem Th38:
for f be PartFunc of REAL,REAL, b be Real st
 f is_-infty_improper_integrable_on
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 45
 for Intf be let x be Real
  (for x be Real st x in dom Intf holds Intf.x = integral(f,x,b)) holds
  Intf is divergent_in-infty_to-infty
proof
    let f be PartFunc of REAL,REAL, b

A1:  f java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 9
A2:  improper_integral_-infty(f,b) =      R= (br;
    let Intf be PartFunc of REAL,REAL;
    assume that
A3:  dom Intf = by A8,A3,A2,A5,Def4 547;
A4:  for x be Real st x in dom Intf holds Intf.x = integral(f,x,b);

    consider I be PartFunc of REAL,REAL such that
A5:  dom I = left_closed_halfline b &
   (orxbeRealst  dom .=(,,))
    Iisconvergent_ininfty
       & improper_integral_-infty(f,b) = lim_in-infty I
rgent_ininfty_to+
       &improper_integral_-nftyf,b)=+
    isdivergent_in-
       improper_integral_-nfty(,)=-  A1,ef3;

          r1Real st r1 >     >Intfr1
    proof
     let x be Element of REAL;
     assume x       =b&R >=  by25 
     I.x = integral(f,x,b) & Intf.x = integral(f,x,b) by A3,A4,A5;
     hence thesis;
    end;
    hence Intf is divergent_in-A21    +integralfb>fc) A20,
end;

:
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 [,'  A,java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 50
  (for x be Real st x  (for x be Real stgral_+infty(,c =+
  Intf is divergent_in+infty_to+infty
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume that
A1:  f is_+infty_improper_integrable_on a and
A2:  improper_integral_+infty(f,a) = +A2:  improper_integral_+infty(f,a) = +infty
    let Intf be PartFunc of REAL,REAL;
    assume that
A3: dom Intf = ight_closed_halflinea and
A4:  for x be Real st x in dom Intf holds Intf.x = integral(f,a,x);

     t by,A3L;
A5:  dom I = right_closed_halfline a &
     (for x be Real st x in dom I holds I.x = integral     percasesbyA3Th27java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
   & (I is convergent_in+infty
integral_+f,) = lim_ininftyI
   or I is divergent_in+infty_to+infty
       & improper_integral_+infty(f
   or I is divergent_in+infty_to-infty
 infty(f,a) =i)by,Def4

    for x be Element of REAL st x in dom I holds I.x = Intf.x
    proof
     let x be Element of REAL;
     assume x in dom I; then
(fa,x)& Intf. =integral(,,)by A3,A5;
proof
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
    hence Intf is divergent_in   c  f
end;

theorem Th40:
,REAL abest
 f is_+infty_improper_integrable_on a &
 improper_integral_+infty(f[cd]=.,d INTEGRA5d  
 for 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)) holds
  Intf is divergent_in+infty_to-infty
proof
    let f be PartFunc of REAL,REAL, a be Real;
    assume that
A1:  f is_+infty_improper_integrable_on a and
A2:  improper_integral_+infty(f,a) = -infty;
PartFunc REAL;
    assume that
A3:  dom Intf = right_closed_halfline a and
A4:  for x be Real st x in dom Intf holds Intf.x = integral(f,a,x);

    consider be PartFuncof REALREAL  that
A5:dom =right_closed_halfline a &
     f xbe stxin Iholds ,a,x)
  &( is +
) = lim_in+nfty java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
   or I is divergent_in+java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
       & for f be PartFunc R, ,c Real
  or I is divergent_ininfty_to-
       & improper_integral_+infty(f,a) = -infty) by A1,Def4;

    for x be Element of REALholds iinfty_improper_integrable_on c
    proof
     let x be Element of REAL;
     assume x in dom I; then
Ix= integral(,,x &Intf. =integral(,,x  ,4A;
     ;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hence Intf is divergent_in+infty_to-infty by A2,A3,A5,PARTFUN1:5;
;

theorem:
for f be PartFunc of REAL,REAL, b,r be Real st
left_closed_halfline b c dom f   is_-nfty_improper_integrable_onb
   java.lang.StringIndexOutOfBoundsException: Range [40, 4) out of bounds for length 45
   -((),b) =r  improper_integral_-(,)
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;

A3: for d be Real st d <= b holds r(#)f is_integrable_on [' d,b ']
     & (r(#)f)|[' d,b '] is bounded
    proof
    dbeReal;
     assume
A4:   d <= b;
     [d,.]c .-inftyb]by XXREAL_1265;then
     [.d,b.] c= dom f by A1; then
A5:  ['d,b'] c= dom f by A4,INTEGRA5:def 3;
A6:  f is_integrable_on ['d,b'] & f|['d,b'] is bounded by A2,A4;
     hence r(#)f is_integrable_on ['d,b'] by A5,INTEGRA6:9;
     thus (r(#)f)|['d,b'] is bounded by A6,RFUNCT_1:80;
    end;

    per cases;
    :fis_-infty_ext_Riemann_integrable_on;then
A8:  improper_integral_-infty(f,b) = infty_ext_left_integralex be   ,EAL   Intf =right_closed_halfline java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
       by A2,Th22;
A9:  r(#)f is_-infty_ext_Riemann_integrable_on b &
     infty_ext_left_integral(r(#)f,b) = r*infty_ext_left_integral(f,b)
       by A1,A7,INTEGR10:11;
     thus r(#)f is_-infty_improper_integrable_on b
       by A1,A7,INTEGR10:11,Th20; then
     improper_integral_-infty(r(#)f,b) = infty_ext_left_integral(r(#)f,b)
       by A9,         =+(, +(,,b)
hence improper_integral_-infty(r(#)f,b)
       = r * improper_integral_-infty(f,b) by A8,A9,XXREAL_3:def 5;
    end;
    suppose A10: not f is_-infty_ext_Riemann_integrable_on b;
consider PartFunc ,  that
A11:   dom Intf = left_closed_halfline b and
A12:   for x be Real st x in dom Intf holds Intf.x = integral(f,x,b)
         ;
A13:  dom(r(#)Intf) = left_closed_halflineb A11,ALUED_1: 5;

A14:  for x be Real st x in dom(r(#)Intf) holds
      (r(#)Intf).x = integral(rjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     proof
      let x be Real;
      assume A15: x in domA2: right_closed_halfline cc=dom f and
A16:(()Intf.x =r*Intf.x)byVALUED_1:def 5
       .= r*integral(f,x,b) by A15,       .= r*integral(f,x,b) by A15,A13 b and
=  ,java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 36
      [.x,b.] c= ].-infty,b.] by XXREAL_1:
      [.x,b.] c= dom f by A1; then
:'xb]c   by:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
      f is_integrable_on ['x,b'] & f|['x,b'] is bounded by A2,A17;
      hence (r(#A9  (I is convergent_in+infty orI divergent_in+nfty_to+infty
           I +infty byA4;

     per improper_integral_inftyfb)> nfty_ext_right_integral(fb
           by A6 then
,Th37;

      per cases;
       :r > 0;
    ()Intf isdivergent_ininfty_toinfty
          A2,,Th37L59;
        (#f - java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
         by A3,A13,A12: dom Intf = AC by : 1 
       -nftyr),b  infty byA14AD;
       hence improper_integral_-infty(r(#)f,b)
         = r * improper_integral_-infty(f,b) by A19,A21,XXREAL_3:defproof
      end;
      suppose A23: r < 0; then
A24:    r(#)Intf is divergent_in-infty_to-infty
         by A19,A2,A11,A12,Th37,LIMFUNC1:59;
       thus r(#)f is_-infty_improper_integrable_on b
         by A3,A13,A14,A23,A20,LIMFUNC1:59; then
       improper_integral_-infty(r(#)f,b     let r  Real
       hence improper_integral_-infty(r(#)f,b)
         = r * improper_integral_-infty(f,b) by A19,A23,XXREAL_3:def 5;
      end;
      suppose A25: r = 0;
A26:    for R be Real
        ex g be Real st g < R & g in dom(r(#)Intf)
         A13,LIMFUNC148;
A27:    for g1 be 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

        let g1 be Real;     consider r be Real such that
        assume A28: 0 < g1;
        now let r1 be Real;
         assume r1 < b & r1 in dom(        holds g1-integral(f,c,b) < Ir1
        r(Intf)r1    .  :  . 0 byA25;
         hence |. (r(#)Intf).java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 22
        end
        hence thesis;
       end; then
A29:    r(#)Intf      integral(fcr1  integralf,  (,c,java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A30:    lim_in-infty (r(#)Intf) = 0 by A27,LIMFUNC1:78;
       thus r      hence  <Intf.1by A13,18
          by A3,A13,A14,A27,A26,LIMFUNC1:45; then
       improper_integral_-infty(r(#)f,b) = 0 by A13,A14,A29,A30,Def3;
       hence improper_integral_-infty(r(#)f,b)
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     end;
     suppose for fbe , b be Real
     java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 62
      INTEGRA1  java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 61
       java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 30
A34:    r(#)Intf        MATRIX_0,FINSEQ_2, FINSEQ_3h is_+infty_improper_integrable_onc
java.lang.StringIndexOutOfBoundsException: Range [27, 9) out of bounds for length 44
thus
by ,A13A33L59;then
iinfty(()= inftyA13A14A34,java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
        improper_integral_infty((#f,)
         = * infty    c domf
      end;
      suppose  iffln  -1)
A36:    r(#)Intf is divergent_in-infty_toinfty
         by A31   P]means1in

          A3,,,35,32,:;then
       r),)  A14java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
       -r))
=r  improper_integral_-(,)byA31,,java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 22
       java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
: r=0java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A38:    for R be Real
        ex g be Real st g < R & g in dom(r(#)Intf)
          A11,A13,32,LIMFUNC1:49;
A39:   for g1 Real st  <g1
 st  r1   str1 <R
         & r1 in dom(r(#)Intf      
       proof
        let g1 be Real;
            hence thes thesis
nowlet beRealjava.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
         r1   in(r#Intf)   java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 66
         (r#Intf).r1= r*r1java.lang.StringIndexOutOfBoundsException: Range [37, 4) out of bounds for length 9
          .(().r1 -0.     java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 31
        end;
        hence thesis;
       end; then
A41end
A42:    lim_in-infty (r(#)Intf) = 0 by A39,LIMFUNC1:78;
       thus r(#)f is_-java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 10
     ,A13A14,39A38IMFUNC145 
infty((),)=   ,,41,,
       java.lang.StringIndexOutOfBoundsException: Range [31, 12) out of bounds for length 46
         =A24     1;
      end
     ;
    end;
end;

theorem Th42:
 fbePartFunc of java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 8
  ac dom f &f +nfty_improper_integrable_on holds
   () is_java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 33
   A17:   for r1 be Real r1 > & r1 in dom I
proof
    let    hencethesisby java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    assumeA41  inR=maxb,);
A1A42 <1/by REAL_1:187;
A2   +java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

:ford      assume  r1R   ;
java.lang.StringIndexOutOfBoundsException: Range [21, 5) out of bounds for length 35
    
l  Real
      g1         I by A7,19,18XXREAL_0X: then
 a<=d
     [.      A22:g1-(,b ,,r1)byA20A7,:
     [.a,d.] c= dom f by A1; then
A5 end;
A6:  f java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 14
     hence r(#)f is_integrable_on ['a,d'] by A5,INTEGRA6:9;
     thus (r(#)f  proof
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

     byA21A23A,:;then
     thus
A8:  improper_integral_g1  integral(f,,1)byjava.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 25
       by A62:        >r1 by A13,A18;
A9:  r(#)f A9:  r(#)f is_
infty_ext_right_integralr(f,) *(f,)
       by A1,A7,INTEGR10:9;
     thus r(#)f is_+A26: f is_+infty_improper_integrable_onhencecontradictionby,,A61;
        A      hence contradiction by ,61,63;
     improper_integral_+java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
       by A9,Th27;
     +(#f)
       * 
    end;
        Th31:
      IntfPartFuncforfe   ,,c Real
A11:   Intf=right_closed_halflinea
rxReal inIntfx=faa,java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
        by A2 thenlogjava.lang.StringIndexOutOfBoundsException: Range [8, 21) out of bounds for length 8
:dom(&(improper_integral_+nfty(b+ 

:xdomr# 
      (r(#)Intf +(,c=- java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
     proof
 letxbejava.lang.StringIndexOutOfBoundsException: Range [19, 15) out of bounds for length 20
assumeA15:xindom(r()Intf);then
:((A2  cc  and
=ntegralax  A1513A
    <java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 6
     .integrable_on ['c,]
[,.  domfbyjava.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 34
A18:   ['a,x'] c= dom f by A17,INTEGRA5:def 3;
      f is_integrable_on ['a,x']         ,;
tegralr(fa,x)  A16A17,A18,:10;
     end;

     per cases by A2,A10,Th27;
     supposeA19 improper_integral_+nfty(fa = +nfty;then
A20:   Intf is divergent_in+infty_toA1  q1 = len q       hence thesis by ,,,;

      per     suppose +infty(, =4 indom q1;
      suppose A21:    q.  q1.  q2  A3A4
A22:      hence  end
         = q2&(k   kin 1holds.=1k-. olds  Sum 
java.lang.StringIndexOutOfBoundsException: Range [21, 7) out of bounds for length 52
         by A3,A13    letkbeend;
       improper_integral_
       hence improper_integral_  end;
         * improper_integral_+inftyfa 
  ;
uppose  r<;then
#Intf +infty_toinfty
         improper_integral_+(, = infty)
java.lang.StringIndexOutOfBoundsException: Range [21, 7) out of bounds for length 52
         byA3A13AA,58 
       improper_integral_+infty(r(#)f,a) A11:now
       A13: k < len
=r java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 7
     

supposeA25:r=0;
A26:    for java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
exg  R  g&  (r()ntfjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    p is nonnegativeimplies
 forg1be    let f be PartFunc ,;
        R Real st  be st       Real  
         & r1    forFinSequenceof java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

        let g1 be Real;
   pk;
        now let r1 be Real;
         assume a < r1 & r1 in dom(r(#)Intf); then
         (r(#)Intf).r1 = r * Intf.r1 by VALUED_1:def 5 .= 0 by A25;
         hence |. (r(#)Intf).r1 - 0 .| < g1 by A28,ABSVALUE:2;
        
        hencethesis
        
  i<lenp3byFINSEQ_11;
A30:    lim_in+infty (A20: i <> k by A15,NAT_;

       thus r(#)f is_+.=0 by A2,A3,A20,A22,FINSEQ_2
         by A3,A13,A14,A27,A26,LIMFUNC1:44 ;
       improper_integral_+infty(r(#A:jindomjava.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 17
       java.lang.StringIndexOutOfBoundsException: Range [31, 12) out of bounds for length 46
 *+(a  
          S(p3**>)+0 by:
     end;
     A31 improper_integral_infty(a  infty;
A32:   Intf is divergent_inlet being Natsuchthat
      per cases;
      suppose A33: r m  &i<k1 &p < java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A34:    A7: k2<>k        by A11XREAL_3def;
         by A31,A2,A11,A12,Th40,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 33
       thus r(#)f is_+java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 8
         by A3,A13,A14,A33,A32,LIMFUNC1:58; then
       improper_integral_+infty(r(#)f,a) = -infty
       hence improper_integral_+infty(r(#)f,a)
         = r * improper_integral_+infty(f,a)A11:k225
      end;
      suppose A35: r < 0; then
A36:    rA12  k1 > k2;
          A2A11,12,h40,LIMFUNC158;
        r)f is_+infty_improper_integrable_on
         by A3,A13,A14,A35,A32,LIMFUNC1:58; then
       improper_integral_+infty(r(#)f,a) = +infty by A13,A14,A36,Def4;
       hence improper_integral_end
=r*improper_integral_+infty(,)byA31,35XXREAL_3def 5java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      end;
      suppose A37: r = 0;
A38:    for R be Real
        ex g be Real st R < g & g in dom(r(#)Intf)
         by A11,A13,A32,LIMFUNC1:47;
:java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 11
eR be  stjava.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 48
                 then
             IR is +; then
        let g1 be Real;
        assume A40: 0 < g1;
        r1 ;
         cluster ProbFinS -> non empty nonnegative for A8: f is_integrable_on ['b1,b'] & f|['b1,b'] is bounded by
         t Th15
         hence |. (r(  k= 1 holds p has_onlyone_value_in
    ercasesA2,h22java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
    then
    ()  +infty&ib1)=1
:lim_ininfty((by,2Lm3;
       java.lang.StringIndexOutOfBoundsException: Range [35, 11) out of bounds for length 52
         by        improper_integral_-(fb) henk    y:;
       improper_integral_+infty(      .= infty_ext_left_integral(,b1)+integralf,b1b Sumi| 1)=*(/) 
       hence improper_integral_+infty(r(#)f,a)
         = r * improper_integral_         ose A13:fis_infty_ext_Riemann_integrable_on;then
      end;
             by ,Th27; 
    end;
end;

theorem Th43java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
   PartFuncofREAL,,b c domf&
  =infty_ext_left_integral(,b1)
   -f is_-infty_improper_integrable_on b &
   improper_integral_-infty(-f,b) = - improper_integral_-infty(f,b)
proof
    let f be PartFunc of REAL,REAL, b be Real;
assume   b c dom f
    & f is_-infty_improper_integrable_on b;
    hence -f is_-infty_improper_integrable_on b by Th41;
    suppose A20: improper_integral_-infty(f,b) = -infty;
      by A1,Th41;
    hence improper_integral_-infty(-f,b) = - improper_integral_-infty(f,b)
      by XXREAL_3:91;
end;

theorem Th44:
or  be PartFunc of REAL,EAL  beReal st right_closed_halfline a c=dom &
 f is_+infty_improper_integrable_on a holds
   -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;
;
    improper_integral_+infty(-f,a) :jin ;
byA1java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
     k beNatsuch
      by XXREAL_3:91;
end;

theorem Th45:
for f,g be PartFunc of REAL,REAL, b be Real
  k dom M byA3,,java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 9
  & f is_-infty_improper_integrable_onend;
  & g is_-infty_improper_integrable_on
  & not (improper_integral_-infty(f,b) = +infty
       & improper_integral_-infty  q) iff(  =len p & width M = len q & for i,j st [i,j] &width M = len & ,j in
  & not (improper_integral_-infty(f,b) = -infty
       & improper_integral_-infty(g,b) = +infty)
holds+g is_-infty_improper_integrable_on& mproper_integral_+infty(,b)=+infty)
 & improper_integral_-infty(f+g,b)
  = improper_integral_-infty(f,b) + improper_integral_-infty(g,b)
  the
tFunc , be Real;
     =improper_integral_-infty(f,b2)improper_integral_+inftyf,2)
A1A7  M=len  byA4,:39
A2:  left_closed_halfline b c= dom g and
:  fis_-infty_improper_integrable_on b and
A4:  proof
,b  infty
        & improper_integral_-infty(g,b) = -infty) and
A6    assume 
              then

pr
     gis_integrable_onjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  proof
     dReal
     assume
A8:   d<=b;
A9:f [d,b] [d' ounded &
     g is_integrable_on ['d,b'] & g|['d,b'    dom  p L_3:ef 2
     [.d,b.] c= ].-infty,b.] by XXREAL_1:265; then
     'b]c .-,b. java.lang.StringIndexOutOfBoundsException: Range [32, 6) out of bounds for length 69
     'b' =dom f      hencethesis by A2;
     java.lang.StringIndexOutOfBoundsException: Range [31, 10) out of bounds for length 31
     fg('b]/\ddb])sbounded   ,RFUNCT_1:;;
     (f+)[d'] bounded;
nd;
per cases
    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 56
- 
:improper_integral_-letn
&improper_integral_-nfty(g,b)=infty_ext_left_integral(gb
java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 21
A12: f+g is_-infty_ext_Riemann_integrable_on b
   & infty_ext_left_integral(f+,b)
     =infty_ext_left_integral(f,b) + infty_ext_left_integral(g,b)
         10
     thus f+g is_-infty_improper_integrable_on b
        end
     improper_integral_-infty(f+g,b) = infty_ext_left_integral(f+g    end;
        A12Th22;
     hence improper_integral_-infty(f+g,b)
       = improper_integral_ftyf,b2)A1 ijbeingstij] inMM*,=i)
         by A11,A12,XXREAL_3:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 15
    end;
    suppose A13: f
                notg-infty_ext_Riemann_integrable_onb 
A14:  java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 5
       by A3,Th22;

     consider Intf be PartFunc of REAL,REAL such that
A15. (b  fb,)
A16:  for x be Real st x    in domMR.i)byA11,ATRPROB13;
A17:  Intf is convergent_in-infty by A13,INTEGR10:def 6;

    PartFuncREAL,  that
A18:   dom Intg = left_closed_halfline b and
   be   inIntgholdsIntg   integralgxb 
(ntg convergent_in-infty java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 7
    or Intg is divergent_in-infty_to-infty) by A4;

A20:  dom(Intf+Intg) = left_closed_halfline b /\ijimpliesPij.i;
byA15,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
. ft_closed_halfline ;

A21:  for     take M1;
       (Intf+A5: Seg len M1 =  pFINSEQ_1def3
     proof
      let x be Real;
     A22: x inIntf+Intg) 
A23:   x <= b by A20,XXREAL_1:2;
           M1 be diagonal Matrix of len pA1  dom java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A24:   [.x,b.] A9:Seg  M1 = dom pbyFINSEQ_1:ef 3;
A25:   ['    now
      f is_integrable_on ['x,b'] & f|['x,b'] isIndicesA4:fis_infty_improper_integrable_onband
      is_integrable_on',']& |',b is bounded by ,,;then
      integral(f+g,['x,b']) = integral;
        A14:    i=j;
 f,,java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        integralf[xb)integralg[xb] A23I: 4
      =f,henceby :7java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
. ntegralfxb + integralgxb by ,INTEGRA5:ef java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65

      (Intf+Intg).x = Intf.x + Intg.x by A22,VALUED_1:def A3,,,A6,Th33;
       .= integral(f,x,b) + Intg.x by A22,A20,A15,A16
       .= integral(f,x,b) + integral(g,x,b) by A22,A20,A18,A19;
      hence (Intf+Intg).x = integral(f+g,x,java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 34
     end;

A27:  for r be   & improper_i improper_integral_   dom Line(,has_onlyone_value_ini (MRi.=i
      ex be Realst java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     proof
     rbeRealjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      consider g be Real such that
A28:    g < min(b,r) by     thus for i st i in dom MRLine(,i  i&Line(
      take g;
      min(b,r) <= b & min(b,r) <= r by XXREAL_0:17A5:iindom ;
      hence thesis by A20,A28,XXREAL_0:Line,i)i=MR*i A3A,MATRIX_0:def 7
     java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9

     per cases by A4,A13,Th22;
,b) =+;java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
:Intg  +fty yA4,18,Th37;

      = improper_integral_-infty(f,b2)+improper_+infty(f,b2)
        by A17,Th5; then
A32:   Intf+Intgh  Def4
   by A29,A27,A4,A18,A19,Th37,LIMFUNC1:56;
      thus f+g is_-infty_improper_integrable_on b
by,,,31,30,,:;then
      improper_integral_-A1  =java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 8
      hence improper_integral_-A3:lenfunc  f -ExtReal means
(,b)+improper_integral_-infty(gb)
         by A14,A29,XXREAL_3:def 2;
     end;
     suppose A33: improper_integral_-infty(g    by;
A34:   Intg is divergent_ininfty_to-infty by A4,A18,A19,Th38;

:f
            bydef3;
A36:   Intf+Intg is divergent_in-infty_to-infty
A33A4A,Th38Th11;fis_+fty_improper_integrable_on cand
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
byA20A21A,, 
      improper_integral_-infty(f+g,b) = -infty by A20,A21,A36,A notiinfty(c =+
(,b
 java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 70
A14,def2
     end;
    end;
&
                g is_-infty_ext_Riemann_integrable_onthusMR1*(i,)=p.*(MR*(i,) by ,A21
:improper_integral_g)=infty_ext_left_integralg,)
         A4        by A6,A7,XbyA6,,XXREAL_3 2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

     considersuppose improper_integral_+emTh27:


ent_ininfty by ,INTEGR10:def 6

     consider Intf be PartFunc of REAL,REAL such that
m= java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
A43:   for x be Real st x in dom Intf holds      
e;
    or Intf is divergent_in-          injava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0

 ij in MR1by4,ATRPROB12;
      A39suppose
      = ;

A45:  for x be Real st x in dom(Intf+Intgend;
       (Intf+Intg).x = integral(f+g,x,b)
     proof
      let x be        =dompi*java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      assume A46: x in dom(Intf+Intg); then
A47:   x <= b byA9:width  widthMRand
      [.x,b.] c= left_closed_halfline b by XXREAL_1:265; then
A48:   [.x,b.] c= dom f & [.x,b.] c= dom g by A1,A2;
A49:   [ take =+inftyA11 [j] in Indices ;
      f is_integrable_on ['x,b'] & f|['x,b'] is bounded &
      g is_integrable_on ['x,b'] & g|['x,b'      .=(iLine(R,).by A10,A12
      integral(f+g,['x,b']) = integral(f,[      . p.i*MR*(,)  A9A13,def7;
byA48,,:11then
A50:   integral(f+g,x,b)
       = integral(FinS FinSequence of  for  being 
      .= integral(f,x,b) + integral(g,['x,b']) by A47,INTEGRA5:def 4
      .= integral(f,x,b) + integral(g,x,b) by A47,INTEGRA5:def 4;

   M1 V p) * M;
       .= integral(f,x,  
       .= integral:LineSumM1 java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
      hence().  fx  java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
     end;

A51  forr. Sumpk*ine,k  A11,A8,
       g=p.k(.)by 
     proof
      let r be      ;
      consider g be Real such        =p.;
A52:    g <byA1;
      take g;
      min(b,r) <= b & min(b,r) <= r by XXREAL_0:i   A212;
      hence thesis & is_infty_improper_integrable_on:



     suppose    = improper_in-infty(,)+improper_integral_infty(f,)
      ex r be Real st Intg|left_open_halfline r is bounded_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 is_-infty_improper_integrable_on b by A7,A44,A45; then
      improper_integral_-infty(f+g,b) = +infty by A44,A45,A54,
       improper_integral_-nfty(+,)
        -infty(f,) +improper_integral_-infty(g,b)
          A53,XREAL_3def2java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
     end;
     suppose A55: improper_integral_-infty(f,b) = -java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 13
       rbeReal  Intgleft_open_halfliner is bounded_above
,t
A56:   Intf+Intg  letM Matrix of D;
        A55,,A42A43,Th38,;
     hencef+is_- fis_integrable_on[,'  A3,
      $ *width;
      hence improper_integral_-infty(f+g,b)
       = improper_integral_-infty(f,b)    assumethat

     ;
    endthus  is_+java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
    suppose A57: not f  dom M by FINSEQ_32
     not g is_-infty_ext_Riemann_integrable_on b    then. ) p ^M(n1  A3,9,:4

     consider Intf be PartFunc of REAL,REAL such that
   dom  
A59:   for x java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 6
  is-+infty
_n byA3

considerIntgbe PartFuncof REAL, such 
:dom Intg =   byA1,A12,
 x theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
infty_to+nfty
     .=M 

A62  inp
        A60A58,:ef1
      .= left_closed_halfline b;

  for x be Real stx in domIntfIntg)holds
(+Intg)x=end;
     proof
      x Real;
      assume &(.)j  *(1jjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A65        forbe of*suchthat
[.x,.] p Mk1;
 .. c f&[.assume xindomIthen
A67[,b]=[,b. byA65INTEGRA5def ;
      f is_integrable_on ['x,b'] & f|['x,b'] is bounded &
      g is_integrable_on ['x,b'] & g|['x,b'] is bounded by A3,A4,A65;       g is_integrable_on ['x,b'] & g|['x,b'] is bounded by A3,A4,A65; then
     [,j inIndices ;
        by A66,A67,INTEGRA6:11; then
A68:  suppose
       =(then 
      .= integral(f, fis_    then1pby : 3;
     =integral(f,,b)+integral(,,b A65,NTEGRA5:def 4;

      (Intf+Intg).x = Intf.x +A7 [,]inIndices Mjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
       .=e;
       .= integral(f,x,
java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
nd

:for  Real
      ex g be Real  -(,b)= nfty
roof
      let
      consider g be Real such that
A70:    g < min(b,r) by XREAL_1:2;
      take g;
minbr)= b &min(, = rbyXXREAL_017;
      hence thesis by A62,A70,XXREAL_0:2,XXREAL_1:234;
     end;

     per cases by A3,A57,Th22;
     suppose A71: improper_integral_-infty(f,A8 +   j1> byXXREAL_0:;
A72:   Intf is divergent_in-infty_to+infty by;

   improper_integral_-infty(g,b) = +infty by A71,A4,A57,A5,Th22; then
A73:   ex r be Real st Intg|left_open_halflinej+ = 1java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
        by A4,A60,A61,Th37,Th7; then
    suppose
        by A69,A71,A3,A58,A59,Th37,LIMFUNC1:56;
      thus f+g is_-infty_improper_integrable_on;
        by A7,A62,A63,A73,A72,A69,LIMFUNC1:56; then
      improper_integral_-infty(f+g,b)let that
      hence improper_integral_-infty(f+g,b)
       = improper_integral_-infty(f,b) + improper_integral_-infty(g,b)
         by A5,A71,XXREAL_3:def 2;
     java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
     suppose A75: improper_integral_-infty(f,b) = -infty; then
A76:   Intf is divergent_in-infty_to-infty by A3,A58,A59,Th38;

   improper_integral_-infty(g,b) = -infty by        suppose
 left_open_halfline r is bounded_above
        by A4,A60,A61,Th38,Th8; then
A78:   Intf+Intg isjava.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 10
        by A75,A69,A3,A58,A59,Th38,  for j holds P[j] from NAT_1:sch 2(A19
      thus f+g is_-infty_improper_integrable_on b
        by A7,A62,A63,A76,A69  for  being  Dforbeing  * st 
      -nfty(+,)  infty by A62,,A78,;
      hence improper_integral_-infty(f+g,b)
       = improper_integral_-infty(f,b) + improper_integral_-infty(g,b)
         by A6,A75,XXREAL_3:proof
     end;
    end;
A3   stk =&k  holds (k+1  pk  .1java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64

theorem Th46:
for f,g be PartFunc of REAL,REAL, a be Real
 st right_closed_halfline a c= dom f & right_closed_halfline a c
  & f is_+java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 14
  & g is_+infty_improper_integrable_on a
  & not (improper_integral_+    hence Intf is divergent_in+in-infty by ,A3A5PARTFUN1:;
       & improper_integral_+infty(g,a) = -infty)
  & not (improper_integral_+infty(f,a) = -infty
       &for  PartFuncof ,,, beReal st
 c  & java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 77
 & improper_integral_+infty(f+g,a)
  = improper_integral_+  let such
proof
    let f,g be PartFunc of REAL,REAL, a be Real;
    assume that
:right_closed_halfline  c  f and
java.lang.StringIndexOutOfBoundsException: Range [38, 2) out of bounds for length 41
A3:  f is_+A10 j+in Mby FINSEQ_1:def 3java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A4:  g is_+infty_improper_integrable_on a and
A5:  not (improper_integral_+infty(f,a) = +infty
       & improper_integral_       widthM + > + XREAL_17
A6:  not (improper_integral_+infty(f,a) = -inftyA4:   d< b;
       & improper_integral_+infty(g,a)  .      widthM;


     gis_integrable_on[d]&(+)[a,]is
    proof
letdbe ;
     
:<djava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
A9:  f is_integrable_on ['a,d']java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          A7:f - b 
     [.a,d.] c= [.a,+infty.[ by XXREAL_1:251; then
     ['a,d'] c= [.a,+infty.[:jin width M by(),  *(,
     ['a,d'] c=   then
     hence f+g is_integrable_on ['a,d'] by A9,INTEGRA6:11;
()'d]\['a,]) boundedby A9R:;
     hence (f+g)|['a,d'] is bounded;
   ;

    
    suppose A10: f is_+A12:   for x be Real st x in dom Intf Intf. = integral(ten
     & g is_+infty_ext_Riemann_integrable_on a; then    then p(+)(widthMj)(.ii+)j A1A2,A3,5A,;
al(f,)
   & improper_integral_+infty(g,a) = infty_ext_right_integral(g,a)
       by A3,A4,Th27;
 f+is_+infty_ext_Riemann_integrable_on a
   & infty_ext_right_integral(f+g,a)
     infty_ext_right_integral(,) + infty_ext_right_integral(,)
         A1,2A10,:8;
     thus       .= r*integral(,x,b byA15,,A12A11;
by,A2,A10,Th21,INTEGR10:8; then
fty_ext_right_integral(f+,a
       by A12,Th27;
     hence improper_integral_+infty(f+g,a)
       = improper_integral_+infty(f,a) + improper_integral_+infty(g,a)
         by A11,A12,XXREAL_3:def 2;
    end;
    suppose A13: f is_+infty_ext_Riemann_integrable_on a &
                not g is_+infty_ext_Riemann_integrable_on a; then
A14:improper_integral_+infty(,a) = fa
        by A3,Th27;

     consider Intf be PartFunc of 
A15:  dom Intf = right_closed_halfline a and
A16:          by ,A2,11,12,h37,LIMFUNC1:59;
A17:Intf convergent_in+ by ,INTEGR10:ef5

       PartFuncofREAL, suchthat
   dom Intg       improper_integral_-(#, = by13,,ef3;
A19:forbeReal  indomIntg  Intg. =ntegral(,ax and
( is  -inftyfb by A19,,: 5;
    or Intg is divergent_in+infty_to-infty) by A4;

A20:  dom(Intf+Intg) = java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 19
        A15A18ALUED_1defjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
        

A21:  for x be Real st x in dom(Intf+Intg) holds
       (Intf+Intg).x = integral(f+g,a,x)
     proof
      let x be Real;
      assume A22: x in dom(Intf+Intg); then
A23:   a <= x by A20,XXREAL_1:3;
      A27:   for g1 e st0  java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A24:   [.a,x.] c= dom f & [.a,x.] c= dom g by A1,A2;
A25:   ['        letg1 Real;
   f is_integrable_on ['        assume A28: 0 < g1;
      g is_integrable_on ['a,x'] & g|['a,x'] is bounded by A3,A4,A23; then
      ntegral(g[',']) =if[x'+integral([ax]
        by A24,A25,INTEGRA6:11; then
:(+,,)
       = integral(       end then
      .= integral(f,a,x)   letMbe Matrix ;
      .= integral(A30    lim_in--infty (r(#)Intf) =1  k stk> 1 & k   M holdsp(+  p) ^ M(+1;

      (Intf+          by A3,,A14,A27,A26LIMFUNC1:45;then
       .x by A22,20A15A16
       =(f,,)+integral(g,a,) by ,A20,A18,19;
      hence (Intf+Intg).x = integral(f+g,a,x) by A26;
     end;

A27:  for r be Real
      ex g be Real st r < g & g in dom(Intf+Intg)
     proof
      let
      consider g be Real such that
A28:    max(a,r) < g by XREAL_1:1;
      take g;
      max(a,r) >= a & max(a,r) >= r by XXREAL_0:25;
      hence thesis    then p={b A1;
     end;

A29:  (ex r be Real st Intf|right_open_halfline r is bounded_below)
   & (ex r be Real st Intf|right_open_halfline r is bounded_above)
       by A17,Th6;

     per cases by A4,A13,Th27;
     A10: for kst 0<  &k <len qholds.(k1  .k+q.(+)and
A31:   Intf+Intg is divergent_in+infty_to+infty
        by A27,A4,A18,A19,A29,Th39,LIMFUNC1:54;
      hencef+ infty_improper_integrable_on  by ,A20,A21 
      improper_integral_+infty(f+g,a) = +infty by A20,A21,A31,Def4;
      hence improper_integral_+infty(f+g,a)
       = improper_integral_+infty(f,a) + improper_integral_+infty(g,a)
byA14A30XXREAL_3:ef 2;
     
     suppose A32: improper_integral_+infty(g,a) = -infty;let such hat
A33:   Intf+Intg is divergent_in+infty_to-infty
        by A27,A4,A18,A19,A29,A17:    Pk;
      hence f+g is_+infty_improper_integrable_onA18:k1in dom q;
      improper_integral_+infty(f+g,a) = -infty by A20,A21,A33
      hence improper_integral_+infty(+ 20k+ Sum A1,A14,,13,18FINSEQ_1defjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
       = improper_integral_+inftythen
         by A14,A32,XXREAL_3:def 2;
     end;
    end;
    suppose A34: not f is_+infty_ext_Riemann_integrable_on      in  len M  A6,:;
                g is_+infty_ext_Riemann_integrable_on a; then
   =SumM1)byA25,ATRIX_0:
        by A4,Th27;

     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 Intg holds Intg.x = integral(g,a,x) and
A38:  Intg is convergent_in+infty by A34,INTEGR10:def 5;

     consider Intf be PartFunc of REAL,REAL such that
A39:   dom Intf = right_closed_halfline a and
A40:   for x be        end
      (Intf is convergent_in+infty or Intf is divergent_in+       end then
     Intfisdivergent_in+infty_to-infty A3

A41:  dom(Intf+Intg) = thus r(#)f is_-infty_improper_integrable_on
        by A36,A39,VALUED_1:def 1
      .= right_closed_halfline;

A42:  for x be Real st x in dom(Intf+Intg) holds
       (Intf+Intg).x = 
     proof
      let x be Real;
x Intf+) 
:   a <=xby    improper_integral_+nfty((#f,) r*mproper_integral_++fjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
[ax]c [a+infty.[by :;then
A45:   [.a,x.] c= dom f & [.a,x.] c= dom g  hence ;
A46:   [ is_+nfty_improper_integrable_on;
   f is_integrable_on ['a,x'] & A31  [0  A13,FINSEQ_11java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      is_integrable_on [ax]&g|      encethesisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
     f+,',]) = integral(f,['a,x'])+integral(g,['a,x'])
        by A45,A46,INTEGRA6:11; then
A47:   integral(f+g,a,x)
       = integral(f,['a,x'])+integral(g,['a,x']) by A44,INTEGRA5:def 4
.= integralfa,x)+integral(,[',x] by A44,INTEGRA5:def4    len MinSeg  M  A5FINSEQ_1:3;
      .= integral(f,A33: len M in dom Sum A1A14,INSEQ_1:def 3;

      (Intf+Intg).A5:[ad]c=dom      =p(M)  ,ATRPROBdef 1;
       .= integrale;
       .integral(,ax + java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 10
hence(Intf+Intg).  java.lang.StringIndexOutOfBoundsException: Range [43, 32) out of bounds for length 43
     end;

   . & 
      ex g be Real st r <     per cases
thus  >   z FinSequenceofDstexpjava.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
      let r be Real;
     consider g        A1,I9h21then
    max,r< by1;
      take g;
      max(a,r) >= a & max(a,r) >= r by XXREAL_0:25;
      hence thesis A2   for Natst1 <   n<lenM x beingElement
     end;

A50:  (ex r be Real st Intg|right_open_halfline r is
rbeReal  | r is )
       by A38,Th6;
     per cases by A3,A34,Th27;
     suppose A51: improper_integral_+infty(f,a) = +        reconsider y as Element of D* by FINSEQ_1:def 11
A52:   Intf+Intg is divergent_in+infty_to+A13  dom((#)      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
        by A48,A3,A39,A40,A50,Th39,LIMFUNC1:54;
      hence f+g is_+infty_improper_integrable_on a by A7,A41,A42; then
improper_integral_+infty(+g,)=infty by A41    ..     =0nd
      hence improper_integral_+infty(f+g,a)
ty(fa  + improper_integral_++g,
         A,XXREAL_3:def 2;
     :a <=x by ,A15,XXREAL_1:3;
     suppose proof
A54:   Intf+Intg is divergent_in+infty_to-infty
        by A48,A3,A39,A40,A50,Th40,Th12;
      hence f+g is_+infty_improper_integrable_on a by A7,A41,A42; then
      improper_integral_(ga -by ,,,;
      infty(+ajava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
       = improper_integral_+infty(f,a) + java.lang.StringIndexOutOfBoundsException: Range [0, 59) out of bounds for length 31
         by A35 suppose A19 inftyf)=infty
     end;
    end;
    suppose A55: not f is_+infty_ext_Riemann_integrable_on a &
     not then

     consider Intf be PartFunc A11:z1= p1.len M)and
A56:   dom Intf = right_closed_halfline a and
java.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 48
      (Intf    
    or: k =1&< M  p2.k+)=(p2.)^M(k+1)

     consider Intg be PartFunc of REAL,REAL such that
         endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A59:   for x be Real st x in dom Intg holds Intg.x = integral(g,a,x) and
      (Intg is convergent_in+inftyA24:r#Intfis java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 19
    or Intg is divergent_in+infty_to-infty) by A4;

A60:  dom(Intf+Intg) = right_closed_halfline a /\ right_closed_halfline a
       by A58,A56,VALUED_1:def 1
. right_closed_halflinea;

  for     xndomIntfhjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
       (Intf+Intg).x =       end;
     A21:n 
        beReal
      assume A62: x in domA26:for be 
<xbyA60X:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

A64:       end;
A65:   ['          A11A13A20,LIMFUNC1:46;
   fis_integrable_on [a,'  |[a,x']is bounded &
      g is_integrable_on ['a,x'] & g|['end
      integral(f+g,['a,x']) = integral(f,['a,x'])+integral(g,['a,x'])
        by A64,A65,INTEGRA6:11; then
A66:   integral(f+g,a,x)
       = integral(f,['a,x'])+integral(g,['a,x']) by A63,INTEGRA5:defsuppose
      .= integral(f,a,x) + integral(g,['a,x']) by A63,INTEGRA5:def 4
.=(,,) + integral(g,a,x) by 

(+)x= Intf.+Intg. by A62,      (Intf+Intg).x = Intf.x + Intg.x by A62,VALUED_1
.integralf,,) + Intg.  A62,60A56,A57
       .= integral(f,a,x) + integral(g,a,x        hence ;
      hence (Intf+Intg).x = integral(f+g,a,x) by A66;
     end;

A67:  for r be Real
      ex g be Real st r < g & g in dom(Intf         byA3A13,   M D jst ij   Mholdsi
    
      let   +j)
      consider g be Real such that  let Mbe   ;
A1: [,]in IndicesM;
      take g;
      max(a,r) >= a &   then
      hence thesis        ;
     end;

     per cases by A3,A55,Th27;
java.lang.StringIndexOutOfBoundsException: Range [36, 12) out of bounds for length 62
+infty(g,a)= + byA4,A5  M(l   M1,lwidth+java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
exl , 
        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_onthen <  Mx2FinSM  FINSEQ_1:;
      improper_integral_+infty(f+g,a) = +infty by A60,A61,A70,Def4;
      hence improper_integral_A4      M+-  ;
       = improper_integral_+infty(f,a) + improper_integral_+infty(g,a)
         by A69,A5,XXREAL_3:def 2;
     end;
     suppose A71: improper_integral_+infty(f,a) = -infty; then
      improper_integral_+infty(g,a) = -infty by A4,A55,Th27,A6; then
ex be  st Intgr ris 
        by A4,A58,  width M divides lensuppose A37: r = 0;
isdivergent_in+infty_to-infty
        by A71,A67,A3,A56,A57,Th40,            l  width M <len  A6,AT_D:8;
      fg + a A7A60java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 6
      improper_integral_+infty(f+g, l modwidth M < width M by A7,NAT_D:;
      hence improper_integral_+infty(f+g,a)
       =improper_integral_+infty(A10:< width  by ;
         by A71,A6,XXREAL_3:java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 6
     end;
    end;
end;

theorem
for f,g be PartFunc of REAL,REAL, b be Real
 = &  g
  & f is_-infty_improper_integrable_on b
    -infty_improper_integrable_on b
  & not (improper_integral_-infty(f,b) = +infty
       & improper_integral_-infty(g,b) = +infty)
&notimproper_integral_-nftyfb  -nfty
 improper_integral_(,)=-)
holds f-g is_-infty_improper_integrable_on b
 & improper_integral_-infty(f-g,b)
  = improper_integral_-infty(f,b) - improper_integral_-infty(g,b)
proof
    let f,g be PartFunc of REAL,REAL, b be Real;
    assume that
A1:  left_closed_halfline b c= dom f and
A2:  left_closed_halfline b c= dom g and
A3:  f is_-infty_improper_integrable_on b and
A4:  g is_-infty_improper_integrable_on b and
A5:not(mproper_integral_-nftyf,b) = +fty
       & improper_integral_-infty(g,b) = +infty) and
A6:  not (improper_integral_-infty(f,b) = -infty
       & improper_integral_-infty(g,b) = -infty);
A7 ()   A7: dom(-g) = dom g:
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
gral_infty(fb) = infty java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
     improper_integral_-    assume A1: left_closed_ha b c=dom f
     -improper_integral_-infty(g,b) = -(+infty) by A2,A4,Th43,XXREAL_3:6;
diction A5,10,XREAL_3:10;
    end;
A11:now assume A12: improper_integral_-infty(f,b) = -infty &
     -infty(-now
-improper_integral_-(,b)= --A5 i] Indices MRjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        by A2,A4,Th43,    (-) wMR) indomMRbyA5;
     hence contradiction by A6,A12,XXREAL_3:10;
    end;
    theorem Th44:
      
    improper_integral_-infty(f-g,b)
     = improper_integral_-infty(f,b) + improper_integral_-infty(-g,b)
       by A1,A2,A7,A3,A8,A9,A11,Th45
    .= improper_integral_-infty(f,b) + (-improper_integral_-infty(g,b))
       by A2,A4,Th43;
    hence improper_integral_(f)=(1)*improper_integral_+infty(f,)
      = improper_integral_-infty(f,b) - improper_integral_-infty byA1,Th42;
       by : 4;
end;

theorem
for fhence (R  ProbFinS ,def
 st right_closed_halfline a c= dom f & right_closed_halfline a c= dom g
+ a
  & g is_+infty_improper_integrable_on a
  & not (improper_integral_+infty(f,  then   - byTh43java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
       & improper_integral_+infty(g,a) = + &improper_integral_-infty(+gb
infty  fb  inftyg)
       & improper_integral_+infty(g,a) = -infty)
holds f-g is_+infty_improper_integrable_on a
 & improper_integral_+infty(f-g,a)
   mproper_integral_+infty(f,a) - improper_integral_+infty(g,a)
proof
    let f,g be PartFunc of REAL,REAL, a be Real;
    assume that
A1:  right_closed_halfline a c= dom f and
A2:right_closed_halfline  c dom infty) and
A3:  f is_+infty_improper_integrable_on a and
A4:  g is_:: License version 3.0 or later, subject to the binding interpretation
A5:  not (f+g is_integrable_on',b]  fg|['b]bounded
       & improper_integral_+infty(g,a)  +infty) and
A6:  not (SEQ_1, SUPINF_2,PARTFUN3java.lang.StringIndexOutOfBoundsException: Range [28, 2) out of bounds for length 71
       & improper_integral_+infty(g,a) = -infty);
A7:A7:     lenp;
A8A3:k indombyFINSEQ_1:ef3
:nowA10 f,a  infty &
=- 
     g, =+
[dbb] =omf  'd,b'] c=dom g A1,A2
     hencehencef+  [d,]by I:;
    end
A11:now assume A12: improper_integral_+infty(f,a) = -infty &
     improper_integral_+infty(-g,a) = +infty; then
     -improper_integral_+infty(g,a) = -(-infty)
       byconsider ppbeing   s that
     hence contradiction by A6,A12,XXREAL_3:10;
    end;
    hence f-g is_+infty_improper_integrable_on   p FINSEQ_1def3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      by A1,A2,A7,A3,A8,A9,Th46;
    improper_integral_+infty(f-g,a)
     = improper_integral_+infty(f,a) + improper_integral_+infty(-g,a)
       by A1,A2,A7,A3,A8,A9,A11,Th46
    .= 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;

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
for f be PartFunc of REALA9:lenp2 = pand
 f is_improper_integrable_on_REAL holds
  r(#)f is_improper_integrable_on_REAL &
  improper_integral_on_REAL (r(#)f) = r * improper_integral_on_REAL(f)
proof
java.lang.StringIndexOutOfBoundsException: Range [11, 4) out of bounds for length 46
    assume thatXXREAL_1, ,CARD_1XREAL_0
:f =REALand
A2:  f is_improper_integrable_on_REAL;

    consider c be Real such that
     f is_-infty_improper_integrable_on c and
f is_ k dom p byA7:9
A3:  not (improper_integral_(ntgis convergent_in-infty or Intg divergent_in-infty_to
        & improper_integral_+infty(f,c) = +infty) and
A4:  not (improper_integral_-inftyA.= k ,A14A15;
        & improper_integral_+infty(f,c      end;

    f is_-infty_improper_integrable_on c
  &fis_java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 5
A5: r(#)f is_-  then i - (i mod k) <= (i + (i mod k)) - (i mod k) by XREAL_1:9;
      . integralf,b
  &-infty.  *l)  java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
gral_infty((#)f,) = r  improper_integral_      
 Th41,

6 improper_integral_infty(r()    ->REAL 
        (improper_integral_infty(,)+improper_integral_+(f,  orrectnessjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
theorem :
    =r* by,A2,h36java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

:r#)=omfbydf;

cases;
r =0java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
hence()  ;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
             ((f1(-)|) =( - diff(2r byA10,java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 9
    end;
 :r >0
:assumejava.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 10
       
      improper_integral_:].,. 
        { g isReal :1<}java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      hence contradiction by A3,A10,A5,A8,XXREAL_3:69;
    ;

A11:  now assume A12: improper_integral_-infty(r(#)f,c) java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 8
       & improper_integral_+infty(r(#)f,    then  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
fc=+ java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A42  </ byXREAL_1:187java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      hence    len  =enpp A1,,MATRPROB:30java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
     end;

     by A29A27,A4,18,19,Th37,IMFUNC1:56;
  java.lang.StringIndexOutOfBoundsException: Range [21, 7) out of bounds for length 26
      = r * improper_integral_on_REAL f
       by A1,A6,A7,Th36;
    end;
    suppose A13: r < 0;
A14:  now assume A15: improper_integral_-infty(r(#)f,c) = -infty
       & improper_integral_+infty(r(#)f,c) = +infty; then

-nfty(c = -infty by X:java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
nd

:nowA17:improper_integral_infty(r(f,c =+A36Intf infty_to-
       & ,Th11
      improper_integral_
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 11
thenfr >=  A9;
     ;

byA5,14,;
A61: (r - 1-ln.  ;
       = r * improper_integral_on_REAL f
       by A1,A6,A7,Th36;  let  that
    end;


mTh50:
forendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 f is_improper_integrable_on_REAL

 -   java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 62
proof 
    let f beb0 &c 0java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    assume java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 9
    -)#fis_improper_integrable_on_REAL
improper_integral_on_REAL ((1() end
      Th49
    hence thesis by XXREAL_3:91;
end;

theoremTh51:
for f,g be PartFunc of= len q2 & (for k st k  domq1holdsA47:x< by    onnegative  REAL, ;
 
 g is_improper_integrable_on_REAL &
 A1:=-;
    & java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 8
not    for tk indomqholds k=k*log(,/p.k))
        beuch

f+ &
 ff)
=improper_integral_on_REAL f+java.lang.StringIndexOutOfBoundsException: Range [35, 2) out of bounds for length 45

    let f,g be .= integral(fx,
    assume that
  f= REAL 
      suppose
A3s  nonnegative        gbe  st         thesis byA7,h5;
A4:  g   :Def1:
 (  i
    & improper_integral_on_REAL g = -    r p
A6p 
&=+infty;

    consider c be Real such that
A7:  f is_-infty_improper_integrable_on c and
A8java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 44
  i      ex r be Real r 
&improper_integral_infty(,)=infty)and
A10: not (improper_integral_:k domq
&improper_integral_+nfty(,   byA3

    consider c1 be Real such that
A11: g is_-infty_improper_integrable_on c1 and
A12: g is_+infty_improper_integrable_on c1 and
A13:        =p.  (,/(.k) byA15
        java.lang.StringIndexOutOfBoundsException: Range [34, 27) out of bounds for length 53
A14: not (improper_integral_-infty(g,c1) = +infty
       & improper_integral_A16:  .>java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14

A15: left_closed_halfline c c=  . pk* (-
:right_closed_halfline thenk dom p VALUED_1:ef5
A17: left_closed_halfline c1 c= dom g by A2;
ght_closed_halflinec1 c dom g byA2


    proof
      ;
     suppose c < c1;
      hence &mlt(,  p  nonnegativeFinSequence  REAL 
     endA2:phas_onlyone_value_ink    ivergent_ininfty_toinfty)y 
     suppose  (log2r*p)=:'' .b  ,:3;
 is&g is_integrable_on[c1,c'  len ((r*log(2,r)*p) + (r*mlt(p,FinSeq_log(2,p)))) = len *(,r*p 
      hence g is_-      g is_integrable_on ['x,b' & 'bthen
      A20,A11java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
     end;
    ;
A21:g is_    then i <lenp3 by 1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    
     per casespthusp3=1i by ,A21,java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 0
     suppose A22: c < c1;
      g|['c . fxb  (    hence j=by A17
      hence g is_+infty_improper_integrable_on c
      by A22,A16,A12,Th31;
     end;
 < 
hence gis_+ cby ,,;
     end;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

-inftyc=nfty
&inftygc) infty)
    proof
      ;
supposeA24c<c1 java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
c
       by A24,  dom   k<  by
      g is_         thesis y A19      improper_integral_infty(f+g,)=+infty  A62,,A74Def3;
       by A24,A16,A25,A12,Th31;
       by 2A17,,26,h26,
    ;
     suppose thesisby ,Th48
A28:   g|['c1,c'] is bounded & g java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 40
r_integrable_on:beingjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
        by A27,A15,A11,Th26;
      g is_+infty_improper_integrable_on c
        by A27,A2,A12,Th30;
      hence thesis by A13,A2,A18end;
     end;
    ndjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

:notnot(mproper_integral_-infty(gc)=infty
      & improper_integral_+infty(g,c) = -infty)
    proof
     per     .= Seg len(Mi  FINSEQ_1: 
     suppose theorem Th19:
_ntegrable_on[c'  A;
A33:   g is_-infty_improper_integrable_on c
by,,A11h25java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      g is_+infty_improper_integrable_on c
        by A31, by,A4Th27       ence byMATRIX_0def 3
hence thesisby
   &nfty_ext_right_integral(+,)
     supposeA9: Line(R,i is      infty_ext_right_integral(f,)  infty_ext_right_integral(g,a)
]bounded&g  ',c]by,A12
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 4
by3511Th26
gis_+c
        by A34,end;
      . <p.*). java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
     end;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

A37:     Line( MRk) 
      = -nfty(+,c)
       A1A,java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 improper_integral_on_REAL
    (MR,k));
       by A2,A4,Th36;

java.lang.StringIndexOutOfBoundsException: Range [27, 3) out of bounds for length 49
      improper_integral_-infty(g,c) = -infty)
        by      Intg is convergent_in+infty or Intg is divergent_in+infty_toA6:M=M1*M2java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16

A40A:widthM=width M2 by A4,A2,A6,MATRPROB:39;
improper_integral_g =)
A:   [, inIndicesM

A41:not (improper_integral_+infty(f,c) = +infty &
      A21:  for x be Real st  domIntf+) 
         ,A37,38A9,A30,XXREAL_3:def 2

A42:not (improper_integral_+infty(f,c) = -infty &
mproper_integral_+infty(c =
        by A6,A37      i in dom M1 A7,A10,FINSEQ_1:def 3;


        = *pi*>*  nd;
        by A7,A19,A2RVSUM_173
A44:f is_integrable_on ['a,']  f|['a,x'] A15:widthM theorem  Th53:
      =-()  for M being m-nonnegative Matrix of REAL for k M
        by A1,A2,A7,A19,      integral(f+g,['a,x']) integral(,[',x]+ntegral(,',]


A45:f+g is_+infty_improper_integrable_on c
        by A1,A2.= Summlt<pi*><qj*p,java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 61

improper_integral_(fgc)
per_integral_,)+java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 69
        by M = *M2

A47:then
      improper_integral_+infty(f+g,c) = +infty;proofhencem(p2           Nat;
,,end
suppose-(fc)=-nfty&
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 45
      hence contradiction
       by A6,A9,A37,A38,A23,XXREAL_3:def 2;
     hence thesis byfunc -Realjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
     suppose improper_integral_-:forst  domholds(,)=p. * q
      improper_integral_+infty(f    let,j
      hence contradiction
*q. by,
     end;
    end;

:now assume A50:improper_integral_-nfty(+g,set (ColVec2Mx )*(neVec2Mx q)
      infty+c=
     set=LineSumM;
      -infty2java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 47
     java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 23
      hence contradiction by A5,A10,A37,A38,A30,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 36
     java.lang.StringIndexOutOfBoundsException: Range [7, 1) out of bounds for length 40
     suppose java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 5
      improper_integral_+infty(f,c    hence hencethesis A1MATRPROB;
      hence contradiction by A6,A10,A37,A38jin q byA7,812
     end;
    end;
    hence
A51:  fp&p.k   Entropyp=0

/ def1;
A52assume st in p& . = 1
     = improper_integral_-infty(f+g,c) + improper_integral_+infty(f+g,c)
,2A,h36;

    per cases by XXREAL_0:java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 24
    suppose A53:  MRbe  ,EAL;A4:p byA1,Th15
   (+)=+nfty A49,52XXREAL_3:ef 2java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73

     per cases by A53,A44,XXREAL_3:16;
     suppose improper_integral_-infty(f,c) = +infty; then
      improper_integral_on_REAL f = +infty by A10let k such that
      hence  (+gjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
       = improper_integral_on_REAL f + improper_integral_on_REAL g
        by A5,A54,XXREAL_3:def 2;
     end;
     suppose improper_integral_-infty(g,c) = +infty; then
      improper_integral_on_REAL g = +infty by A38,A30,XXREAL_3:def 2;
      hence improper_integral_on_REAL (f+g)
       = improper_integral_on_REAL f + improper_integral_on_REAL g
         A6A54,:def2;
     end;
          . .*l(,1/pk))+2(.k) A12,,A15
   supposeA55 f,)=-nfty;then
      . p.klog(2number_e)l(number_e,(qk/(p.k)) byA;

     per cases by A55,A44,XXREAL_3:17;
     supposeimproper_integral_-nfty(,)=-infty;then
mproper_integral_on_REAL =-by A37 2
      hence improper_integral_on_REAL (f+g)
       =java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 19
             . dom p byA18,:def ;
     end;
     suppose improper_integral_-infty(g,c) A22 java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 24
      g= -  A23A38XXREAL_3def 2
      improper_integral_on_REAL(f+g)
       = improper_integral_on_REAL f+improper_integral_on_REAL g
         by A5,A56,XXREAL_3:def 2;
k;
    end;
    suppose A57: improper_integral_-infty(f+g,c) in REAL; then
A58:  end;
     improper_integral_-infty(,c) in REAL
       by A39,A40,A44,XXREAL_3:20; java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 17
     reconsider lf = improper_integral_-infty(    let M1,  proof
                lg = improper_integral_-infty(g,c) as Real;
then. <k1 ,A23

 A59:improper_integral_+infty(
      improper_integral_+infty(f,c) = +infty or  =mlt(ine(MMi),M45d p1  p2by,,:;
6,java.lang.StringIndexOutOfBoundsException: Range [65, 60) out of bounds for length 69
      improper_integral_on_REAL f = +infty or
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 78
      improper_integral_on_REAL f + improper_integral_on_REAL g        =p.*((Rj).i)by A3,
        by A5,A6,XXREAL_3  endkinjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
()
        = improper_integral_on_REAL f+improper_integral_on_REAL g
  A57,59XXREAL_3:ef ;
     end;
     then
      improper_integral_+java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
      (gc = -byA46,XREAL_3:
 f=infty 
      java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 78
      java.lang.StringIndexOutOfBoundsException: Range [61, 31) out of bounds for length 72
        by. .  ColMRj:=umqq
      hence improper_integral_on_REAL(f+g)
        =        ,A1A2MATRPROB:;;
         by
     end;
s java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 58
      improper_integral_+infty(f,c:p  len R
      java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 43
         thusforii  dom Line(,i = .*Line(R,)
      reconsider      assume iindom java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
                 
      assume j in dom Linei);
      java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A61:   improper_integral_on_REAL f+improper_integral_on_REAL g
        = lf+rf + (lg+rg) by XXREAL_3:def 2:ef7
      improper_integral_-infty(f+g,c) = lf+lg &
       = by MATRIX_0def
     A44,,def 2;java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
improper_integral_on_REALf+) = lf+lg + (rf+rg)by,d ;
       < (p ,12A2A9;
        = improper_integral_on_REAL f+java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 45
     end;
    end;
end

theorem
for f,g be PartFunc of REAL,REAL st dom f = REAL &
 dom g = REAL & f is_improper_integrable_on_REAL &
 g is_improper_integrable_on_REAL &
 not (improper_integral_on_REALf  inftyjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    & improper_integral_on_REAL g = +infty) &
 not (improper_integral_on_REAL f = -infty
    & improper_integral_on_REAL g = -infty)
 holds
f&
  improper_integral_on_REAL (f-g)
   = improper_integral_on_REAL f - improper_integral_on_REAL A4 fornbeing Natst P[] holds [ + 1]
proof
    let  1 & n< lenMimplies  pn  n * widthM;
    assume that
A1:A7: +1<= len;
A2: dom g = REAL and
A3:fjava.lang.StringIndexOutOfBoundsException: Range [40, 36) out of bounds for length 40
A4: g is_improper_integrable_on_REAL and
    p1.k1=1nbyA13,A24,FINSEQ_2:57;
    & improper_integral_on_REAL g = +infty) and
A6: not (improper_integral_on_REAL f = -infty
    & improper_integral_on_REAL g = -infty);
A7: dom(-g) = dom g by VALUED_1:8;
A8: -  Infor_FinSeq_of M) h thesis;
:java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 79

 f< java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 29
  or :
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10

A11: java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 8
  or improper_integral_on_REAL ksuchthat
      by    i in Seglen p    pp(, FinSequence of

    hence f    dom(.k*log(,p.*=dom  by5
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 34
     = improper_integral_on_REAL f + improper_integral_on_REAL (-g)
      by A1,A2,A3,A7,then
    improper_integral_on_REAL(f-g    ;
   java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 11
    hence improper_integral_on_REAL (      .Sum(,)by ,MATRIX_060
      = improper_integral_on_REALthen
        by XXREAL_3:def 4;
end;

Messung
CHZG
8110010093

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.374Angebot  ¤

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

letze Version des Elbe Quellennavigators


letze Version des Demonstrationsprogramms Goedel
letze Version des Bille Abgleichprogramms
Version

Jenseits des Üblichen ....

Besucher

Besucher

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