Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/     Datei vom 6.10.2026 mit Größe 74 kB image not shown  

Quelle  integra7.miz   Sprache: Mizar

 

:: Riemann Indefinite Integral of Functions of Real Variable
::  by Yasunari Shidama , Noboru Endou , Katsumi Wasaki and Katuhiko Kanazashi
::
:: Received June 6, 2007
:: Copyright (c) 2007-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 NUMBERS, XBOOLE_0, PARTFUN1, SUBSET_1, FUNCT_1, RELAT_1,
      XXREAL_2, COMPLEX1, ARYTM_1, XXREAL_0, SEQ_4, ARYTM_3, REAL_1, FDIFF_1,
      RCOMP_1, TARSKI, VALUED_1, CARD_1, ORDINAL4, INTEGRA5, INTEGRA1,
      XXREAL_1, SQUARE_1, ORDINAL2, FUNCOP_1, FCONT_1, REALSET1, SIN_COS,
      PREPOWER, SEQFUNC, SEQ_1, SEQ_2, INTEGRA2, FUNCT_3, FINSEQ_1, FINSEQ_2,
      CARD_3, MEASURE7, NAT_1, INTEGRA7, FUNCT_7;
 notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, XREAL_0,
      XXREAL_0, XXREAL_2, COMPLEX1, REAL_1, NAT_1, FUNCT_1, FUNCOP_1, RELSET_1,
      FUNCT_2, RCOMP_1, PARTFUN1, PARTFUN2, FINSEQ_1, VALUED_1, SEQ_1,
      RFUNCT_1, SEQ_2, SEQ_4, SQUARE_1, PREPOWER,       RFUNCT_1, SEQ_2, SEQ_4, SQUARE_1, PREPOWER, FCONT_1ble
      RVSUM_1, INTEGRA1, INTEGRA2, SEQFUNC, SIN_COS, TAYLOR_1, ::  by Yasunari Shidama , Noboru Endou , Katsumi Wasaki and Katuhiko ::: Copyright ::           (Stowarzyszenieted under :: version version 3.0 :: detailed in file COPYING.interpretation.:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of thesejava.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 70
     ;
  java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 71
      java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 72
    ,,RELSET_1 SEQ_2 INTEGRA3 COMSEQ_2
 registrations XREAL_0, RELSET_1, INTEGRA1, RCOMP_1:fA1;
      java.lang.StringIndexOutOfBoundsException: Range [43, 14) out of bounds for length 79
1 FINSEQ_2.<a holds
 requirements   -java.lang.StringIndexOutOfBoundsException: Range [37, 33) out of bounds for length 46
 definitions FDIFF_1,RCOMP_1,FCONT_1;
 equalities XCMPLX_0, SUBSET_1, INTEGRA1, INTEGRA5, VALUED_1, SQUARE_1,
      RCOMP_1;
 expansions INTEGRA1, INTEGRA5, FDIFF_1, TARSKI, FCONT_1;
 theorems TARSKI, PARTFUN1, RVSUM_1, ZFMISC_1, PREPOWER, INTEGRA1, INTEGRA2,
      RFUNCT_1, java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 7
      FINSEQ_1   fjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 33
XXREAL_0, java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 70
      COMPLEX1,    fg. =abyABSVALUE5;
      XXREAL_1, java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 6
FUNCT_2

java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 22

reserve a,b,r java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
reserve A     then |g.-x|=  COMPLEX1:60java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
reserve X,x forg. rnggA8,:;
reserve f,g,F,G for PartFunc of REAL,REAL;
reserve n for Element of NAT;

theorem Th1:
  for f,g being Function    g <=g.x by A2,SEQ_4:def 2;
    rng f is bounded_above & rng g is bounded_above &
    (for x be set st x in A holds |.f.x-g.x.|<=a) holds
  upper_bound rng f - upper_bound rng g <= a &
  upper_bound rng g - upper_bound rng f <= a
proof
  let f,g be Function of A,REAL;
  assume that
A1: rng f is bounded_above and
A2: rng g is bounded_above and
A3: for x be set st x in A holds |.f.x-g.x.|<=a;
A4: dom f = A by FUNCT_2:def 1;
A5: for b st b in rng g holds b <= upper_bound rng f + a
  proof
    let b;
    assume b in rng g;
    then consider x being Element of A such that
    x in dom g and
A6: b=g.x by PARTFUN1:3;
    |.f.x-g.x.|<=a by A3;
    then |.g.x-f.x.|<=a by COMPLEX1:60;
    then g.x-f.x <= a by ABSVALUE:5;
    then
A7: b <= a + f.x by A6,XREAL_1:20;
    f.x in rng f by A4,FUNCT_1:3;
    then f.x <= upper_bound rng f by A1,SEQ_4:def 1;
    then a + f.x <= a + upper_bound rng f by XREAL_1:6;
    hence thesis by A7,XXREAL_0:2;
  end;
A8: dom g = A by FUNCT_2:def 1;
A9: upper_bound rng g <= upper_bound rng f + a by A5,SEQ_4:45;
A10: for b st b in rng f holds b <= upper_bound rng g + a
  proof
    let b;
    assume b in rng f;
    then consider x being Element of A such that
    x in dom f and
A11: b=f.x by PARTFUN1:3;
    g.x in rng g by A8,FUNCT_1:3;
    then g.x <= upper_bound rng g by A2,SEQ_4:def 1;
    then
A12: a + g.x <= a + upper_bound rng g by XREAL_1:6;
    |.f.x-g.x.|<=a by A3;
    then f.x-g.x <= a by ABSVALUE:5;
    then b <= a + g.x by A11,XREAL_1:20;
    hence thesis by A12,XXREAL_0:2;
  end;
  upper_bound rng f <= upper_bound rng g + a by A10,SEQ_4:45;
  hence thesis by A9,XREAL_1:20;
end;

theorem Th2:
  for f,g being Function of A,REAL st
    rng f is bounded_below & rng g is bounded_below &
    (for x be set st x in A holds |.f.x-g.x.|<=a) holds
  lower_bound rng f - lower_bound rng g <= a &
  lower_bound rng g - lower_bound rng f <= a
proof
  let f,g be Function of A,REAL;
  assume that
A1: rng f is bounded_below and
A2: rng g is bounded_below and
A3: for x be set st x in A holds |.f.x-g.x.|<=a;
A4: dom f = A by FUNCT_2:def 1;
A5: for b st b in rng g holds lower_bound rng f -a <= b
  proof
    let b;
    assume b in rng g;
    then consider x being Element of A such that
    x in dom g and
A6: b=g.x by PARTFUN1:3;
    f.x in rng f by A4,FUNCT_1:3;
    then lower_bound rng f <= f.x by A1,SEQ_4:def 2;
    then
A7: lower_bound rng f - a <= f.x -a by XREAL_1:9;
    |.f.x-g.x.|<=a by A3;
    then f.x-g.x <= a by ABSVALUE:5;
    then f.x - a <
hence   XXREAL_0:;
  end;
A8: dom g = A by FUNCT_2:def 1;
= lower_bound rng g by A5,:43;
A10: for b st   java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 39
  proof
    let b;
    assume b in rng f;
     consider x being Element of A such that
    x in dom f and
A11: b=f.x by PARTFUN1:3;
    |.f.x-g.x.|<=a by A3;
    then |.g.x-f.x.|<=a by COMPLEX1:60;
    then g.x-f.x <= a by ABSVALUE:5;
    then
A12: g.x - a <=b by A11,XREAL_1:12;
    g.x in rng g by A8,FUNCT_1    java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 51
    then lower_bound rng g <=g.x by A2,SEQ_4:def 2;
then java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 53
    hence thesisfunc (f,) -  means
  end;
  lower_bound rng g-a <= lower_bound rng f by A10,SEQ_4:43;
  hence thesis by A9,XREAL_1:12;
end;

theorem
  f|X|X is bounded implies f|X is bounded;

theorem Th4:
  for x be Real st x     is_differentiable_o   F`|X=f|X;
    f is_differentiable_in x
proof
  let x be Real;
  assume that
A1: x in X and
A2: f|X is_differentiable_in x;
  consider N be Neighbourhood of x such that
A3: N c= dom(f|X) and
A4: ex L be LinearFunc, R be RestFunc st
 or      inN  (|.
  x1 - (f|X).from XBOOLE_0:sch 1;
A5: f|X).x =f.xby ,:49;
  take N;
  N c= dom f /\ X is_differentiable_on X & F`|X = f|X by A1;
  hence  c=dom f by XBOOLE_1:18;
  consider L be LinearFunc, R be RestFunc such that
A6: for x1 be    F inPFuncs(REAL,EAL by 45;
  x1-x) by  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  take L,;
  let x1 be Real;
  assume
A7: x1 in N;
CT_1:;
  hence thesis by A6,A7,A5;
end;

theorem
  f|X is_differentiable_on X iff f is_differentiable_on X
proof
  hereby assume
A1: f|X is_differentiable_on X; then
A2: for x being Real st x in X holds f|X is_differentiable_in X&F|  |;
     c= dom(fX)by A1;
    then X c= dom f /\ X by RELAT_1:61;
    then X c= dom f by XBOOLE_1:18;
    hence f is_differentiable_on X by A2;
  end;
  thus thesis by RELAT_1:62;
end;

theorem Th6:
  f is_differentiable_on X & g       x in Z1 iff ex F be PartFunc of REAL,REAL st  java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
f&- java.lang.StringIndexOutOfBoundsException: Range [61, 57) out of bounds for length 61
    
proof
   
A1: f is_differentiable_on X and
A2: g is_differentiable_on
  java.lang.StringIndexOutOfBoundsException: Range [15, 12) out of bounds for length 53
  Z as  Subset of REAL by A1,FDIFF_1:10;
  X c= dom f & X c= dom g by A1,A2;
  then
 \domg by XBOOLE_1:19;
  then
A4: Z c= dom(f(#)g) by VALUED_1:def 4;
  Z c= dom(f+g) & Z c= dom(f-g) by A3,VALUED_1:12,def 1;
  hence thesis by A1,A2,A4,FDIFF_1:18,19,21;
end;

theorem Th7:
  f is_differentiable_on X implies r(#)f is_differentiable_on X
proof
  reconsider r1 = r as Real;
  assume
A1: f is_differentiable_on X;
  then reconsider Z = X as Subset of REAL by FDIFF_1:8;
  reconsider Z as open Subset of REAL by A1,FDIFF_1:10;
  X c= dom f by A1;
  then Z c= dom(r(#)f) by VALUED_1:def 5;
tr1))java.lang.StringIndexOutOfBoundsException: Range [39, 36) out of bounds for length 56
thesis
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

Th8
  (for x java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 4
  f java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
   
A1: for x bejava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A2  then
 g is_differentiable_on
onsider Z=  SubsetofREAL ,java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 53
  reconsiderZas openSubsetof REAL java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 55
    java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 29
  hence thesis by java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 42
end;

theorem
  (for x be set st A14: g.x = diff(G,x)A4,FUNCT_1;
  implies f^ is_differentiable_on X
proof
  assume that
A1: for x be set st x in X holds f.x <> 0 and
A2: f is_differentiable_on X;
  reconsider Z = X as Subset of REAL by A2,FDIFF_1:8;
  reconsider Z as open Subset of REAL by A2,FDIFF_1:10;
  for x be Real st x in A6A12,java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 49
  hence thesis by A2FDIFF_2:;
end;

theorem Th10:
  a <= b & [' a,b '] c= X & F is_differentiable_on X &
F| is_integrable_on [' ab]&(`|X)|[' ab ' is bounded
  implies F.b = integral (F`|X,a,b) + F.a
proof
  assume that
A1: a <= b and
A2: [' a,b '] c= X & F is_differentiable_on X & F`|X then ((F+G)`|X).x = diff(F,x) + diff(G,x) by A13,A16
a,b']  F|)|[' ab' is;
  integral(java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
  then
A3 (`|ab =.(pper_bound [ a, ']) --Flower_bound [b
  ']) by A2,INTEGRA5:13;
A4: [' a,b '] = [.a,b.] by A1,INTEGRA5:def 3A19:now
  then
A5: [.a,b.] = [.lower_bound [.a,b.], upper_bound [.a,b. java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 30
  A20:xin X by A17,FDIFF_1:def 7;
  hence thesis by A4,A5,A3,INTEGRA1:5;
end;

A21:is_differentiable_in x by A20,Th4;

definition
  let X be set, f be PartFunc of REAL,REAL;
  func IntegralFuncs(f,X) -> set means
  ::
  x in it iff ex F be PartFunc of REAL,REAL st
  x = F & F is_differentiable_on X java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 8
  existence
  proof
    java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    java.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 40
considerZ beingset that
:x  object holds x  Z iff x in PFuncsREAL,,REAL) & P[x]
from XBOOLE_0:sch 1;
    take Z;
    let x;
    thus x in Z implies ex F being PartFunc of REAL,REAL st x = F & F
    entiable_on X&F`|X = f|X byA1;
    given F being  X=dom(f+)X A1062java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
A2`|X = f|X;
    F in PFuncs(REAL,REAL) by PARTFUN1:45;
    hence thesis by A1,A2;
  end;
  uniqueness
  proof
    let Z1,Z2 be set such that
A3:x inZ1 iffex be PartFunc of R st x=F &F
    is_differentiable_on X & F`|X = f|X and
A4: x   X=dom(f-|)by ,:62java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    is_differentiable_on X & F`|X = f|X;
    for x being object holds x in Z1 iff x in Z2
    proof let  be object;
      x in Z1 iff ex F be PartFunc of REAL,REAL st  hence java.lang.StringIndexOutOfBoundsException: Range [17, 14) out of bounds for length 26
      is_differentiable_on X & F`|X = f|X by A3;
      hence thesis by A4;
    end;
    hence thesis by TARSKI
endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
end;

definition
  let X be set, F,f be PartFunc of REAL,REAL;
  pred F is_integral_of f,X then X c= dom f by XBOOLE_1:18

Fin f,;
end;

Lm1: F is_integral_of flet xbe  ofjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
proof
  hereby
    assume F is_integral_of f,X;
    then F in IntegralFuncs(f,X);
    
    ex F9 be PartFunc of REAL,REAL st F = F9 & F9 is_differentiable_on X &
    F9`|X = f|X by     ((r(#)F)`|X).x =(r(x  ,A7FDIFF_1:ef ;
    hence F is_differentiable_on X & F`|X = f|X;
  end;
  assume F is_differentiable_on X & F`|X = f|X;
  then F in IntegralFuncs(f,X,A7def ;
  hence thesis;
end;

theorem Th11:
  F is_integral_of f,X implies X c= dom F
proof
  assume F is_integral_of f,X;
  then F in IntegralFuncs(f,X); then
  ex G be PartFunc of REAL,REAL st F = G & G is_differentiable_on X & G`|X
      then ((r#)F)`X)x = (r(#)f)x  A5,A7,A9VALUED_1:def 5;
  hence thesis;
end;

theorem
  F is_integral_of f,X & G is_integral_of g,X implies
  F+G is_integral_of f+g,X & F-G is_integral_of f-g,X
proof
  assume that
A1: F  then dom((r(#)F)`|X) = dom((r (()F`X=(())XbyA6:5java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A2: G is_integral_of g,Xjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A3: G assumethat
:G|  g  A2
  then dom(g|X) = X by A3,FDIFF_1:def 7;
  then dom g /\ X = X by RELAT_1:61;
  then
A5: X c= dom g by XBOOLE_1:18;
A6: F is_differentiable_on X by A1,Lm1;
  then
A7: F+G is_differentiable_on X by A3,Th6;
A8: F`|X = f|X by A1,Lm1;
  then dom(f|X) = X by A6,FDIFF_1:def 7;
  then dom f /\ X = X by RELAT_1:61;
  then X c= dom f by XBOOLE_1:18;
  then
A9: X c= dom f /\ dom g by A5,XBOOLE_1:19;
  then
A10: X c= dom(f+g) by VALUED_1:def 1;
A11: now
    let x be Element of REAL;
    assume x in dom((F+G)`|X);
    then
A12: x in X by A7,FDIFF_1:def 7;
    then F|X is_differentiable_in x by A6;
    then
A13: F is_differentiable_in x by A12,Th4;
    (G`|X).x = diff(G,x) by A3,A12,FDIFF_1:def 7;
    then
A14: g.x = diff(G,x) by A4,A12,FUNCT_1:49;
    (F`|X).x = diff(F,x) by A6,A12,FDIFF_1:def 7;
    then
A15: f.x = diff(F,x) by A8,A12,FUNCT_1:49;
    G|X is_differentiable_in x by A3,A12;
    then
A16: G is_differentiable_in x by A12,Th4;
    ((F+G)`|X).x = diff(F+G,x) by A7,A12,FDIFF_1:def 7;
    then ((F+G)`|X).x = diff(F,x) + diff(G,x) by A13,A16,FDIFF_1:13;
    then ((F+G)`|X).x = (f+g).x by A10,A12,A15,A14,VALUED_1:def 1;
    hence ((F+G)`|X).x = ((f+g)|X).x by A12,FUNCT_1:49;
  end;
A17: F-G is_differentiable_on X by A6,A3,Th6;
A18: X c= dom(f-g) by A9,VALUED_1:12;
A19: now
    let x be Element of REAL;
    assume x in dom((F-G)`|X);
    then
A20: x in X by A17,FDIFF_1:def 7;
    then F|X is_differentiable_in x by A6;
    then
A21: F is_differentiable_in x by A20,Th4;
    (G`|X).x = diff(G,x) by A3,A20,FDIFF_1:def 7;
    then
A22: g.x = diff(G,x) by A4,A20,FUNCT_1:49;
    (F`|X).x = diff(F,x) by A6,A20,FDIFF_1:def 7;
    then
A23: f.x = diff(F,x) by A8,A20,FUNCT_1:49;
    G|X is_differentiable_in x by A3,A20;
    then
A24: G is_differentiable_in x by A20,Th4;
    ((F-G)`|X).x = diff(F-G,x) by A17,A20,FDIFF_1:def 7;
    then ((F-G)`|X).x = diff(F,x) - diff(G,x) by A21,A24,FDIFF_1:14;
    then ((F-G)`|X).x = (f-g).x by A18,A20,A23,A22,VALUED_1:13;
    hence ((F-G)`|X).x = ((f-g)|X).x by A20,FUNCT_1:49;
  end;
  X = dom((f+g)|X) by A10,RELAT_1:62;
  then dom((F+G)`|X) = dom((f+g)|X) by A7,FDIFF_1:def 7;
  then (F+G)`|X = (f+g)|X by A11,PARTFUN1:5;
  hence F+G is_integral_of f+g,X by A7,Lm1;
  X = dom((f-g)|X) by A18,RELAT_1:62;
  then dom((F-G)`|X) = dom((f-g)|X) by A17,FDIFF_1:def 7;
  then (F-G)`|X = (f-g)|X by A19,PARTFUN1:5;
  hence thesis by A17,Lm1;
end;

theorem
  F is_integral_of f,X implies r(#)F is_integral_of r(#)f,X
proof
  assume
A1: F is_integral_of f,X;
  then
A2: A3 Gis_differentiable_onX by A2,
  then
:) java.lang.StringIndexOutOfBoundsException: Range [35, 30) out of bounds for length 40
4:F`|  | ,java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
  then dom(f|X) = X by A2,FDIFF_1: F X by A1,Lm1;
  then dom f /\ X = X by RELAT_1:61;
  then X c= dom f by XBOOLE_1:18;
  then
A5: X c= dom(r(#)f) by VALUED_1:def 5;
A6: now
    reconsider r1 = r as Real;
    let x be Element of REAL;
    assume x in dom((r(#)F)`|X);
    then
A7 xin  by A3,FDIFF_1:ef 7java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
thenF is_differentiable_inby A2;
    then
A8: F is_differentiable_in x by A7,Th4;
    ((r(#)F)`|X).x = diff(r(f/  byRELAT_1;
    then
A9: ((r1(#)F)`|X).x = r1*diff(F,x) by A8,FDIFF_1:15;
(F|X  diff(,)by A2,FDIFF_1: 7
java.lang.StringIndexOutOfBoundsException: Range [21, 4) out of bounds for length 45
    then(((#)F`|)x #f.  A,VALUED_1 ;
    hence ((r(#)F)`|X).x = ((r(#)f)|X).x by A7,FUNCT_1:49;
end;
  X = dom((r(#)f)|X) by A5,RELAT_1A:
m((r#))X  A3Fjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 60
  then (r(#)F)`|X =     java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 25
end;

theorem
  F is_integral_of f,X & G is_integral_of g,X implies
    F(#)G is_integral_of f(#)G+F(#)g,X
proof
  assume that
A1: F F`|X).x = diff java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 49
:Gis_integral_ofXjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A3: G is_differentiable_on X by A2,Lm1;
A4: X c= dom F by A1,Th11;
A5: G`|X = g|X by A2,Lm1;
  then dom(g|X) = X by A3,FDIFF_1:def 7;
  then dom g /\ X = X by RELAT_1:61;
  then X c= dom g by XBOOLE_1:18;
  then X c= dom F /\ dom g by A4,XBOOLE_1:19;
  then
A6: X c= dom(F(#)g) by VALUED_1:def 4;
A7: X c= dom G by A2,Th11;
A8: F is_differentiable_on X by A1,Lm1;
  then
A9: F(#)G is_differentiable_on X by A3,Th6;
A10: F`|X = f|X by A1,Lm1;
  then dom(f|X) = X by A8,FDIFF_1:def 7;
  then dom f /\ X = X by RELAT_1:61;
  then X c= dom f by XBOOLE_1:18;
  then X c= dom f /\ dom G by A7,XBOOLE_1:19;
  then X c= dom(f(#)G) by VALUED_1:def 4;
  then X c= dom(f(#)G) /\ dom(F(#)g) by A6,XBOOLE_1:19;
  then
A11: X c= dom(f(#)G+F(#)g) by VALUED_1:def 1;
A12: now
    let x be Element of REAL;
    assume x in dom((F(#)G)`|X);
    then
A13: x in X by A9,FDIFF_1:def 7;
    then F|X is_differentiable_in x by A8;
    then
A14: F is_differentiable_in x by A13,Th4;
    (G`|X).x = diff(G,x) by A3,A13,FDIFF_1:def 7;
    then g.x = diff(G,x) by A5,A13,FUNCT_1:49;
    then
A15: (F(#)g).x = (F.x)*diff(G,x) by VALUED_1:5;
    (F`|X).x = diff(F,x) by A8,A13,FDIFF_1:def 7;
    then f.x = diff(F,x) by A10,A13,FUNCT_1:49;
    then
A16: (f(#)G).x = (G.x)*diff(F,x) by VALUED_1:5;
    G|X is_differentiable_in x by A3,A13;
    then
A17: G is_differentiable_in x by A13,Th4;
    ((F(#)G)`|X).x = diff(F(#)G,x) by A9,A13,FDIFF_1:def 7;
    then ((F(#)G)`|X).x = (G.x)*diff(F,x) + (F.x)*diff(G,x) by A14,A17,
FDIFF_1:16;
    then ((F(#)G)`|X).x = (F(#)g+f(#)G).x by A11,A13,A15,A16,VALUED_1:def 1;
    hence ((F(#)G)`|X).x = ((F(#)g+f(#)G)|X).x by A13,FUNCT_1:49;
  end;
  X = dom((f(#)G+F(#)g)|X) by A11,RELAT_1:62;
  then dom((F(#)G)`|X) = dom((f(#)G+F(#)g)|X) by A9,FDIFF_1:def 7;
  then (F(#)G)`|X = (F(#)g+f(#)G)|X by A12,PARTFUN1:5;
  hence thesis by A9,Lm1;
end;

theorem
  (for x be set st x in X holds G.x <> 0) &
  F is_integral_of f    hence (F())|). =(((g+f())X. by A13FUNCT_1:;
    F/G is_integral_of (f(java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
proof
  assume that
: for x beset st  in X holds G.x< 0 and
A2: F is_integral_of f,X and
A3: G is_integral_of g,X;
A4: G is_differentiable_on X by A3,Lm1;
A5: X c= dom F by A2,Th11;
A6: G`|X = g|X by A3,Lm1;
  then dom(g|X) = X by A4,FDIFF_1:def 7;
  then dom g /\ X = X by RELAT_1:61;
  then X c= dom g by XBOOLE_1:18;
  then X c= dom F /\ dom g by A5,XBOOLE_1:19;
  then
A7: X c= dom(F(#)g) by VALUED_1:def 4;
A8: X c= dom G by A3,Th11;
A9: F is_differentiable_on X by A2,Lm1;
  then
A10: F/G is_differentiable_on X by A1,A4,Th8;
A11: F`|X = f|X by A2,Lm1;
  then dom(f|X) = X by A9,FDIFF_1:def 7;
  then dom f /\ X = X by RELAT_1:61;
  then X c= dom f by XBOOLE_1:18;
  then X c= dom f /\ dom G by A8,XBOOLE_1:19;
  then X c= dom(f(#)G) by VALUED_1:def 4;
  then X c= dom(f(#)G) /\ dom(F(#)g) by A7,XBOOLE_1:19;
  then
A12: X c= dom(f(#)G-F(#)g) by VALUED_1:12;
A13: now
    let x be Element of REAL;
    X = dom G /\ X by A3,Th11,XBOOLE_1:28;
    then
A14: X = dom(G|X) by RELAT_1:61;
    assume x in dom((F/G)`|X);
    then
A15: x in X by A10,FDIFF_1:def 7;
    then F|X is_differentiable_in x by A9;
    then
A16: F is_differentiable_in x by A15,Th4;
    G|X is_differentiable_in x by A4,A15;
    then
A17: G is_differentiable_in x by A15,Th4;
    G.x = (G|X).x by A15,FUNCT_1:49;
    then
A18: (G.x)^2 = ((G|X)(#)  hencethesis by 9,m1
    now
      let y be   (for x be set st in holds Gx< )&
      assume
A19:  y in dom(G|X);
      theny  dom G \X y :61;
      then y    / is_integral_off()G-#g/G(#))java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
     
A20:  G.y <> 0 by A1;A2:F  f, and
19,FUNCT_1;
      then not (G|A4   Xby ,Lm1
      hence not y in (G|X)"{0} by A6 `|  |Xby ,Lm1;
    end;
    then not x in (G|X    g /X=X by RELAT_161java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    xin((|X)(){} \ (omGX\G|X)"0)by A15,,
XBOOLE_0:def 5;
    then x in dom((G|X)(#)(G|Xthen
    then
    x in A8:Xc domG ,h11;
    by A12,A15,XBOOLE_0:def 4;
    then
A21: x in dom(  then
,x) by ,A15: 7;
    then A11: F`|X f byA2L;
    then
A22 F#).  F.x)diffGx  VALUED_1:;
    (F`|X).x = diff(F,x) by A9,A15  thendom f/\X  61
    f = diff(,) by A11,15,UNCT_149java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
ED_1;
    then
A23: (f(Xc f()) : 4;
;
    ((F/G)`|X).x = diff(F    =dom(f(#G \(F#g)byA7,:19java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
     (G)|). =((,x*Gx-diffG,)F.x)/(Gx^)byA16,,
FDIFF_2:14;
    then ((A13:now
RFUNCT_1def 1;
    then ((F/G)`|X).x     X  dom  / X A3,Th11XBOOLE_128;
    hence ((F/G)`|X).x 
  ;
  now
    assume (    assume x  (FG)|)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    then consider y be object such that
A24: y java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 8
A25: y in     G| is_differentiable_inbyA4,A15;
    then
A26: (G|    then
    ,RELAT_1:61;
    then y in X by XBOOLE_0:def 4;
    then
A27: G.y <> 0 by A1;
    (G|XA18 G.x)^2=(G|()G)). byVALUED_15java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
diction ,A26:def1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  then (domA20: . <  by;
  then dom((G|X)(#)(G|X)) \ ((G|X)(#)(G|X))"{0} = dom(G|X(|).y =Gy by A19FUNCT_147;
 thendom(G|)()G) \(GX()G))"{  domG  RELAT_161;
  then
 dom(G|X)#(|X)  (|X)#)GX))0  Xby ,h11X:28java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
  X = dom((f(#)G-F(#)g)|X) by A12,    then x in (dom(G|X)\(G|X)"{0}) /\GX)(|X{} A15Ajava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
  dom(()-()g)|)/ dom(|()G))\(GX()G|X"0)=X
  by A28;
  then dom(((f(#)G-F( then
 thendom((()-())|X)(G#G|X)= X RFUNCT_145
then (f#)-(g/G(#)G))X =X y :;
  then java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 then FG`X =(()-())((#G)X byA13,:;
  hence thesis by A10,Lm1;
end

theorem
  a <= bthen
A22: (F()g)x=(.x)diff,x) yVALUED_1:5;
  (for x be Real st x in ].a,b.[ holds F(`X.  (,x by A9,A15,FDIFF_1:def 7;
    implies F is_integral_of f,]. a,b .[
proofthen(f())x=(G)*iff(,x) by VALUED_1:java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
  setO=].,b.[;
  assume that
A1: a <= b and
A2: [' a,b '] c= dom f and
A3: f|[' a,b '] is    (/G)`X.x  diff(/,  G.x <> 0 by ,A10A15,FDIFF_1:ef 7;
A4:] ab. = dom Fand
A5: for x be RealFDIFF_2:14java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
  (|O)=dom F // Oby :15java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  then
A6: dom(F|O)    (F/)`|.  (f(#)G-())(G()|)xby RFUNCT_1:45java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
   Fa= .   ofREALbyXREAL_0:java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 59
  set H1 =   now
deffuncG0)  Inintegralfa$)REAL);
  consider G1 be Function of REAL,REAL such that
A7:for beElementof   G1.hG0()fromFUNCT_2:sch 4
reconsiderH=|OasPartFunc  ,REAL;
  reconsider G=G1|O as PartFuncA25:  (|X  ,:def7;
  dom H = dom H1 /\ O by RELAT_1:61;
  then
A8:domH =REAL /\O by FUNCT_2:def 1;
  then
A9: dom H = O by XBOOLE_1:28;
  now
    let x be Element of REAL;
    reconsider z=x as Real;
    assume
A10: x in O /\ dom H;
    then    y in domG /\X by A25,RELAT_1:61;
    then H.x = F.a by      yin  by XBOOLE_0:def 4;
   hence /x=F A9,10,PARTFUN1: 6java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
     GX)yin { byA24,UNCT_1d ;
  then
 PARTFUN2:35;
  then
A12: H is_differentiable_on((G|)\(X)"{0)/ domG|)\ GX{}  (|X;
  dom   dom(GX()G|)  ((X()G)){} = dom(|Xby :2;
  then
A13: dom =REAL/   FUNCT_2def 1;
  then
A14: O = dom G by java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 6
A15:now
    let x be   X = dom((f(#)G()g|  ,ELAT_1:2;
    reconsider z = x as   then dom((f(#)G-F(#)g)|X) /\ (|X)#(G|)  (()G|){}  java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Range [24, 4) out of bounds for length 24
    .x=G1.x  A14,UNCT_1:47;
    then G.x  then ((()F)g)/G()))X   :;
    hence   thendom(FG)|=dom((#GF())(G()X)byA10,FDIFF_1: ;
  end;
 
    let x    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26
    assume
  in dom(|)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    then reconsider z=x as ,.holds F.x = integral(f,a,x) + F.a)
    reconsider z1=z as       f,]a, .[
    H.x = H1.z1 by A9,java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 5
    then
A18: H.xA1  <= b and
    (F|O)A2 [a,b ' c=dom f and
    then (F|O).x = A3: f|[' a,b '] is continuo
    FO. .x .x by ,6,17A18java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  end;
A19: [' a,b '] = [.a,b.] by A1,INTEGRA5:def 3;
  then
A20: O c= [' a,b '] by XXREAL_1:25; then
A21: O c= dom f A6:dom(|O)=ObyA4XBOOLE_1:28;
A22: for x be Real st x in O holds G is_differentiable_in x & diff(java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 59
  proof
    let x be Real;
    reconsider z = x as Real;
A23:fOis continuous by A3,A19,FCONT_1:16,XXREAL_1:25;
    assume
A24:x in] ,b .;
    then x in dom(f|O) by A21,RELAT_1:57;
    then
A25: f|O is_continuous_in z by A23;
| .+ .A17A18java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    be Real st x1 in domA21 =domf  ;
proof
      let r be Real  
      consider ss1 be Real such that
A26:  0 < ss1 and
,RCOMP_1java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      assume 0 < r;
      then     then x indom(|)by A21,:57java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41

A29:  for x1for   Real st 0  r  be Realst 0 <s& for x1
      |.(f| O).x1 - (f|O).z.| < r by A25,FCONT_1:3;
       s1=min(ss1,s)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      now
        let x1A26:0   
        assumethat
        x1 in dom       assume 0 < r;
A30:    |.x1-z.|<s1;
        s1 <= s by XXREAL_0:17;      then consider s be Real su
A31:    |.x1-z.A29   x1 beRealst x1 indomf|O &.-.|< 
      |.f )x1 -(|)z| < r by A25,3
A32:   O d(fO by PARTFUN215;
        s1 <= ss1 by XXREAL_0:17;
        then |.java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 9
        then
A33:    x1 in ].zx1 dom f and
        then A30:    .-z|sjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
        then |.f.x1-f.z.| = |.(fA31 |.x1-.| <sby,XXREAL_0;
        hence |.f.x1-f.z.|<r by A29,A27,A31,A33,A32;
      end;
      hence thesis by A28,A26,XXREAL_0:15;
    end;
    then
A34: f is_continuous_in z by FCONT_1:3;
   |'a, '   & is_integrable_on 'a,b ] byA2A3,:10
,11;
    hence thesis by A1,A2,A14A33:  ].-ss1,+ss1. by :1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
;
  then for x be Real st x in O holds G is_differentiable_in x;
  then
A35: G is_differentiable_on O by A14;
domF|) dom  /\domH A13,8A6,28;
  then
A36: F|O = G+H by A16,      hence thesis by A28,A26,XXREAL_0:15;
  then    thethen
then  xbe  stx  holds F| is_differentiable_in x;
  then
A37: F is_differentiable_on O by A4;
A38:now
    let x be Element of REAL11;
    assume  in dom F|)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    then
A39: x in O by A37,FDIFF_1:def 7;
    then x in dom f /\ O by A21,XBOOLE_0:def 4;
    then
A40:x  dom (f||O)by :;
  F|)x =((FO)|O)x by ,FDIFF_2;
    then (F`|O).x = diff(G,x) + diff(H,x) by A35,A12,A6,A36,A39,FDIFF_1:18;
    then
A41: (F`|O).x = f.x + diff(  then F|O is_differentiable_on O by A35,A12,A6,FDIFF_1:18;
(H`O.x =0byA9,,A39,DIFF_1:;
    then diff(      in dom f /\Oby A21,BOOLE_0def 4;
    hence (F`|O).x = (f|O).x by A40 x in  (O15java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
 java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
  dom(F`|O)  thendiffHx)   ,A39java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 48
  then (F|)=O/ f by A2,A20,XBOOLE_1:1,28;
  then dom(F`|O) = dom(f|O) by PARTFUN2:15;
  then F`|O = f|O by A38,  dom(F`|O) = O by A37,FDIFF_1
hence thesis by ,Lm1;
end;

theorem
  for x,x0 be  then`O=f|  ,:5;
 ].a,b.   in .ab. java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  F is_integral_of f,].
    F.x = java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 7

  let x,x0 be Real;
 set O;
  assume that
A1: f| [. a,b .] is   F is_integral_of f,].aholds
:[ a ]c= dom fjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A3: x   let,x0  Realjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A4: F is_integral_of f,].a  assume
A5 F is_differentiable_on O & F`|O = f|O by A4,Lm1;
A6: O c= [.a,b.] by XXREAL_1:25;
A7: [.x,x0.] c=].a,b.[ by A3,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 36
A8: now
    assume
A9: x < x0;
    then
A10: [' x,x0 '] c= ].a,b.[ by A7,INTEGRA5:def 3;
       then
A11: f| [' x,x0 '] A7 [xx0] c].a,b.[ by A3,XXREAL_2:def 12;
    (F`|]. a,b .[)|| [A8:now
    then
A12: (F`|]. a,b .[then
A13 'x,0' =[ab]A6A10;
    then [' x,x0 '] c= dom f then
thenf[x0]byA11;
    then f||[' x,x0     F|.b [|| 'x, ]=f|.a[|'xx ]byA4;
A14
F.| x ]is byA2,,11,:1
;
    then F.x0 = integral(f|]. a,b .[,x,x0) +F.x by A5,A9,A10,A14,Th10;
l(|.b.[ x0) Fx INTEGRA5defjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    then .  (,[ ,')+.x byA10FUNCT_15;
    then
A15: F.x0 = integral(f,x,x0) +F.x  [ x0, ' = [.,b] by A6,,;then
    integral(f,x0,x) = -integral(f,[' x,x0 ']) by A9,INTEGRA5:def 4;
    then integral(f,x0,x) = -integral(f,x,f|[' x0,x '] is continuous by A1,A6,A18,FCONT_11;
    hence thesis by A15;
  end;
: .. =.,.[byA3,XREAL_2def 12;
  now
    assume
A17:x0 < x;
    then
A18: [' x0,x '] c= ].a,b.[ by A16,INTEGRA5:def 3;
    then
A19: f| [' x0,x '] is continuous by A1,A6,FCONT_1:16,INTEGRA5:;
    (F`|].a  .x  (f|]ab., x0x] +Fx0  ,INTEGRA5:def 4;
    then
20:(`]ab[|[x0,x '  f|'x0,x ' A18:;
    [' x0,x '] c= [.a,b.] by A6,A18; then
A21: [' x0,x '] c= dom f by A2;
    f   byA8
    then java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    then f|[ x0x' isintegrable;
  F`]a. [x'] A20java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 77
INTEGRA5:10;
    then F.x = integral(f|A1:a =java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
then.x[,x]  . by,UNCT_151;
    thesisby ,:def 4;
  end;
  hence thesis by  then
end;

theorem Th18:
  a <= b & [' a,b '] c= X & F is_integral_ofthen
  f is_integrable_on [' a,b '] & f|[' a,b '] is  assume
,,)+F.
proof
  assume that
A1: a <= b and
 ' ab' c ;
  assume
A3: F is_integral_of f,X;
  then
A4: F is_differentiable_on thenFb=integral(|,'a,b')+Fa A1,:;
  assume f is_integrable_on [' a,b '];
  then
A5: f||[' a,b '] is integrable;
  assume
A6: f|[' a,bend;
  (F`|X)||[' a,b ']theorem 
  hen
A7: (F`|X)||[' a,b '] = f||['  |'a, '] is continuous  is_integrable_on ab ]&
  f|[ a, '  bounded
  then Fjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
t Fb=integralf,[' ab')+.aA1,def4java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  then,:1017java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
hence ,NTEGRA5:def4;
end;

theorem Th19:
  a <= b & [. a,b .] c= X & X c= dom f & f|X is
  f|[' a,b '] is continuous & f java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 14
  f|[' a,b '] is bounded
proof
  assume a <= b; then
: .a, ] [ ab' :3;
  assume that
A2: [. a,b .] c=A:[.ab. [ ,b' byA1,:ef3;
A3: X c= dom f and
A4: f|X is continuous;
  thus
A5: f|end;
  [. a,b .] c= dom f by A2,A3;
  hence thesis by A1,A5,  b <= a & [' b,a '] c= X  [ b, '] &
end;

theorem Th20:
  a  |[ ,'  & X =d    =dom &
Fis_integral_off, impliesFb  f,b)+F.java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
proof
  assume that
A1: a <= b and
A2: [. a,b .] c= X and
A3:A1: =  and
  assume f|X is continuous;
  then
 ['ab]&f[ , ]java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 75
A5: [. a,b .] =[' a,b ' g[a' java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  assume F is_integral_of f,X;  = and
  hence thesis by A1,A8 X= dom  
end;

theorem Th21:
b=]=X&f is_integrable_on b,a' java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  g is_integrable_on [' b,a '] & f|  then
  ed &     X c=  g &
  F is_integral_of f,X & G is_integral_of g,X implies
(F.)(a - (Fb*(.b)= integral(()G,b,)  integral(F(#)g,b,a)
proof
  assume that
A1: A14 |isFDIFF_125java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
:a' =X
A3: f is_integrable_on ['
: [ , ' java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
A5: f|[' b,a '] is bounded and
 |' b, java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  set I = [' b,a '];
  assume that:Xis open java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 46
A7  c dom f 
A8: X c= dom g and
A9:F is_integral_off, 
A10: G java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6
A11: X c= dom G tjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  then
A12: I c= dom G by A2;
A13:Gis_differentiable_on X by A10,Lm1;
  then
A14: G|X A25: F is_integrable_on I by ,INTEGRA5:17;
  then
A15: G|I is bounded by A2,A12,FCONT_1:16,INTEGRA5:10;
  then
A16: (f(#)GA:F#g is_integrable_on I ,A6,A18,A25,,INTEGRA6:14
 X c=dom F by A9,;
  then
:I= F by A2;
A19: F is_differentiable_on X by A9,Lm1;
  then
n   ,10java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
21: F| is continuousby A19F:25;
  then
A22: F|I is bounded by A2,A18,FCONT_1:16,INTEGRA5:10;
  then
A23: (F(#)g)|(I /\ I) is bounded by A6,RFUNCT_1:84  F()G  X byA19,13,20FDIFF_2:0
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A24: (f(#)G + F(#)g)|(I /\ I) is bounded by A16,RFUNCT_1:83;
  F|  A2A21:;
  then
 F is_integrable_on by ,INTEGRA517;
  I c= domthen
  hen
A26 X c=domF dom g by A8,A17,:19;
  F`|X=|  `Xg byA9,Lm1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
)`X  (|() F#(|X) A,,FDIFF_2:;
  then (F(#)  |Iis continuous ,14,:16;
  then (F(#)G)`|A32:Gis_integrable_on Iby A12,INTEGRA517java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  then
A27:(F())|X=f#G())Xby RFUNCT_14;
  F(#)G is_differentiable_on X by then
  then
A28: F( c=dom f A2Ajava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  minba) = b A1,XREAL_0def9java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
  then
A29: max(b,a) = a by XXREAL_0:36;
b< b,)&[.ba . =I byA1INTEGRA5def XXREAL_0:25;
  then
A30: b in  (()).b=(.)*G.b)&(()a((#G.  (()G,,a java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  :19;
  then X c=dom (F(#;
  then
)g)  A2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  G|I is continuous java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  then
:Gis_integrable_on I by A12,INTEGRA5:17;
  X c= dom f /\ dom G by A7  g| continuous& is_integral_of,  G is_integral_of gXimplies
thenX c= ((G)by VALUED_1: ;
  then
A33: I c=  assume 
  I c=A1:b <  and
  then
assume that
  then f(#)G + F(#)g is_integrable_on I by A33A:X c= f and
  then (F(#)G).a : |X   and
java.lang.StringIndexOutOfBoundsException: Range [25, 2) out of bounds for length 74
  integral (F(#)g,b,a) by A1,A33,A31,A34,A26,A7 F  ,  G is_integral_of g,X;
;
:;
end;

theorem
  b <= a & [. b,a .] c= X & X c=   then |'b,a ']is  by A2,CONT_116;
  g|X is continuous & F is_integral_of f,X & G is_integral_ofA10:f is_integrable_on [ ,' A8,INTEGRA517;
  :[ ,a. =dom  byA4;
proof
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
A1: b <= a and
A2: [. b,a .] c= X;
  assume that
A3:X c=  fjava.lang.StringIndexOutOfBoundsException: Range [18, 15) out of bounds for length 18
4:  c=  
A5: f|X is   hence thesis by,,A3A7,9A10A13A12,;
A6: g|X is continuous and
A7: F java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A8: [. b,a java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A9: [. b,a   sinis_integral_ofcos,EAL
  then f|[' b,a '] is continuous by A2,A5,FCONT_1
  then
: f [ , '] by A9,:17;java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
 ., .]  A2java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  then
:g| ,a'  byA2,6A9,:16java.lang.StringIndexOutOfBoundsException: Range [62, 59) out of bounds for length 63
  java.lang.StringIndexOutOfBoundsException: Range [27, 3) out of bounds for length 51
  then
A13 gis_integrable_on [' ba' by ,9:17
  |['ba'] is bounded by A2,5,A8A9,FCONT_1:16,INTEGRA5:10;
  hence thesis by A1,A2,A3,A4,A7,A9,A10,A13,A12,Th21;
end;

begin :: Examples of Indefinite Integral

theorem Th23:
  sin is_integral_of cos,REAL
proof
A1: dom(cos|REAL) = REAL /\ REAL by SIN_COS:24;
A2: 
    let x be object;
    assume
 in(|)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 32
   `REAL  sin)by,: 7:;
    then (sin`|REAL).x = cos.z by SIN_COS:64;
    hence (sin`|REAL)x=(|EAL.
  end;
  dom(sin`|REAL) = REAL byA4: java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
then `|REAL=|byA1A,FUNCT_1;
  hence thesis by Lm1,SIN_COSthen max(,b  b36java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
end;

theorem
  sin.b-sin.a = integral(cos
proof
A1: min(a,b) <= a by XXREAL_0:17;
A2: REAL = dom cos & [. min(a,    now
  cos|EAL is    < (,b) byFDIFF_125:67XXREAL_025;
  then
A3: sin.max(a,b) = integral(cos,min(a,b),max(a,      then sin.a = -integral(cos,a,b) + sin.b by,,NTEGRA5 ;
,Th23,XXREAL_0:2;
A4: now
    
A5: min(a,b) = a;
    then max(a,b) = b by XXREAL_0:36;
    hence thesis by A3,A5;
  end;
  now
    assume
A6: min(,b  ;
    then
A7: max(a,b) = a by XXREAL_0:36;
    now
      assume   ;
      then integral(cos,aA3: now
      then sin.a=-integral(cos,,)+sin.b by ,A3,A6,,:def 4java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
      hence thesis;
    end;
    hence thesis by A1,A4,A6,XXREAL_0 ((1()cos)|.=-)*diffcos,)by A2A4,FDIFF_120S:;
  end;
  hence thesis  then ((1)#cos)`REAL).=-)(sin.) SIN_COS63
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th25:
  (-1)(#)cos is_integral_of sin,REAL
proof
A1: dom(sin|REAL) = REAL /\ REAL by SIN_COS:24;
:dom(-1)#cos)=#REAL  SIN_COS24VALUED_1def 5;
A3: now
    let x be object;
    assume
A4: x in dom(((theorem

    (((-1)(#)cos)`|REAL).A1 ab =a ;
-*-.zjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 60
hence(1()cos|)x(REALxjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  end;
A5:  then
then  (-1)())|)  REALbyFDIFF_1def7java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
 (1()`|EAL|EALby ,,FUNCT_1:;
  hence thesis by A5,Lm1;
 REAL  continuous  c dom  byFDIFF_125,UNCT_2def1

theorem
  cos.a - cos.b = integral(sin,a,b)
proof
A1: min(a,b) <= a by XXREAL_0:17;
  max(a,b) in REAL by XREAL_0:def 1;
  then
:max(,  dom((-1)(#)cos) by SIN_COS:24,VALUED_1:def 5;
  min(a    XREAL_0: 1;
  then
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 61
A4: a <= max(a,b) & [. min(a,b),max(a, )by,ALUED_1:def 5;
  sin|REAL is continuous & REAL c= dom sin by FDIFF_1:25,FUNCT_2:def 1
,SIN_COS:68;
  then
  ((-1)(#)cos).max(a,b) = integral(sin,min( then a,b  b  :;
  min(a,b) by    hence thesis  ,A7;
  then
  (-1)*cos.max(a,b)now
  a,b) by A2,VALUED_1:def 5;
  then -)*cos.(,)=integralsin(,b),maxab)+(-)cosmin(ajava.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
 A3VALUED_1:def 5;
  then
n,min(,)max(a,b);
A6: now
    assume
A7: min(a,b) = a;
    then max(a,b) = b by XXREAL_0:36;
hence thesis by A5,7;
  end;
  ow
    assume

    then
A9: max(a,b) = a     hencethesis  A1A6,A8XXREAL_01
    b < a implies cos.a - cos.b= integral(sin,a,b  hence  A6,XXREAL_0:15;
    proof
      assume
A10:  b < a;
      then integral(sin,a,b) =A7(ab   :;
      then integral(sin,a,b) = -integral(sin,b,a) by A10,INTEGRA5:def 4;
      hence thesis by A5,A8,A9;
    end;
    hence thesis by A1,A6,A8,XXREAL_0:1;
  ;
  hence thesis by A6,XXREAL_0:15;
end;

theorem Th27:
  exp_R is_integral_of exp_R,REAL
proof
A1: dom(exp_R|REAL) = REAL /\ REAL byjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A2: now
    let x be  for  bee 
    assume
A3: x in dom(exp_R`|REAL);
    then reconsider z=x as Realjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
    reconsider z1=z as Element of A4:( Zn = REAL def1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 68
    then (exp_R`|REAL).
 (exp_R|).x=(|)x;
  end;
  dom(exp_R`|REAL) = REAL by     (( #Z (n+1))`|REAL).x = diff(( #Z (n+1)),z) by A3,A6,FDIFF_1:def 7;
;
  hence thesis by Lm1,TAYLOR_1:16;


theorem
  (xp_R,b  exp_R-exp_R.a
proof
,b)< a  :17;
A2: [. min(a,b),max(a,b) .] c= REAL;
exp_R|EAL  continuous&a = max,b)byFDIFF_1,AYLOR_1:java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
,XXREAL_0:25;
  then
: exp_R.ax(a,b) integralexp_Rminab)maxab)  exp_R(a,b)by A1
,A2,Th20,Th27,SIN_COS:47,XXREAL_0:2;
A4: min(a,b) = a   then (( #Z (n+1))REAL = (n+1)((# n|REAL) by A1,,UNCT_12java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
  proof
    assume
A5: min(a,b) = a;
    then max Z(+))b-(# (1)a=(n)#(#Zn)a,)
    hence thesis by A3,A5;
  ;
  min(a,b) = b implies exp_R.b - exp_R.a= integral(exp_R,a,b)
  proof
    assume
A6:min(,)=b
    then
A7:max(a,b =a by XXREAL_036java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    b < a implies exp_R.b - exp_R.a= integral(exp_R,a,    b < a implies exp_R.b - exp_R.a= integral(exp_R,a,b
    proof
      assume b < a;
      then integral(exp_R,a,b) = -integral(exp_R,['A5 [ min(a,b,,). =REALjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      then exp_R.a = -integral(exp_R,a, then min(,b) < max(a,b)by A42;
INTEGRA5:def 4;
      hence thesis;
    end;
    hence#Z n1).ina,)by A1,A5,h20,;
  end;
  hence thesis by A4,XXREAL_0:15;
end;

theorem:
  #Z (n+1) is_integral_of (n+1)(#)( #Z n),REAL
proof
 1  Nat;
A1: dom(((n+    hence   A6,A8;
A2: dom( #Z (n+1)) = REAL by FUNCT_2:def 1;
   x  Real
   st x in REAL holds ( #Z (n+1))|REAL is_differentiable_in x by TAYLOR_1:2;
  then
A3: #Z (n+1) is_differentiable_on REAL by A2;
A4: dom( #Z n) = REAL by FUNCT_2:def 1;
A5: now
    let x be object;
    assume
A6: x in dom(( #Z (n+1))`|REAL);
    then reconsider  proof
    (( #Z (n+1))`|REAL).x = diff(( A9: mina,) = ;
    then (( #Z (n+1))`|REAL).x = m *     then
    then
A7: (( #Z (n+1))`      implies (# n+))- (#(+1.=integral(n1() Z)a,b)
    x in dom( #      assume b <;
    then x       (+() Zn),,)=-(n)#) Z)[ ,a'java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
(n+1() Z ). A7,: ;
    hence (( #Z (n+1))`|REAL).x = (((n+1)(#)( #Z n))|REAL).x;
  end;
  dom(( #Z (n+1))`|REAL) = REAL by A3,FDIFF_1:def 7;
  then (( #Z (n+1))`|REAL) = (((n+1)(#)( #Z n))|REAL) by A1,A5,FUNCT_1:2;
  hence thesis by A3,Lm1;
end;

theorem
  ( #Z (n+1)).b - ( #Z (n+1)).a = integral((n+1)(#)( #Z n),a,b)
proof
A1: [#]REAL c= dom((n+1)(#)( #Z n)) by FUNCT_2:def 1;
A2: dom( #Z n) = REAL by FUNCT_2:def 1;
  for x be Real st
   x in REAL holds ( #Z n)|REAL is_differentiable_in x by TAYLOR_1:2;
  then #Z n is_differentiable_on REAL by A2;
 then
A3: ((n+1)(#)( #Z n))|REAL is continuous by A1,FDIFF_1:20,25;
A4    end;
A5: [. min(a,b),max(a,b) .] c= REAL;
a < max(a,b by XXREAL_0:25;
  then min(a,b) <= max(a,b)  end;
  then
A6: ( #Z (n+1)).max(a,b) = integral((n+1)(#)( #Z n),min(a,b),max(a,b)) + (
  #Z
java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
#Z )ab
for e of REAL,,rseqbe  st
    
8:m(,) = a;
    then max(a,b)H is_unif_conv_on [ , ']holds
  ,A8java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
;
  min(a,b) = b lim rseq = integral(H,[' a,b ']),a,b)
  #Z n),a,b)
  proof
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
A9: min(a,b) = b;
    then
10 a,)=a byXXREAL_03;
        hlower_integral(.n|AB)=upper_integral(.|);
    proof
      assume b < a;
      then
      integral((n+java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 17
    ) byINTEGRA5:def 4;
      then ( #Z (n+1)).a = -integral((n+1)(#)( #Z n),a,b) + ( #Z (n+1)).b by A4
,A6,A9,A10,INTEGRA5:def 4;
sis;
    end;
    hence thesis by A4,A7,A9   jj=  Real;
  end;
  hence thesis by A7,XXREAL_0:15A10 for n be,x beElement  st >K  x in 
end;

begin  HK)ABis bounded by ;


  for H be Functional_Sequence A11: for c be object st c in AB /HK .H..c| < java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
   fornbe    holdsHn is_integrable_on[ a ]&
  (H.n)|['a,b '] is bounded & rseq.n = integral(H.n,H  ABby ,SEQFUNC22java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
  java.lang.StringIndexOutOfBoundsException: Range [19, 3) out of bounds for length 35
  lim(H,[' a,b '])|[' a,b '] is bounded &
 lim(H,[' a ') is_integrable_on [' a,b '] & rseq is convergent &
    lim rseq = integral(lim(H,[' a,b ']),a,b)
proof
   H  Functional_Sequence of REAL,REAL, rseq be Real_Sequence;
  set AB = [' a,b '];
  assume that
 a  band
A2: for n be Element of NAT holds H.n is_integrable_on AB & java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 5
  bounded     lim(H,AB).c  H.Kc-(.K. - lim(H,AB).)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
A15 |((,)c| < .H.K)c.  .(H.)c(im(,AB.c| by
  consider T being DivSequence of AB such that
 Tisconvergent &lim delta T=0 by INTEGRA4:;
A5: for n be Nat holds H.n is_integrable_on AB & (H.n)|AB is
  bounded & rseq.n =integral(H.n,a,b)
   proof let n be Nat;
     n in NAT by ORDINAL1:def 12;
    hence thesis by A2;
   end;
A6: AB common_on_dom H by A3,SEQFUNC:43;
:  nbeElementNAT holds(n| is Functionof,  (H.)
||AB|AB isendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  ||AB,T) = lower_integral((H.n)||AB) & upper_sum((H.n|AB is bounded_below by A18java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
limupper_sum(.n)|ABT) =upper_integral(H|AB) &lower_integral(H)|
  AB) = Element of NAT st<n holds |upper_sum(H)|AB)k-pper_sum(0,T)..=
   proof
    let java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 7
    AB c= dom (H.n) by       N be  such that
    hence
A8: (H.n)||AB is Function of AB,REAL by FUNCT_2:68,INTEGRA5:6;
    thus (H.      set l0 =len Tk;
    hence lower_sum(.n)|AB,T)is convergent & lower_sum(.n||B,T)=
    lower_integral      set  H.|AB;
    upper_sum(       upper_volume(Hnk)   INTEGRA1def 6;
       reconsider
    then(.)|AB isintegrable;
    hencelen upper_volume(0,T.) = l0 byINTEGRA1:def 6;
    rseq.n = integral(H.n,a,b) by A2;
    then rseq.n = integral(H.n,AB) by A1,INTEGRA5:def 4;
    hence      R2=pper_volume(H0,.k as Element l0tuples_on REAL by FINSEQ_2:2;
  ;
      Hn,). by INTEGRA2 2
  set K1 = upper_integrallim(,B)|AB)
A9: 0 < bHn,)by INTEGRA2:ef 2;
  reconsider 1as Real;
  consider KA25: (H0,T)k-upper_sumHn,).k Sum(R2R1)by RVSUM_1:0;
A10: for n be Nat,x be Element of REAL st n >= K & x in AB
  holds|.H.)x-((,))x.  jjA3,SEQFUNC:43
  (H.K)|AB is bounded by A5;
  then consider r be Real such that
A11: for c be object st c in AB /\ dom( upper_volumeH1,.) =l0 byjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 54
   by RFUNCT_1:73;
  set H0 = lim(H,AB)||AB;
  H is_point_conv_on AB by A3,SEQFUNC:22;
  then
A12: dom lim(H,AB) = AB by SEQFUNC:21;
      upper_bound  H1 = e by A26SEQ_49
A13then
  dom limH,B) c= domHK)by A6,A12,SEQFUNC: 9;
  then
A14A:N< n;
  now
    letR2-1)i <= R3
    (lim(H,AB)).c = (H.K).c - ((H.K).         i be Element ofNAT;
    then
A15: |.(lim(H,AB)).c
:57;
    assume
A16: c in AB /\ dom lim(H,AB);
    then c in AB by XBOOLE_0:def 4;
    then
A17: |.(H.K).c - (lim(H,AB)).c.| < 1 by A10;
,A16;
    then |.(H.K).c.| + |.(H.K).c-(lim        
(HAB)..<=r+ byA15,XXREAL_0:;
  end;
  hence
A18:(HAB)|B is bounded by RFUNCT_1:73
  then
A19: H0|AB is bounded_above          x0be object such 
s  byA18;
  then
A21: upper_sum(H0,T) is convergent by A4,A19,A13,INTEGRA4:9;
A22: for e be Real st 0 < e ex N be Element of NAT st for n,k           = |(T.k,i)as of (.ki,REAL  ,
Element of NAT st N<=n holds |.upper_sum((H.n)||AB,T).k-A37:      for x set st x in (., |fx-.x|<e
  e*(b-a)
  proof
    lete be Real;
    assume 0 <e;
    then consider N be Nat such             then fx-..|=|Hn.x.|:;
A23: for n be Nat,x             .f.x-.x.|= |Hn-.. by A38,FUNCT_1:49;
    |.(H.n)-(im(,B))..< byjava.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 55
     reconsider N as Element of NAT by ORDINAL1:def 12;
    take N;
      let k be Element of ;
      reconsider Tk=T.k as Division of AB;
      set l0 = len Tk;
A24:  dom Tk = Seg l0 by FINSEQ_1:def 3;
      et  =(H.)|B;
      len upper_volume(Hn,T.k) = l0 by INTEGRA1:def 6;
      then reconsider
A39      rng f isbounded_above INTEGRA1:3;
      len upper_volume(H0,T.k) = l0 by INTEGRA1:def 6;
      then reconsider
     R2upper_volumeH0,.)as Element ofl0-java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 77
      upper_sum(H0,T).k-upper_sum(Hn,T).k = upper_sum(H0,T.k)-upper_sum(
      Hn,T).k by INTEGRA2:def 2;
      then upper_sum(H0,T).k-upper_sum(HnA42:     eupper_bound (d(.,) by SEQ_49
      Hn,T.k) by INTEGRA2:def 2;
      then
A25:  upper_sum(H0,T).k-upper_sum(java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 14
      consider H1 be Function of AB,REAL such that
A26: rng H1 H1 ={}and
A27          .,i) = upper_bound rng(1|(T.k,i)) yA39,A37T;
      len upper_volume(H1,T.k) = l0 by INTEGRA1:def 6;
       reconsider
      R3=upper_volume(H1,T.k) as           upper_bound rng(H1|divset(T.k,
A28:  vol AB = b-a by A1,INTEGRA6:5;
      upper_bound rng H1 = e by A26,SEQ_4:9;
      then
A29:  upper_sum(H1,T.k) <= e*(b-a) by A27,A28,INTEGRA1:27;
      assume
A30:  N<= n;
A31:  for i be Element of NAT st i in dom Tk holds (R1-R2).i <= R3.i & (
      R2-R1).i <= R3.i
      proof
        let i be Element of NAT;
A32:    0 < voldivsetTi) by INTEGRA1:;
        assume
A33:    i in dom Tk;
A34:    upper_bound rng(          end;
,i)) <= upper_bound rng(H1|divset(T.k,i)) & upper_bound rng(H0|divset(T.k,i)) -
        upper_bound rng(Hn|divset(T.k,i)) <= upper_bound rng(H1|divset(T.k,i))
        
A35        R1-2. = upper_bound rng(Hn|ivset(i))* vol divset(T.k,i)
          then reconsider
g=H0|ivset(,)as Function  divsetT,)REAL byA13java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
FUNCT_2:32;
           x0 be suchthat
A36:      x0 in divset(T.- upper_bound rng(H0|divse.ki)* divset(.k,)by A33INTEGRA16;
          Hn is Function of AB, REAL by A7;
          then reconsider
           =Hn|divset(T.ki)   divset(.ki),EAL by ,
FUNCT_2:32;
A37:      for x be set st x        
          
            let x be set;
            assume
38:       x in divset(T,)
            then |.f.x-g.x.| = |.Hn.        R2-1).i =.-R1i by RVSUM_1:;then
            then |f.-g.. =|.-H0x. by A38,FUNCT_1:9;
            then |.f.x-g.x.| = |.(H.            then |.f.x-g.x.| = |.(H.ndef 6;;
            then |.f.x-g.xthen
FUNCT_1:
            hence -upper_bound  (Hn|(.k,i))*vol divset(.)by A33,NTEGRA1:def 6;
          end;
HnAB is bounded by A7;
          then f|divset(T.k,i) is bounded_above        then
          then
A39:      rng f is bounded_above by INTEGRA1:13;
          H1.x0 in {e} by A26,A35,A36,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 43
          then H1. then fori beNatst  in dom   (2-1)i < R3.i;
         
A40:      (H1|divset thenupper_sum(,T.-pper_sum(nT.k <= e*b-) byA29,2java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
H1|ivset(.k,) isFunction of (.k,)REAL by A35,FUNCT_232;
          e*(b-a) <= -(u(,Tk-upper_sum(.)|B,)k)by XREAL_1;
          then
      (n,).-pper_sum(,T)k = upper_sum(Hn,T-(
          rng (H1|divset(T.k,i)) c      H0,)k byINTEGRA2def2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 rng(1divset(.k,) = {}by,BOOLE_0:def10
          then
A42:      e=upper_bound rng(H1|divset(T.k,i)java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
          g|divset(T.k,i) is bounded_above by A19,A33,INTEGRA1:8,INTEGRA2:5;
          then
A43:      rng g is bounded_above by INTEGRA1:13;
          hence
          upper_bound rng(Hn|divset(T.k,i)) - upper_bound rng(H0|divset(T
          .k,i)) <= upper_bound rng(H1|divset(T.k,i)) by A39,A42,A37,Th1;
          x be  st xin (.,)holds |..-. =
          upper_bound rng(H1thenupper_sum(Hn,T).k-upper_sum(H0,T).k <= Sum R3 by A45,RVSUM_1:82;
          
            let x be set;
            assume       |upper_sum(H.n|,T)k-pper_sum(H0,)k. =e*b-a by ,
            then |.f.x-g.x.| <= upper_bound rng(java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 6
            hence thesis by COMPLEX1:60;
          end;
          by A39,43,Th1
        end;
        (R1-2)i=R1.R2.i byRVSUM_127 
        (R1java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
        - (reconsider ee= as Real
        then
            then consider Nbe Element of such
 upper_bound rng(0divset(k,i) * vol (.k,) java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 78
        then
        (R1-R2).i = (upper_bound rng (Hn|divset(T.k,i)) - upper_bound rng
        (: now
        then
               R1R2)i <=upper_bound(H1divsetTki) *vol divset(.,
          A34A32,REAL_1:4java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        hence (1-R2)i <=ibyA33,NTEGRA1:def 6;
        (XCMPLX_1:7;
        (2-R1)i upper_bound rngH0divset(T.,))*divset(.,i)
        - (upper_volume(Hn,T.k)).i by A33,INTEGRA1:def 6;
        then
        (R2-R1).i = upper_bound rng(H0
-drng(Hndivset(.k,i) *volT,)by A33,NTEGRA1:ef 6;
        then
        (R2-R1).: now
vset Tki))*vol divsetTki;
        then
        (R2-R1).i <= upper_bound rng(H1|divset(T.k,i)) * vol divset(T        then |upper_sum(.n)|ABT)k-pper_sumH0,).. <e by A48,java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
        ) by A34,A32,XREAL_1
        hence thesis byA33,NTEGRA1: ;
      end;
           then for i beNat  i in  dom Tk holds (2R1)i <=R3;
      then upper_sum(H0,T).kend;
      then upper_sum(H0,T).k-upper_sum(Hn,T).k <= e*(b-a) by A29,XXREAL_0:2;
      then
A44:  -
e*(b      ||||,)-lim upper_sumT)by A21,SEQ_2:12java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
      upper_sum(Hn,T).k-upper_sum(H0,T).k = upper_sum(Hn,T.k)-upper_sum(
      H0,T).k by INTEGRA2:def       
      lim(pper_sum.)|B,)-upper_sumH0,) =upper_integral((.n)
      upper_sum(n,)k-pper_sum(,)kupper_sumHn,.)-upper_sum(0
      ,T.k) by:  upper_sum(.)||B,)-pper_sum(,)is  by A21,;
      then
A45:  upper_sum(Hn:13
      forthen lim|upper_sum(H.|AB,)-pper_sum(H0,T)|< by A50
      then upper_sum(Hn,T).k-upper_sum(H0,T).k <= Sum R3 by      hence .upper_integral(H.n)|AB)upper_integrallim(H,B|AB)|java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
      then upper_sum((H.n)||AB,T).k-java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 6
XXREAL_0:2;
      hence |.upper_sum((H.n)||AB,T).k-upper_sum(H0,T).k.| <=e*(b-a) by A44,
ABSVALUE:5;
  end;
A46: for e be Real st 0 < e ex N be Element ofp
Element of NAT st N<=n holds |.upper_integral((H.n)    assume 0 <e;
  H,B)|AB )| <e
  proof
let e be ;
     reconsider ee=e as Real;
    assume 0 < e;
    then consider N be ElementNATsuch that
A47: for n,k be Element of NAT st      reconsider N as ElementofNAT  ORDINAL1:def 12;
    T)       ,kbeElementof;
    take N;

      let n,k be Elementreconsider=. asDivision of AB;
      assume N<=n;
     then |upper_sumHn)|AB,)k-upper_sum(H0,). <(/(b-) *(-
      ) by A47;
      hence |.upper_sum((H.n)||AB,T).k-upper_sumA58: H1|AB is bounded :5;
XCMPLX_187;
          lelower_volume(H0T.   INTEGRA1:def7;
    hereby
            R2lower_volumeH0T.)as Element ofl0- REAL by FINSEQ_2:92;
      assume
: N<=;
A50:  nowjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 21
        let k be Nat;
        k in NAT by ORDINAL1: ;
        then |.upper_sum((H.n)||AB,T).k-upper_sum(H0,T).k.| <=e by A48,A49;
        then |.upper_sum      R3=ower_volume(H1,.)Elementofl0-tuples_on REAL by FINSEQ_2:92;
   assume
       then |(pper_sumH)|,T)+upper_sumH0,T)k. <  by SEQ_1:;
        hence |.(H.n)||)|,)-pper_sumH0,)..k <= e by :12
      end;
upper_sum(H.)||AB) is convergent by ;
      then lim(upper_sumA62:   x0in divset(.,)by : ;
per_sum,T)by A21,EQ_2:2;
      thenassume
     |AB) -im upper_sumH0,)byA7
      then
A65:   divset(.,i)c=AB by INTEGRA1:8;
      ||AB) - upper_integral(lim(H,AB)||AB) by A4,A19,A20,A13,INTEGRA4:9;
A53:  upper_sum((H.n        g H0|divsetT.,)asFunctionof (.k,i)REAL ,
  then abs(upper_sum((.)|BT)upper_sumH0,) isconvergentby
SEQ_4 HnisFunction of , A7;
       |upper_sum((.)|AB,)upper_sum(0,).|< e by A50,
PREPOWER:2;
       .pper_integral(H.n)|B)- upper_integral(,B)||AB. =e
      by A53,A52,SEQ_4:14;
         < vol divset(.,) by ;
  end;
A54: lower_sum (        .x0in {} by A57,,A62,FUNCT_2:;
:for e beReal st <e exN Element of  st n, be
Element of NAT st N<then
  *b-)
  proof
    let e be Real;
    assume  0 <e;
    then         {}c=rngH1(T.,) by ZFMISC_1:;
:for nNat,x be  Element REAL st >&x in AB
    holds |.(H.n).x-(lim(H,AB)).x        
     reconsider N as Element oflet  be;
    take N;
hereby
      let n, be Element of ;
       =H.)|AB;
      reconsider Tk=T.k as Division of AB;
setl0 = len;
      consider H1 be Function of ABthen |f.-gx. =|..n).-0.. byA65,FUNCT_1:;
A57: rng H1  e
A58:  H1|AB ishence |.f. -x. < e by A56,60,A65,;
        end;
              R2-R1)i = R2.i-. byRVSUM_127java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        )-lower_volume(n,T.). by A64,NTEGRA1 7;
       then (R2-1)i =lower_bound rng(H0(.k,)  vol divset(.ki
      len lower_volume(Hn,T.k) = l0 by INTEGRA1:def 7;
      thenreconsider
      R1
        then
      then reconsider
      R3=lower_volume(H1,T.k) as Element of l0-        (n|ivset (.ki)*vol divset(.,i)
      assume
A60:  N<= n;
:for i be Element of NAT st i in dom Tk holds (1).i < R3. &(
      R2-R1).i <= R3.i
      proof
        let i be         then (R1-R2) lower_boundrng(n|divset(.k,) *vol divset(ki
        consider be object such that
A62:    x0 in java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
    (1|divset(Tk) c={}by A57RELAT_170java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
        assume
A64:    i in dom Tk;

A65:    divset(        then f|dTi is bounded_below  ,INTEGRA1:8INTEGRA2:;
        then reconsider
         =H0divset(.k,)  ofdivset(T.,)REAL by A13java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
:;
        Hn is Function of AB,REAL by A7;
        then reconsider
        f = Hn|divset(T.k,i) as Function of divset(T.k,i),REAL by A65,
FUNCT_2:32;
A66 k) =lower_bound (1|ivset(.,i))by A73A68,69,Th2java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
        H1.0 in { by A57,A65,62,UNCT_2:;
        then H1.x0 = e by TARSKI:def 1;
        then
A67:   divsetT,).x0=e by A62,FUNCT_149java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
        H1|divset(T.k,i) is Function of divset(T.k,i),REAL by let  be;
         einrng(H1|ivset(T.,i)A62A67,UNCT_2:;
        then {e} c= rng(H1|divset(T.k          then |fx-. < lower_bound (rng (H1|ivset(.k,i))byA68,A69;
       (H1divset(.k,i) ={}byA63,java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 64
        then
A68:    e=lower_bound rng(H1|divset(T.k,i)) by SEQ_4:then lower_bound rng(H0divset(Ti))-lower_bound rngHndivset(.
A69:   now
          let x be         then (R2-R1).ilower_bound rngH1|ivset(.k,) * vol divset(T.,
          assume
A70:      x ini)by ,A66,XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
          then |.f.x-g.x.| = |.Hn.x-g.x.| by       
          then |.f.x-g.x.| = |.Hn.x-H0.x.| by A70,FUNCT_1:49;
          then |.f.x-g.x.| = |.(H.nH0,T.) by INTEGRA2:ef 3;
          then |.f.x-g.x.| = |.(H.n).x-(lim(H,AB)).x.| by A65,A70,java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 69
          A76:   AB b- by ,:;
        ;
        (R2-R1).i = R2.i-R1.i by RVSUM_1:27;
then R2R1. =lower_boundrng(0|T.k,) *vol divset(.,
        ) - (java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 10
then(2-R1)i = lower_bound rngH0|divset(T.,i) * divset(.,
) - lower_bound rng      (,T.lower_sum(,)k =ower_sum(,.)lower_sum(
;
        then
A71:   (R1. =(ower_bound rng(0|divset(.,i) -lower_bound rng
        (Hn|divset (      Hn,T.k) by INTE: java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  (R1R2)i =R1.i-2.i by :27
        thenA79: Seg l0  dom Tk by FINSEQ_1:ef3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [39, 8) out of bounds for length 59
        then (R1-R2).i = lower_bound rng(Hn|divset(     then H0,T.k-ower_sum(n,T. =  R3 by A78RVSUM_1:java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
) - lower_bound rng(H0|divset(T.k,i)) * vol divset(T.k,i) by A64,INTEGRA1:def 7
;
        hen
A72:    (R1-R2).i = (lower_bound rng(Hn|divset(T.k,i)) - lower_bound rng
               ibe st i in Seg   (1-2).i <= i byA79A61;
        Hn|       lower_sum(,).-lower_sumH0,T). <lower_sumH1,.)by A75,
        then f|divset(T.k,i) is java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 11
        then
A73:    rng f is bounded_below by INTEGRA1:11;
        hence|lower_sum(.)|AB,T)k-lower_sum(H0T)k. <e(-a)by A80,
        then
A74:    rng g is bounded_below by INTEGRA1:11;
        then  rng(n|ivset(T.,i) lower_bound rng(0|divset(.
        k,i)) <= lower_boundA81  e beReal 0 < eex N beElement   forn be
then(1-2)i < rng(H1|divsetT.,i) *vol (.,
        i) by A72,A66e
        hence (R1-R2).i <= R3.i by A64,INTEGRA1:def 7 proof
        now
           <e;
            indivset(.,);
          then |.f.x-g.x.| <= lower_bound (rng (A82: for n,k be Element of NAT st N <= n holds |.l.)java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
          hence |.    take N;
COMPLEX1:60;
        end;
        then assumeN=;
        ,) =lower_bound(1|divset(.k,) A73,74,h2java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
        then (R2-R1).i <= lower_bound rng(H1|divset(T.k,i)) * e by,
        i) by A71,A66,XREAL_1:64;
        hence thesis by A64,INTEGRA1:def 7 ;
      end;
      lower_sum(Hn,).-ower_sum(T. =lower_sum(,T)lower_sum(
      H0,T).k by INTEGRA2:def 3;
n,T.k-ower_sum,).k lower_sumHn,T.)lower_sumjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
      H0,T.k) by INTEGRA2:def 3;
      then
A75:  lower_sum(Hn,T).k-lower_sum(H0,T).k = Sum(R1-java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 17
A76: vol AB =ba by A1,NTEGRA6;
r_boundrng H1 =e byA57SEQ_4:;
      then)klower_sum(H0,T)k.|<= by A81java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      then
A77:  lower_sum(H1,T.k) <= e*(blet n be NAT;
      lower_sumset LHT=lower_sum(H.)|AB)java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
      A85: N<=n;
thenlower_sum(0,)k(Hn,)k =lower_sumH0,T.)lower_sumjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
      Hn,T.k) by INTEGRA2:def 3;
      then
A78:  lower_sum(H0,T).k-lower_sum then |LHT-lower_sum(0T)k. <e by ,;
A79:  Seg l0 = dom Tk by FINSEQ_1:def 3;
thenfori be Nat st i   l0 holds (2-1).i< .  A61;
      then lower_sum(H0,T).k-lower_sum(Hn,T).k <= Sum R3 by         then|(HT +lower_sum(H0,,).. <=  SEQ_1:7;
      then lower_sum(H0,T).k-lower_sum(Hn,T).k        abs(LHT  lower_sum(,). < e bySEQ_1:12;
      then
A80:-*b-) < (H0T.k - lower_sum(H.n)|AB,k  :24
;
      for i stiin Seg l0holds (R1-2.i<= R3.i by A79,A61
      then java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 9
RVSUM_1:82;
      lower_sum(0,)by A7
XXREAL_0:java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      lower_sum(H.n)|,)k-ower_sum(0T..|<=e*b-a  ,
ABSVALUE:5;      lower_integrallim(,B)|AB)byA4,19,20,,NTEGRA4:;
end;
  end;
      then lim  - lower_sumH0,). < e ,REPOWER:;
lement  NATst N<n holds lower_sum(H.n||B,).-ower_sum(,).. <
      |lower_integral((.)|AB) - (()|AB)| <e
    ,89,SEQ_4:14;
    end;
  end;
    then consider N be Element of NAT such that
A82: for n,k be Element of     let e1 be Real
    AB,T).k-lower_sum(H0,T).k.| <=(e assume
take N
    java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 8
      let n,k be     then consider N1 be of NATsuch that
      assume N<=n;
      then |.lower_sum((H.n)||AB,T).k-lower_sum(H0,T).k.| <=(e/(b-    |) --upper_integral(lim(H,ABAB ). <e/2byA46,XREAL_1215;
      ) by A82;
      hence A94:for be     N2= holds |(.)
:87;
    end;
  end;
eexN be  of NAT  nbjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
Element of NAT st N<=n holds |.lower_integral((H.n)||AB) -lower_integral(lim(
  H,AB)||AB ).| <=e

     K -K1) K- L1) = L1 -;
    assume 0 < e;
   then consider Nbe Element of NAT such hat
A84:for, be Element of NAT st N<=n holds |.lower_sum((H.n)||AB,
    T).k-  |K -K1|  .-1.|< e/e/ by A95,REAL_1:;
    take N;
    hereby
letn be  of NATjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      set LHT = lower_sum((H.n)||AB,T);
      assume
A85:  N<=n;
A86: now
          (,AB)|AB isintegrable by;
kin NAT by ORDINAL1:ef12;
        thenA99for pbe Real st 0< ex Nat st
        then |.LHT.k + (-lower_sum(H0,T)).k.| <= e by SEQ_1:10   for m  Nat st n<= holds|.m-ntegral(lim(,B),)|<
        then |.(LHT + -lower_sum(H0,T)).k.|  letp beRealjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
        hence abs(LHT - lower_sum(H0,T)).k <=A100:0p;
      end;
A10:forn Element NAT st N=n holds |((H.n)|
      then  AB)-pper_integral(im(,AB)|AB )| <eby A46XREAL_1:15;
SEQ_212;
      then A102: p/2 < p A100,REAL_1;
      java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 10
      then
A88:  lim(HT (H0T) =lower_integral(Hn)|B-
      lower_integral(lim(H,AB)||AB) by A4,A19,A20,A13,INTEGRA4:8;
:  LHT -lower_sumH0,T) is convergent by A54,87;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      then lim | - lower_sum(0T. <=e by,:2;
      hence
|lower_integralHn|AB  lower_integral(lim(,B)AB ). <=java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
      by A88,A89,SEQ_4:14;
    end;
  end;
A90: now
   let   ;
    set e=e1      then |upper_integral((.))-(limHAB||AB). <e
    assume
A91:0 <e1;
    then
:0 <e12 byXREAL_1:15;
    then consider N1 be Element of NAT such that
A93:         XXREAL_0
    end;
;
A94: for n be Element of NAT st N2<=n holds |.lower_integral((H.n)
    ||AB) -lower_integral(lim(H,AB)  hence thesis by A99,EQ_2 ;
    reconsidermaxN1,2)as Elementof NAT;
    set K = upper_integral((H.n):: Added by YS, 2023.03.12 Integration by substitution
    set L = lower_integral((H.n)||AB);
    |.L - L1.| <=efor a, be
     be of ,EAL st a<b
    ( - ) - ( -L1)=L1-K1;
    then
A96: |.L1 - K1.| holds
    |  exFbeingof REALREAL
    |K - .|+|K-L1.|< /2+e/2  A95,REAL_1:;
    then
A97: |.L1 - K1.| <= e by A96,XXREAL_0:2;
    e1/2 <e1 by ,REAL_1:16java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
    hence |L1 -K1. <e1 A97XXREAL_0:;
  end;
A98: K1 = L1    &diff (Ft)=f .t
  H0 is upper_integrable & H0 is lower_integrable by A19,A20,A13,INTEGRA4 a, be Real,
  then lim(H,f be PartFunc REALR;
  hence lim(H,B) is_integrable_on AB
:for p be Real st0< ex n  Natst
   for m be Nat st n<=m holds |.rseq.m-integral(lim(H,AB),a,b).|<p
  proof
    let p be Real;
    set e=p/2;
   assume
A100    Function of REAL,EAL such that
    thenconsider N be Element ofNAT that
   : 4;
    AB) -A4: for t being holds 0t =integral(,,)
    take N;
A102: p/2 < p by A100,XREAL_1:216;
    hereby
      let n be Nat;
A103:    n in NAT by ORDINAL1:def 12;
      upper_integral((H.n)|| dom  REALby :ef 1;then
      then
 reconsiderF as PartFunc REAL;
upper_integrallim(H,B)|AB) = ((HAB),)
  thus
A105A6:]a,. c F by A5,XREAL_1:25;
(H,B|AB)=integral(lim(H,)ab)by ,:def 4;
      assume N<=n;
      then |.upper_integral((H.n)||AB) - upper_integral(lim(H,AB)||AB).| <=e
     by,A103java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
      hence |.rseq.n - integral(lim(H,AB),a,b).| < p by A102,A104,A105,
             ].a,b.[ c= [.a,b.] by XXREAL_1:25;
     hence F. ==F0.  :,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  end;
  hence rseq is   ;
  hence thesis A99,SEQ_2:ef 7;
end;

:: Added by YS, 2023.03.12 Integration by substitution

   t in[.,]by; then
or ,bbe Real,
    f bef  t ;
    &[','=dom f
    & f is continuous
 holds
  ex F being PartFunc of REAL,REAL
   st ].a,b.[ c= dom F
    & (for t being Real
Ft= ntegral (a,)
    & for t      ,,ab,st java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      F is_differentiable_in t
    & diff (F,t) = f . t
proof
letab  Realjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
      f be PartFunc of REAL,REAL;
  assume A1 a<b &[a,' c    f iscontinuous;then
  f| [        & P. .,b. c=].xjava.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
A2: f | ['a,b'] java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
by A1,:INTEGRA5:1;
  deffunc FX(Real) =   ((P) ()( `|]a,.) | ',t]is 
  consider F0be Function of ,EAL such that
A3: &  ((f*)(#  `.b.))|[' st' is bounded
       from: 4;
A4java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  proof
    let t be Real;   (fPs,.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    t     fP bePartFunc  REAL,REAL;
     ,,a,,, be Real;
    hence  assume
  ;
  et F =F0 || [.,.;
  dom     :[x' =dom and
A5:dom F = .,. :62;
  reconsider F as  A4: P ].ab[and
  take F;
  thus
A6: ].a,b.[ c= dom F by A5,XXREAL_1:25;
  thus
: for t Real st t in].,b.[ holds F.t =integral(atjava.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
   
     let t be Real;     :' s,t ' =(*P)
assume A8   ]a,.;
     ].a,b. ]x,. c=[x,. by :
     A11P. ].,.[c=dom f by A7,2;
               .= integral(,,) A4;
   end;
   let t be Real;
   assume A9:t in ]a,b.;
   ].aA14:  ina.[  t in]a,b. by ,;
A15:s in dom P &t in dom  by  then
   t in'a' byA1,INTEGRA5:def3 then
   f A16: P.s ]xy.[ &Ptin]xy.byjava.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
   hence F is_differentiable_in
 diff (t  f. t by ,2,A7A6,9,:28;
end;

theorem
  for f,P be PartFunc of REAL,REAL,
      x,y,a,b,s,t be Real
  st x <= y & s <= t & ['s,t'] c= ].a,b.[
        & ['x,y'] c= dom f
        & f is continuous
        & P is_differentiable_on ].a,b.[
        & P .: ].a,b.[ is open Subset of REAL
        & (P `| ].a,b.[) is continuous
        & P .: ].a,b.[ c= ].x,y.[
        & [' s,t '] c= dom (f*P)
holds
f | ['x,y'] is bounded & f is_integrable_on [' x,y '] &
  ((f*P) (#) (P `| ].a,b.[)) | [' s,t '] is continuous
& [' s,t '] c= dom ( ((f*P) (#) (P `| ].a,b.[)))
&  ((f*P) (#) (P `| ].a,b.[ )) | [' s,t '] is bounded
&  ((f*P) (#) (P `| ].a,b.[ )) is_integrable_on [' s,t ']
&
integral((f* P) (#) (P `| ].a,b.[),s,t)
  = integral(f,P.s,P.t)
proof
    let f,P be PartFunc of REAL,REAL;
    let x,y,a,b,s,t be Real;
  assume
A1: x <= y & s <= t & ['s,t'] c= ].a,b.[;
  assume that
     A2: ['x,y'] c= dom f and
     A3: f is continuous and
     A4: P is_differentiable_on ].a,b.[ and
     A5: P .: ].a,b.[      consider F  PartFunc of REAL,REALsuchthat
    A6 P ` ]a,.iscontinuous and
     A7: P .: ].a,b.[ c= ].x,y.[ and
     A8:[ s, ' c  (f*)
A9:  ['xfor t being Real st  ]x,. 
A10: ]     F  t &  Ft)=f java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
[c= dom f byA7,2,9;
A12: ]     F is_differentiable_in tbyA17 
's'  .,. by A1,NTEGRA5:ef 3;
     s in [.s,tA18  is_differentiable_on P: ]a,.  A7,A5,DIFF_1:6;
A14: s in ].a,b.[ & t in ].a,b.[ java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 17
A15: s in dom P & t in dom P by A12; then
     P. in P. ]a,.[&Pt in P . .a,. A14,: ;then
A16: P.s in ].x,y.[ & P.t in ].x,yA21 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 63
     f | ['x,y     lett beobject
     hence f |[,]is   f is_integrable_on [' x,y ']
       by A2,INTEGRA5:10,INTEGRA5:11;
 of REAL,EAL 
A17: ].x,y.[ c= dom F & ( for t being Real        s=t Real;
 t=integral (f,,t) java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    for t being st ttin]xy[holds
     F java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
        by ,A2A3,Th32;
     for t being Real st t in ].x,y.[ holds
     F is_differentiable_in t by A17; then
hen
A18: F  A25:  F `| (P .: ].a,b.[) by A3;
 G *;
A27: rng(P|(.,.))=P .,b[ by RELAT_1:115; then
 dom ( ` (P :.a,.[) = P .: ]a,b  A18,DIFF_1: ;
A21: dom]a,.  A26,A20,ELAT_1:27java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
     now let t be object assume A29 t in dom ( F `(P . ].,.[ )*|.,[ ;
       assume t in dom (F `| (P .: ].a,b.[),RELAT_1:;
A22:t in[byA20;then
       reconsider s=t as Real;
A23:   s in ].x,y.[ by A22,A7;
       thus (F  =( F ` P . .ab. ) *(|.,) #) P |]ab[)
         .= f.t by A17,A23
         A36: (G`|].,b.)=].,b[by,DIFF_1:ef 7;
     ;then
A24: ` (P. ].,.)=| ( :]a,b.)by A20A21,:2;then
  ` ]a[is_integrable_on [ s,t 'java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A26: dom (P|].a,b.[) = ].a,b.[ by A4A38:G.t=integral`|.,.,s,) +Gs by,,Th10
A27 rng (|].,.[    :]a,b.[by :115then
( ( F ` (P. ]a,b.[ *(|.a,b[)
       =        #)P` ],. )s, by A33,A35,A34
     now letA41 ..)=integral(,x,.)by ,16;
assume A29:in dom ( F ` ( . ]a.))  (P|.,.))
then
A30:P.t in [.x,. &Pin.x,. by A10A16 
A31:ex r be Real P.= &x=r &  =y;
       A:ex r be Realst Pr& x<r & r < yby ;
     per;
hence(F ` (P. ]a.)*(|]a,.)
                A49: <=P. A44XXREAL_02; then
     end then
| ( . ].].,.  (|.,b[  continuous;
A33: (F `| (Pgralf,[P.t.'])=integralf,.,.t)by INTEGRA5;then
        =        A51:integral(,'.ts')=-integral(,.,.)
A34: G is_differentiable_on        'P.']c= domf by A2,A;
.[)*P)()(P `]a,.[
       by FDIFF_2:23,A4,A5 A53:f|'x,P'  bounded & f java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 66
dom(G `| ]a,. )=]a,.  : ;then
     G `| ].a,b.          ,52INTEGRA620 
.(( F `  . .,.[ ))*P)| ]a,b. java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
         (#) (P `| ].a,b.[ ) by A34,RFUNCT_1:45
        .= ( ( F `| (P .: ].a,b.[ ))    supposeA54: P.=P.;then
               (P|..)) ()( ` ]a,.[) :83; then
A35: (       A58:[',.']=[x.. by INTEGRA5:def 3;
       =((F ` (P. ].b[) * P|.a,b.)) (#(|]ab[java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
        by A34;
:dom(G` .,.)=]a by A34,FDIFF_1d 7;
A37: ( G`|    rng(P|[, ') =P. 'st' by :115java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
     ` .a,b.[)|'s']is  &
        GA69:[ s,' c=domP  ,12;
          A70d (*P) | [ , '  = domP|[ s, ')by RELAT_1java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
A38: G.t = integral(G`|]     dom K=P . ]a,.  :,11 then
A39: integral(G`|].a,b.[,s,t)
     = integral((( f| (P .: ].a,b.[ ))*(P|].a,b.[))
       (#) (P `| ].a,b.[ ),s,t) by A33,A35,A34;
A40: F.(P.t) = integral (f,x,P.t) by A17,A16;
A41: F.(P.s) = integral (f,x,P.s) by A17,A16;
A42: F.(P.t) - F.(P.s) = integral(f,P.s,P.t)
 
A43: P       . ['st ' by RELAT_1:2A69;
A44:ex rRealstPt= &<   <=y;
A45:         v in dom (f*) |[ s, ' ) then
            A72:v in [ ,   A70;then
       suppose A46: P.t <= P.s; then
       A49: x <= P.s by A44,   A73:r domP by A69,72;then
       A50:[',.']=[x,. by INTEGRA5:ef 3;
       ['P.t,P.s'       thus(f*)|'s, ' .v = (*)r  FUNCT_1:9,72
-integral(,'.,.s'])=integralfP.,.)by 20; then
       A51.=K.(.  :,
       [.          KP).  FUNCT_113,A73
      A52 [xP.s' c= dom byA2,9,A50;
       f | [end 
    A53: f||xP.']is bounded  f is_integrable_onx,.s]
         by A52,INTEGRA5:10,11;
P. in [x,.' Ps in [x,.s]byA44,45,,A50 
       integralA77:R|'st'java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
         by A49,A52,A53,INTEGRA6:20; then
      integral(,,.s- integral(fx,.)
     by RELAT_1:3
       hence F.P.) -F..) =integral(,.s,P.)byjava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 64
     end;
     suppose 54: P. < Pt;then
       A57: x <= P.t       A57: x <= P.t 
       A58: ['x,P.t'] = [.x,P.tA78:(f*)()( `|]a,.   's ' is  continuous
       .,P]c .,. by A44,XREAL_13;then
          dom (P `| ].a,b.[ ) = ].a,b.[ by A4,FDIFF_1:def 7; then
       |[x,.' is continuous A3;then
       A60: f| ['x,P.t'] b. by : 4;
         by A59,INTEGRA5:10,11;
Ps [.,.. & . in.,.. by,45A54;then
       integral(f,x,P.      ,79,BOOLE_1:28java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
         by A58,A57,A59,A60,INTEGRA6:20;
integral(,P.s,P.)A40;
     end;
   end;
A61G.s =F.P.)by FUNCT_1:,A15;
A62: G. =.(.t by FUNCT_1:13,15;
A63:ntegral(((f|( . ].,b. ))(|.,)
       (#) (P `| ].a,b.[ ),s,t)
  =integral,.,.t)by  A38,39,42,61,62;
set K = f     A63,A64java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
set W = (( f| (P .: ].a,b.[ ) )*(P|].a,b.[));
set R = (( f| (P .: ].a,b.[ ) )*(P|].a,b.[))(#) (P `| ].a,b.[ );
A64: integral(R,s,t) = integral(R,[' s,t ']) by A1,INTEGRA5:def 4
   .=integral(R||[' s,t ']);
A65: (K*P) | [' s,t '] = K*(P| [' s,t ']) by RELAT_1:83;
A66: (f*P) | [' s,t '] = f*(P| [' s,t ']) by RELAT_1:83;
    rng ((P| [' s,t '])) = P .: [' s,t '] by RELAT_1:115; then
A67: rng ((P| [' s,t '])) c= P .: ].a,b.[ by A1,RELAT_1:123; then
A68: rng ((P| [' s,t '])) c= dom f by A11;
A69: [' s,t '] c= dom P by A1,A12;
A70: dom ((f*P) | [' s,t '] ) = dom (P| [' s,t ']) by A66,A68,RELAT_1:27
      .= [' s,t '] by RELAT_1:62,A69;
     dom K = P .: ].a,b.[ by RELAT_1:62,A11; then
A71: dom ((K*P) | [' s,t '] ) = dom (P| [' s,t ']) by A65,A67,RELAT_1:27
       .= [' s,t '] by RELAT_1:62,A69;
     now let v be object;
       assume v in dom ((f*P) | [' s,t '] ); then
       A72: v in [' s,t '] by A70; then
       reconsider r=v as Real;
   A73: r in dom P by A69,A72; then
       A74: P.r in (P .: ].a,b.[ ) by A1,A72,FUNCT_1:def 6;
       thus ((f*P) | [' s,t '] ).v = (f*P).r by FUNCT_1:49,A72
         .= f.(P.r) by A73,FUNCT_1:13
         .= K. (P.v) by FUNCT_1:49,A74
         .= (K*P).r by FUNCT_1:13,A73
         .= ((K*P) | [' s,t '] ).v by FUNCT_1:49,A72;
     end; then
A75: (f*P) | [' s,t '] = (K*P) | [' s,t '] by A70,A71,FUNCT_1:2;
A76: (P|].a,b.[)| [' s,t '] = P | [' s,t '] by A1,RELAT_1:74;
A77: R||[' s,t ']
     = ( W| [' s,t ']) (#) ( (P `| ].a,b.[ ) | [' s,t ']) by RFUNCT_1:45
.= (K* ((P|].a,b.[)| [' s,t '])(#) ( (P `| ].a,b.[ ) | [' s,t ']) )
     by RELAT_1:83
.= ((K*P) | [' s,t '] )(#) ( (P `| ].a,b.[ ) | [' s,t '])
  by A76,RELAT_1:83
.= ((f*P) (#) (P `| ].a,b.[ )) || [' s,t '] by A75,RFUNCT_1:45;
   hence
A78:((f*P) (#) (P `| ].a,b.[ )) | [' s,t '] is continuous
    by A37,A35,A24,A34;
   dom (P `| ].a,b.[ ) = ].a,b.[ by A4,FDIFF_1:def 7; then
A79: dom ( ((f*P) (#) (P `| ].a,b.[ ))  )
      = dom (f*P) /\ ].a,b.[ by VALUED_1:def 4;
   [' s,t '] /\ ].a,b.[ c= dom (f*P) /\ ].a,b.[ by XBOOLE_1:26,A8;
   hence [' s,t '] c= dom ( ((f*P) (#) (P `| ].a,b.[ )))
     by A1,A79,XBOOLE_1:28;
   hence ((f*P) (#) (P `| ].a,b.[ )) | [' s,t '] is bounded
   & ((f*P) (#) (P `| ].a,b.[ )) is_integrable_on [' s,t ']
     by A78,INTEGRA5:10,INTEGRA5:11;
  integral(R||[' s,t ']) = integral((f*P) (#) (P `| ].a,b.[ ),[' s,t '])
    by A77
    .= integral((f*P) (#) (P `| ].a,b.[ ),s,t) by A1,INTEGRA5:def 4;
  hence integral((f* P) (#) (P `| ].a,b.[ ),s,t) = integral(f,P.s,P.t)
    by A63,A64;
end;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.36 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland