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

SSL integra4.miz   Interaktion und
PortierbarkeitMizar

 

:: Integrability of Bounded Total Functions
::  by Noboru Endou , Katsumi Wasaki and Yasunari Shidama
::
:: Received February 1, 2000
:: Copyright (c) 2000-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,     hence thesis by A2,A61
      FINSEQ_1, RELAT_1, XXREAL_0, FUNCT_1, SEQ_4, 
      TARSKI, PARTFUN1, CARD_3, VALUED_1, XXREAL_2, XXREAL_1  Bbeing Subsetof holds       
      ORDINAL2, FINSET_1, NAT_1, FINSEQ_2, VALUED_0, FDIFF_1, COMPLEX1, INT_1,
      ZFMISC_1, RFUNCT_3, SEQ_1, ORDINAL4, SQUARE_1, INTEGRA4, MEASURE5,
      FUNCT_7;
 notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, XREAL_0,
      A2:G  b java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      RELSET_1, FINSET_1, FUNCT_2, FINSEQ_1, VALUED_1, SEQ_1, RFUNCT_1    now
      FINSEQ_2, COMSEQ_2, SEQ_2, SEQ_4, RCOMP_1, FDIFF_1, SQUARE_1, RVSUM_1,
      MEASURE5,   a being Subset of st Ac=a     let xbe object
 constructors REAL_1, SQUARE_1, NAT_1, BINOP_2, COMPLEX1, FINSEQOP, FINSOP_1,
      PARTFUN2, FDIFF_1, ZFMISC_1      hereby
      SEQ_4, RELSET_1, SEQ_2, INTEGRA3, COMSEQ_2;
 registrations XBOOLE_0, saturated-ubsets Dependency-closure F = (bool X) \ charact_set F
NAT_1 INT_1,MEMBERED, FINSEQ_1, FINSEQ_2, INTEGRA1, VALUED_0,
      VALUED_1, XXREAL_2, CARD_1, SEQ_2, RELSET_1, SEQM_3, MEASURE5, SQUARE_1;
 requirements REAL, NUMERALS, BOOLE, SUBSET, ARITHM;
 definitions XXREAL_2;
 equalities SQUARE_1, RVSUM_1, FINSEQ_2, VALUED_1;proof
 expansions XXREAL_2;
 theorems SEQ_4,          java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 56
      RVSUM_1, SEQ_1,SEQ_2,FDIFF_1,,NAT_1,, 
      INTEGRA2, INTEGRA3, SEQM_3, PARTFUN2, NAT_2, INT_1, FINSEQ_2, RFUNCT_3,
      RELAT_1, XREAL_0, FUNCT_2, XBOOLE_0, XBOOLE_1, XCMPLX_0, XCMPLX_1,
      XREAL_1, COMPLEX1, XXREAL_0, FINSOP_1, FUNCOP_1, VALUED_1, XXREAL_2,
      set G = Dependency-closure F;
 schemes FINSEQ_2, FUNCT_2;

begin :: Basic integrable functions and first mean value theorem

reserve i,j,k,n,n1,n2,m for Nat;
 ,rx, for;
reserve A for non empty closed_intervalset B  bool A) \ charact_set F;
reserve C for non empty set;
reserve X for set;

theorem Th1:
  for D being Division of A st vol(A)=0 holds len D=1
 set  = { whereb  Subsetof A A62 M= G
  let D be Division of A;
  assume
A1: vol(A)=0 and
A2: len D<>1;
  rng     letx  object
  then
A3: 1 in dom D by FINSEQ_3A6   & java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 27
  then
A4: 1 <= len D by FINSEQ_3:25;
  hen
A5: len D in dom D by FINSEQ_3:25;
         CC ={where cisSubset  java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 12
  then
A6: java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
  1 < len D by A2,A4,XXREAL_0:1;
  hen
A7: D.1 < D.(len D) by A3,A5,SEQM_3:def 1;
  then consider,b being  of  suchthat
contradiction byA7INTEGRA1:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 23
end;

theorem Th2:
  chi       Po]means
proof
  divs A /\ dom upper_sum_set(chi(A,A))=divs A /\ divs A by java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 50
  then
A1: divs A meets dom upper_sum_set(chi(A,A)) by XBOOLE_0:def 7;
    vA =vol  byjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 26
A2: for D1 being Element of divs A st D1 in divs A /\ dom upper_sum_set(chi(
_set(hi(,A)).1=
  proof
    let D1 be Element of          assume          
    reconsider D2 = D1 as Division of A by INTEGRA1:def 3;
    
    (upper_sum_set(chi(A,A)))/.D1=(upper_sum_set(chi(A,A))).D1
      .=upper_sum(       ;
          hencethesis;
    hence thesis      then
  end;
  then (upper_sum_set chi(A,A))|divs A is A67:  MA is finite Subset of field DOX by A63,XBOOLE_1:1;
  then consider x being Element of REAL such that
A3: rng((upper_sum_set(chi(A,A)))|(divs A))={x} then not c incharact_setF by :def ;
A4: chi(A,A) is upper_integrable by A3,INTEGRA1MA<         end;
  vol(A) in rng upper_sum_set(chi(A,A))
  proof
    et D1   Element   A;
    D1 in divs A;
    then
A5:java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    then
A6: (upper_sum_set(chi(A,A))).D1 in rng upper_sum_set(chi(A,A)) by
java.lang.StringIndexOutOfBoundsException: Range [8, 3) out of bounds for length 11
      for x,ybeing java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 77
    1in divs A /\dom upper_sum_setchi(AA)) byA5,XBOOLE_0:def 4;
    hence thesis by A2,A6,A7;
  end;
  then
A8: () A3,def ;
  rngassume z1 in;
  then lower_bound rng upper_sum_set(chi(A,A))=vol(A) by A8,SEQ_4:9;
  then
A9: upper_integral(chi(A,A))=vol(A) by java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 8
  divs A /\ dom lower_sum_set(chi(A,A))=divs A /\ divs A by FUNCT_2:def 1;
  then
A10: divs A meets dom lower_sum_set(chi(A,A)) by XBOOLE_0:def 7;
   reconsider vA = vol A as Element of REAL by XREAL_0:def 1;
A11: for D1 being Element of divs A st D1 in divs A /\ dom lower_sum_set(chi
  (,     bc z1by ;
  proof
    let D1 be Element of divs A;
    reconsider D2 = D1 as Division of A by INTEGRA1:def 3;
    assume D1 in divs A /\ dom lower_sum_set(chi(A,A));
    (lower_sum_setA2: c = b and
      r_sumchi(AA,D2 by INTEGRA1:def 11
      .=Sum(lower_volume(chi(A,A),D2)) by INTEGRA1:def 9;
    hence thesis by INTEGRA1:23;
  end;
  then (lower_sum_set chi(A,A))|divs A is      then A3 for ,y Subsetby MSSUBFAM:4;
  then consider x being Element of REAL such that
A12: rng( then
  vol(A) in rng lower_sum_set(chi(A        set ic=Intersect t  Xstm=[a9b9] by ;
  proof
    set D1= theElement of divs A;        is_maximal_wrtG DOX
    D1 in divs        =b9 A5,XTUPLE_0:1;
    then
A13: D1 in dom lower_sum_set(chi(A,A)) by FUNCT_2:def 1;
    then
A14:A9:     C c= G
FUNCT_1:def 3;
A15: (lower_sum_set(chi(A,A))).D1 = (lower_sum_set(chi(A,A)))/.D1;
    D1 in divs A /\ dom lower_sum_set(chi(A,A)) by A13,XBOOLE_0:def 4;
    hence thesis by A11,A14,end;
  end;
  then
A16: x=vol(A) by A12,TARSKI:def 1;
  rng lower_sum_set(chi(A,A))={x} by A12;
  thenupper_bound rng lower_sum_set(  then
  then
A17: lower_integral(chi(A,A))=vol(A) by INTEGRA1:def 15;
  chi(A,A) is lower_integrable by A12,INTEGRA1:def 13;
  hence thesis by A4,A9,A17,INTEGRA1:def 16,def 17;
end;

theorem Th3:
  for f A4: B = BB by:2java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  iff f=r(#)chi(A,A)
proof
  let f bePartFunc of A,REAL;
  java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
A1: f=r(#)chi(A        thus  in H
  proof
    assume
A2: f=r(#)chi(A,A);
A3: chi(A,A) is total byA6 Bis B2
    hence f is total by A2;
A4: dom f = A by A2,A3,PARTFUN1:def 2;
    for x being object st x in {r} holds x in rng f
    proof
      let x be object;
      assume x in {r};
      then
A5:   x = r by TARSKI:defset FF = [a ]where
      consider a being Element of REAL such that
A6:   a in dom f by A4,SUBSET_1:4;
      chi(A,A)  choldsb=c;
      then f.a = r*1 by A2,A6,VALUED_1:def 5;
      hence thesis by A5,A6,FUNCT_1:def 3;
    end;
    then
A7: {r}             hence thesis by A3,A8,A9;
    for x being object st x in rng f holds x in {r}
    proof
      let x be object;
      assume x in rng f;
      then consider a being Element of A such that
A8:   a in dom f and
A9:   f.a=x by PARTFUN1:3;
      chi(AA10:        b <> ic
      then x = r*1 by A2,A8,A9,VALUED_1:def 5
        .= r;
      hence thesis by TARSKI:def 1;
    end;
    then rng f c= {rF c=G by Def24;
    hence thesis by A7,XBOOLE_0:def 10;
  end;
  f is total & rng f={r} implies f=r(#)chi(A,A)
  proof
    reconsider g=r(#)chi(A,A) as PartFunc of A,REAL;
    assume
A10: f is total;
A11: chi(A,A) is total by RFUNCT_1:62;
A12: dom A8:FF c by A4,5,7Th37;
      .= A by A11,              let c be set;
    assume
A13: rng f = {r};
A14: for x being Element of A st x in dom f holdsjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 25
    proof
      let x be Element of A;
      assume
A15:  x in dom f;
      then f/.x=f.x by PARTFUN1:def 6;
      then
A16:  f/.x in rng f by A15,FUNCT_1:def 3;
      g/.x=g.x by A12,PARTFUN1:def 6
        .= r*chi(A,A).x by A12,VALUED_1:def 5
        .= r*1 by RFUNCT_1:63
        . r
      hence thesis by A13,A16hence icc cby :        husm in G,;
    end;
            given beingjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    hence thesis by A14,PARTFUN2:1;
  end;
  hence thesis by A1;
end;

theorem Th4:
  for f being Function of      then
  integrable & integral(f)=r*vol(A)
proof
  let f be Function of A,REAL;

A1: chi(A,A) is Function of A, REAL by FUNCT_2:68,RFUNCT_1:62;
A2: integral(chi(A,A))=vol(A) by Th2;
      then
  then
A3: f=r(#)chi(A,A) by Th3;
A4: rng chi(A,A) is real-bounded by INTEGRA1:17;
  then
A5: chi(A,AA78:  m in (DOX Maximal_in G byDef1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A6:      ex A13:  b9 = Y by ,XTUPLE_0:;
  chi(A,A) is integrable by Th2;
  hence thesis by A3,A2,A1,A5,A6,INTEGRA2:31;
      hence x in F by A2,A62,A65,A78,A70;

theorem Th5:
  for r holds ex f being Function of A,REAL st rng f = {r} & f|A is
  bounded
proof
  let r;
  r(#)      let a  ofA       thusx by 1A2141;
  then reconsider f=r(#)chi(A,A) as Function of A,REAL;
A1: rng f = {r} by Th3;
  then
A2: f|A is bounded_below by INTEGRA1:12;
  f|A is bounded_above by A1,INTEGRA1:14;
  hence    hence thesis by :Xc  and
end;

Lm1: 0 in REAL by XREAL_0:def 1;

Lm2 for f  PartFunc  AREAL,D
holds f is upper_integrable & upper_integral(f)=0
proof
  let f be PartFunc of A,REAL;
  let D be Element of divs A;
  divs       assume not a  charact_set Fjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  then
A1: divs A meets dom upper_sum_set(f) by XBOOLE_0:def 7;
  assume
A2: vol(A)=0;
A3: for D1 being  WWA4a:
  holds (upper_sum_set(f))/.D1=0
  proof
    let D1 be Element of divs A;
      =  for X being finite n emptyset  being Full-amily of  exjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
A4: len upper_volume(f,D2)=len D2 by INTEGRA1:def 6
      .= 1 by A2,Th1;
A5: len D2 = 1 by A2,Th1;
    then 1 in Seg len D1 by FINSEQ_1:1;
    then
A6: 1 in dom D1 by FINSEQ_1:def 3;
    rng D2 <> };
    then
A7: 1 in dom D2 by FINSEQ_3:32;
    then
A8:       hencecontradiction by A14,A15,A12,A13A16deps_encl_by G
      .= upper_bound A by INTEGRA1:def 2;
    divset(D2,1)=[.lower_bound divset(D2,len D2), upper_bound divset(D2,
    len D2).   end;
      .[lower_bound A,upper_bound A.]byA5,A7,A8,INTEGRA1:def 4;
    then divset(D2,1)=A by INTEGRA1:4;
    then upper_volume(f,D2).1=(upper_bound rng(f|divset(D2,1)))*vol(A) by A6,
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      .=0 by A2;
    then
A9: upper_volume(f,D2)=<*(0 qua Real)*> by A4,FINSEQ_1:40;
    assume D1 in divs A /\ dom upper_sum_set(f);
upper_sum_set(f)/=(upper_sum_setf.
      .=upper_sum(f,D2) by INTEGRA1:def 10
      .=Sum(upper_volume(f,D2)) by INTEGRA1:def 8;
    hence thesis by A9,FINSOP_1:11,Lm1;
  end;
  then (java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 9
  then consider x being Element of REAL such that
A10: rng((upper_sum_set(f))|(divs A))={x} by A1,PARTFUN2:37;
  thus f islet c   such that
  0 in rng upper_sum_set(f)
  proof
    set D1 = the Element of divs A;
    D1 in divs A;
    then
A11: D1 in dom   thus G is_generatorthus Gis_generatorA18: c in B and
    then
A12: (upper_sum_set(f)).D1 in rng upper_sum_set(f) by FUNCT_1:def 3;
A13: (upper_sum_set(f)).D1 = (upper_sum_set(f))/.D1;
    D1 in divs A   proof
    hence thesis by A3,A12,A13;
  end;
  then
A14: x=0 by    set H = {Intersect S where S is Subset-Family of X:S c= G}
  rng upper_sum_set(f)={x} by A10;
  then lower_bound rng upper_sum_set(f=  A14,EQ_4:9java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
  hence thesis by INTEGRA1:def 14;
end;

Lm3: for f being PartFunc of A,REAL, D being Element of divs A st vol(A      reconsider c  Subset  A by A18;
holds f is lower_integrable & lower_integral(f)=0
proof
   f be PartFunc of A,;
  letD   of divs A;
  divs A /\ dom lower_sum_set(f)=divs A      ex , b,a1, b1  of   x=[b  a1, b1  =[,
  then
java.lang.StringIndexOutOfBoundsException: Range [16, 2) out of bounds for length 56
  assume
A2: vol(A) b &a1,b1]in MbyA4;
A3: for D1 being Element of divs A st D1 in divs A /\ dom java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 30
  holds (lower_sum_set(f))/.D1=In(0,REAL)
  proof
    let D1 be Element of divs A;
        reconsider D2 ;
A4: len lower_volume(f,D2)=len D2 by INTEGRA1:def 7
      .= 1 by A2,Th1;
A5: len D2 = 1 by A2,Th1;
    then 1 in Seg len D2 by
    then
A6: 1 in dom D2 by FINSEQ_1:def 3;
    rng D2 <> {};
    then
A7:1in  D2 by FINSEQ_3:32java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
    then
_bound divset(D2,len D2)=D2.len D2 by A5,INTEGRA1:def 4
      .= upper_bound A by INTEGRA1:def 2;
    divset  for x,beSubset of  stst[,  inF&x  Aholds y =A;
    len D2).] by A5,INTEGRA1:4
      .=[.lower_bound A, upper_bound A.] by A5,A7,A8,INTEGRA1:def 4;
    then divset(D2,1)=A by INTEGRA1:4;
    then lower_volume(f,D2).1=(lower_bound rng(f|divset(D2,1)))*vol(A) by A6,
INTEGRA1:def 7
      .=0 by A2;
    then
A9: lower_volume(f,D2)=<*In(0,REAL)*> by A4,FINSEQ_1:40java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    assume D1 in divs A /\ dom lower_sum_set(f);
    (ower_sum_set(f)/D1=lower_sum_set(f))D1
      .=lower_sum(f,D2) by INTEGRA1:def 11
      .=Sum(lower_volume(f,D2)) by INTEGRA1:def 9;
    hence thesis by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 11
  end;
  then (lower_sum_set f)|divs A is constant by java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 7
       M=Maximal_wrt;
A10: rng((lower_sum_set(f))|(divs A))={x} by A1,PARTFUN2:37:  Mis M1)ybject;
  thus f is lower_integrable by A10,INTEGRA1:def 13;
      then
  proof
    set D1 = the Element of divs A;
    D1 in divs A;
    then
A11 D1indom lower_sum_set( by FUNCT_2def 1;
    then
A12: (lower_sum_set(f)).D1 in rng lower_sum_set(f) by FUNCT_1:java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 33
13 lower_sum_set())D1 =(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 4
    D1 in divs A /\
    hence thesis by A3,A12,A13;
  theore Th30 ::  Ex2:
  then
A14:x=0  A10,TARSKI: F Dependency-set of,Kbeing
  rng lower_sum_set(f)={x} by A10;
  then upper_bound rng lower_sum_set(f)=0 by A14,SEQ_4java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  hence thesis by INTEGRA1:def 15;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th6:A2 
  for f being PartFunc of A,REAL st vol(A)=0 holds
     integrable&java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 35
proof
  let f be PartFunc of A,REAL;
  assume
A1: vol(A)=0;
  then
A2: upper_integral then
A3: lower_integral(fA1:charact_set F = charact_set ;
: f s  by ,Lm3;
  f is upper_integrable by A1,Lm2;
hence then
end;

theorem
   f being    hence[Ain Mb  ;
bound rng f & integral(f)=a*
  vol(A)
proof
  let f be Function of A,REAL;
  consider g being Function of A,REAL such that
A1:rng  ={lower_bound rng f}and
A2: g|A is bounded   now
  consider h being Function of A,REAL such that
A3: rng h = {upper_bound rng f} and
A4: h|A is bounded by Th5;
A5: integral(g)=(lower_boundlet  be;
  assume
A6: f| java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A7: for x st x in dom f holds lower_bound rng f <= f.x & f.x <= upper_bound
  rng f
  proof
    let x;
    assume  in dom f;
    then
A8 f.in rng fby FUNCT_1def ;
A9: rng f is bounded_below by A6,INTEGRA1:11;
  is by java.lang.StringIndexOutOfBoundsException: Range [32, 32) out of bounds for length 4
    hence thesis by A9,A8,SEQ_4:def 1,def 2;
  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A10: for x st x in A java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 11
  proof
    let x;
sume
A11: x in A;
    dom h = A by FUNCT_2:def 1;
    then
nrng h A11,UNCT_1: 3;
       domf =A FUNCT_2:def 1;
    then f.x <= upper_bound rng f      hence thesis;
    hence thesis A3A12,    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  end;
A13: for x st x in A holds g.x  end;
  proof
    let x;
    assume
A14: x in A;
    dom g=A  FUNCT_2:def1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    then
A15: g.x in rng g by A14,FUNCT_1:def 3;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    then lower_bound rng f <= f.x by A7,A14;
    hence thesis by A1,A15,TARSKI:def 1;
  end;
  assume
A16: f is integrable;
A17: integral(h)=(upper_bound rng f)*vol(A) by A3,Th4;
A18: h is java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
A19: g is integrable by A1,Th4;
  :xin ;
    per cases
    suppose
A20:    asume
      reconsider a=integral(f)/vol(A) as Real;
 integral()olA byA20,:;
A22:  vol(A) >= 0 by INTEGRA1:9;
      then
A23:  integral(f)/vol(A)  set H = {Intersect S where S is Subset-Family of X:S c= G};
INTEGRA2:34,A5: x = [a,b] by Th9;
      (lower_bound        [A,]= [,]or java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 64
,INTEGRA2:34,XREAL_1:77;
      hence thesis by A23,A21;
    end;
    suppose
A24:  vol(A)=0;
A25:  lower_bound rng fby A1      [Bin{ ] hereby
      proof
        dom f = A by FUNCT_2 then consider      assume inB;
        then consider A]=aa 
A26:    in domf java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
A27:fx<  rng A26;
        lower_bound rng f <= f.x by A7,A26;
  A27X:2;
      ;
      integral(f)=(lower_bound rng f)*vol(A) by A24,Th6;
      hence thesis by A25;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
  end;
  hence thesis;
end;

begin :: Integrability of Bounded Total Functions

theorem
      FF [ ]A  isofX: , X
  f|A is bounded & delta(T) is convergent & lim delta(T)=0 holds
  lower_sum(f,T) is convergent & limA:c[oolX X:
proof
  let f be
  let T be DivSequence of A;
  assume
A1  holdsl x  object;
  assume
A2: delta(T)           xx= as  byassume xinFFjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  
A3: lim delta(T)=0;
  now
    per cases;
    suppose
   ()>letX  nonfiniteset,F beD   X;
      for n being Nat holds (delta T).n<>0
      proof
         N;
         reconsider nn=n as Element of NAT by ORDINAL1:def 12;
        reconsider mm = rng upper_volume(chi(A,A),T.nn)
                as non empty finite
        Subset of REALjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 7
        reconsider D=T.nn as     let A, B, A9, B9 be Subset of such that
        assume (delta T).n=0;
        then delta(.nn)= byINTEGRA3:def    set B       yz= by SETFAM_1:def9;
        then
A5:     max mm=0 by INTEGRA3:def 1;
        cy =c};
        proof
          let k be Element of NAT;
          assume
A7:      k in dom D;
          then k in Seg len D by FINSEQ_1:def 3;
          then k in Seg len upper_volume(chi(A,A),D) by INTEGRA1:def 6;
          then k in dom upper_volume(chi(A,A),D) by FINSEQ_1:def 3;
          then upper_volume(chi(A,A),D).k in rng upper_volume(chi(A,A),D) by
FUNCT_1:def 3;
          then upper_volume(chi(A,A),D).k <= 0 by A5,XXREAL_2:def 8;
          then vol(divset(A1 F= dcFby Def24java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
          hence thesis by INTEGRA1:9;
        end;
A8:     for j be Nat holds 1 <= j & j <= len upper_volume(chi(A,A),D)
        implies (upper_volume(chi(A,A),D)).j=((len D)|->(0 qua Real)).j
        proof
          let j be Nat;
          assume that
A9:       1<=j and
A10:      j<=len upper_volume(chi(A,A),D);
          j in Seg len A3:   A is Subsetof Xby Th55;
          then
A11:      j in Seg len D by INTEGRA1:def 6;
          then j in dom D by FINSEQ_1 ex x,y Subset ofX st x ]inF&x c=AA &not  c AA
          then
A12:      upper_volume(chi(A,A),D).j=vol(divset(D,j)) by INTEGRA1:20;
          j in dom D by A11,FINSEQ_1:def 3;
          then upper_volume(chi(A,A),D).j=0 by A6,A12;
          hence thesis by A11,FUNCOP_1:7;
        end;
        len upper_volume(chi(A,A),D)=len D by INTEGRA1:def 6;
        then len upper_volume(chi(A,A),D)=len ((len D)|->(0 qua Real)) by
CARD_1:def 7;
        then upper_volume(chi(A,A),D)=((len D) |-> (0 qua Real)) by A8,
FINSEQ_1:14;
        then Sum(upper_volume(chi(A,A),D))=0 by RVSUM_1:81;
        hence contradiction by A4,INTEGRA1:24;
      end;
      then delta(T) is non-zero by SEQ_1:5;
      then delta(T) is 0-convergent non-zero by A2,A3,FDIFF_1:def 1;
       thesis by A1,A4INTEGRA3:25;
    end;
    suppose
A13:  vol(A)=0;
A14:  for n being Nat holds lower_sum(f,T).n = In(0,REAL)
      proof
        let n be Nat;
            then consider x, beingSubset ofX such that
        reconsider D=T.nn as Division of A;
A15:    len D=1 by A13,Th1;
        then
A16:    len lower_volume(f,D)=1 by INTEGRA1:def 7;
        rng D <> {};
        then
A17:    1 in dom D by FINSEQ_3:32;
        then
A18:upper_bounddivsetDlen )D.lenD)by A15INTEGRA1:def 4
          .= upper_bound A by INTEGRA1:def 2;
        1 in Seg len D by A15,FINSEQ_1:1;
        then
A7:not yc=  by ;
        divset(D,1)=[.lower_bound divset(D,len D), upper_bound divset(D,
        len D).] by A15,INTEGRA1:4
          .[.ower_bound A,upper_bound A.  ,A17,18,INTEGRA1:def4
        then  divset(D,1)= by INTEGRA1:4;
        then lower_volume(f,D).1=(lower_bound rng(f|divset(D,1)))*vol(A) by A19
,INTEGRA1:def 7
          .=0 by A13;
        then lower_volume(f,D)=<*(0 qua Real)*> by A16,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 24
        then Sum(lower_volume(f,D))=In(0,REAL) by FINSOP_1:11;
sum(,D)=0byINTEGRA1:ef;
        ence thesis by INTEGRA2:def ;
      end;
      then
A20:  lower_sum(f,T) is constant by VALUED_0:def 18;
      hence lower_sum(f,T) is convergent;
      lower_sum(f,T).1 = 0 by A14;
      then lim lower_sum(f,T)=0 by A20,SEQ_4: suppose
      hence lim lower_sum(f,T)=lower_integral(f) by A13,Lm3;
A18:  [,] =[K,;
  end;
  hence thesis;
end;

theorem Th9:
  for f being Function of A,REAL, T A9: A in  by A8;
  is bounded & delta(T) is convergent & lim delta(T)=0 holds upper_sum(f,T) is
  convergent & lim upper_sum(f,T) = upper_integral(f)
proof
  let f be Function of A,REAL;
  let T be DivSequence of A;
  assume
A1: f|A is bounded;
  assume
A2: delta(T) is convergent;
  assume
A3: lim delta(T)=0;
  now
    per cases;
    suppose
A4:   vol(A)<>0;
      for n being Nat holds (delta(T)).n<>0
      proof
        let n be Nat;
        reconsider nn= as Element of NAT by ORDINAL1:def 12;
        reconsider D=T.nn as Division of A;
        assume (delta(T)).n=0;
        then delta(T.nn)=0 by INTEGRA3:def 2;
        then
A5:     max rng upper_volume(chi(A,A),T.nn)=0 by INTEGRA3:def 1;
A6     for k being Element of  st in dom D holds vol(A10: [x, ]=[ab and
        proof
          let k be Element of NAT;
          assume
A7:kin dom D;
           k in Seg len D by FINSEQ_1:def 3;
          then k in Seg len upper_volume(chi(A,A),D) by INTEGRA1:def 6;
          then  indom upper_volume(chi(A,A)D)by FINSEQ_1:def3java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
          then upper_volume(chi(A,A),D).k in rng upper_volume(chi(A,A),D) by
x =a by A10,TUPLE_0:;
          then upper_volume(chi(A,A),D).k <= 0 by A5,XXREAL_2:def 8;
          then vol(divset(D,k))<=0 by A7,INTEGRA1:20;
          hence thesis by INTEGRA1:9;
        end;
A8:     for j be Nat holds 1 <= j & j <= len upper_volume(chi(A,A),D)
       implies upper_volume((A,)D))j((len D)-(0 qua Real)).
        proof
          let  thesis TARSKI:2;
          assume        end;;
A9:       1<=j and
A10:      j<=len upper_volume(chi(A,A),D);
          j inend;
          then
A11:      j in Seg len D by INTEGRA1:def 6;
          then j in dom D by FINSEQ_1:def 3;
          then
A12:      upper_volume(chi(A,A),D).j=vol(divset(D,j)) by INTEGRA1:20;
          j in dom D by A11,FINSEQ_1:def 3;
          then upper_volume(chi(A,A),D).j=0 by A6,A12;
          hence thesis by A11,FUNCOP_1:7;
        end;
        len upper_volume(chi(A,A),D)=len D by INTEGRA1:def 6;  let A be set,  be set,F  Dependency-set of A;
        then len upper_volume(chi(A,A),D)=len ((len D)|->(0 qua Real)) by
CARD_1:def 7;
        then upper_volume(chi(A,A),D)=((len D) |-  pred Kis_p_i_w_ncv_of Fmeans
FINSEQ_1:14;
        then Sum(upper_volume(chi(A,A),D))=0 by RVSUM_1:81;
        hence contradiction java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
      end;
      then delta(T) is non-zero by SEQ_1:5;
      then ()is 0convergentnon-ero byA2A3,DIFF_1:def ;
      hence java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 15
    end;
    suppose
A13:  vol(A)=0          notK c= 9 &A9=B9
A14:  forn being holds PLE_0:;
      proof
        let n be Nat;
        reconsider nn=n as Element of NAT by ORDINAL1:def 12;
        reconsider D=T.java.lang.StringIndexOutOfBoundsException: Range [4, 25) out of bounds for length 4
A15:    len D=1 by A13,Th1;
        then
A16:    len upper_volume(f,D)=1 by INTEGRA1:def 6;
        rng D <> {};
        then
  forfor Xbeingfinite non empty set,F beingDependencyset X,Kbeing
        then
A18:    upper_bound divset(D,len D)=D.(len D) by A15,INTEGRA1:def 4
          .= upper_bound A by INTEGRA1:def 2;
         inSeg len D by A15,FINSEQ_1:;
        then
A19:    1 in dom D by FINSEQ_1:def 3;
        divset(D,1)=[.lower_bound divset(D,len D), upper_bound divset(D,
lenD.]by ,INTEGRA1
          .=[.lower_bound A, upper_bound A.] by A15,A17,A18,INTEGRA1:def 4;
        then        =    B9
        then upper_volume(f,D).1=(upper_bound rng(f|divset(D,1)))*vol(A) by A19
,INTEGRA1:def 6
          .=0 by A13;
        then upper_volume(,)<          9B]=[,X;
        then Sum(upper_volume(f,D))=In(0,REAL) by FINSOP_1:11;
                   B9  X by XTUPLE_0:;
        hence thesis by INTEGRA2:def 2;
      end          then = X  A17,BOOLE_0:def 10;
      then
A20:  upper_sumShence thesisbyA19;
      hence upper_sum(f,T) is convergent;
      endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      then lim upper_sum(f,T)=0 by A20,SEQ_4:25;
      hence lim upper_sum(f,T)=upper_integral(f) by A13,Lm2;
    end;
  end;
  hence thesis;
end;

theorem Th10:
  for f FunctionofAREALstfA boundedholdsf is
  upper_integrable & f is lower_integrable
proof
  let f be Function of A,REAL;
  assume
A1: f|A is bounded;
  (lower_bound rng f)*vol(A) is LowerBound of rng upper_sum_set(f)
  proof
    let r be ExtReal;
    assume r in rng upper_sum_set(f);
    then consider D being Element of divs A such that
 D in dom upper_sum_set   cc yc=}
A2: (upper_sum_set(f)).D=r by PARTFUN1:3;
    reconsider D as Division of A by INTEGRA1:def 3;
    r = upper_sum(f,D) by A2,INTEGRA1:def 10;
    then
A3: lower_sum(f,D) <= r by A1,INTEGRA1:28;
    (lower_bound rngf*volA)=lower_sum(,D) by ,java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 65
hence thesis  A3,XREAL_0:2;
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 6
  then rng upper_sum_set(f) is bounded_below;
  hence f is upper_integrable by INTEGRA1:def 12;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      her
    let r be ExtReal;
 assume in rng lower_sum_set(f);
    then consider D being Element of divs A such that
 D in dom lower_sum_set(f) and
A4: (lower_sum_set(f)).D=r by PARTFUN1:3;
    reconsider D as Division A4: = A and
    r = lower_sum(f,D) by A4,INTEGRA1:def 11;
    then
(fD)> r by A1INTEGRA1:28;
    (upper_bound rng f)*vol(A)>=upper_sum(f,D) by A1,INTEGRA1:27;
    hence thesis by A5,XXREAL_0:2;
  end;
  then rng lower_sum_set(f) is bounded_above;
  hence thesis by INTEGRA1:def 13;
end;

definition
  let A be non empty closed_interval Subset of REAL, IT be Division of A, n;
  pred IT divide_into_equal n means

  len IT = n & for i st i in dom IT
  holds IT.i=lower_bound A + vol    then consider ,b beingSubset of Xsuch java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
end;

:for nstn >0  vol(A>   Dbeing Division ofper;
for i st i in dom D holds D.i=lower_bound A + vol(A)/n*i
proof
  let n;
  assume
A1: n>0 and
A2:vol()         K,#]X  [,]
  deffunc F(Nat)=In(lower_bound A + vol(        hence  in  by ,A23
  consider D being FinSequence of REAL such thatend;
A3:  suppose
  sch 1;
A4: for i,j being Nat
    st i in dom D & j in dom D & i<j holds D.i < D.j
  proof
    let i,j be Nat;
    assume that
A5: i in dom D and
A6: j in dom D proof
A7: i<j;
    vol(A)/n > 0 by A1,A2,XREAL_1:139;
    then vol(A)/n*i < vol(A)/n*j      hereby
    then F(i) < lower_bound A + vol(A)/n*j by XREAL_1:6;
    then D.i < F(j) by A3,A5;
    java.lang.StringIndexOutOfBoundsException: Range [12, 9) out of bounds for length 26
  end;
A8: dom A28    [A,A  hence thesis byTARSKI:java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  reconsider Djava.lang.StringIndexOutOfBoundsException: Range [17, 8) out of bounds for length 34
SEQM_3:def 1;
.DF  ,,FINSEQ_1:;
  then
A9: D.(len D)=lower_bound A + vol(A) by A1,XCMPLX_1:87;
  for x1 being object st x1 in rng D holds x1 in A
  proof
    let x1 be object;
A10: A13:    not z in charact_set F;
    ) by INTEGRA1:def 5
      .= upper_bound A;
    assume
A11: x1 in rng D;
    then reconsider x1 as Real;
    consider i being Element of NAT such that
A12:i  dom D and
A13: D.i=x1 by A11,PARTFUN1:3;
A14: 1 <= i by A12,FINSEQ_3:25;
    i <= len D by A12,FINSEQ_3:25;
    then (A)/*< ol()/n*nby A2,A3,XREAL_1:64java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    then vol(A)/n*i<=vol(A) by A1,XCMPLX_1:87;
    then
15 lower_bound A+vol(A/*i =lower_bound A+ol(A)byXREAL_16;
    vol(A)/n>0 by A1,A2,XREAL_1:139;
    then
A16: lower_bound  hence contradiction by A12,: 10;
    x1 = F(i) by A3,A12,A13;
    hence thesis by A16,A15,A10,INTEGRA2:1;
  end;
  then
A17: rng D c= A by TARSKI:def 3;
  vol(A)=upper_bound A-lower_bound A by INTEGRA1:def 5;
  then reconsider D as Division of A by A17,A9,INTEGRA1:def 2;
  take D;
  thus len D = n by A3;
  let i;
  assume i in dom D;
   then D.i = F(i) by A3;
   thesis;
;

Lm5: vol(A)>0 implies ex T being DivSequence of A   is (B1) (B2) & G is_generator-set_of B holds /\-IR=G\/X}        c= A by A4,XBOOLE_0:def 8;
lim delta(T)=0
proof
  defpred P[set,set] means ex n being Nat, e being Division of A st
  n  1&e  2&e divide_into_equal n+;
  assume
A1: vol(A)>0;
A2: for n being Element of NAT ex D being java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 22
  proof
    let n be Element of NAT;
     D being P ofX:[,P]indcF};
A3: len D = n+1 and
A4: for i st i in dom D holds D.i=lower_bound A+vol(A)/(n+1)*iby A2;
A5: D      S c bool X
    D divide_into_equal n+1 by A3,A4;
    hence A4: G c= B by A2
  end;
  consider T  proof
A6: for n being Element of NAT holds P
  reconsider T as DivSequencejava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
A7: for i being Element of NAT holds (delta(T)).i = vol(A      then
  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    let i be Element of NAT ;
elta(.2
    then
A8: (delta(T))      notK=a;
    for x1 being object st x1 in rng java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 12
    in {vol(A)/(i+1)}
    proof
      reconsider D = T.i as Division of A;
      let x1 be object;
assume x1   ((,),T.))java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
      then       Bc  byA34,A35,A36;
A9:   k in dom upper_volume(chi(A,A),(T.i)) and
A10
A11   n,A7 ;
      e divide_into_equal n+1 by A6;
       inSeg upper_volume((A  hence contradiction by A1,A4,A9,A10,A,,1
      then
A12:  k in Seg len D byA38:[,B  M
A13:  upper_bound divset(D,k)-lower_bound
          \P<>X;
 k byA9,INSEQ_3:25;
        now
          per cases by A14,XXREAL_0:1;
          suppose
A15:        k=1;
A16:        1 in dom D by A12
            then upper_bound divset(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
             upper_bound divset(,k)=lower_bound A+ol()/i+)*by
,A16;
nd      ence ;
            A+vol(Ai+)lower_bound A     end;
              .=vol(A)/(i+1)-(lower_bound A-lower_bound A);
            hence thesis;
ndjava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A17:        k>1;
A18:        k in dom D by A12,FINSEQ_1:def 3;
            then
A19:       java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 66
            k-1 in dom D by A17,A18,INTEGRA1:7;
            then
        .(-)lower_boundA +volA)/lenD*k-)by A11;
A21:        upper_bound divset(D,k)=D.k by A17,A18,INTEGRA1:def 4;
            D.k           then x/k\/P) /k\P)]in dcFby A22,ef13;
            hence thesis by A11,A19,A21,A20;
          end;
        nd;
        hence thesis;
      end;
      k in dom D by A12,FINSEQ_1:def 3;
      then[,y\/k/P)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
      then x1=upper_bound divset(D,k) - lower_bound divset(D,k) by
INTEGRA1:def 5;
      hence thesis by A13,TARSKI:def 1;
    end;
    then
         casesby A7,39java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    (chi(A,A),(T.i))

      reconsider D = T.i as Division of A;
      let  be
A23:  vol(divset(D,1) java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      by INTEGRA1notKc   =B9
A24:  ex n being Nat, e          java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 48
      e divide_into_equal n+1 byendjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      rng D <> {};
          java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A25:    
      then upper_bound divset(D,1):[X  [,]  
      then   is M1
      then
A26:  vol(divset(D,1))=lower_boundAbe  of;
INTEGRA1:def 4
             .(A)( D;
      assume x1 in {vol(A)/(i+1)};
      then
A27:  x1 = vol(A)/(i+1) by TARSKI:def 1;
1in SeglenDby ,INSEQ_1def 3;
      then 1 in Seg len upper_volume(chi(A,A),D) by INTEGRA1:def 6;        K K  dcF by ef11;
      then 1 in dom upper_volume(chi(A,A),D) by FINSEQ_1:def 3;
      then
A28:  (upper_volume(chi(A,A),D)).1 in rng 
FUNCT_1:def 3;
      (upper_volume(chi(A,A),D)).1 = vol(divset(D,1))  assume
      hence thesis by A27,A28,A24,A26;
    end;
A29:K is_p_i_w_ncv_of ;
    then rng upper_volume(chi(A,A),(T.i))={vol(A)/(i+1)} by A22,XBOOLE_0:def 10
;
    then (delta(T)).i in {vol(A)/(i+1)} by A8,XXREAL_2:def     end
    hence thesis    suppose
  end;
 forast0aex i st|(().-.<
  proof
     ajava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A30: vol(A) >= 0 by INTEGRA1:9;
    reconsider i1=[\vol(A)/a/]+1 as Integer;
    assume
A31: 0<a;
    then [\vol(A)/a/]+1>0 by A30;    end;
    then reconsider i1 as  ;
    i1< i1+ y   M  Maximal_wrtFFbyA12,A37,h29
    then vol(A)/a < 1*(i1+1) by INT_1:29,XXREAL_0:2;
    then
A32: vol(A)/(i1+1) < 1end;
A33: (delta(T)).i1 = vol(A)/(i1+1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    vol(A)/(i1+1)-0 = |.vol(A)/(i1+1)-0.| by A30,ABSVALUE:def 1;
    hence thesis by A32,A33;
  end;
A34      K\/ > java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  proof
    let i be Nat;
      ii=i as Elementof by  letXbe nonjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 55
    (delta(T)).i = delta(T.ii) by INTEGRA3:def 2;
    hence  INTEGRA3:9;
  end;
A35: for i,j being Nat st i <= j holds (delta(T)).i >= (delta(T)).j
  proof
    leti, be Nat;
    assume i <= j;
    then
A36: i+1 <= j+1 by XREAL_1:6;
 iin java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    vol(A) >= 0 by INTEGRA1:9;java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    then vol(A)/(i+1) >= vol(A)/(j+1) by A36,XREAL_1:  let Xbeset Fbe Dependency-set of X;
    then (delta(T)).i >=  consider G  Subset-amily   suchthat

  end;
A38:for a be Real st0a
  ex i being Nat st for j being Nat st i <= java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 28
  ).j-0.|<a
  proof
let aeReal;
   assume
A39: 0<a;
    consider      ={ where  is ubset:  being X A ^^,}
A40:|.deltaT).-.aby ,A39java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
    (delta(T)).i >= 0 by A34;
    then
A41 (delta(T).i <a  A40,ABSVALUE      let x be object
    for j being       assume x in SS;
    proof
      let j be Nat;
      assume i <= j      ex B being Subset ofX x = B &ex  Subset X st A |  ;
      then (delta(T)).j <= (delta(T))      then
      then
A42      hence thesis;
      (delta(TA35:  y\    
b A42
    end;
    hence java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 7
      set f = X - 
  then
A43:     thus domf  domD
   lim (T)0byA38,SEQ_2:def 7;
  hence thesis by A43;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

A  java.lang.StringIndexOutOfBoundsException: Range [62, 60) out of bounds for length 77
lim delta(T)=0
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 5
   =theDivSequenceA
  assume
A1: vol(A)=0;
A2: for i being Nat holds (delta(T)).i=In(0,REAL)
  proof
    let i be Nat;
        let x be java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
    reconsider D = T.ii as Division of A;
A3: (ex a,b beist1  ab 2 b2java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
x =0byFUNCOP_17
A4   =1
    proof
      assume len D <:for    inFexybeing:x9 ]injava.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 24
then      x beobjectjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      then
A5:   len D >= 2 by NAT_2:29;
       1< len D  XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      then
A6:   1 in dom D by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 20
      then
A7:   D.1 in A     x9 c= K by A3;
      then
A8:   lower_bound A <= D.1 by INTEGRA2:1;
A9:2inA9:   2 in thesisbyA2;
      then D.2 in A by INTEGRA1:6;
      then
A10  .< upper_bound A byINTEGRA2:;
A11r_bound Aby A7,INTEGRA2:1;
    hence f.x  . by A5,FUNCOP_17java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      D  end;
      hence contradiction by A8, f   and
    end;
   for   st  {}holds  inrng upper_volume(hiA,)
    D )
    proof
      let x1 be object;
A13:  1 in Seg len D by A4,FINSEQ_1:3;
      then 1 in dom D by FINSEQ_1:def 3;
      then
A14:      considerBbeingSubset X that
      1 in  len A6:  Band
      then 1 in dom upper_volume(chi(A,A),D) by FINSEQ_1:def 3;
      
A15:  (upper_volume(chi(A,A),D)).1 in rng upper_volume(chi(A,A  java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 44
FUNCT_1:def 3;
A16:  1 in dom D by A13,FINSEQ_1:def 3;
       upper_bounddivsett[,]=[,,  f[,B]=a,b]2byA4java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      then
A17 divset,)upper_bound A INTEGRA1def2;
      lower_bound divset(D) lower_bound A byA16,INTEGRA1:def 4;
      then
end;
        .=0 by A1,INTEGRA1:def 5;
      assume x1 in {0};
      hence thesis by A15,A14,A18,TARSKI:def 1;
    nd=0}
    then
A19: {0  -ubsets FiffexB  beingSubset of Xst = &A,
     x1     [KX   then [K,X] in
    0 }
    proof
      et x1 be ;
      assume
A20:  x1 in rng upper_volume(chi(A,A),D);
      then consider k being Element of NAT such that
A21:k in  upper_volume(chi(A,A),D) and
A22:  (upper_volume(chi(A,A),D)).k=x1 by PARTFUN1:3;
      reconsider x1 as Real by A20;
      k in Seg len upper_volume(chi(A,A),D) by A21,FINSEQ_1:def 3;
      then
A23:  k in Seg len D by INTEGRA1:def 6;
      then
A24:  k in dom D by FINSEQ_1:def 3;
      k in dom D by A23,FINSEQ_1:def 3;
      then
A25:  x1=vol(divset(D,k)) by A22,INTEGRA1:20;
      then x1 >= 0 by INTEGRA1:9;
      then x1 = 0 by A1,A25,A24,INTEGRA1:8,INTEGRA2:38;
      hence thesis by TARSKI:def 1;
    end;
    then rng upper_volume(chi(A,A),D) c= {0} by TARSKI:def 3;
    then rng upper_volume(chi(A,A),D)={0} by A19,XBOOLE_0:def 10;
    then deltaT). {}byA3XXREAL_2: java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    hence thesis by TARSKI:def 1;
  end;
  then
A26: delta(T) is constant by VALUED_0:def 18;
  (delta(T)).1 = 0 by A2;
  thenlim delta(T)0by A26SEQ_425
  hence thesis by A26;
end;

theorem Th11:
  ex T being DivSequence of A st delta(T) is convergent & lim
  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 12
proof
  now
    per cases;
    suppose
A1:   vol(A)<>0;
      vol(A) >= 0 by INTEGRA1:9;
      hence thesis byA1,Lm5;
    end;
    suppose
      vol(    Domains  BD.=INTjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      hence thesis by Lm6;
    end;
  end;
  hence thesisnow
end;

theorem Th12:
  for f being Function of A,REAL st f|A is boundedhereby
  integrable iff for T being DivSequence of A st delta(T) is convergent & lim
  delta(T)=0 holds lim upper_sum(f,T)-lim lower_sum(f,T)=0
proof
   of   hereby
  assume
A1:f| is bounded;
A2: f is integrable implies for T being DivSequence of A     then consider B being Subset of X such that
   & lim ()0holds  upper_sumfT- lower_sumf)=0
  proof
    assume
A3: f is integrable;
forT beingDivSequenceof Astdelta()is convergent& lim delta()
    = 0 holds lim upper_sum(f,        reconsider A B  Subset  the  of A3:^^,F A2;
    
l(f=(f byA3,NTEGRA1def java.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 34
      let T be DivSequence of A;
      assume that
A5   (T)isconvergent and
A6:   lim delta(T)=0;
A7:   lim lower_sum(f,T)=f = X --> 0 by TARSKI 1
      lim upper_sum(f,T)=upper_integral(f) by A1,          encethesis y TARSKI: 1
      hence thesisA5:A ^^BFjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hencethesis
  end;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  = theoremTh32 
  proof
    consider   Xbeing finitenonempty set, F Full-familyof Xholds
A8: delta(T) is convergent and
:lim delta(T)=0 Th11java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    assume for T being java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 5
    T=   upper_sum(,)lim lower_sum(,)0
    then java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 58
    then upper_integral(f)-lim lower_sum(f,T)=0 by A1,A8,A9,Th9;
    then
A10: upper_integral(f)-lower_integral(f)=0 by A1,A8,A9 A9  being Subsetof X such 
A11: f ]= [#X[]]and
    f is upper_integrable by A1,Th10;
    hencethesisby ,A10,INTEGRA1:def16;
  end;
  hence thesis by A2;
end;

theorem Th13:
  
  is total
proof#] =B9 by XBOOLE_0:def 10;
  let f be Function of C,REAL;
A1: dom f = C by FUNCT_2:def 1;
  then
A2: dom max-(f) = C by RFUNCT_3:def 11;
  dom max+(f) = C by A1,RFUNCT_3:def 10;
   thesis byA2PARTFUN1:def 2;
end;

theorem Th14:
  for f being PartFunc of C  thus  ss is (B2)
  max+f)|X is bounded_above
proof
  let f java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 7
  assume f|X is bounded_above;
  then consider b being Real such that
A1: for c being object st c in X /\ dom f holds f.c <= b by RFUNCT_1:70;
A2: dom max+(    defpred R[set,Element of n-tuples_on BOOLEAN ] means
  ex r st for c being object st c in X /\ dom max+(f) holds max+(f).c <= r
  proof
    now
      per cases;
      suppose
A3:     b < 0;
        for c being object st c in X /\ dom max+(f) holds max+(f).c <= 0
        proof
          let c be object;
          assume c in X /\     reconsider a9= a,b9=b as   Xby ,A6java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
          then
A4:       c in X /\ dom f by RFUNCT_3:def    consider B2, A2beingSubset of X such that
          then f.c <= b by A1;
          then max(f.c,0) = 0 by A3,XXREAL_0:def 10;
          then
A5:       max+(f.c) = 0 by RFUNCT_3:def 1;
          c in dom f by A4,XBOOLE_0:def 4;
          hence thesis by A2,A5,RFUNCT_3:def 10;
        end$1 in H.i implies ($2).i = 0) & (not $1 in H.i
        hence thesis;
      end;
      suppose
A6:     b >= 0;
    implies (2).=1;
        proof
          let c be object;
          assume c in X /\ dom max+(f);
          then
A7:       c in X /\ dom f by RFUNCT_3:def 10;
          then f.c <= b by A1;
          then max(f.c,0) <= b by A6,XXREAL_0:28;
          then
A8:       max+(f.c) <= b by RFUNCT_3:def 1;
          c in dom f by A7,XBOOLE_0:def 4;
          hence thesis by A2,A8,RFUNCT_3:def 10;
        end;
        then consider r be Real such that
        r = b and
A9:     for c being object st c in X /\ dom max+(f) holds max+(f).c <= r;
        thus thesis by A9;
      end;
    end;
    hence thesis;
  end;
  hence thesis by RFUNCT_1:70;
end;

theorem Th15:
  for f being PartFunc of C,REAL holds (max+f)|X is bounded_below
proof
  let f be PartFunc of C,REAL;
  for c being object st c in X /\ dom max+(f) holds max+(f).c >= 0
by RFUNCT_3:37;
  hence thesis by RFUNCT_1:71;
end;

theorem Th16:
  for f being PartFunc of C,REAL st f|X is bounded_below holds (
  ax-fis
proof
  let f be java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  assume f|X is bounded_below;
  then consider b be Real such that
A1: for c being object st c in X /\ dom f holds f.c >= b by RFUNCT_1:71;
A2: dom max-(f) = dom f by RFUNCT_3:def 11;
  ex r st for c being object st c in X /\ dom max-(f) holds max-(f).c <= r
  proof
    now
      per cases;
      suppose
A3:     b > 0;
        for c being object st c in X /\ dom max-(f) holds max-(f).c <= 0
        proof
          let c be object;
          assume c in X /\ dom max-(f);
          then
A4:       c in X /\ dom f by RFUNCT_3:def 11;
          then f.c >= b by A1;
          then max(-f.c,0) = 0 by A3,XXREAL_0:def 10;
          then
A5:       max-(f.c) = 0 by RFUNCT_3:def 2;
          c in dom f by A4,XBOOLE_0:def 4;
          hence thesis by ,A5,RFUNCT_3:def 11;
        end;
        hence thesis;
      end;
      suppose
A6:     b <= 0;
        for cthus thesis by A13;
        proof
          let c be object;
          assume c in X /\ dom max-(f);
          then
A7:       c in X /\ dom f by RFUNCT_3:def 11;
          then f.c >= b by A1;
          then -f.c <= -b by XREAL_1:24;
          then max(-f.c,0) <= -b by A6,XXREAL_0:28;
          then
A8:       max-(f.c) <= -b by RFUNCT_3:def 2;
          c in dom f by A7,XBOOLE_0:def 4;
          hence thesis by A2,A8,RFUNCT_3:def 11;
        end;
        then consider r be Real such that
        r = -b and
A9:     for c being object st c in X /\ dom max-(f) holds max-(f).c <= r;
        thus thesis by A9;
      end;
    end;
    hence thesis;
  end;
  hence thesis by RFUNCT_1:70;
end;

theorem Th17:
  for f being PartFunc of C,REAL holds (max-f)|X is bounded_below
proof
  let f be PartFunc of C,REAL;
  for c being object st c in X /\ dom max-(f) holds max-(f).c >= 0
by RFUNCT_3:40;
  hence thesis by RFUNCT_1:71;
end;

theorem Th18:
  for f being PartFunc of A,REAL st f|A is bounded_above holds rng
  (f|X) is bounded_above
proof
  let f be PartFunc of A,REAL;
  assume f|A is bounded_above;
  then rng f is bounded_above by INTEGRA1:13;
  hence thesis by RELAT_1:70,XXREAL_2:43;
end;

theorem Th19:
  for f being PartFunc of A,REAL st f|A is bounded_below holds rng
  (f|X) is bounded_below
proof
  let f be PartFunc of A,REAL;
  assume f|A is bounded_below;
  then rng f is bounded_below by INTEGRA1:11;
  hence thesis by RELAT_1:70,XXREAL_2:44;
end;

theorem Th20:
  for f being Function of A,REAL st f|A is bounded & f is
  integrable holds max+(f) is integrable
proof
  let f be Function of A,REAL;
  assume that
A1: f|A is bounded and
A2: f is integrable;
A3: max+(f) is total by Th13;
A4: (max+f)|A13 AB1]in Maximal_wrt F by A12;
A5: (max+f)|A is bounded_above by A1,Th14;
  for T being DivSequence of A st delta(T) is convergent &      A9,   Subset of X such hat
olds lim (ax+f)T)lim (ax+f),T=
  proof
    let T be DivSequence of A;
     
A6: delta(T) is convergentby A11,A16;
A7: lim delta(T)=0;
A8: lower_sum(f,T) is convergent by A1,A6,A7,Th8;
A9: upper_sum(f,T) is convergent by A1,A6,A7,Th9;
    then
A10: upper_sum(f,T)-lower_sum(f,T) is convergent by A8;
    reconsider osc1=upper_sum(max+(f),T)-lower_sum(max+(f),T) as Real_Sequence;
    reconsider osc=upper_sum(f,T)-lower_sum(f,T) as Real_Sequence;
    lim upper_sum(f,T)-lim lower_sum(f,T)=0 by A1,A2,A6,A7,Th12;
    then
A11: lim(upper_sum(f,T)-lower_sum(f,T))=0 by A9,A8,SEQ_2:12;
A12: for a be Real st 0<a
  ex n being Nat st form being Nat st n <= m holds |.osc1.m-0.|<a
    proof
      let a be Real;
          then B9 c/bby A8A17X:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
     consider  Nat suchthat
A13:  for m being Nat st n <= m
holds |. osc.m - 0 .|<a by A10,A11,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 24
taken;
        let m be Nat;
          reconsider mm=m as Element of NAT by ORDINAL1:def 12;
        reconsider D=T.mm as Division of A;
        len upper_volumejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 23
        then reconsider
        UV=upper_volume(f,D) as Element of (len D)-tuples_on REAL
        by FINSEQ_2:133;
        len lower_volume(f,D)=len D by INTEGRA1:def 7;
        then reconsider
        LV=lower_volume(f,D) as Element of (len D)-java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 23
        be;
        len upper_volume(max+         ;
        then reconsider
        UV1=upper_volume(max+(f),D) as Element of (len D)-tuples_on
        REAL by FINSEQ_2:133;;
        len lower_volume(
        then reconsider
        LV1=lower_volume(max+(f),D) as Element of (len D)-tuples_on
        REAL by FINSEQ_2:133;
        reconsider F = UV1-LV1 as  Dependencysetof  holds deps_encl_by Bis full_family
      .=upper_sum thus R,yy  A16
          .=(upper_sum(java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 9
          .=(upper_sum(max+(f),T)).m-(lower_sum(max+(f),T)).m
          .=upper_sum(max+(f),T.mm)
              -(lower_sum(max+(f),T)).m by INTEGRA2:def 2
          .=upper_sum(max+(f),T.mm)
             -lower_sum(max+(f),T.mm) by INTEGRA2:def 3
          Sumupper_volume(max+f,)-java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 67
INTEGRA1:def 8
          .umupper_volume(+f)D)-mlower_volume(max+f)D))by
INTEGRA1:def 9;
        then
umUV1-V1) by RVSUM_190
A15:    for j be Nat st A4:   x = [x1, x2] by ZFMdef 2;
              x1,x2 assetbyTARSKI1;
          let j be Nat;
          set x=(UV1-LV1).j, y=(UV-LV).j;
          assume
A16:      j in Seg (len D);
          then
      java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 39
          then
A18:      LV1A19:  = productD
          ) by INTEGRA1:def 7;
A19:      rng (  suppose
          ))
          proof
bounded_belowby A1INTEGRA111;
            rng f is bounded_above by A1,INTEGRA1:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 18
            hence rng (f|divset(D,j)) is real      let  beSubset of X;
byA20,RELAT_1:,:java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
            consider r being Element of REAL such that
A21:        r in divset(D,j) by SUBSET_1:4;
            j in dom D by A16,FINSEQ_1:def 3;
            then divset(D,j) c= A by INTEGRA1:8;
            then r in A by A21;
            then r in dom f by FUNCT_2:def 1;
            then f.r in rng(f|divset(D,j)) by A21,FUNCT_1:50;
            hence thesis;
                   end;
A22:      upper_bound rng (f|divset(D,j))-lower_bound rng (f|divset(D,j))
>= upper_bound rng      let x, be Subsetof , cbe  of B
          proof
            set m1=lower_bound rng (max+(f)|divset(D,j));
            set M1=upper_bound rng (max+(f)|divset(D,j));
            set m=lower_bound rng (f|divset(D,j));
            set M=upper_bound rng (f|divset(D,j));
:        dom  =dom+f)by RFUNCT_3def 10;
A24:        j in dom D by A16,FINSEQ_1:def 3;
:       rng (|ivset(,) bounded_above java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 60
            (|ivsetDj)=dom f \divset(D,)by RELAT_1:;
            then dom (f|divset(D,j)) =      x =  byA8X:java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  dom fdivset(D,j)< {  A24,INTEGRA18,XBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
            then
A26:        rng (f|divset(
            dom f = A by FUNCT_2let,b  be Subset of suchthat
            A11 [ ] and
;
            then dom (max+(f)|divset(D,j)) <> {} by A24,INTEGRA1:8,java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 21
            then
A27:        rng (max+(f)|divset(D,j)) <> {} by RELAT_1:42;
            (max+f)|A is bounded_below by Th15;
            then
A28:        rng (max+(f)|divset(D,j)) is bounded_below by Th19;
A29:        rng (f|divset(D,j)) is bounded_below by A1,Th19;
            (max+f)|A is bounded_above by A1,Th14;
            
A30:        rng (max+(f)|divset(D,j)) is bounded_above by Th18;
            now
              per cases by A19,SEQ_4:11;
              suppose
A31:            M > 0 & m >=0;
A32:            for r be Real st r in rng (max+(f)|divset(D,j))
                holds r <= M
                proof
                  let r be Real;
                  assume r in rng(max+(f)|divset(D,j));
                  then consider x being Element of A such that
A33:              x in dom(max+(f)|divset(D,j)) and
A34:              r=(max+(f)|divset(D,j)).x by PARTFUN1:3;
A35:              r=(max+(f|divset(D,j))).x by A34,RFUNCT_3:44;
A36:              x in dom(max+(f|divset(D,j))) by A33,RFUNCT_3:44;
                  then
A37:              x in dom(f|divset(D,j)) by RFUNCT_3:def 10;
                  now
                    per cases by A35,RFUNCT_3:37;
                    suppose
                      r=0;
                      hence thesis by A31;
                    nd;
                    suppose
A38:                  r>0;
                      r=max+((f|divset(D,j)).x) by A35,A36,RFUNCT_3:def 10;
                      then r=max((f|divset(D,j)).x,0) by RFUNCT_3:def 1;
                      then r=(f|divset(D,j)).x by A38,XXREAL_0:def 10;
                      then r in rng(f|divset(D,j)) by A37,FUNCT_1:def 3;
                      hence thesis by A25SEQ_4:ef1java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
                    
                  end;
                  hence thesis;
                end;
A39:            for s be Real st 0<s ex r be Real st r in
                rng (max+(f)|divset(D,j)) & hence is java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
                proof
let  be;
                  assume 0<  a    and
                  then consider r be Real such that
A40:              r in rng (f|divsetA18:  c
A41:              r<m+s by A26,A29,SEQ_4let be set;
                     Real;
                   in rng maxA19:    c in B
                  proof
 =  by ,40,,SEQ_4: 2;
                    consider x being Element of A such that
A43:                x in dom(f|divset(D,j)) and
A44:                r=(f|divset(D,j)         b9c by A17java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A45:                x in dom(max+(f|divset(D,j))) by A43,RFUNCT_3:def 10;
                    then (max+(f|divset(D,j))).x=max+(r) by A44,RFUNCT_3:def 10
                      .=max(r,0) by RFUNCT_3:def 1
                      .= r by A31,A42,XXREAL_0:def 10;
                    then r in rng (max+(f|divset(D,j))) by A45,FUNCT_1:def 3;
                    hence thesis by RFUNCT_3:44;
                  end;
                        -java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
                end;
A46:            for r be Real st r in rng (max+(f)|divset(D,j))
                holds m<=r
                proof
                  let r be Real;
                  assume r in rng(max+(f)|divset(D,j));
                  then consider x being Element of A such that
A47:              x in dom(max+(f)|divset(D,j)) and
A48:              r=(max+(f)|divset(D,j)).A22: [a9,b9] in F;
A49+(f|ivset(Dj)) by A47,RFUNCT_3
                  x in dom(max+(f|divset
                  then x in dom        letcjava.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 21
                  then (f|divset(D,j)).x in rng (f|divset(D,j)) by
FUNCT_1:def 3;
                  then
A50:              (        a9 c=c A24,:11;
                  r=(max+(f|divset(D,j))).x by A48,RFUNCT_3:44
                    =max+(|divset25    b9 c  by,,;
                    .=max((f|divset(D,j)).x,0) by RFUNCT_3:def 1;        a c=c by ,11;
                  hence thesis by A21 dom   Seg by FINSEQ_1:def 3;
                java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 7
                for s be Real st      let x be object;
                rng (max+(f)|divset(D,j)) & M-      hereby
                proof
                  let s be Real;
                  assume 0<s;
thenr be Realsuchthat
A51:              r in rng (f|divset(D,j)) and
A52:              M-s<r by A26,A25,SEQ_4:def 1;
                  r in rng (max+(f)|divset(D,j))
                  proof
                            reconsider A9 A9=A Bas  oftheAttributes of BDjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
                    consider x being Element of A such that
A53:                        proof
A54           ff,g beElement ofthe Relationship of BD
A55:                r >= m by A29,A51,SEQ_4:def 2;
A56:                x in dom(max+(f|divset(java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 22
                    then (max+(f|divset(D,j))).x=max+(r1) by A54,
RFUNCT_3:def 10
                      .=max(r,0) by RFUNCT_3:def
.=r
                    then r in rngtheorem :::  WWA3_00:
                    hence thesis by RFUNCT_3:44;
                  end;
                  hence thesis by A52;
                end;
                then M1=M by A27,A30,A32,SEQ_4:def 1;
                hence thesis by A27,A28,A46,A39,SEQ_4:def 2;
              end;
              suppose
A57:            M > 0 & m <= 0;
A58:            for s be Real st 0<s ex r be Real st r in
                (Dj))&r<0+s
                proof
                  let s be Real;
                  assume
A59:              s>0;
                  then consider r be Real such that
       r in rng(|Dj) and
A61:              r<m+s by A26,A29,SEQ_4:def 2;
                  consider x being Element of A such that
A62:              x in dom (f|divset(D,j)) and
A63:              r=(f|divset(D,j)).x by A60,PARTFUN1:3;
A64:              x in dom (max+(f|divset           qua Element of n- BOOLEAN)byA29;
                  thenA31:      dom g = dom  by A28,ARD_3:9
A65:              (            . dom f by A25,CARD_3:9;
RFUNCT_3:def 10
                    .= max((f|divset(D,j)).x,0) by RFUNCT_3:def 1;
                  (max+(f|divset(D,            set nbg = n-BinarySequengi;
                  by A64,FUNCT_1:def 3;
                  then
A66
                  by RFUNCT_3:44;
A67:              r-s < m by A61,XREAL_1:19;
                  now
                    per cases;
                    suppose
                        java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
                        maxf|j)byA63A65
XXREAL_0:def 10;
                      hence ex r st r in rng (max+(f)|divset(D,j)) & r<0+s by
A59;
                    end;
                    suppose
A68:                  r >=0;
A69:                  r<0+s by A57,A67,XREAL_1:19;
                      r in rng(max+()divset(,j) by A63,,A65,java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 71
XXREAL_0:def 10;
                      hence
                      ex r r  rng(ax+f)divset(,j))   +by A69;
                    java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
then
                  hence thesis;
                end;
r beReal  rin rng  let beobject;
                holds 0<=r
                proof
                  let r be Real;
                  ./i)& Mx.)by A39
                  then r                   =ng.by A37,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
                  then ex x being Element of A st x in dom(max+(f|divset(D,j
                  ))) & r=(max+(f|divset                thus  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 32
                  hence thesis by RFUNCT_3:37;
                end;
                A42               xx inH.byjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
A70:            m1=0 by A27,A28,A58,SEQ_4:def 2;
                for A43:              f.x =(g|.x by ,A41,UNCT_1:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
                
                  let r;
                  r in rngmax+f)divset(D,);
                  then consider x being Element of A such that
A71:              x in dom(max+(f)|divset(D,j)) and
A72:              r=(max+(f)|divset(D,j)).x by PARTFUN1:3;
A73:             r=(max+f|ivsetD,)).by A72,RFUNCT_3:;
A74:              x in dom(max+(f|divset(D, qua Element of n-tuples_on BOOLEAN)) by A28
                  then
A75
                  now
                    per cases

r0;
                      thesisby A57java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
                    .ngi A37,A47,Def5theoremence
                    suppose
A76isB B2 B=saturated- (end;
       =(fdivsetD,).x A73,RFUNCT_3ef10
                  rm(f|divset,j).x,) by RFUNCT_3:ef ;
                      then r=(fjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
then  fdivsetDj) FUNCT_1 ;
                      hence thesis by A25,SEQ_4:def 1;
                   ;
                  end
                  hence thesis;;
            len=java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 23
                  java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 31
     java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 25
                holdsr=;
                for A1  in dommltxx2;
                rng (max+(f)|divset(D,j)) & M-s:  x2 c= theA2 XinBby A1;
                  the carrier of G by    xo
                  assume     = ss by Th34
 st r in rng (max+t
thens 
 
:x  
                  ;
        java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 13
A80:r1in rng f(Dj) 
A81:              M-s < r1 by A3: x10/.i=x10.i & x20/.i=x20.i b A1,A2,INSEQ_4:15;
                    henin Seglen (x1+2)by A1,Th2;
82              x dom((,)) 
A83:r1=divsetD,j))x byA80,PARTFUN13java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
:              in dom(max+f|(,)) by A82,RFUNCT_3:ef10
                   indom(+f)divset(,j) by RFUNCT_344
       
A85:              (max+(fA9:x =b9and
                  by FUNCT_1:def 3;
                  (max+(f|divset(D,j))).x >= 0 by RFUNCT_3:37;
                  then (max+(f)|divset(D,j)).x >= 0 by RFUNCT_3:44;
                  then
A86:              M-s >= 0 by A79,A85;
                  (max+(f)|divset(D,j)).x = (max+(f|divset(D,j)      let x be object
FUNCT_344
                    .=      then ex b9 being El         ibeingNat such that
    i domH 
                    .=r1 by A81,A86,XXREAL_0:def 10;
                  hence contradiction by A79,A81,A85;
                
                then M1=M by A27,A30    set mS =          k beingNat such that
  thesisby java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 27
              end;
              suppose
A87:                java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
          sbeRealst 0 exrbeealst r in
                rng(max+(f)|divsetassume
                               proof
                  let s be Real;
                          A53
A89:              s>0;
                  consider r being Element of REAL such that
A90:              in rng (max+f)|ivset(, :;
                  consider x being Element of A such that
java.lang.StringIndexOutOfBoundsException: Range [42, 3) out of bounds for length 52
A92:              r=(max+(f)|divset(D,j)).x by A90,PARTFUN1:3;
A93:              x in dom (max+(f|divset(D,j))) by A91,RFUNCT_3:44;
                  then x in         reconsider  asElement  NATby ORDINAL1:def 12java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
                  then (f|divset deffuncF(Element of X)=Absval ((n-inarySequence 2 to_power k) '&
FUNCT_1:       (M.$    ntuples_on);
                  then
A94:              (f|divset        considerg being Functionof   suchthat
                  r=(max+(f|divset(D,j))).x by A92,RFUNCT_3:44A63:for x   of X holdsg.x = F(x) from FUNCT_2:sch 4;
                  then r=max+((f|divset(D,j)).x) by A93,RFUNCT_3:def 10
                    .=max((f|divset(D,j)).x,0) by RFUNCT_3:def 1;
                  then r=0 by A87,A94,XXREAL_0:def 10;
                  thesisbyA89A90;
                end;
forrstin java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 63
                holds 0<=r
                proof
                  let r be Real;
assume  rng(max()Dj))
                  then consider x being Element of A such java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 37
                  x in dom (max+(java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 30
A95:              r = (max+(f)|divset(D,j)).x by PARTFUN1:3;
                  r=(max+(f|divset(D,j))).x by A95,RFUNCT_3:      domfA  domg/ A55A65java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 55
                  hence thesis by RFUNCT_3:37;
                end;
                
A96:            m1=0 by A27,A28,A88,SEQ_4then a=x  java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 55
A97:            for r be Real st r in rng (max+(f)|divset(D,j))
                holds r<=0
                java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 18
                    java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 32
                   rr  rng(max+f)|divset(D,j);
                  then consider x being Element of A such that
A98:              x in dom             ofn-uples_on       then in S byA11,ETFAM_1def 1;
A99:              r = (max+(f)|divset(D,j)).x by PARTFUN1:3;
A100:             x in dom (max+(f|divset(D,j))) by A98,RFUNCT_3:44;
                  then x in dom 
                  then (f|divset(D,j)).x in rng (f|divset(D,j)) by
UNCT_1: 3;
                  then
|divset(,).<  bySEQ_4d 1;
                  r=(max+(f|divset(D,j))).x by A99,RFUNCT_3:44;
                   r=+(fdivset(D,j)).x) by A100,RFUNCT_3:def 10
                            ence mS c cbyA11S:def 9;
                    . 70:xin A byA68;
                 thesisjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
                end;
                for s be Real st 0<s ex r be Real st r in
                rng (max+(f)|divset(D,j)) & 0-s<r
                proof in by ,A3,;
                  lets be Real;
                  assume
letbeFull- ofX
                  consider r being Element of REAL such that
A103:             r     .set  Maximal_wrt;
                  x beingElementof  such
                  x in dom (max+(f)|java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 27
A104:            =(ax()|ivset(java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 20
                  ;
                  then r >= 0 by RFUNCT_3:37;
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 44
end
                then M1=0 by A27,A30,A97,SEQ_4:def 1;
                hence thesis by A19,A96,SEQ_4: 
;
            x^y1=om x^)byA1,A2,AFINSEQ_1;
            hencethesisjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
          end;
:LVjjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 73
defjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
          UV .j=  leny1 A2FINSEQ_1def3
INTEGRA1:def 6;
          then
     =  fdivsetDj)*djava.lang.StringIndexOutOfBoundsException: Range [59, 56) out of bounds for length 65
          lower_bound
            (  |(,)-  fdivsetDj
FUNCOP_1 ] ;
          UV1.j=(    =x1java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 31
           byA17,NTEGRA1 ibeing  st1=            then
          then
assumejava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 73
            .=(upper_bound rng
          f)|divset(D,jthen
          vol(divset(D,j)) >= 0 by         =- java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 26
hence java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        end;
        assume n <= A39     in lenend;;
        
:   | java.lang.StringIndexOutOfBoundsException: Range [29, 14) out of bounds for length 33
be jinFholds <j

          let j be A34: [ ] = [,a 
          set r = F.java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
          F:;
          then
A109:     A37  BA21
          assumeletK    a  byjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A110:     j in dom F;
          j in Seg len F by A110,FINSEQ_1:def 3;
          then  let ,   of K,a     TARSKI;
 j in Seg len D  CARD_1def
          then
A112:     j in dom D by FINSEQ_1   mlt(java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 46
          then
A113:     LV1.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
          )) by INTEGRA1:defthen Summlt(a*x,y) =a*(Sum mlt(set ={  isSubsetof:forthenSum(*)a|x|by: 9
A114:     ex  x   abeing   Bc X
      
            consider being Element let  ;
A115:       r in divset(D,j) by SUBSET_1:4;
            j in dom D by A111,FINSEQ_1:def 3;
            then divset(D,j) c= A by INTEGRA1:8;
            then r in A by A115;
            thenr domfbyd 1;
            r  dom /divsetDj by ,: 4
            then   ,y2 ,a K
            then r  
java.lang.StringIndexOutOfBoundsException: Range [59, 12) out of bounds for length 63

maxf|(,)r rngmax() ,j  java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 70
            hence thesis;
          end;
|A java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 48
 :13;
           Sum((,x2)((y1)=x1x2  (,)by
45java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
          
A116:     java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 4
          |divset(D,j )))>=0 by A114,SEQ_4end;
Ujava.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 12
j)A112,NTEGRA1:def6
               n 0K0  .K){java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A117:     r = (upper_bound(rng(max+(f)|divset(D,j))))*vol(divset(D,j ))
-(lower_bound- thus thesis byA1;

           (rng+)(,))  ((+
 =;
voldivsetDj)= INTEGRA1;
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 36
        endp
then
A118:   osc1.m >:def;

java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        osc.m=(width A=n & len B24java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
          .=(upper_sum(f,T)).m+-(lower_sum(f,T)).m end
          =(pper_sum(f,)).-lower_sum(,)).m
          .=upper_sum(f,T.mm)-(lower_sum(f,T)).m by INTEGRA2:def 2
          .=upper_sum(f,  hereby
          =(fD)-ower_sum(f,.mm) by INTEGRA1:def 8
          .=Sum(upper_volume(f,D))-Sum    hence B*A=1.(K,n) & A*B=1.(K,n) by MATRIX_6:def 2;
        then oscjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
        then
A120:   osc1.m <= osc.m by A14,A15,RVSUM_1:82;
        then |. osc.m .|=osc.m by A118,ABSVALUE:def 1;
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 43
    then
A121: lim(java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
   max(Tisconvergent A3,5,4,,7,h9
     holds F()B2
  end;
  hence thesis by A3,A5,A4,Th12;
;

theorem Th21:
  for f java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 4
proof
  let f be PartFunc of C,REAL;
  dom max+(-f)=   thus (<
  then
:dom max+(-) dom f by VALUED_18
A2: dom max   (,,)- FinSequenceKequals
  for x1 being Element of C st x1 in dom f holds max-(f).x1=max+(-f).x1
  proof
    let x1   let n, i beNat;
    
   domfjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16

A4: max+(-f  
      :def1
      . -f.1),0) byVALUED_18java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    max-(f).x1 = max-(f.x1F:java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      .= fori,  Natst1=  j=  i<j holdsjava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 74
    A1 = &j=and
end;
  hence thesis by A2,A1,PARTFUN1:    .= n  CARD_1def 7;


Th22java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  fortheorem Th26:
 java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 40
proof
let f beFunctionof A,;
 
A1: f|A is bounded and
A2:f is ;  (.*i1  .byMATRIX_0def ;
    rng(1.,))byA2,:;
 byA1A2java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  then max+(-f) is    assume
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 23
end;

A10  A,,18java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  for f being Function of A,REAL   java.lang.StringIndexOutOfBoundsException: Range [37, 33) out of bounds for length 37
  holds abs(f) is integrable & |.integral(fendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
  let f be Function of A,REAL;
  assume that
A1: f|A is bounded and
A2: f is integrable;
A3: max-(f) is integrable by A1,A2,Th22;
A4: (max+f)|A is bounded_above by A1,Th14;
A5: (max-f)A is bounded_above by A1,Th16;
A6: max+(f) is total by Th13;
A7: max-f)| is bounded_below by Th17;
A8: (max+f)|A is          quaElement of n-tuples_on BOOLEAN)) = f.bx by A53
A9: max-(f) is total by Th13;
A10: max+(f) is integrable by A1,A2,Th20;
  then max+(f) + max-(f) is integrable by A6,A9,A4,A8,A5,A7,A3,INTEGRA1:57;
  hence abs(f) is integrable by RFUNCT_3:34;
A11: integral(max+(f))-integral(max-(f)) = integral(max+(f)-max-(f)) by A6,A9
,A4,A8,A5,A7,A10,A3,INTEGRA2:33
    .= integral(f) by RFUNCT_3:34;
A12: integral(max+(f))+integral(max-(f)) = integral(max+(f)+max-(f)) by A6.b & Mjava.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
,A4,A8,A5,A7,A10,A3,INTEGRA1:57
    .= integral(abs(f)) by RFUNCT_3:34;
  then
A13: integral(abs(f))-integral(f) =2*integral(max-(f)) by A11;
  for x st x in A holds (max-(f)).x >= 0 by RFUNCT_3:40;
  then integral(max-(f))>=0 by A9,A5,A7,INTEGRA2:32;
  then
A14: integral(abs(f))>=integral(f) by A13,XREAL_1:49;
A15: integral(abs(f))+integral(f) =2*integral(max+(f)) by A12,A11;
  for x st x in A holds (max+(f)).x >= 0 by RFUNCT_3:37;
  then integral(max+(f))>=0 by A6,A4,A8,INTEGRA2:32;
  then -integral(abs(f))<=integral(f) by     end;
  hence thesisby A14,ABSVALUE5java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;

theorem Th24:
  for f being Function of A,REAL st (for x,ybegin:: 8. Structure of the family of candidate keys
  holds |.f.x-A6 [i,j in Indices (1.(K,n)) by A1,ATRIX_0:1;
proof
  let f be java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14

A1: for       theq=0KbyA2,,A7MATRIX_1def3;
   java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 35
  proof
    let y be Real
    
A3: y       java.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 27
  Real    b<   proof

      let b   java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 72
      assumeb inrngf;
      then consider x being Element of A such that
      x indom and
A4:b=. by PARTFUN13;
      |.f.x-f.y.|<=a by A1,A3;
      then f.-f.y <=aby ABSVALUE:5;
hence A4,:;

       < a+n  xcjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 61
    hence thesis by XREAL_1:20;

 b beReal java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 8
  
letb beReal;
infjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    then ex x being Element of A st x in dom f & b=f.x by PARTFUN1:3;
by    
  end;
 <&i<  1
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 64
  hence thesis by A8  =  B9
ndjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
for f,g Function Subset of X suchthat
  x,yA10
urngf -lower_bound f

,g java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 32
ssumethat
A1: f|A     java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
:thenA(). by,,d ;
 x     inAholds |g.g.|=a    end;
 rng f bounded_above A1:
A5: dom f = A by FUNCT_2:defA14:notdinsaturatedendjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A6A7 (.Kn) nSegn : MATRIX_0:;
A7:for,y st x in A& in A holds |f.-f.y.< upper_bound rng f -
  lower_bound rngA16:x c= d and
  proof
    let x,y;
    assume that
:  in A 
A9: y in A;
    now
      per cases;
      suppose
        f.      assum
        then f.x - f.y > thenj inSeg  byA8,ZFMISC_187;
        then |.f.x-f.y.| = f.x - f.y by ABSVALUE:def 1;
          func candidate-keys F - Subset-  func candidate-keys F -> Subset-Family
A10:    |.f.xsuppose
        f.y in rng f by A5,A9,FUNCT_1    then ,f Subset of  sucht
        then
rng  =f.byA6,Q_4ef 
        f.x in rng f by A5,A8,FUNCT_1:def 3;
        thenf.<pper_boundrng A4,EQ_4ef ;
        thenf.        then f.y TUPLE_0:  end;
        then lower_bound rng f <= upper_bound rngtheorem     A13    proof
XXREAL_0
        then lower_bound rng f   ;
:
        hence 
      end;
      suppose
        f.x < f.y;
        then f.x - f.y < 0 by XREAL_1:49;
        then |f.-f|=-f-.) byABSVALUEdef1
          .= f      ex c       java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 73
        then
A12 thesis;
        f.x in rng     end;
        then
  rng f <= f.x by A6,SEQ_4:def 2;
        f.y in       per casesby A1,A3,:java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 40
        then f.y <= upper_bound rng 
        thenthen aX]  K,]by def 1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        then lower_bound rng f <= upper_bound rng f - |.f.x-f.y.| by A13,
XXREAL_0:2;
        then lower_bound rng f + |.f.x-f.y.| <= upper_bound rng f by
XREAL_1:19;
        hence thesis by XREAL_1:19;
      end;
    end;
       hence thesis;
  end;
  A4:[aX]=AA 
  lower_bound rng f )
  proof
    let xy;
    assume that
A14: x in A and
A15: y in A;end
            java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    a*|.f.x-f.y.|<=a*(upper_bound                1<java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
XREAL_1:64;
  thesis A16 ndjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  end;
  hence thesis by Th24;
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 4

java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
f,g,h being Function of A,REAL st f|A is bounded & g|A is
 &a=0  fx,y  inA  in holds |.-y|=*|f.-.
.|..-..)
    -rngh  a*upper_bound
 g - lower_boundg))
proof
  let f;
  that
  isbounded and
A2: g|A is bounded and

A4: en forbeing  holds[] java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 57
  .x-g.y  end;
A5: rng g  for jsti<j &j=len x holds f.j=a
A6 defpred PNat means i=1&$<l x  f$=;
A22: i<=j & j<=A22: i<=j & j<=len non empty set,Fbeing Dependency-et ofX
8:rng   bounded_belowby A2INTEGRA1:
      A6 2   java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
  lower_bound rng g
  proof
    letA25:i=+ & +<len x
    assumejava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
A10:   consider A1for  being           per cases1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A11: y          <k by A28A10 k1=  
    now
      per cases;
e
.x=.;
         g.forKSubset,B eingSubsetFamily
        then |.g.x-g.y.| = g.x - g.y by ABSVALUEper cases;
        then
..xg..+g.=;;
java.lang.StringIndexOutOfBoundsException: Range [43, 9) out of bounds for length 45
        then
A13:    lower_bound rng g <= g.y by A8,SEQ_4:def               
        g.x in rng gjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
         g. <upper_boundrng :otK= B;
-g.y.| A12:java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
        then lower_bound rng g <= upper_bound  proof
XXREAL_0:2;
        then lower_bound rng g + |.g      end;
XREAL_1:19;
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 7
      end;
      suppose
        g. <g.y;
        thentheorem
|gx-.y. (.-.  ABSVALUE:ef 1
. . -gx;
        then
:|x-..|+gx = g.java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
gxinrngg A7,A10,UNCT_1d java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        then
 m
       .in       a=XbyTARSKI ;
        then g.y <= upper_bound rng g by A5,SEQ_4:def 1java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
        A2:C  C1)java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
2;
        then lower_bound rng a9/b9 =aby XBOOLE_128;
:;
        hence thesis by XREAL_1:19;
      end;
    end;

  end;
java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 32
 rng f isbounded_belowby A1,INTEGRA111ZFMISC_196
A18      thena9\ in;
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 19
  proof
    let x,y;
    assume that
A19: x in A and

    now
      per cases;
      suppose
        f.x >= f.y;
        then f.x - f.y A12: j<=;
        |x-.| =f. -f.byABSVALUEdef
        then
A21:    |.f.x-f.y.| + f.y = f.x;
       .inrng  by A,:def3;
        then
     rng f =f.yby A17,SEQ_4def2;
        f.x     . 0.K  A13
        then f.x <= upper_bound rng f by A6,SEQ_4:def 1;
        then f.y <= upper_bound   java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
        then lower_bound rng f <= upper_bound rng f - |.f.x-f.y.| by A22,
XXREAL_0:2;
        then lower_bound rng f + |.f.x-f.y.| <= upper_bound rng f by
XREAL_1:19;
        hence thesis by XREAL_1:19;
      end;

        f.x < f.y;
        then    per cases bytheorem java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
        then |.f.x-f.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
          .= f.A1:      X=bool68
        java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
A5(i)= thecarrierofby : ;
        f.x in rng f by A16,A19,     exb er by : 4,java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 51
        then      ;
A24:    lower_bound   java.lang.StringIndexOutOfBoundsException: Range [16, 13) out of bounds for length 37
        f  reconsiderBB9 =java.lang.StringIndexOutOfBoundsException: Range [26, 26) out of bounds for length 13
.=java.lang.StringIndexOutOfBoundsException: Range [35, 31) out of bounds for length 56
        then f.x <A6 mx,Km) c=c  c c}java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
         x.=i A2java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
XXREAL_0:2;
f + |..- assume
REAL_11java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
        hence thesis by  thesis  A8: ;
      end;
end;
    hence thesis;
  end;
  for x,y st x in  let  ,;
  lower_bound A1: 1<=i & i<=m
  proof
   let x,java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    assume that
A25: x in A and
A26: y in A;
d rng g - lower_bound rng g) by A3,A9,A25,A26
,XREAL_1:64;
a|fx-.<a( java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 32
:;
    then
A28: a*|.f.x-f.y.|+a*|.g.x-g.y.|<= 
 >. 
    |.h.x-hA4  i st< & i=java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 56
    hence A6: for j st 1<j< Q,) (*,) nd
  end;
  hence thesis by Th24;
end

theorem Th27:
  for f,g being Function of A12  Natst<k & =holdsC(,1)k=()((Kn,
integrable & g|A is bounded & a>0 & (for x,   let k be Nat;
  .y.|<=a*|.f.x-f.y.|) holds g is integrable
proof
  let fg  Functionof A,REAL;
  assume that
A1:f|isbounded and
A2: f is integrable and
A3: g|A is bounded and
A4: a>0 and
A5: for x,y st x in A & y in A holds |.g.x-g.y.|<=a*|.f.x-f.y.|;
  for T being DivSequence of A st delta(T) is convergent & lim A11 b =X by XBOOLE_0:def10;;
  holds lim java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
 
    let T be DivSequence of A;
    assume that
A6:deltaT)is convergentjava.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
A7: lim delta(T)=0;
;
A9java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    then
A10: upper_sum(f,T)-lower_sum(f,T) is convergent by A8;
    reconsider osc1=upper_sum(g,T)-lower_sum(g,T) as Real_Sequence;
    reconsider osc=upper_sumA14:K  ajava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    lim upper_sum(f,T)-lim lower_sum(f,T)=0 by        K byA3java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
then
A11: lim(upper_sum(f,T)-A7:     Kc  or c=a  A5;
A12 or b  Real st0b
    ex n being NatA25:
|
    
      let b        =("*(0.) by ,A15A21,:c=java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      b>0;
      then b/a > 0 by A4,XREAL_1:139;
      then     then in ;
: cases XBOOLE_03java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
holds |. osc.m - 0              X;
        take n;
         m be ;
 ofby: 12;
reconsiderD=T.masof;
(,= DD java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 54

        UV: in  Qby FINSEQ_1def3
        by FINSEQ_2:133;
A32lenLineQ)= : 7;
        then reconsider)byA: 3
        java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
        by FINSEQ_2:133;
       osc.=(pper_sum(,T).+-ower_sum(f,T)).m by SEQ_1:7
          .=(upper_sum(f,T)).m+-(lower_sum(    then -(a")*(Q*(1,j))= -(a")*( (-a)*(P*(1*1,) -a")* -)(P*1,j) by VECTSP_1:java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
          .=(upper_sum(f,T)).m-(     -a)(*(,j=(-a)*-)*P(,) by ;
          .=upper_sum(f,T.mm)-(lower_sum(f,T)).m by INTEGRA2:def 2
          .=upper_sum(f,T.mm)-lower_sum(f,T.mm) by INTEGRA2:def 3
          .=Sum(upper_volume(f,D))-lower_sum(f,T.mm) by INTEGRA1:def 8
          .=Sum(upper_volume(f,D))-Sum(lower_volume(f,D)) by INTEGRA1:def 9;
        then
:    osc.m=Sum(UV-LV)by RVSUM_1:;
        assume n <= m;
        then

        len lower_volume(g,D) = len D by INTEGRA1:    let j;
            assumethat
        LV1=lower_volume(g,D) as Element of(enD)-15:xinC;
        by FINSEQ_2:133;
        len )=len D by INTEGRA1: java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
        then reconsider
        UV1=upper_volume(g,D)              hence thesis;
by133java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
        reconsider F =A40: 1<n by A36,37,XXREAL_0:2;
                     in{xjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 8
          .=(upper_sum(A43 LineQ1))/ bybyA9java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
             ;
          .=java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 14
          ,j java.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 31
          .A52  Bjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 79
        then:.1-)(Q(1j)by,A36AA53,A55;
A16:    osc1.m=Sum(UV1-LV1) by RVSUM_1:90;
        for j be Nat st j in dom F holds  . .byA,,h25java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
proof
          let j be Nat;
                  [k,j] in Indices P by A36,A37,A49,A50,MATRIX_0:31;
java.lang.StringIndexOutOfBoundsException: Range [32, 3) out of bounds for length 51
          assumekin   :ef
:      j in domF
jin Segl FbyA18,FINSEQ_1:ef 3;
          then
A19:      j in Seg len D by             then ((Base_FinSeq(K,njava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 79
          
by: 
          then
A21:      LV1.j=(lower_bound (rng (g|divset(DA63        -(a"*Q(1,)*(Base_FinSeq(,n))/k =-a)(*(1,j)*
INTEGRA1:def 7;
A22:      ex r st r in rng (            Base_FinSeqKnj)/k = (ase_FinSeq((K,,))kjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 76
          proof
           consider r  Element REAL such that
A23:        r in divset(D,j) by SUBSET_1:4;
            j in dom D          endjava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
 ,jc  INTEGRA1;
r Abyjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
           then r in dom g FUNCT_2:ef 1;
            then r in .K
            then r in dom (g|divset(D,j)) ,:15
            then (g|divset . by A38,,A49,A50,A65,A68;
            hence thesis;
          end;
          rng g is bounded_above by A3,INTEGRA1:13;
          then rng (g|divset(D,j)) is real-bounded
          by A17,RELAT_1:70,XXREAL_2:45;
          then
A24:      upper_boundend
          >=0 by A22,SEQ_4:11,XREAL_1:48      end;
UV1j(( g|Dj))vol(ivset(D,j)) by A20,
INTEGRA1:def 6;

A25:    ,  Q,,31
lower_boundrng(divset(D,j)))vol(ivset
            .=(upper_bound(rng(      =(1,-a)*Q(,)*Base_FinSeqKn1)) 2:[ [X =[ #X]by;
          j))))* vol(divset(D,j));
          vol(divset(D,j))>=0 by INTEGRA1:9;
         hencethesis   A25A24;
        end;
        then
A26:    osc1.m >= 0 by A16,RVSUM_1:84;
        java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
:. .=osc1. by :def 1java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
        for       .= -((Q1j)*("*a) +roof
        .j
        proof

set
:a*(-).  :45java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

 jinSeg(en D);
          then
A30       in D FINSEQ_1:ef ;
          then
A31:      LV1.j=(lower_bound (rng (g|divset(D,j))))*vol(divset(D,j)) by
INTEGRA1:def 7;
A32:      a*(upper_bound rng (f|divset(D, for  beingstcinBBA1M=F ;
j))) >= upper_bound rng (g|divset(D,A2:[]  
          proof
        j  dom D  ,INSEQ_1:def 3;
            then
:f|DjDjA34:        f|divset(D,j)|divset(D,j) 
;
A35:        java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 12
              .= A /\ divset(D,j) by FUNCT_2:def 1
              .= divset(D,j) by A33,INTEGRA1:8,XBOOLE_1:28;
            then reconsider
            g1=g|divset(D,j) as PartFunc of divset(D,j),REAL by RELSET_1:5;
A36:        dom(f|divset(A73 <nand
              = \java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 50
.= divset(,j)by ,INTEGRA18XBOOLE_1:28;
            then reconsider
 of divset,,by:java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
            reconsider g1 as Function of divset(A76: p1=Qi and
            reconsider f1 as Function A24  c BB 
A37:        divset(D,j) c= A by A33,INTEGRA1:8;
A38:        for x,y st x in divset(java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 20
            -g1.y.| <= a      then X c=c by ,A17A24,Lm3;
            proof
              let x,y;
              assume that
A39:          x A77: Q*i,j) =p1.  :def ;
A40:          y in divset(D,j);
A41:          g.y=g1.y by A35,A40,FUNCT_1:47;
A42:          f.y=f1.y by A36,A40,FUNCT_1:47;
A43:          f.x=f1.x by A36,A39,FUNCT_1:47;
              g.x=g1.x by A35,A39,FUNCT_1:47;
              hence thesis by A5,    X   by 
            end;
            f|divset(D,j)|divset(D,j) is bounded_above by A1,A33,INTEGRA1:8
,INTEGRA2:5;
            then f1|divset(D,j) quenceof K  that
            hence thesis by A4,A38,Th25;
          end;
          vol(divset(D,j)) >= 0 by INTEGRA1:9;
          then
A44:      a*(upper_bound rng (f|divset(D,j))-lower_bound rng (f|divset(D,     K =;
j)))*vol(divset(D,j )) >= (upper_bound rng (gjava.lang.StringIndexOutOfBoundsException: Range [45, 41) out of bounds for length 41
          divset(D,j)))*vol(divset(    hence contradiction by A2,XBOOLE_0:ef 1;
          UV1.j=(upper_bound (rng (g|divset(D,j))))*vol(divset(D,j)) by A30,
INTEGRA1:def 6;
          then
A45:      x=(upper_bound rng (g|divset(D,j)))*vol(divset(D,j)) -(
          lower_bound rng (g|divset(D,j)))*vol(divset(D,j)) by A31,RVSUM_1:27
            .=(upper_bound rng (g|divset(D,j))-lower_bound rng (g|divset(D,j
          ) forbeing  set,Cbeing Subset-amilyof ,B beingsetst java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
:      .=n by;
INTEGRA1:def 7;
UVjupper_bound rng f|ivset(D))*vol(divsetDj) byjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
          then y=a*((upper_bound rng (f|divset(D,j)))*vol(divset(D,j)) -(
lower_bound rng (f|divset(D,j)))* let Xbefinite set, C be Subset-Family of X, B be set such that
            .=a*((upper_bound rng (f|divset(D,j))-lower_bound rng (f|divset(
          ,j))vol(divset(,))
          hence thesis by A45,A44;
        end;
        then osc1.m <= Sum(a*(UV-LV)) by 16,RVSUM_1:82;
        then

      k beNat;
        then |. osc.m .|=osc.m by ABSVALUE:def 1;
        java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
        then a*osc.m < b by A4,XCMPLX_1:87;
        hence thesis by A47,A27,XXREAL_0:2;
    end;
    then osc1 is convergent by SEQ_2:def 6;
    then
A48: lim(upper_sum(g,T)-lower_sum(g,T))=0 by A12,SEQ_2:def 7;
A49: lower_sum(g,T) is convergent by A3,A6,A7,Th8;
    upper_sum(g,T) is convergent by A3,A6,A7,Th9;
    hence thesis by A49,A48,SEQ_2:12;
  end;
  hence thesis by A3,Th12;
end;

theorem Th28:
  for f,g,h being Function of A,REAL st f|A is bounded & f is
integrable & g|A is bounded & g is integrable & h|A is bounded & a > 0 & (for x
,y st x in A & y in A holds |.h.x-h.y.|<=a*(|.f.x-f.y.|+|.g.x-g.y.|)) holds
  h is integrable
proof
  let f,g,h be Function of A,REAL;
  assume that
A1: f|A is bounded and
A2: f is integrable and
A3: g|A is bounded and
A4: g is integrable and
A5: h|A is bounded and
A6: > and
A7 x,yst x A  y   holds|h.-..<a*|..-..+.
  .x-g.y.|);
ceof A st delta
  holds lim .= 1.K byRLVECT_14
   proof
     Tbe of A;
java.lang.StringIndexOutOfBoundsException: Range [8, 4) out of bounds for length 15
A8: java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 18
A9: lim delta(T)=0;
A10: lower_sum(g,T)       holds Kc= by A3;
A11A118X=c  ,,;java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
    then
A12: upper_sum(g,T)-lower_sum(g,T) is convergent by A10;
upper_sumg,)-m(gT)0byA3A4,,,;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A13: lim(upper_sum(g,T)-lower_sum(g,T))=java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 25
A14: lower_sum(f,T) is convergent by A1,A8,A9,Th8;
    reconsider osc2=upper_sum(h,T)-lower_sum(h,T) as Real_Sequence;
    reconsider osc1=upper_sum(g,T)-lower_sum(g,T) as Real_Sequence;
    reconsider osc=upper_sum(f,T)-lower_sum(f,T) as Real_Sequence;
A15: upper_sum(f,T) is convergent by A1,A8,A9,Th9;
    lim upper_sum(f      .n by Th23;
    then
A16: lim(upper_sum(f,T)-lower_sum(f,T))=0 by A15,A14,SEQ_2:12,Th2java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A17: upper_sum(    now
A18: for b be Real st 0<b
   exA131:  j>1java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    0.|<b
    proofreconsider p=Colj,-a)*Q*(1,)*Base_FinSeqK,n,1) +
      let b be Real;
       b>;
      then b/a > 0 by A6,XREAL_1:139;
      then
A19:  (b/a)/2 > 0 by XREAL_1:139;
  java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 42
formbeing Natst n1<m
   holds |. osc.m - 0 .|<(b/a)/2 by A17,A16,SEQ_2:def 7;
      consider n2 being Nat A140:       (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1))).k =(-(a")*(Q*(1,j)))*(
A211K)byA27,ATh24;
    holds |. osc1.m-0 .|<(b/a)/2 by A12,A13,A19,SEQ_2:def 7;
      ex n st n1 <= n & n2 <= n
      proof
        take n=max(n1,n2);
        INAL1def 2java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
        FINSEQ_415;

      then consider n such that
A22:  n1 <= n and
A23:  n2 <= n;
take njava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
        let m be Nat;
         reconsider mm=m as java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 14
        reconsider D=T.mm as Division of A;
        len upper_volume(f,D)=len D by INTEGRA1:def 6A168       1=k;
        then reconsider
        UV=upper_volume(f,D) as Element of (len D)- hence thesis A3A168A22cA;
        by FINSEQ_2
        len lower_volume(f,D)=len[,j inIndices by A123A165,ZFMISC_1:87;
        then reconsider
        LV=lower_volume(f,D) as Element of (len D)-tuples_on REAL
        by FINSEQ_2:133;
        osc.m=(upper_sum(f,T)).m+(-lower_sum(f,T)).m by SEQ_1:7
          .=(upper_sum(f,T)).m+-(lower_sum(f,T)).m by SEQ_1:10
          .=(upper_sum(f,T)).-lower_sum(f,T)).m
          .=upper_sum(f,T.mm)-(lower_sum(f,T)).m by INTEGRA2:def 2
          .=upper_sum(f,T.mm)-lower_sum(f,T.mm) by INTEGRA2:def 3
          .=Sum(upper_volume(f,D))-lower_sum(f,T.mm) by INTEGRA1:def 8
          .=Sum(upper_volume(f,D))-Sum(lower_volume(f,D)) by INTEGRA1:def 9;
        then
A24:    osc.m=Sum(UV-LV) by RVSUM_1:90;
        len lower_volume(h,D) = len D by INTEGRA1:def 7;
        then              per cases;
        LV2=lower_volume(h,D) as Element of (len D)-tuples_on REAL
        by FINSEQ_2:133;
        len upper_volume(h,D) = len D by INTEGRA1:def 6;
        then reconsider
        UV2=upper_volume(h,D) as Element of (len D)-tuples_on REAL
        by FINSEQ_2:133;
        len lower_volume(g,D)=len D by INTEGRA1:def 7;
        then reconsider
        LV1=lower_volume(g,D) as Element of (len D)-tuples_on REAL
        by FINSEQ_2:133;
        len upper_volume(g,D)=len D by INTEGRA1:def 6;
        then reconsider
        UV1=upper_volume(g,D) as Element of (len D)-tuples_on REAL
        by FINSEQ_2:133                hencethesis by A119,,166A171,A172,Th25;
 = FinSequence ;
                jjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
        reconsider F = UV2-LV2 as FinSequence of REAL;
        osc1.m=(upper_sum(g,java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 12
          .=(upper_sum(g,T)).m+-(lower_sum(g,T)).m by SEQ_1:10
          .=(upper_sum(g,T)) then
          .=upper_sum(g,T.mm)-(lower_sum(g,T)).m by INTEGRA2:def 2
          .=upper_sum(g,T.mm)-lower_sum(g,T.mm) by INTEGRA2:def 3
          .=Sum(upper_volume(g,D))-lower_sum(g,T.mm) by INTEGRA1:def 8
          .=Sum(upper_volume(g,D))-Sum(lower_volume(g,D)) by INTEGRA1:def 9;
        then
A25:    osc1.m=Sum(UV1-LV1) by RVSUM_1:90;
        for j be Nat st j in dom G holds 0 <= G.j
        proof
          let j be Nat;
          set r = G.j;
A26:rng g is bounded_below by A3,INTEGRA1:;
          assume that
A27:      j in dom G;
j in Seg len G by A27,FINSEQ_1:ef ;
          
A28:      j in Seg len D by CARD_1:def 7;
          then
A29:      j in dom D by FINSEQ_1:def 3;
          then
A30:      LV1.j=(lower_bound (rng (g|divset(D,j))))*vol(divset(D,j)) by
INTEGRA1:def 7;
A31:      ex r st r in rng (g|divset(D,j))
          proof
            consider r being Element of REAL such that
A32:        r in divset(D,j) by SUBSET_1:4;
            j in dom D by A28,FINSEQ_1:def 3;
            then divset(D,j) c= A by INTEGRA1:8;
            then r in A by A32;
            then r in dom g by FUNCT_2:def 1;
            then r in dom g /\ divset(D,j) by A32,XBOOLE_0:def 4;
            then r in dom (g|divset(D,j)) by RELAT_1:61;
            then (g|divset(D,j)).r in rng(g|divset(D,j)) by FUNCT_1:def 3;
            hence thesis;
          end;
          rng g is bounded_above by A3,INTEGRA1:13;
          then rng (g|divset(D,j)) is real-bounded
          by A26,RELAT_1:70,XXREAL_2:45;
          then
A33:      upper_bound(rng(g|divset(D,j)))-lower_bound(rng(g|divset(D,j))
          )>=0 by A31,SEQ_4:11,XREAL_1:48;
          UV1.j=(upper_bound (rng (g|divset(D,j))))*vol(divset(D,j)) by A29,
INTEGRA1:def 6;
          then
A34:      r = (upper_bound(rng(g|divset(D,j))))*vol(divset(D,j)) -(
lower_bound(rng(g|divset(D,j))))*vol(divset(D,j)) by A27,A30,VALUED_1:13
            .=(upper_bound(rng(g|divset(D,j))) - lower_bound(rng(g|divset(D,
          j))))* vol(divset(D,j));
          vol(divset(D,j))>=0 by INTEGRA1:9;
          hence thesis by A34,A33;
        end;
        then
A35:    osc1.m >=0 by A25,RVSUM_1:84;
        assume
A36:    n <= m;
        then n1<=m by A22,XXREAL_0:2;
        then
A37:    |. osc.m - 0 .|<(b/a)/2 by A20;
        n2<=m by A23,A36,XXREAL_0:2;
        then
A38:    |. osc1.m - 0 .|<(b/a)/2 by A21;
        for j be Nat st j in dom H holds 0 <= H.j
        proof
          let j be Nat;
          set r = H.j;
A39:      rng f is bounded_below by A1,INTEGRA1:11;
          assume that
A40:      j in dom H;
          j in Seg len H by A40,FINSEQ_1:def 3;
          then
A41:      j in Seg len D by CARD_1:def 7;
          then
A42:      j in dom D by FINSEQ_1:def 3;
          then
A43:      LV.j=(lower_bound (rng (f|divset(D,j))))*vol(divset(D,j)) by
INTEGRA1:def 7;
A44:       r st r in rng(f|divset(D,))
          proof
            consider r  Element fREAL such that
:        in divset(,j)by :4;
;
then divset(D,)c=A  INTEGRA1:8;
            then r in A byA45;
            then r in dom f by FUNCT_2:def 1;
            then r in dom f /\ divset(D,j) by A45,XBOOLE_0:def 4;
            then r in dom (f|divset(D,j)) by RELAT_1:61;
            then (f|divset(D,j)).r in rng(f|divset(D,j)) by FUNCT_1:def 3;
            hence thesis;
          end;
          rng f is bounded_abovethen
           rng f|(D,j)) is real-bounded
          by A39,RELAT_1:70,XXREAL_2:45;
          then
A46:      upper_bound(rng(f|ivset(D,j)))-ower_bound(ng(f|ivset(D,j))
          )>=0 by A44,SEQ_4:11,XREAL_1:48;
          UV.j=(upper_bound (rng (f|divset(D,j))))*vol(  Indices Q=[: Seg n,Seg n :] & [1,1] in Indices Q by A2724,31;
INTEGRA1::(**1,1) (Line(,1,ColP1 |byA10,A31,A181,MATRIX_3:ef 4
then
A47:      r = (upper_bound(rng(f|divset(D,j))))*vol(divset(D,j)) -(
lower_bound(rng(f|divset(D,j))))*vol(divset(D,j)) by A40,A43,VALUED_1:13
            .=(upper_bound(rng(f|divset(D,j))) - lower_bound(rng(f|divset(D,
          j))))* vol(divset(D,j));
          vol(divset(D,j))>=0 by INTEGRA1:9;
          hence thesis by A47,A46;
        end;
        then
A48:    osc.m >= 0 by A24,RVSUM_1:84;
        then osc.m*osc1.m >=0 by A35;
        then |.osc.m.|+|.osc1.m.|=|.osc.m+osc1.m.| by ABSVALUE:11;
        then |.osc.m-0.|+|.osc1.m.|=osc.m+osc1.m by A48,A35,ABSVALUE:def 1;
        then osc.m+osc1.m < (b/a)/2+(b/a)/2 by A37,A38,XREAL_1:8;
        then a*(osc.m+osc1.m) < a*(b/a) by A6,XREAL_1:68;
        then
A49:    a*(osc.m+osc1.m) < b by A6,XCMPLX_1:87;
        osc2.m=(upper_sum(h,T)).m+(-lower_sum(h,T)).m by SEQ_1:7
          .=(upper_sum(h,T)).m+-(lower_sum(h,T)).m by SEQ_1:10
          .=(upper_sum(h,T)).m-(lower_sum(h,T)).m
          .=upper_sum(h,T.mm)-(lower_sum(h,T)).m by INTEGRA2:def 2
          .=upper_sum(h,T.mm)-lower_sum(h,T.mm) by INTEGRA2:def 3
          .=Sum(upper_volume(h,D))-lower_sum(h,T.mm) by INTEGRA1:def 8
          .=Sum(upper_volume(h,D))-Sum(lower_volume(h,D)) by INTEGRA1:def 9;
        then
A50:    osc2.m=Sum(UV2-LV2) by RVSUM_1:90;
        for j be Nat st j in dom F holds 0 <= F.j
        proof
          let j be Nat;
          set r = F.j;
A51:      rng h is bounded_below by A5,INTEGRA1:11;
          assume that
A52:      j in dom F;
          j in Seg len F by A52,FINSEQ_1:def 3;
          then
A53:      j in Seg len D by CARD_1:def 7;
          then
A54:      j in dom D by FINSEQ_1:def 3;
          then
A55:      LV2.j=(lower_bound (rng (h|divset(D,j))))*vol(divset(D,j)) by
INTEGRA1:def 7;
A56:      ex r st r in rng (h|divset(D,j))
          proof
            considerend;
: divset(D,j) by SUBSET_1:4;
            j in dom D by A53FINSEQ_1: 3;
            java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
            then r.0.by A189,A190A197,
            then r in dom h by FUNCT_2:def 1;
            then r in dom h /\ divset(D,j) by A57,XBOOLE_0:def 4;
            then r in dom (h|divset(D,j)) by RELAT_1          then
            then (h|divset(D,j)).r in rng(h|divset(D,j)) by FUNCT_1:def 3;
            hence thesis;
          end;
          rng h is bounded_above by A5,INTEGRA1:13;
          then rng (h|java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 10
          by java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 6
          then
A58:      upper_bound(rng(h|divset(D,j)))-lower_bound(rng(h|divset(D,j))
          )>=:len(*(Base_FinSeq(,,1)))len (Base_FinSeq(K,n,1)) by MATRIXR1:16
          UV2.j=(upper_bound (rng (h|divset(D,j))))*vol(divset(D,j))    . n by Th23
INTEGRA1:def 6;
          then
A59:      r = (upper_bound(rng(h|divset(D,j))))*vol(divset(D,j)) -(
lower_bound(rng(h|divset(D,j))) assume that
            .=(upper_bound(rng(h|divset(java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 13
          j))))* vol(divset(D,j));
          vol(divset(D,j))>=0 by INTEGRA1:9;
thesis byA59,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
        end;
        then osc2.m >= 0 by A50,RVSUM_1:A232 len ((-*P(,j)*Base_FinSeqK,n,))= Base_FinSeq(K,n,)
        then
A60:    |. osc2.m .|=osc2.m by ABSVALUE:def 1;
        for  NatjinSegl D)(-)j< a*(UVLV+
        ULV1).
        proof
          A235: k <= n;
          set x=(UV2-LV2).j, y=(a*((UV-LV)+(UV1-LV1))).j;
A61:      y=a*(((UVlen (Base_FinSeqK,n,)=n byTh23java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
            .=a*((UV-LV).j+(UV1-LV1).j) by RVSUM_1:11
            .=aA238  in dom(-*P*1,j))*(K,n,))&(((Kn,
            .j+.-V1j) by RVSUM_127;
A62:      vol(divset( -*(P*,)*Base_FinSeq(,n,1)). (-a*P*(1,))*Base_FinSeq
          assume
A63:      j in Seg (len D);
          then
A64:      j in dom D by FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 35
          then
A65:      LV2A235,A6 ->L)  L;
INTEGRA1:def 7;
          UV2A242:(-**A7 now
INTEGRA1:def 6;
          then
A66:              java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 61
          lower_bound rng (h|divsetA243   <;
            .=(upper_bound rng (h|divset(D,j))-lower_bound rng (h|divset(D,j
          ))*(,));
A67:      LV1 .j=(lower_bound rng (g|divset(D,j)))*vol(divset(D,j)) by A64,A246:  k in NAT by ORDINAL1:def 12
INTEGRA1:def 7;
A68:      UV1 .j=(upper_bound rng (g|divset(D,j)))*vol(divset(D,j)) by A64,
INTEGRA1:def 6;
A69:      a*(((upper_bound rng(f|java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 19
j))) +(upper_bound rng (g|divset(D,j))-lower_bound rng (g|divset(D,j))))) >=
          upper_bound rng (h|divset(D,j))-lower_bound rng (h|java.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 13
          proof
A70:        jindom D by A63,INSEQ_1            K,,j)).by A230,,,java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
A71:        dom(g|divset(D. (Base_FinSeq(,nj)). by A231A234,A235,INSEQ_4:15
              .= A /\ divset(D,j) by FUNCT_2:def 1
              .= divset(D,j) by A70,INTEGRA1:8,XBOOLE_1:28;
            then reconsider
            g1=g|divset(D,j) as PartFunc of divset(D,j),REAL by RELSET_1suppose
             g1   ofdivset(D,), A71FUNCT_2def 1      end;
A72:        g|divset(D,j)|divset(D,j) is bounded_below by.(-a(
A73:        dom(h|divset(        not  in L;
              .= A /\ divset(D,j) by FUNCT_2:def 1
              .= divset(D,j) by A70,INTEGRA1:8,XBOOLE_1:28;
            then reconsider
            h1h|divset(D,) asPartFunc of divset(D,j),REAL by RELSET_1:5;
            reconsider h1 as Function of divset(D,j),REAL by A73,FUNCT_2:def 1;
   end;
              .= A /\ divset(D,j) by FUNCT_2:def 1
              .= divset(D,j) by A70,INTEGRA1:8,XBOOLE_1:28;
            then    end;
            f1=|ivsetD,asPartFunc of (D,j)REAL by RELSET_1:5;
A75:        f|divset(D,j)|divset(D,j) is bounded_below by A1,A74,INTEGRA2:6;
A76:        for x,y st x in divset(D,j) & y in divset(D,j) holds |.h1.x
            -h1.y.| <= a*(|.f1.x-f1.y.|+|.g1.x-g1.y.|)
            proof
              let x,y;
              assume that
A77:          x in divset(D,j) and
A78:          y in divset(D,j);
g.y=1. byA71,A78,UNCT_1:47;
A80:          h.y=h1.y by A73,A78,FUNCT_1:47;
A81:          h.x=h1.x by A73,A77,FUNCT_1:47;
A82:          f.y=f1.y by A74,A78,FUNCT_1:47;
A83:          A252: (Line(P,1)/1  LineP,1)1byA219,FINSEQ_4:A252: (Line(P,1))/.1 = (Line(P,1)).1 by A219,FINSEQ_4:15
a,c  ,
              hencethesisby A7,A74,A77,A78,A79,A83,A82,A81,A80;

            i1i=+1i XREAL_19
            then
A84:        g1|divset(D,j) is java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
            |(,)divset(,j is  by ,74,NTEGRA2;
            
A85        |divset(,) isjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
thesisby A85AAT
          
LV.( rng fdivsetDj))voldivset(,)by java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
: 7;
ya(  (,))*livsetj)-
lower_bound rng (fthen[,]in[:nS ]by :
(D,j)))*vol(divset(A301: Col(Q,)=aendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
         by A64,68A67,,NTEGRA1:defproof
            .nd;
D,j))) +(upper_bound rng (g|divset(D,j))-lower_bound rng (g  cluster -M >A304: len (a(Base_FinSeq(K,))=len Base_FinSeq(K,n,1)) by MATRIXR1:16
          A2: Indices (M[Seg ,egn: byMjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 18
          hence thesis by A66,A69,A3 [i,j]in Indices N and
        end;
 then osc2.m <30: in  &Lg=0;
        then osc2.m <= a*Sum((A307: 1<= and
        then osc2.m <= a*(osc.m+osc1.m) by A24,A25,RVSUM_1:89;
        hence thesis by A60,A49,XXREAL_0:2;
    end;
    then osc2 isA311:jin Seg n by A307,A308,        then
    then
A86      .= A:Lf / A >{}by A13;
A87 ower_sum(h,T) is convergent byA5,A8,9,h8;
    upper_sum(h,T) is A314: len (Base_FinSeq(K,n,j))Th23;
,A86,SEQ_2:2;
  end;
  hence thesis by A:    inAby ,BOOLE_0def 4;
end;

theorem
  for f,gbeing Function of           =(X-->0 + }.  A19,A30
  g|A is bounded & g is integrable          . ( ->0.a
proof
  let f,g be Function of A        p=Col(,)q=a*P*j)
assume
1 |is bounded and
  isintegrable and
A3: g|A is bounded and
A4: g is integrable;
A5:((#g|(A / A)isbounded by A1,A3,RFUNCT_1:84;
  consider r2A320: <n;
A6:for   object st x in A/ dom g holds |.x<r2 byA3RFUNCT_173
A7:A / dom g        end;
    .= A;
A8: A /\ dom f = A /\ A by FUNCT_2:def 1
    . A;
  then consider a java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 12
A9: a in A /\ dom f by SUBSET_1:4;
  reconsider a as Element of A by A9;
A10: |.f.a.|>=0 by COMPLEX1:46;
  consider r1 be Real such that
A11:for x being object st  in A/\ dom f holds |...<=r1
    by A1,RFUNCT_1:73;
  reconsider=maxr1r2 asReal;
hence thesisbyA1;
A13: r1<r byXXREAL_025;
:for,y  inA  yinA holds |.f#)-f()).|r(.x-


    let x,y;
    assume that
A15:x in A and
A16:yin A;
A17: (f(#)g).y=f.y*g.y by VALUED_1:5;
    |g..<r2 by,7,16;
    then
A18: |.g.y.|<=r by java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 8
A19: |.M(,)by ,6,,Def1
    |.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    A339:Col,j)-ae_circulantjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A20A1:Mis_line_circulant_aboutbyMATRIX16def2;
    (f(#)g).x=f.x*g.x by VALUED_1let i,,k, beNat;
    then |.(f(#)g).x-(f(#) g).y.|=|.f.x*(g.x-g.y)+(f.x-f.y)*g.y.| by A17;
    then
A21: |.(f(#)g).x-(f(#) g).y.|<=|.f.x*(g.x-g.y).|+|.(f.x-f.y)*g.y.| by
COMPLEX1:56;
    |.f.x.|<=r1 by A11,A8,A15;
    then
A22: |.f.x.|<=r by A13,XXREAL_0:2;
A23: |.g.x-g.y.|>=0 by COMPLEX1:46;
    |.f.x*(g.x-g.y).|=|.fy Th26;
    then |.f.x*(g.x-g.y).|<=r*|.g.x-g.y.| by A23,A22,XREAL_1:64;
    then |.f.x*(g.x-g.y).|+|.(f.x-f.y)*g.y.|<=r*|.g.x-g.y.|+r*|.f.x-f.y.|
    by A20,XREAL_1:7;
    :  1<nby A305,A306,XREAL_0:2;
  end;
A24: |.f.a.|<=r1 by A11,A9;
  now
     casesby A24,then
    
A25:  r=0;
      for x,y st x in A & A344:A49 X=b by A43;
      x-f.y.|
      
         xyjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
        assume that
A26:    x in A and
A27:    y in A;
        |.(f(#)g).x-(f(#)g).y.|<=r*(|.g.x-g.y.|+|.f.x-f.y.|) by A14,A26,A27;
        hence thesis by A25,COMPLEX1:46;
      end;
      hence thesis by A1,A2,A5,Th27;
    ndjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    suppose
      r>0;
      hence thesis by A1,A2,A3,A4,A5,A14,Th28;
    end;
  end;
  hence thesis;
end;

theorem
  f being Function of A,REALstf|A is bounded &  is integrable &
  notinrng  X;
proof
   let  be Function of A,REAL;
  ssume that
A1: |A is bounded and
A2:fis integrable and
A3:   clust -M- Anti-ubsymmetric for Matrix of n,K;
:f^Ais bounded;
consider r be Real such that
5 for x being object st x in A/\dom(^ holds |.(^.x.<=r
by A4,RFUNCT_1:73;
  reconsider r asthen
  f"{0} = {} byA6          a y 79;

:^is totalby RFUNCT_154
A7
proof

    assume that
A8 in  and
A9: y in A;
by A6,8,PARTFUN1:ef 2;
    then
A11
A12: y in dom(f^) by A6,A9,PARTFUN1:def 2;
    then
T_13java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    0<1|.x.| &<=1/...&1/...|=r &1/|...<r
    proof
A14:  |.f.y.|>0 by A13,COMPLEX1:47;
      |f..>0 by A11,COMPLEX1:47;
      hence 0<=1/|.f.x.| &0<=1/|.f.y.| by A14;
      reconsider x,y    hence x in ck;
      y in A /\ dom(f^) by A12,XBOOLE_0:def  .=(a*P1)/1by A225,POLYNOM1:def 1
     .f)y|= byA5
then|*f."<=rbyA12RFUNCT_1def2java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
      java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
A15:  |.1/(f.y).|<=r by XCMPLX_0:def 9;
      x java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      then|()x.<rby ;
      then |.1*(f.x)".|<=r by A10,RFUNCT_1:def 2;
      then |.1/(f    [A,X]in dsby A65;
      hence thesis A380 j= then java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 71
    end;
    hen
A16: (1/|.f. per cases;
   |xf.y|>0  COMPLEX146;
    
A17:|fx-.y.(1/|.|*1|f.)=A69:now
XREAL_1:64;
    (f^).x-(f^).y = (f.x)"-(f^).y by A10,reconsideri0=,j0=j as Element of NAT byORDINAL1def12
      .=(f.x)"-(f.y    then j0in Segn byZFMISC_1:87;
    then |.(f^).x-(f^).y.|=|.f.x-f.y.|/(|.f.x.|*|.f.y.|) by A13,A11,SEQ_2:2
      .=|.f.        per ;
      .=|.f.x-f.y.|*(1/|.suppose
    hence thesis by A17;
  end;
  per cases by XREAL_1:63;
  
A18( >) +(X-{) inR
    java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 12
    proof  <;
      let x,    (M1+M2)*(,j)=1(i,)M2(i,) by A2,A4,A6,ATRIX_1:def 6
      assume that
A19 xin A and
n A;
      |.f)x(f^).y.|=0*1, );
      hence thesis by dom( -m by FUNCT_4def

    hence thesis by A1,A2,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
[j]in M by A2A3MATRIX_024java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    r^2>0;
    hencejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  end;
end;

Messung
CHZG
8110010093

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.66Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-24) ¤

*Eine klare Vorstellung vom Zielzustand