Quelle integra3.miz
Sprache: Mizar
|
|
:: Darboux's Theorem
:: by Noboru Endou , Katsumi Wasaki and Yasunari Shidama
::
:: Received December 7, 1999
:: Copyright (c) 1999-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 FINSEQ_1, ARYTM_1, INTEGRA1, RELAT_1, ORDINAL2, FUNCT_1, CARD_1,
FUNCT_3, SEQ_2, JORDAN3, RFINSEQ, INTEGRA2, FDIFF_1, ARYTM_3, SEQ_4,
CLASSES1, VALUED_0, XBOOLE_0, NUMBERS, MEASURE7, REAL_1, SUBSET_1,
XXREAL_2, XXREAL_0, NAT_1, TARSKI, ORDINAL4, COMPLEX1, CARD_3, XXREAL_1,
PARTFUN1, SEQ_1, MEASURE5, FUNCT_7, XCMPLX_0;
notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, CARD_1, NUMBERS, XXREAL_0,
XREAL_0, XCMPLX_0, COMPLEX1, REAL_1, NAT_1, NAT_D, RELAT_1, FUNCT_1,
FUNCT_2, XXREAL_2, SEQ_4, VALUED_0, PARTFUN1, MEASURE6, FINSEQ_1,
RFUNCT_1, RVSUM_1, INTEGRA1, SEQ_1, COMSEQ_2, SEQ_2, FINSEQ_6, RCOMP_1,
FDIFF_1, CLASSES1, RFINSEQ, MEASURE5, INTEGRA2;
constructors PARTFUN1, REAL_1, SQUARE_1, NAT_1, COMPLEX1, FINSOP_1, RFUNCT_1,
FDIFF_1, RFINSEQ, BINARITH, MEASURE6, FINSEQ_6, INTEGRA2, BINOP_2,
XXREAL_2, NAT_D, RVSUM_1, CLASSES1, SEQ_4, RELSET_1, SEQ_2, COMSEQ_2;
registrations XBOOLE_0, RELAT_1, ORDINAL1, NUMBERS, XXREAL_0, XREAL_0, NAT_1,
MEMBERED, FINSEQ_1, SEQM_3, INTEGRA1, VALUED_0, FUNCT_2, FINSET_1,
XXREAL_2, CARD_1, SEQ_2, MEASURE5, RELSET_1;
requirements REAL, NUMERALS, BOOLE, SUBSET, ARITHM;
definitions TARSKI;
equalities RVSUM_1;
expansions TARSKI;
theorems SEQ_4, SUBSET_1, PARTFUN1, INTEGRA1, RFUNCT_1, FUNCT_1, FINSEQ_1,
RVSUM_1, SEQ_1, SEQ_2, FDIFF_1, ABSVALUE, NAT_1, RFINSEQ, TARSKI,
FINSEQ_5, FINSEQ_3, FINSEQ_4, FINSEQ_6, INTEGRA2, RELAT_1, XREAL_0,
FUNCT_2, XBOOLE_0, XBOOLE_1, XREAL_1, COMPLEX1, XXREAL_0, FINSOP_1,
ORDINAL1, XXREAL_2, SEQM_3, CLASSES1, MEASURE5;
schemes FINSEQ_2, NAT_1, SEQ_1;
begin :: Lemmas of Division
reserve a,b,e,r,x,y for Real,
i,j,k,n,m for Element of NAT,
x1 for set,
p,q for FinSequence of REAL,
A for non empty closed_interval Subset of REAL,
D,D1,D2 for Division of A,
f,g for Function of A,REAL,
T for DivSequence of A;
Lm1: j-'j+ 1 = 1
proof
j-'j=j-j by XREAL_1: 233
.= 0;
hence thesis;
end;
Lm2: for n st 1 <= n & n <= 2 holds n = 1 or n = 2
proof
let n;
assume that
A1: 1<=n and
A2: n<= 2;
per cases by A1,XXREAL_0: 1;
suppose
n= 1;
hence thesis;
end;
suppose
n> 1;
then n >= 1+ 1 by NAT_1: 13;
hence thesis by A2,XXREAL_0: 1;
end;
end;
definition
let A be non empty closed_interval Subset of REAL, D be Division of A;
func delta(D) -> Real equals
max rng upper_volume(chi(A,A),D);
correctness;
end;
definition
let A be non empty closed_interval Subset of REAL, T be DivSequence of A;
func delta(T) -> Real_Sequence means :Def2:
for i holds it.i = delta(T.i);
existence
proof
deffunc F(Nat)=delta(T. In($ 1,NAT));
consider IT being Real_Sequence such that
A1: for i being Nat holds IT.i = F(i)
from SEQ_1:sch 1;
take IT;
let i;
IT.i = F(i) by A1;
hence thesis;
end;
uniqueness
proof
let F1,F2 be Real_Sequence such that
A2: for i holds F1.i = delta(T.i) and
A3: for i holds F2.i = delta(T.i);
for i holds F1.i = F2.i
proof
let i;
F1.i = delta(T.i) by A2
.= F2.i by A3;
hence thesis;
end;
hence thesis by FUNCT_2: 63;
end;
end;
theorem
D1 <= D2 implies delta(D1) >= delta(D2)
proof
delta(D2) in rng upper_volume(chi(A,A),D2) by XXREAL_2:def 8;
then consider j such that
A1: j in dom upper_volume(chi(A,A),D2) and
A2: delta(D2) = upper_volume(chi(A,A),D2).j by PARTFUN1: 3;
len upper_volume(chi(A,A),D2) = len D2 by INTEGRA1:def 6;
then
A3: j in dom D2 by A1,FINSEQ_3: 29;
then
A4: delta(D2) = vol(divset(D2,j)) by A2,INTEGRA1: 20;
assume D1 <= D2;
then consider i being Nat such that
A5: i in dom D1 and
A6: divset(D2,j) c= divset(D1,i) by A3,INTEGRA2: 37;
A7: vol(divset(D1,i)) = upper_volume(chi(A,A),D1).i by A5,INTEGRA1: 20;
len upper_volume(chi(A,A),D1) = len D1 by INTEGRA1:def 6;
then i in dom upper_volume(chi(A,A),D1) by A5,FINSEQ_3: 29;
then vol(divset(D1,i)) in rng upper_volume(chi(A,A),D1) by A7,FUNCT_1:def 3;
then delta(D2) <= max rng upper_volume(chi(A,A),D1)
by A4,A6,INTEGRA2: 38,XXREAL_2: 61;
hence thesis;
end;
theorem Th2:
vol(A) <> 0 implies ex i st i in dom D & vol(divset(D,i)) > 0
proof
assume
A1: vol(A) <> 0;
A2: len D in dom D by FINSEQ_5: 6;
assume
A3: for i st i in dom D holds vol(divset(D,i))<= 0;
A4: i in dom D implies vol(divset(D,i))= 0
proof
assume i in dom D;
then vol(divset(D,i)) <= 0 by A3;
hence thesis by INTEGRA1: 9;
end;
A5: i in dom D implies upper_bound divset(D,i)=lower_bound divset(D,i)
proof
assume i in dom D;
then vol(divset(D,i))= 0 by A4;
then upper_bound divset(D,i)-lower_bound divset(D,i)= 0 by INTEGRA1:def 5;
hence thesis;
end;
A6: len D = 1
proof
len D < len D+ 1 by NAT_1: 13;
then
A7: len D- 1 < len D by XREAL_1: 19;
assume
A8: len D <> 1;
then
A9: upper_bound divset(D,len D)=D.(len D) by A2,INTEGRA1:def 4;
A10: len D- 1 in dom D by A2,A8,INTEGRA1: 7;
lower_bound divset(D,len D)=D.(len D- 1) by A2,A8,INTEGRA1:def 4;
then lower_bound divset(D,len D)<upper_bound divset(D,len D) by A2,A9,A10
,A7,SEQM_3:def 1;
hence contradiction by A5,A2;
end;
then upper_bound divset(D,len D)=D.(len D) by A2,INTEGRA1:def 4;
then
A11: upper_bound divset(D,len D)=upper_bound A by INTEGRA1:def 2;
lower_bound divset(D,len D)=lower_bound A by A2,A6,INTEGRA1:def 4;
then upper_bound A = lower_bound A+ 0 by A5,A2,A11;
then upper_bound A- lower_bound A = 0;
hence contradiction by A1,INTEGRA1:def 5;
end;
theorem Th3:
x in A implies ex j st j in dom D & x in divset(D,j)
proof
assume
A1: x in A;
then
A2: lower_bound A <= x by INTEGRA2: 1;
A3: x <= upper_bound A by A1,INTEGRA2: 1;
A4: rng D <> {};
then
A5: 1 in dom D by FINSEQ_3: 32;
per cases;
suppose
x in rng D;
then consider j such that
A6: j in dom D and
A7: D.j = x by PARTFUN1: 3;
x in divset(D,j)
proof
per cases;
suppose
A8: j= 1;
A9: ex a,b st a <= b & a=lower_bound divset(D,j) & b= upper_bound
divset(D,j) by SEQ_4: 11;
upper_bound divset(D,j)=D.j by A6,A8,INTEGRA1:def 4;
hence thesis by A7,A9,INTEGRA2: 1;
end;
suppose
A10: j<> 1;
A11: ex a,b st a <= b & a=lower_bound divset(D,j) & b= upper_bound
divset(D,j) by SEQ_4: 11;
upper_bound divset(D,j)=D.j by A6,A10,INTEGRA1:def 4;
hence thesis by A7,A11,INTEGRA2: 1;
end;
end;
hence thesis by A6;
end;
suppose
A12: not x in rng D;
defpred MIN[Nat] means x < upper_bound divset(D,$ 1) & $ 1 in dom D;
A13: len D in dom D by FINSEQ_5: 6;
upper_bound divset(D,len D)=D.(len D)
proof
per cases;
suppose
len D= 1;
hence thesis by A13,INTEGRA1:def 4;
end;
suppose
len D<> 1;
hence thesis by A13,INTEGRA1:def 4;
end;
end;
then
A14: upper_bound divset(D,len D) = upper_bound A by INTEGRA1:def 2;
x <> upper_bound A
proof
assume x = upper_bound A;
then x = D.(len D) by INTEGRA1:def 2;
hence contradiction by A12,A13,FUNCT_1:def 3;
end;
then x < upper_bound divset(D,len D) by A3,A14,XXREAL_0: 1;
then
A15: ex k be Nat st MIN[k] by A13;
consider k be Nat such that
A16: MIN[k] & for n be Nat st MIN[n] holds k <= n from NAT_1:sch 5(A15
);
defpred MAX[Nat] means x >= lower_bound divset(D,$ 1) & $ 1 in dom D;
lower_bound divset(D, 1)=lower_bound A by A5,INTEGRA1:def 4;
then
A17: ex k be Nat st MAX[k] by A2,A4,FINSEQ_3: 32;
A18: for k be Nat holds MAX[k] implies k <= len D by FINSEQ_3: 25;
consider j be Nat such that
A19: MAX[j] & for n be Nat st MAX[n] holds n <= j from NAT_1:sch 6(A18
,A17);
k=j
proof
assume
A20: k<>j;
per cases by A20,XXREAL_0: 1;
suppose
A21: k < j;
A22: upper_bound divset(D,k)=D.k
proof
per cases;
suppose
k= 1;
hence thesis by A16,INTEGRA1:def 4;
end;
suppose
k<> 1;
hence thesis by A16,INTEGRA1:def 4;
end;
end;
A23: 1 <= k by A16,FINSEQ_3: 25;
then D.(j- 1) <= x by A19,A21,INTEGRA1:def 4;
then
A24: D.(j- 1) < D.k by A16,A22,XXREAL_0: 2;
j- 1 in dom D by A19,A21,A23,INTEGRA1: 7;
then j- 1 < k by A16,A24,SEQ_4: 137;
then j < k+ 1 by XREAL_1: 19;
hence contradiction by A21,NAT_1: 13;
end;
suppose
A25: k > j;
x < upper_bound divset(D,j)
proof
A26: upper_bound divset(D,j)=D.j
proof
per cases;
suppose
j= 1;
hence thesis by A19,INTEGRA1:def 4;
end;
suppose
j<> 1;
hence thesis by A19,INTEGRA1:def 4;
end;
end;
assume
A27: x >= upper_bound divset(D,j);
A28: j+ 1 <= k by A25,NAT_1: 13;
A29: 1 <= j by A19,FINSEQ_3: 25;
then
A30: 1 <= j+ 1 by NAT_1: 13;
k <= len D by A16,FINSEQ_3: 25;
then j+ 1 <= len D by A28,XXREAL_0: 2;
then
A31: j+ 1 in dom D by A30,FINSEQ_3: 25;
j+ 1 > 1 by A29,NAT_1: 13;
then lower_bound divset(D,j+ 1) = D.(j+ 1- 1) by A31,INTEGRA1:def 4
.=D.j;
then j+ 1 <= j by A19,A27,A26,A31;
hence contradiction by NAT_1: 13;
end;
hence contradiction by A16,A19,A25;
end;
end;
then x in divset(D,k) by A16,A19,INTEGRA2: 1;
hence thesis by A16;
end;
end;
theorem Th4:
ex D st D1 <= D & D2 <= D & rng D = rng D1 \/ rng D2
proof
consider D being FinSequence of REAL such that
A1: rng D = rng(D1^D2) and
A2: len D = card rng(D1^D2) and
A3: D is increasing by SEQ_4: 140;
reconsider D as increasing FinSequence of REAL by A3;
reconsider D as non empty increasing FinSequence of REAL by A1;
A4: rng D2 c= A by INTEGRA1:def 2;
A5: rng(D1^D2) = rng D1 \/ rng D2 by FINSEQ_1: 31;
then
A6: rng D1 c= rng(D1^D2) by XBOOLE_1: 7;
rng D1 c= A by INTEGRA1:def 2;
then
A7: rng D c= A by A1,A5,A4,XBOOLE_1: 8;
D.len D = upper_bound A
proof
len D1 in dom D1 by FINSEQ_5: 6;
then D1.len D1 in rng D1 by FUNCT_1:def 3;
then consider k such that
A8: k in dom D and
A9: D1.len D1=D.k by A1,A6,PARTFUN1: 3;
assume
A10: D.len D <> upper_bound A;
A11: len D in dom D by FINSEQ_5: 6;
then D.len D in rng D by FUNCT_1:def 3;
then D.len D <= upper_bound A by A7,INTEGRA2: 1;
then
A12: D.len D < upper_bound A by A10,XXREAL_0: 1;
D1.len D1 = upper_bound A by INTEGRA1:def 2;
then k > len D by A11,A12,A8,A9,SEQ_4: 137;
hence contradiction by A8,FINSEQ_3: 25;
end;
then reconsider D as Division of A by A7,INTEGRA1:def 2;
take D;
card rng D1 <= len D by A2,A5,NAT_1: 43,XBOOLE_1: 7;
then len D1 <= len D by FINSEQ_4: 62;
hence D1 <= D by A1,A6,INTEGRA1:def 18;
A13: rng D2 c= rng(D1^D2) by A5,XBOOLE_1: 7;
card rng D2 <= len D by A2,A5,NAT_1: 43,XBOOLE_1: 7;
then len D2 <= len D by FINSEQ_4: 62;
hence D2 <= D by A1,A13,INTEGRA1:def 18;
thus thesis by A1,FINSEQ_1: 31;
end;
theorem Th5:
delta(D1) < min rng upper_volume(chi(A,A),D) implies for x,y,i st
i in dom D1 & x in rng D /\ divset(D1,i) & y in rng D /\ divset(D1,i) holds x=y
proof
assume
A1: delta(D1)<min rng upper_volume(chi(A,A),D);
let x,y,i;
assume
A2: i in dom D1;
assume
A3: x in rng D /\ divset(D1,i);
then x in rng D by XBOOLE_0:def 4;
then consider n such that
A4: n in dom D and
A5: x=D.n by PARTFUN1: 3;
assume
A6: y in rng D /\ divset(D1,i);
then y in rng D by XBOOLE_0:def 4;
then consider m such that
A7: m in dom D and
A8: y=D.m by PARTFUN1: 3;
assume
A9: x<>y;
A10: |.D.n-D.m.| >= min rng upper_volume(chi(A,A),D)
proof
per cases by A9,A5,A8,XXREAL_0: 1;
suppose
n<m;
then
A11: n+ 1<=m by NAT_1: 13;
A12: 1<=n+ 1 by NAT_1: 12;
m in Seg len D by A7,FINSEQ_1:def 3;
then m<=len D by FINSEQ_1: 1;
then n+ 1<=len D by A11,XXREAL_0: 2;
then
A13: n+ 1 in Seg len D by A12,FINSEQ_1: 1;
then
A14: n+ 1 in dom D by FINSEQ_1:def 3;
then D.m>=D.(n+ 1) by A7,A11,SEQ_4: 137;
then D.n-D.m <= D.n-D.(n+ 1) by XREAL_1: 10;
then
A15: -(D.n-D.m) >= -(D.n-D.(n+ 1)) by XREAL_1: 24;
n+ 1 in Seg len upper_volume(chi(A,A),D) by A13,INTEGRA1:def 6;
then n+ 1 in dom upper_volume(chi(A,A),D) by FINSEQ_1:def 3;
then
A16: (upper_volume(chi(A,A),D)).(n+ 1) in rng upper_volume(chi(A,A),D) by
FUNCT_1:def 3;
n in Seg len D by A4,FINSEQ_1:def 3;
then 1<=n by FINSEQ_1: 1;
then
A17: n+ 1 <> 1 by NAT_1: 13;
then
A18: upper_bound divset(D,n+ 1)=D.(n+ 1) by A14,INTEGRA1:def 4;
-|.D.n-D.m.| <= D.n-D.m by ABSVALUE: 4;
then
A19: |.D.n-D.m.| >= -(D.n-D.m) by XREAL_1: 26;
lower_bound divset(D,n+ 1)=D.((n+ 1)- 1) by A14,A17,INTEGRA1:def 4;
then vol(divset(D,n+ 1))=D.(n+ 1)-D.n by A18,INTEGRA1:def 5;
then D.(n+ 1)-D.n=(upper_volume(chi(A,A),D)).(n+ 1) by A14,INTEGRA1: 20;
then D.(n+ 1)-D.n>=min rng upper_volume(chi(A,A),D) by A16,XXREAL_2:def 7;
then -(D.n-D.m) >= min rng upper_volume(chi(A,A),D) by A15,XXREAL_0: 2;
hence thesis by A19,XXREAL_0: 2;
end;
suppose
n>m;
then
A20: m+ 1<=n by NAT_1: 13;
n in Seg len D by A4,FINSEQ_1:def 3;
then n<=len D by FINSEQ_1: 1;
then
A21: m+ 1<=len D by A20,XXREAL_0: 2;
A22: 1<=m+ 1 by NAT_1: 12;
then
A23: m+ 1 in dom D by A21,FINSEQ_3: 25;
then D.(m+ 1)<=D.n by A4,A20,SEQ_4: 137;
then
A24: D.n-D.m >= D.(m+ 1)-D.m by XREAL_1: 9;
m+ 1 in Seg len D by A22,A21,FINSEQ_1: 1;
then m+ 1 in Seg len upper_volume(chi(A,A),D) by INTEGRA1:def 6;
then m+ 1 in dom upper_volume(chi(A,A),D) by FINSEQ_1:def 3;
then
A25: (upper_volume(chi(A,A),D)).(m+ 1) in rng upper_volume(chi(A,A),D) by
FUNCT_1:def 3;
m in Seg len D by A7,FINSEQ_1:def 3;
then 1<=m by FINSEQ_1: 1;
then
A26: 1 < m+ 1 by NAT_1: 13;
then
A27: upper_bound divset(D,m+ 1)=D.(m+ 1) by A23,INTEGRA1:def 4;
lower_bound divset(D,m+ 1)=D.((m+ 1)- 1) by A23,A26,INTEGRA1:def 4;
then vol(divset(D,m+ 1))=D.(m+ 1)-D.m by A27,INTEGRA1:def 5;
then D.(m+ 1)-D.m=(upper_volume(chi(A,A),D)).(m+ 1) by A23,INTEGRA1: 20;
then D.(m+ 1)-D.m>=min rng upper_volume(chi(A,A),D) by A25,XXREAL_2:def 7;
then
A28: D.n-D.m >= min rng upper_volume(chi(A,A),D) by A24,XXREAL_0: 2;
|.D.n-D.m.| >= D.n-D.m by ABSVALUE: 4;
hence thesis by A28,XXREAL_0: 2;
end;
end;
|.D.n-D.m.| <= delta D1
proof
per cases by A9,A5,A8,XXREAL_0: 1;
suppose
A29: n<m;
i in Seg len D1 by A2,FINSEQ_1:def 3;
then i in Seg len upper_volume(chi(A,A),D1) by INTEGRA1:def 6;
then i in dom upper_volume(chi(A,A),D1) by FINSEQ_1:def 3;
then upper_volume(chi(A,A),D1).i in rng upper_volume(chi(A,A),D1) by
FUNCT_1:def 3;
then
upper_volume(chi(A,A),D1).i <= max rng upper_volume(chi(A,A),D1) by
XXREAL_2:def 8;
then
A30: upper_volume(chi(A,A),D1).i<=delta(D1);
D.m in divset(D1,i) by A6,A8,XBOOLE_0:def 4;
then D.m <= upper_bound divset(D1,i) by INTEGRA2: 1;
then
A31: D.m-lower_bound divset(D1,i)<= upper_bound divset(D1,i)-lower_bound
divset(D1,i) by XREAL_1: 9;
D.n in divset(D1,i) by A3,A5,XBOOLE_0:def 4;
then D.n >= lower_bound divset(D1,i) by INTEGRA2: 1;
then D.m-D.n <= D.m-lower_bound divset(D1,i) by XREAL_1: 10;
then D.m-D.n <= upper_bound divset(D1,i)- lower_bound divset(D1,i) by A31
,XXREAL_0: 2;
then D.m-D.n <= vol(divset(D1,i)) by INTEGRA1:def 5;
then
A32: D.m-D.n <= upper_volume(chi(A,A),D1).i by A2,INTEGRA1: 20;
D.n<D.m by A4,A7,A29,SEQM_3:def 1;
then D.n-D.m< 0 by XREAL_1: 49;
then |.D.n-D.m.|=-(D.n-D.m) by ABSVALUE:def 1
.= D.m-D.n;
hence thesis by A32,A30,XXREAL_0: 2;
end;
suppose
A33: n>m;
i in Seg len D1 by A2,FINSEQ_1:def 3;
then i in Seg len upper_volume(chi(A,A),D1) by INTEGRA1:def 6;
then i in dom upper_volume(chi(A,A),D1) by FINSEQ_1:def 3;
then upper_volume(chi(A,A),D1).i in rng upper_volume(chi(A,A),D1) by
FUNCT_1:def 3;
then
upper_volume(chi(A,A),D1).i <= max rng upper_volume(chi(A,A),D1) by
XXREAL_2:def 8;
then
A34: upper_volume(chi(A,A),D1).i<=delta(D1);
D.n in divset(D1,i) by A3,A5,XBOOLE_0:def 4;
then D.n <= upper_bound divset(D1,i) by INTEGRA2: 1;
then
A35: D.n-lower_bound divset(D1,i)<= upper_bound divset(D1,i)-
lower_bound divset(D1,i) by XREAL_1: 9;
D.m in divset(D1,i) by A6,A8,XBOOLE_0:def 4;
then D.m >= lower_bound divset(D1,i) by INTEGRA2: 1;
then D.n-D.m <= D.n-lower_bound divset(D1,i) by XREAL_1: 10;
then
D.n-D.m <= upper_bound divset(D1,i)-lower_bound divset(D1,i) by A35,
XXREAL_0: 2;
then D.n-D.m <= vol(divset(D1,i)) by INTEGRA1:def 5;
then
A36: D.n-D.m <= upper_volume(chi(A,A),D1).i by A2,INTEGRA1: 20;
D.n>D.m by A4,A7,A33,SEQM_3:def 1;
then D.n-D.m> 0 by XREAL_1: 50;
then |.D.n-D.m.|=D.n-D.m by ABSVALUE:def 1;
hence thesis by A36,A34,XXREAL_0: 2;
end;
end;
hence contradiction by A1,A10,XXREAL_0: 2;
end;
theorem Th6:
for p,q st rng p = rng q & p is increasing & q is increasing
holds p = q
proof
let p,q;
assume
A1: rng p = rng q;
assume that
A2: p is increasing and
A3: q is increasing;
A4: q is one-to-one by A3;
p is one-to-one by A2;
then len p = len q by A1,A4,FINSEQ_1: 48;
hence thesis by A1,A2,A3,SEQ_4: 141;
end;
theorem Th7:
D <= D1 & i in dom D & j in dom D & i <= j implies indx(D1,D,i)
<= indx(D1,D,j) & indx(D1,D,i) in dom D1
proof
assume that
A1: D <= D1 and
A2: i in dom D and
A3: j in dom D and
A4: i <= j;
A5: D.i = D1.indx(D1,D,i) by A1,A2,INTEGRA1:def 19;
A6: indx(D1,D,j) in dom D1 by A1,A3,INTEGRA1:def 19;
A7: D.j = D1.indx(D1,D,j) by A1,A3,INTEGRA1:def 19;
A8: indx(D1,D,i) in dom D1 by A1,A2,INTEGRA1:def 19;
D.i <= D.j by A2,A3,A4,SEQ_4: 137;
hence thesis by A5,A8,A7,A6,SEQM_3:def 1;
end;
theorem Th8:
D <= D1 & i in dom D & j in dom D & i < j implies indx(D1,D,i) <
indx(D1,D,j)
proof
assume that
A1: D <= D1 and
A2: i in dom D and
A3: j in dom D and
A4: i < j;
A5: D.i = D1.indx(D1,D,i) by A1,A2,INTEGRA1:def 19;
A6: indx(D1,D,j) in dom D1 by A1,A3,INTEGRA1:def 19;
A7: D.j = D1.indx(D1,D,j) by A1,A3,INTEGRA1:def 19;
A8: indx(D1,D,i) in dom D1 by A1,A2,INTEGRA1:def 19;
D.i < D.j by A2,A3,A4,SEQM_3:def 1;
hence thesis by A5,A8,A7,A6,SEQ_4: 137;
end;
theorem Th9:
delta(D) >= 0
proof
consider y being Element of REAL such that
A1: y in rng D by SUBSET_1: 4;
consider n such that
A2: n in dom D and
y=D.n by A1,PARTFUN1: 3;
n in Seg len D by A2,FINSEQ_1:def 3;
then n in Seg len upper_volume(chi(A,A),D) by INTEGRA1:def 6;
then n in dom upper_volume(chi(A,A),D) by FINSEQ_1:def 3;
then upper_volume(chi(A,A),D).n in rng upper_volume(chi(A,A),D) by
FUNCT_1:def 3;
then
A3: upper_volume(chi(A,A),D).n <= max rng upper_volume(chi(A,A),D) by
XXREAL_2:def 8;
vol(divset(D,n))=upper_volume(chi(A,A),D).n by A2,INTEGRA1: 20;
then upper_volume(chi(A,A),D).n >= 0 by INTEGRA1: 9;
hence thesis by A3;
end;
Lm3: for A be non empty closed_interval Subset of REAL,
g be Function of A,REAL st g|A
is bounded holds upper_bound rng g >= lower_bound rng g
proof
let A be non empty closed_interval Subset of REAL;
let g be Function of A,REAL;
assume
A1: g|A is bounded;
then
A2: rng g is bounded_below by INTEGRA1: 11;
rng g is bounded_above by A1,INTEGRA1: 13;
hence thesis by A2,SEQ_4: 11;
end;
Lm4: for A,B be non empty closed_interval Subset of REAL,
f be Function of A,REAL st f|A
is bounded & B c= A holds lower_bound rng(f|B) >= lower_bound rng f &
lower_bound rng f <= upper_bound rng(f|B) & upper_bound rng(f|B) <= upper_bound
rng f & lower_bound rng(f|B) <= upper_bound rng f
proof
let A,B be non empty closed_interval Subset of REAL, f be Function of A,REAL;
assume that
A1: f|A is bounded and
A2: B c= A;
B c=dom f by A2,FUNCT_2:def 1;
then
A3: dom(f|B)=B by RELAT_1: 62;
then
A4: rng(f|B) <> {} by RELAT_1: 42;
consider x being Element of REAL such that
A5: x in B by SUBSET_1: 4;
A6: (f|B).x in rng(f|B) by A5,A3,FUNCT_1:def 3;
A7: rng f is bounded_below by A1,INTEGRA1: 11;
hence
A8: lower_bound rng(f|B) >= lower_bound rng f by A4,RELAT_1: 70,SEQ_4: 47;
rng(f|B) is bounded_below by A7,RELAT_1: 70,XXREAL_2: 44;
then
A9: lower_bound rng(f|B)<=(f|B).x by A6,SEQ_4:def 2;
A10: rng f is bounded_above by A1,INTEGRA1: 13;
then rng(f|B) is bounded_above by RELAT_1: 70,XXREAL_2: 43;
then upper_bound rng(f|B)>=(f|B).x by A6,SEQ_4:def 1;
then
A11: lower_bound rng(f|B) <= upper_bound rng(f|B) by A9,XXREAL_0: 2;
hence upper_bound rng(f|B) >= lower_bound rng f by A8,XXREAL_0: 2;
thus upper_bound rng(f|B) <= upper_bound rng f by A10,A4,RELAT_1: 70,SEQ_4: 48;
hence thesis by A11,XXREAL_0: 2;
end;
Lm5: j in dom D1 implies vol(divset(D1,j)) <= delta D1
proof
assume
A1: j in dom D1;
then j in Seg len D1 by FINSEQ_1:def 3;
then j in Seg len upper_volume(chi(A,A),D1) by INTEGRA1:def 6;
then j in dom upper_volume(chi(A,A),D1) by FINSEQ_1:def 3;
then upper_volume(chi(A,A),D1).j in rng upper_volume(chi(A,A),D1) by
FUNCT_1:def 3;
then upper_volume(chi(A,A),D1).j <= max rng upper_volume(chi(A,A),D1) by
XXREAL_2:def 8;
then vol(divset(D1,j)) <= max rng upper_volume(chi(A,A),D1) by A1,INTEGRA1: 20
;
hence thesis;
end;
Lm6: for j1 be Element of NAT st j1 = len D1 - 1 & x in divset(D1,len D1) &
len D1 >= 2 & D1 <= D2 & rng D2 = rng D1 \/ {x} holds rng (D2|indx(D2,D1,j1)) =
rng (D1|j1)
proof
let j1 be Element of NAT;
assume that
A1: j1 = len D1 - 1 and
A2: x in divset(D1,len D1) and
A3: len D1 >= 2;
A4: len D1 in dom D1 by FINSEQ_5: 6;
assume that
A5: D1<=D2 and
A6: rng D2 = rng D1 \/ {x};
A7: len D1 <> 1 by A3;
then
A8: len D1- 1 in dom D1 by A4,INTEGRA1: 7;
then
A9: indx(D2,D1,j1) in dom D2 by A1,A5,INTEGRA1:def 19;
then
A10: indx(D2,D1,j1) <= len D2 by FINSEQ_3: 25;
A11: j1 in dom D1 by A1,A4,A7,INTEGRA1: 7;
then
A12: 1 <= j1 by FINSEQ_3: 25;
A13: j1 <= len D1 by A11,FINSEQ_3: 25;
lower_bound divset(D1,len D1) <= x by A2,INTEGRA2: 1;
then
A14: D1.j1 <= x by A1,A4,A7,INTEGRA1:def 4;
for x1 being object st x1 in rng(D2|indx(D2,D1,j1)) holds x1 in rng(D1|j1)
proof
let x1 be object;
assume x1 in rng(D2|indx(D2,D1,j1));
then consider k such that
A15: k in dom(D2|indx(D2,D1,j1)) and
A16: x1=(D2|indx(D2,D1,j1)).k by PARTFUN1: 3;
k in Seg len(D2|indx(D2,D1,j1)) by A15,FINSEQ_1:def 3;
then
A17: k in Seg indx(D2,D1,j1) by A10,FINSEQ_1: 59;
then
A18: k in dom D2 by A9,RFINSEQ: 6;
A19: len(D1|j1) = j1 by A13,FINSEQ_1: 59;
k <= indx(D2,D1,j1) by A17,FINSEQ_1: 1;
then D2.k <= D2.indx(D2,D1,j1) by A9,A18,SEQ_4: 137;
then
A20: D2.k <= D1.j1 by A1,A5,A8,INTEGRA1:def 19;
A21: D2.k in rng D1 implies D2.k in rng(D1|j1)
proof
assume D2.k in rng D1;
then consider m such that
A22: m in dom D1 and
A23: D2.k = D1.m by PARTFUN1: 3;
m in Seg len D1 by A22,FINSEQ_1:def 3;
then
A24: 1 <= m by FINSEQ_1: 1;
A25: m <= j1 by A11,A20,A22,A23,SEQM_3:def 1;
then m in Seg j1 by A24,FINSEQ_1: 1;
then
A26: D2.k = (D1|j1).m by A11,A23,RFINSEQ: 6;
m in dom (D1|j1) by A19,A24,A25,FINSEQ_3: 25;
hence thesis by A26,FUNCT_1:def 3;
end;
A27: D2.k in {x} implies D2.k = D1.j1
proof
assume D2.k in {x};
then D1.j1 <= D2.k by A14,TARSKI:def 1;
hence thesis by A20,XXREAL_0: 1;
end;
A28: D2.k in {x} implies D2.k in rng(D1|j1)
proof
j1 in dom(D1|j1) by A12,A19,FINSEQ_3: 25;
then
A29: (D1|j1).j1 in rng(D1|j1) by FUNCT_1:def 3;
assume
A30: D2.k in {x};
j1 in Seg j1 by A12,FINSEQ_1: 1;
hence thesis by A11,A27,A30,A29,RFINSEQ: 6;
end;
D2.k in rng D2 by A18,FUNCT_1:def 3;
hence thesis by A6,A9,A16,A17,A28,A21,RFINSEQ: 6,XBOOLE_0:def 3;
end;
then
A31: rng(D2|indx(D2,D1,j1)) c= rng (D1|j1);
for x1 being object st x1 in rng(D1|j1) holds x1 in rng(D2|indx(D2,D1,j1))
proof
let x1 be object;
assume x1 in rng(D1|j1);
then consider k such that
A32: k in dom(D1|j1) and
A33: x1=(D1|j1).k by PARTFUN1: 3;
k in Seg len(D1|j1) by A32,FINSEQ_1:def 3;
then
A34: k in Seg j1 by A13,FINSEQ_1: 59;
then
A35: k in dom D1 by A11,RFINSEQ: 6;
k <= j1 by A34,FINSEQ_1: 1;
then D1.k <= D1.j1 by A1,A8,A35,SEQ_4: 137;
then D2.indx(D2,D1,k) <= D1.j1 by A5,A35,INTEGRA1:def 19;
then
A36: D2.indx(D2,D1,k)<=D2.indx(D2,D1,j1) by A1,A5,A8,INTEGRA1:def 19;
A37: (D1|j1).k = D1.k by A11,A34,RFINSEQ: 6;
D1.k in rng D1 by A35,FUNCT_1:def 3;
then x1 in rng D2 by A6,A33,A37,XBOOLE_0:def 3;
then consider n such that
A38: n in dom D2 and
A39: x1=D2.n by PARTFUN1: 3;
D2.indx(D2,D1,k)=D2.n by A5,A33,A37,A35,A39,INTEGRA1:def 19;
then
A40: n <= indx(D2,D1,j1) by A9,A38,A36,SEQM_3:def 1;
1 <= n by A38,FINSEQ_3: 25;
then
A41: n in Seg indx(D2,D1,j1) by A40,FINSEQ_1: 1;
then n in Seg len(D2|indx(D2,D1,j1)) by A10,FINSEQ_1: 59;
then
A42: n in dom(D2|indx(D2,D1,j1)) by FINSEQ_1:def 3;
D2.n = (D2|indx(D2,D1,j1)).n by A9,A41,RFINSEQ: 6;
hence thesis by A39,A42,FUNCT_1:def 3;
end;
then rng(D1|j1) c= rng(D2|indx(D2,D1,j1));
hence thesis by A31,XBOOLE_0:def 10;
end;
theorem Th10:
x in divset(D1,len D1) & len D1 >= 2 & D1<=D2 & rng D2 = rng D1
\/ {x} & g|A is bounded implies Sum lower_volume(g,D2) - Sum lower_volume(g,D1)
<= (upper_bound rng g-lower_bound rng g)*delta(D1)
proof
assume that
A1: x in divset(D1,len D1) and
A2: len D1 >= 2;
set j = len D1;
assume that
A3: D1<=D2 and
A4: rng D2 = rng D1 \/ {x};
A5: len D1 in dom D1 by FINSEQ_5: 6;
then
A6: indx(D2,D1,j) in dom D2 by A3,INTEGRA1:def 19;
A7: len D1 <> 1 by A2;
then reconsider j1=len D1- 1 as Element of NAT by A5,INTEGRA1: 7;
A8: j1 in dom D1 by A5,A7,INTEGRA1: 7;
then
A9: j1 <= len D1 by FINSEQ_3: 25;
A10: 1 <= j1 by A8,FINSEQ_3: 25;
then mid(D1, 1,j1) is increasing by A5,A7,INTEGRA1: 7, 35;
then
A11: D1|j1 is increasing by A10,FINSEQ_6: 116;
A12: len D1- 1 in dom D1 by A5,A7,INTEGRA1: 7;
then
A13: indx(D2,D1,j1) in dom D2 by A3,INTEGRA1:def 19;
then
A14: 1 <= indx(D2,D1,j1) by FINSEQ_3: 25;
then mid(D2, 1,indx(D2,D1,j1)) is increasing by A13,INTEGRA1: 35;
then
A15: D2|indx(D2,D1,j1) is increasing by A14,FINSEQ_6: 116;
A16: indx(D2,D1,j1) <= len D2 by A13,FINSEQ_3: 25;
then
A17: len (D2|indx(D2,D1,j1))=indx(D2,D1,j1) by FINSEQ_1: 59;
A18: rng (D2|indx(D2,D1,j1)) = rng (D1|j1) by A1,A2,A3,A4,Lm6;
then
A19: D2|indx(D2,D1,j1)=D1|j1 by A15,A11,Th6;
A20: for k st 1 <= k & k <= j1 holds k=indx(D2,D1,k)
proof
let k;
assume that
A21: 1 <= k and
A22: k <= j1;
assume
A23: k<>indx(D2,D1,k);
per cases by A23,XXREAL_0: 1;
suppose
A24: k > indx(D2,D1,k);
k <= len D1 by A9,A22,XXREAL_0: 2;
then
A25: k in dom D1 by A21,FINSEQ_3: 25;
then indx(D2,D1,k) in dom D2 by A3,INTEGRA1:def 19;
then indx(D2,D1,k) in Seg len D2 by FINSEQ_1:def 3;
then
A26: 1<=indx(D2,D1,k) by FINSEQ_1: 1;
A27: indx(D2,D1,k) < j1 by A22,A24,XXREAL_0: 2;
then
A28: indx(D2,D1,k) in Seg j1 by A26,FINSEQ_1: 1;
indx(D2,D1,k)<=indx(D2,D1,j1) by A3,A8,A22,A25,Th7;
then indx(D2,D1,k) in Seg indx(D2,D1,j1) by A26,FINSEQ_1: 1;
then
A29: (D2|indx(D2,D1,j1)).indx(D2,D1,k)=D2.indx(D2,D1,k) by A13,RFINSEQ: 6;
indx(D2,D1,k) <= len D1 by A9,A27,XXREAL_0: 2;
then indx(D2,D1,k) in dom D1 by A26,FINSEQ_3: 25;
then
A30: D1.k > D1.indx(D2,D1,k) by A24,A25,SEQM_3:def 1;
D1.k=D2.indx(D2,D1,k) by A3,A25,INTEGRA1:def 19;
hence contradiction by A8,A19,A29,A30,A28,RFINSEQ: 6;
end;
suppose
A31: k < indx(D2,D1,k);
k <= len D1 by A9,A22,XXREAL_0: 2;
then
A32: k in dom D1 by A21,FINSEQ_3: 25;
then indx(D2,D1,k) <= indx(D2,D1,j1) by A3,A8,A22,Th7;
then
A33: k <= indx(D2,D1,j1) by A31,XXREAL_0: 2;
then k <= len D2 by A16,XXREAL_0: 2;
then
A34: k in dom D2 by A21,FINSEQ_3: 25;
k in Seg j1 by A21,A22,FINSEQ_1: 1;
then
A35: D1.k = (D1|j1).k by A12,RFINSEQ: 6;
indx(D2,D1,k) in dom D2 by A3,A32,INTEGRA1:def 19;
then
A36: D2.k < D2.indx(D2,D1,k) by A31,A34,SEQM_3:def 1;
A37: k in Seg indx(D2,D1,j1) by A21,A33,FINSEQ_1: 1;
D1.k=D2.indx(D2,D1,k) by A3,A32,INTEGRA1:def 19;
hence contradiction by A13,A19,A35,A36,A37,RFINSEQ: 6;
end;
end;
A38: for k be Nat st 1 <= k & k <= len(lower_volume(g,D1)|j1) holds (
lower_volume(g,D1)|j1).k = (lower_volume(g,D2)|indx(D2,D1,j1)).k
proof
indx(D2,D1,j1) in Seg len D2 by A13,FINSEQ_1:def 3;
then indx(D2,D1,j1) in Seg len lower_volume(g,D2) by INTEGRA1:def 7;
then
A39: indx(D2,D1,j1) in dom lower_volume(g,D2) by FINSEQ_1:def 3;
let k be Nat;
assume that
A40: 1 <= k and
A41: k <= len(lower_volume(g,D1)|j1);
reconsider k as Element of NAT by ORDINAL1:def 12;
A42: len(lower_volume(g,D1)) = len D1 by INTEGRA1:def 7;
then
A43: k <= j1 by A9,A41,FINSEQ_1: 59;
then k <= len D1 by A9,XXREAL_0: 2;
then k in Seg len D1 by A40,FINSEQ_1: 1;
then
A44: k in dom D1 by FINSEQ_1:def 3;
then
A45: indx(D2,D1,k) in dom D2 by A3,INTEGRA1:def 19;
A46: k in Seg j1 by A40,A43,FINSEQ_1: 1;
then indx(D2,D1,k) in Seg j1 by A20,A40,A43;
then
A47: indx(D2,D1,k) in Seg indx(D2,D1,j1) by A10,A20;
then indx(D2,D1,k)<=indx(D2,D1,j1) by FINSEQ_1: 1;
then
A48: indx(D2,D1,k)<=len D2 by A16,XXREAL_0: 2;
A49: D1.k=D2.indx(D2,D1,k) by A3,A44,INTEGRA1:def 19;
A50: lower_bound divset(D1,k)=lower_bound divset(D2,indx(D2,D1,k)) &
upper_bound divset(D1,k)=upper_bound divset(D2,indx(D2,D1,k))
proof
per cases;
suppose
A51: k= 1;
then
A52: upper_bound divset(D1,k)=D1.k by A44,INTEGRA1:def 4;
A53: lower_bound divset(D1,k)=lower_bound A by A44,A51,INTEGRA1:def 4;
indx(D2,D1,k)= 1 by A10,A20,A51;
hence thesis by A45,A49,A53,A52,INTEGRA1:def 4;
end;
suppose
A54: k<> 1;
then reconsider k1=k- 1 as Element of NAT by A44,INTEGRA1: 7;
A55: k- 1 in dom D1 by A44,A54,INTEGRA1: 7;
then
A56: 1 <= k1 by FINSEQ_3: 25;
k <= k+ 1 by NAT_1: 11;
then k1 <= k by XREAL_1: 20;
then
A57: k1 <= j1 by A43,XXREAL_0: 2;
A58: indx(D2,D1,k)<> 1 by A20,A40,A43,A54;
then
A59: lower_bound divset(D2,indx(D2,D1,k))=D2.(indx(D2,D1,k)- 1) by A45,
INTEGRA1:def 4;
A60: upper_bound divset(D1,k)=D1.k by A44,A54,INTEGRA1:def 4;
A61: lower_bound divset(D1,k)=D1.(k- 1) by A44,A54,INTEGRA1:def 4;
A62: upper_bound divset(D2,indx(D2,D1,k))=D2.indx(D2,D1,k) by A45,A58,
INTEGRA1:def 4;
D2.(indx(D2,D1,k)- 1)=D2.(k- 1) by A20,A40,A43
.= D2.indx(D2,D1,k1) by A20,A57,A56;
hence thesis by A3,A44,A61,A60,A55,A59,A62,INTEGRA1:def 19;
end;
end;
divset(D1,k)=[. lower_bound divset(D1,k), upper_bound divset(D1,k) .]
by INTEGRA1: 4;
then
A63: divset(D1,k)=divset(D2,indx(D2,D1,k)) by A50,INTEGRA1: 4;
j1 in Seg len(lower_volume(g,D1)) by A8,A42,FINSEQ_1:def 3;
then j1 in dom(lower_volume(g,D1)) by FINSEQ_1:def 3;
then
A64: (lower_volume(g,D1)|j1).k = lower_volume(g,D1).k by A46,RFINSEQ: 6
.=(lower_bound(rng(g|divset(D2,indx(D2,D1,k)))))* vol(divset(D2,indx(
D2,D1,k))) by A44,A63,INTEGRA1:def 7;
1<=indx(D2,D1,k) by A20,A40,A43;
then
A65: indx(D2,D1,k) in dom D2 by A48,FINSEQ_3: 25;
(lower_volume(g,D2)|indx(D2,D1,j1)).k =(lower_volume(g,D2)|indx(D2,
D1,j1)).indx(D2,D1,k) by A20,A40,A43
.=lower_volume(g,D2).indx(D2,D1,k) by A47,A39,RFINSEQ: 6
.=(lower_bound(rng(g|divset(D2,indx(D2,D1,k)))))* vol(divset(D2,indx(
D2,D1,k))) by A65,INTEGRA1:def 7;
hence thesis by A64;
end;
A66: len D2 in dom D2 by FINSEQ_5: 6;
deffunc LVg(Division of A) = lower_volume(g,$ 1);
deffunc PLg(Division of A,Nat) = (PartSums(lower_volume(g,$ 1))).$ 2;
A67: j >= len lower_volume(g,D1) by INTEGRA1:def 7;
A68: j <= len LVg(D1) by INTEGRA1:def 7;
A69: len D1 in Seg len D1 by FINSEQ_1: 3;
then
A70: 1 <= j by FINSEQ_1: 1;
then
A71: j in dom LVg(D1) by A68,FINSEQ_3: 25;
assume
A72: g|A is bounded;
j < j+ 1 by NAT_1: 13;
then
A73: j1 < j by XREAL_1: 19;
then j1 < len LVg(D1) by INTEGRA1:def 7;
then j1 in dom LVg(D1) by A10,FINSEQ_3: 25;
then PLg(D1,j1)=Sum(LVg(D1)|j1) by INTEGRA1:def 20;
then PLg(D1,j1)+Sum mid(LVg(D1),j,j) =Sum((LVg(D1)|j1)^mid(LVg(D1),j,j)) by
RVSUM_1: 75
.=Sum(mid(LVg(D1), 1,j1)^mid(LVg(D1),j1+ 1,j)) by A10,FINSEQ_6: 116
.=Sum(mid(LVg(D1), 1,j)) by A10,A68,A73,INTEGRA2: 4
.=Sum(LVg(D1)|j) by A70,FINSEQ_6: 116;
then
A74: PLg(D1,j1)+Sum mid(lower_volume(g,D1),j,j)=PLg(D1,j) by A71,
INTEGRA1:def 20;
A75: indx(D2,D1,j) in dom D2 by A3,A5,INTEGRA1:def 19;
then
A76: indx(D2,D1,j) in Seg len D2 by FINSEQ_1:def 3;
then
A77: 1 <= indx(D2,D1,j) by FINSEQ_1: 1;
len D1 < len D1+ 1 by NAT_1: 13;
then j1 < len D1 by XREAL_1: 19;
then
A78: indx(D2,D1,j1) < indx(D2,D1,len D1) by A3,A5,A8,Th8;
then
A79: indx(D2,D1,j1)+ 1 <= indx(D2,D1,len D1) by NAT_1: 13;
A80: j1 in dom D1 by A5,A7,INTEGRA1: 7;
A81: Sum mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,len D1)) -Sum
mid(lower_volume(g,D1),len D1,len D1) <= (upper_bound rng g-lower_bound rng g)*
delta(D1)
proof
A82: indx(D2,D1,j)-indx(D2,D1,j1) <= 2
proof
set ID1=indx(D2,D1,j1)+ 1;
set ID2=ID1+ 1;
assume indx(D2,D1,j)-indx(D2,D1,j1) > 2;
then
A83: indx(D2,D1,j1)+( 1+ 1)<indx(D2,D1,j) by XREAL_1: 20;
A84: ID1 < ID2 by NAT_1: 13;
then indx(D2,D1,j1) <= ID2 by NAT_1: 13;
then
A85: 1 <= ID2 by A14,XXREAL_0: 2;
A86: indx(D2,D1,j) in dom D2 by A3,A5,INTEGRA1:def 19;
then
A87: indx(D2,D1,j) <= len D2 by FINSEQ_3: 25;
then ID2 <= len D2 by A83,XXREAL_0: 2;
then
A88: ID2 in dom D2 by A85,FINSEQ_3: 25;
then
A89: D2.ID2<D2.indx(D2, D1,j) by A83,A86,SEQM_3:def 1;
A90: 1 <= ID1 by A14,NAT_1: 13;
A91: D1.j1 = D2.indx(D2,D1,j1) by A3,A8,INTEGRA1:def 19;
ID1 <= indx(D2,D1,j) by A83,A84,XXREAL_0: 2;
then ID1 <= len D2 by A87,XXREAL_0: 2;
then
A92: ID1 in dom D2 by A90,FINSEQ_3: 25;
A93: D1.j = D2.indx(D2,D1,j) by A3,A5,INTEGRA1:def 19;
indx(D2,D1,j1) < ID1 by NAT_1: 13;
then
A94: D2.indx(D2,D1,j1)<D2.ID1 by A13,A92,SEQM_3:def 1;
A95: D2.ID1<D2.ID2 by A84,A92,A88,SEQM_3:def 1;
A96: not D2.ID1 in rng D1 & not D2.ID2 in rng D1
proof
assume
A97: D2.ID1 in rng D1 or D2.ID2 in rng D1;
per cases by A97;
suppose
D2.ID1 in rng D1;
then consider n such that
A98: n in dom D1 and
A99: D1.n=D2.ID1 by PARTFUN1: 3;
j1<n by A80,A94,A91,A98,A99,SEQ_4: 137;
then
A100: j<n+ 1 by XREAL_1: 19;
D2.ID1<D2.indx(D2,D1,j) by A95,A89,XXREAL_0: 2;
then n<j by A5,A93,A98,A99,SEQ_4: 137;
hence contradiction by A100,NAT_1: 13;
end;
suppose
D2.ID2 in rng D1;
then consider n such that
A101: n in dom D1 and
A102: D1.n=D2.ID2 by PARTFUN1: 3;
D2.indx(D2,D1,j1)<D2.ID2 by A94,A95,XXREAL_0: 2;
then j1<n by A8,A91,A101,A102,SEQ_4: 137;
then
A103: j<n+ 1 by XREAL_1: 19;
n<j by A5,A89,A93,A101,A102,SEQ_4: 137;
hence contradiction by A103,NAT_1: 13;
end;
end;
D2.ID1 in rng D2 by A92,FUNCT_1:def 3;
then D2.ID1 in {x} by A4,A96,XBOOLE_0:def 3;
then
A104: D2.ID1 = x by TARSKI:def 1;
D2.ID2 in rng D2 by A88,FUNCT_1:def 3;
then D2.ID2 in {x} by A4,A96,XBOOLE_0:def 3;
then D2.ID1=D2.ID2 by A104,TARSKI:def 1;
hence contradiction by A84,A92,A88,SEQ_4: 138;
end;
A105: j <= len lower_volume(g,D1) by INTEGRA1:def 7;
A106: 1 <= j by A69,FINSEQ_1: 1;
then
A107: mid(lower_volume(g,D1),j,j). 1 = lower_volume(g,D1).j by A105,FINSEQ_6: 118
;
reconsider lv = lower_volume(g,D1).j as Element of REAL by XREAL_0:def 1;
j-'j+ 1 = 1 by Lm1;
then len mid(lower_volume(g,D1),j,j)= 1 by A106,A105,FINSEQ_6: 118;
then
A108: mid(lower_volume(g,D1),j,j)=<*lv*> by A107,FINSEQ_1: 40;
A109: 1 <= indx(D2,D1,j1)+ 1 by A14,NAT_1: 13;
indx(D2,D1,j) in dom D2 by A3,A5,INTEGRA1:def 19;
then
A110: indx(D2,D1,j) in Seg len D2 by FINSEQ_1:def 3;
then
A111: 1 <= indx(D2,D1,j) by FINSEQ_1: 1;
indx(D2,D1,j) in Seg len lower_volume(g,D2) by A110,INTEGRA1:def 7;
then
A112: indx(D2,D1,j) <= len lower_volume(g,D2) by FINSEQ_1: 1;
then
A113: indx(D2,D1,j1)+ 1 <= len lower_volume(g,D2 ) by A79,XXREAL_0: 2;
then indx(D2,D1,j1)+ 1 in Seg len lower_volume(g,D2) by A109,FINSEQ_1: 1;
then
A114: indx(D2,D1,j1)+ 1 in Seg len D2 by INTEGRA1:def 7;
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1) =indx(D2,D1,j)-(indx(D2,D1,j1)+ 1)
by A79,XREAL_1: 233;
then indx(D2,D1,j)-'(indx(D2,D1,j1) + 1)+ 1 <= 2 by A82;
then
A115: len mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j))<= 2 by A79
,A111,A112,A109,A113,FINSEQ_6: 118;
len lower_volume(g,D2) = len D2 by INTEGRA1:def 7;
then
A116: indx(D2,D1,j1)+ 1 in dom D2 by A109,A113,FINSEQ_3: 25;
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1)+ 1 >= 0+ 1 by XREAL_1: 6;
then
A117: 1 <= len mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) by A79
,A111,A112,A109,A113,FINSEQ_6: 118;
now
per cases by A117,A115,Lm2;
suppose
A118: len mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j))
= 1;
upper_bound divset(D1,j)=D1.j by A5,A7,INTEGRA1:def 4;
then
A119: upper_bound divset(D1,j)=D2. indx(D2,D1,j) by A3,A5,INTEGRA1:def 19;
lower_bound divset(D1,j)=D1.j1 by A5,A7,INTEGRA1:def 4;
then lower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A3,A8,
INTEGRA1:def 19;
then
A120: divset(D1,j)=[. D2.indx(D2,D1,j1),D2.indx(D2,D1,j).] by A119,INTEGRA1: 4
;
A121: delta(D1) >= 0 by Th9;
A122: upper_bound rng g - lower_bound rng g >= 0 by A72,Lm3,XREAL_1: 48;
A123: indx(D2,D1,j) in dom D2 by A3,A5,INTEGRA1:def 19;
len mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) =
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1)+ 1 by A79,A111,A112,A109,A113,FINSEQ_6: 118;
then
A124: indx(D2,D1,j)-(indx(D2,D1,j1)+ 1)= 0 by A79,A118,XREAL_1: 233;
then indx(D2,D1,j)<> 1 by A13,FINSEQ_3: 25;
then
A125: upper_bound divset(D2,indx(D2,D1,j))=D2.indx(D2,D1,j) by A123,
INTEGRA1:def 4;
lower_bound divset(D2,indx(D2,D1,j))=D2.(indx(D2,D1,j)- 1) by A14,A124
,A123,INTEGRA1:def 4;
then
A126: divset(D2,indx(D2,D1,j))=divset(D1,j) by A124,A120,A125,INTEGRA1: 4;
reconsider li = lower_volume(g,D2).(indx(D2,D1,j1)+ 1)
as Element of REAL
by XREAL_0:def 1;
mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)). 1 =
lower_volume(g,D2).(indx(D2,D1,j1)+ 1) by A111,A112,A109,A113,FINSEQ_6: 118;
then mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) =
<*li*> by A118,FINSEQ_1: 40;
then Sum mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j )) =
lower_volume(g,D2).(indx(D2,D1,j1)+ 1) by FINSOP_1: 11
.=(lower_bound(rng(g|divset(D2,(indx(D2,D1,j1)+ 1))))) *vol(divset(
D2,(indx(D2,D1,j1)+ 1))) by A116,INTEGRA1:def 7
.=lower_volume(g,D1).j by A5,A124,A126,INTEGRA1:def 7
.=Sum mid(lower_volume(g,D1),j,j) by A108,FINSOP_1: 11;
hence thesis by A121,A122;
end;
suppose
A127: len mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j))
= 2;
A128: mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)). 1 =
lower_volume(g,D2).(indx(D2,D1,j1)+ 1) by A111,A112,A109,A113,FINSEQ_6: 118;
A129: 2+(indx(D2,D1,j1)+ 1)>= 0+ 1 by XREAL_1: 7;
mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)). 2 =LVg(
D2).( 2+(indx(D2,D1,j1)+ 1)-' 1) by A79,A111,A112,A109,A113,A127,FINSEQ_6: 118
.=LVg(D2).( 2+(indx(D2,D1,j1)+ 1)- 1) by A129,XREAL_1: 233
.=LVg(D2).(indx(D2,D1,j1)+( 1+ 1));
then mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) =<*
lower_volume(g,D2).(indx(D2,D1,j1)+ 1), lower_volume(g,D2).(indx(D2,D1,j1)+ 2)*>
by A127,A128,FINSEQ_1: 44;
then
A130: Sum mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j )) =
lower_volume(g,D2).(indx(D2,D1,j1)+ 1) +lower_volume(g,D2).(indx(D2,D1,j1)+ 2)
by RVSUM_1: 77;
A131: vol(divset(D2,indx(D2,D1,j1)+ 1))>= 0 by INTEGRA1: 9;
upper_bound divset(D1,j)=D1.j by A5,A7,INTEGRA1:def 4;
then
A132: upper_bound divset(D1,j)=D2. indx(D2,D1,j) by A3,A5,INTEGRA1:def 19;
A133: vol(divset(D2,indx(D2,D1,j1)+ 2))>= 0 by INTEGRA1: 9;
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1)+ 1= 2 by A79,A111,A112,A109,A113,A127,
FINSEQ_6: 118;
then
A134: indx(D2,D1,j)-(indx(D2,D1,j1)+ 1)+ 1= 2 by A79,XREAL_1: 233;
then
A135: indx(D2,D1,j1)+ 2 in dom D2 by A3,A5,INTEGRA1:def 19;
lower_bound divset(D1,j)=D1.j1 by A5,A7,INTEGRA1:def 4;
then lower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A3,A8,
INTEGRA1:def 19;
then
A136: vol(divset(D1,j))=D2.(indx(D2,D1,j1)+ 2)-D2.(indx(D2,D1,j1)+ 1) +
D2.(indx(D2,D1,j1)+ 1)-D2.indx(D2,D1,j1) by A132,A134,INTEGRA1:def 5;
indx(D2,D1,j1)+ 1 in Seg len lower_volume(g,D2) by A109,A113,FINSEQ_1: 1;
then indx(D2,D1,j1)+ 1 in Seg len D2 by INTEGRA1:def 7;
then
A137: indx(D2,D1,j1)+ 1 in dom D2 by FINSEQ_1:def 3;
A138: indx(D2,D1,j1)+ 1 <> 1 by A14,NAT_1: 13;
then
A139: upper_bound divset(D2,(indx( D2,D1,j1)+ 1))=D2.(indx(D2,D1,j1)+ 1)
by A137,INTEGRA1:def 4;
indx(D2,D1,j1)+ 1- 1=indx(D2,D1,j1)+ 0;
then
A140: lower_bound divset(D2,(indx(D2,D1,j1)+ 1))=D2.indx(D2,D1,j1) by A137
,A138,INTEGRA1:def 4;
A141: indx(D2,D1,j1)+ 1+ 1 > 1 by A109,NAT_1: 13;
indx(D2,D1,j1)+ 2- 1=indx(D2,D1,j1)+ 1;
then
A142: lower_bound divset(D2,(indx(D2,D1,j1)+ 2))=D2.(indx(D2,D1,j1)+ 1)
by A135,A141,INTEGRA1:def 4;
upper_bound divset(D2,(indx(D2,D1,j1)+ 2))=D2.(indx(D2,D1,j1)+ 2)
by A135,A141,INTEGRA1:def 4;
then vol(divset(D1,j))=vol(divset(D2,indx(D2,D1,j1)+ 2)) +D2.(indx(D2,
D1,j1)+ 1)-D2.indx(D2,D1,j1) by A142,A136,INTEGRA1:def 5
.=vol(divset(D2,indx(D2,D1,j1)+ 2)) +(upper_bound divset(D2,indx(D2
,D1,j1)+ 1)- lower_bound divset(D2,indx(D2,D1,j1)+ 1)) by A140,A139;
then
A143: vol(divset(D1,j)) =vol(divset(D2,indx(D2,D1,j1)+ 1))+vol(divset(
D2,indx(D2,D1,j1)+ 2)) by INTEGRA1:def 5;
then
A144: lower_volume(g,D1).j=(lower_bound(rng(g|divset(D1,j))))* (vol(
divset(D2,indx(D2,D1,j1)+ 1))+vol(divset(D2,indx(D2,D1,j1)+ 2))) by A5,
INTEGRA1:def 7;
A145: Sum mid(LVg(D2),indx(D2,D1,j1)+ 1,indx(D2,D1,j))-Sum mid(LVg(D1),
j,j) <=(upper_bound rng g - lower_bound rng g)* (vol(divset(D2,indx(D2,D1,j1)+ 2
)) +vol(divset(D2,indx(D2,D1,j1)+ 1)))
proof
set ID1=indx(D2,D1,j1)+ 1, ID2=indx(D2,D1,j1)+ 2;
set IR = (lower_bound rng g)*vol(divset(D2,ID2));
divset(D1,j)c=A by A5,INTEGRA1: 8;
then
A146: lower_bound rng(g|divset(D1,j)) >= lower_bound rng g by A72,Lm4;
Sum mid(LVg(D1),j,j)=(lower_bound rng(g|divset(D1,j)))* vol(
divset(D2,indx(D2, D1,j1)+ 2)) +(lower_bound rng(g|divset(D1,j)))*vol(divset(D2
,indx(D2,D1,j1)+ 1)) by A108,A144,FINSOP_1: 11;
then Sum mid(LVg(D1),j,j)-(lower_bound rng(g|divset(D1,j)))*vol(
divset(D2,ID1)) >=IR by A133,A146,XREAL_1: 64;
then Sum mid(LVg(D1),j,j)>=(lower_bound rng(g|divset(D1,j)))* vol(
divset(D2,ID1)) +IR by XREAL_1: 19;
then
A147: Sum mid(LVg(D1),j,j)-(lower_bound rng g)*vol(divset(D2,ID2))
>=(lower_bound rng(g|divset(D1,j)))*vol(divset(D2,ID1)) by XREAL_1: 19;
(lower_bound rng(g|divset(D1,j)))*vol(divset(D2,ID1)) >=(
lower_bound rng g)*vol(divset(D2,ID1)) by A131,A146,XREAL_1: 64;
then Sum mid(LVg(D1),j,j)-(lower_bound rng g)*vol(divset(D2,ID2))
>=(lower_bound rng g)*vol(divset(D2,ID1)) by A147,XXREAL_0: 2;
then
A148: Sum mid(LVg(D1),j,j) >=IR+(lower_bound rng g)* vol(divset(D2,
ID1)) by XREAL_1: 19;
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1)+ 1= 2 by A79,A111,A112,A109,A113,A127
,FINSEQ_6: 118;
then
A149: indx(D2,D1,j)-(indx(D2,D1,j1)+ 1)+ 1= 2 by A79,XREAL_1: 233;
ID1 in dom D2 by A114,FINSEQ_1:def 3;
then divset(D2,ID1) c= A by INTEGRA1: 8;
then lower_bound rng(g|divset(D2,ID1)) <= upper_bound rng g by A72
,Lm4;
then
A150: (lower_bound rng(g|divset(D2,ID1)))*vol(divset(D2,ID1)) <=(
upper_bound rng g)*vol(divset(D2,ID1)) by A131,XREAL_1: 64;
A151: indx(D2,D1,j) in dom D2 by A3,A5,INTEGRA1:def 19;
then divset(D2,ID2)c=A by A149,INTEGRA1: 8;
then
A152: lower_bound rng(g|divset(D2,ID2)) <= upper_bound rng g by A72,Lm4;
Sum mid(LVg(D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) =(
lower_bound rng(g|divset(D2,indx(D2,D1,j1)+ 2))) *vol(divset(D2,indx(D2,D1,j1)+ 2
)) +LVg(D2).(indx(D2,D1,j1)+ 1) by A130,A151,A149,INTEGRA1:def 7
.=(lower_bound rng(g|divset(D2,indx(D2,D1,j1)+ 2))) *vol(divset(
D2,indx(D2,D1,j1)+ 2)) +(lower_bound rng(g|divset(D2,indx(D2,D1,j1)+ 1))) *vol(
divset(D2,indx(D2,D1,j1)+ 1)) by A116,INTEGRA1:def 7;
then Sum mid(LVg(D2),ID1,indx(D2,D1,j)) -(lower_bound rng(g|divset(
D2,ID1)))*vol(divset(D2,ID1)) <=(upper_bound rng g)*vol(divset(D2,ID2)) by A133
,A152,XREAL_1: 64;
then Sum mid(LVg(D2),ID1,indx(D2,D1,j)) <=(upper_bound rng g)*vol(
divset(D2,ID2)) +(lower_bound rng(g|divset(D2,ID1)))*vol(divset(D2,ID1)) by
XREAL_1: 20;
then Sum mid(LVg(D2),ID1,indx(D2,D1,j))-(upper_bound rng g)*vol(
divset(D2,ID2)) <=(lower_bound rng(g|divset(D2,ID1)))*vol(divset(D2,ID1)) by
XREAL_1: 20;
then Sum mid(LVg(D2),ID1,indx(D2,D1,j))-(upper_bound rng g)*vol(
divset(D2,ID2)) <=(upper_bound rng g)*vol(divset(D2,ID1)) by A150,XXREAL_0: 2;
then Sum mid(LVg(D2),ID1,indx(D2,D1,j))<= (upper_bound rng g)*vol(
divset(D2,ID2)) + (upper_bound rng g)*vol(divset(D2,ID1)) by XREAL_1: 20;
then Sum mid(LVg(D2),ID1,indx(D2,D1,j))-Sum mid(LVg(D1),j,j) <=(
upper_bound rng g)*vol(divset(D2,ID2))+(upper_bound rng g)* vol(divset(D2,ID1))
-(IR+(lower_bound rng g)*vol(divset(D2,ID1))) by A148,XREAL_1: 13;
hence thesis;
end;
upper_bound rng g - lower_bound rng g >= 0 by A72,Lm3,XREAL_1: 48;
then (upper_bound rng g - lower_bound rng g)*(vol(divset(D1,j))) <=(
upper_bound rng g - lower_bound rng g)*delta(D1) by A5,Lm5,XREAL_1: 64;
hence thesis by A143,A145,XXREAL_0: 2;
end;
end;
hence thesis;
end;
indx(D2,D1,j1) in dom D2 by A3,A12,INTEGRA1:def 19;
then indx(D2,D1,j1) <= len D2 by FINSEQ_3: 25;
then
A153: indx(D2,D1,j1) <= len lower_volume(g,D2) by INTEGRA1:def 7;
j1 <= len D1 by A12,FINSEQ_3: 25;
then
A154: j1 <= len lower_volume(g,D1) by INTEGRA1:def 7;
A155: D2.indx(D2,D1,j)=D1.(len D1) by A3,A5,INTEGRA1:def 19;
A156: indx(D2,D1,j) >= len lower_volume(g,D2)
proof
assume indx(D2,D1,j) < len lower_volume(g,D2);
then indx(D2,D1,j) < len D2 by INTEGRA1:def 7;
then
A157: D1.(len D1) < D2.(len D2) by A66,A6,A155,SEQM_3:def 1;
A158: not D2.(len D2) in rng D1
proof
assume D2.(len D2) in rng D1;
D2.(len D2) <= upper_bound A by INTEGRA1:def 2;
hence contradiction by A157,INTEGRA1:def 2;
end;
D2.(len D2) in rng D2 by A66,FUNCT_1:def 3;
then D2.(len D2) in rng D1 or D2.(len D2) in {x} by A4,XBOOLE_0:def 3;
then D2.(len D2) = x by A158,TARSKI:def 1;
then D2.(len D2) <= upper_bound divset(D1,len D1) by A1,INTEGRA2: 1;
hence contradiction by A5,A7,A157,INTEGRA1:def 4;
end;
indx(D2,D1,j) in Seg len D2 by A6,FINSEQ_1:def 3;
then indx(D2,D1,j) in Seg len lower_volume(g,D2) by INTEGRA1:def 7;
then indx(D2,D1,j) in dom lower_volume(g,D2) by FINSEQ_1:def 3;
then
A159: PLg(D2,indx(D2,D1,j))=Sum(lower_volume(g,D2)|indx(D2,D1,j)) by
INTEGRA1:def 20
.=Sum lower_volume(g,D2) by A156,FINSEQ_1: 58;
j in Seg len lower_volume(g,D1) by A69,INTEGRA1:def 7;
then j in dom lower_volume(g,D1) by FINSEQ_1:def 3;
then
A160: PLg(D1,j)=Sum(lower_volume(g,D1)|j) by INTEGRA1:def 20
.=Sum lower_volume(g,D1) by A67,FINSEQ_1: 58;
len D1 = len lower_volume(g,D1) by INTEGRA1:def 7;
then
A161: j1 in dom lower_volume(g,D1) by A8,FINSEQ_3: 29;
len (D2|indx(D2,D1,j1))=len (D1|j1) by A15,A11,A18,Th6;
then indx(D2,D1,j1) =j1 by A9,A17,FINSEQ_1: 59;
then len(lower_volume(g,D1)|j1)=indx(D2,D1,j1) by A154,FINSEQ_1: 59;
then len(lower_volume(g,D1)|j1)=len(lower_volume(g,D2)|indx(D2,D1,j1)) by
A153,FINSEQ_1: 59;
then
A162: lower_volume(g,D2)|indx(D2,D1,j1)=lower_volume(g,D1)|j1 by A38,
FINSEQ_1: 14;
len D2 = len lower_volume(g,D2) by INTEGRA1:def 7;
then indx(D2,D1,j1) in dom lower_volume(g,D2) by A13,FINSEQ_3: 29;
then
A163: PLg(D2,indx(D2,D1,j1))=Sum(lower_volume(g,D2)|indx(D2,D1,j1)) by
INTEGRA1:def 20
.=PLg(D1,j1) by A162,A161,INTEGRA1:def 20;
indx(D2,D1,j) <= len D2 by A76,FINSEQ_1: 1;
then
A164: indx(D2,D1,j) <= len LVg(D2) by INTEGRA1:def 7;
A165: len D2 = len LVg(D2) by INTEGRA1:def 7;
then
A166: indx(D2,D1,j) in dom LVg(D2) by A75,FINSEQ_3: 29;
indx(D2,D1,j1) in dom LVg(D2) by A13,A165,FINSEQ_3: 29;
then PLg(D2,indx(D2,D1,j1)) =Sum(LVg(D2)|indx(D2,D1,j1)) by INTEGRA1:def 20;
then PLg(D2,indx(D2,D1,j1)) +Sum mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),
indx(D2,D1,j)) =Sum(LVg(D2)|indx(D2,D1,j1) ^mid(LVg(D2),(indx(D2,D1,j1)+ 1),indx
(D2,D1,j))) by RVSUM_1: 75
.=Sum(mid(LVg(D2), 1,indx(D2,D1,j1)) ^mid(LVg(D2),indx(D2,D1,j1)+ 1,indx(
D2,D1,j))) by A14,FINSEQ_6: 116
.=Sum(mid(LVg(D2), 1,indx(D2,D1,j))) by A14,A78,A164,INTEGRA2: 4
.=Sum(LVg(D2)|indx(D2,D1,j)) by A77,FINSEQ_6: 116;
then PLg(D2,indx(D2,D1,j1)) +Sum mid(lower_volume(g,D2),(indx(D2,D1,j1)+ 1),
indx(D2,D1,j)) =PLg(D2,indx(D2,D1,j)) by A166,INTEGRA1:def 20;
hence thesis by A163,A81,A74,A159,A160;
end;
theorem Th11:
x in divset(D1,len D1) & len D1 >= 2 & D1<=D2 & rng D2 = rng D1
\/ {x} & g|A is bounded implies Sum upper_volume(g,D1) - Sum upper_volume(g,D2)
<= (upper_bound rng g-lower_bound rng g)*delta(D1)
proof
assume that
A1: x in divset(D1,len D1) and
A2: len D1 >= 2;
set j = len D1;
assume that
A3: D1<=D2 and
A4: rng D2 = rng D1 \/ {x};
A5: len D1 in Seg len D1 by FINSEQ_1: 3;
then
A6: len D1 in dom D1 by FINSEQ_1:def 3;
then
A7: indx(D2,D1,j) in dom D2 by A3,INTEGRA1:def 19;
deffunc UVg(Division of A) = upper_volume(g,$ 1);
deffunc PUg(Division of A,Nat) = (PartSums(upper_volume(g,$ 1))).$ 2;
A8: j >= len upper_volume(g,D1) by INTEGRA1:def 6;
A9: len D1 <> 1 by A2;
then
A10: len D1- 1 in dom D1 by A6,INTEGRA1: 7;
reconsider j1=len D1- 1 as Element of NAT by A6,A9,INTEGRA1: 7;
A11: indx(D2,D1,j1) in dom D2 by A3,A10,INTEGRA1:def 19;
then
A12: 1 <= indx(D2,D1,j1) by FINSEQ_3: 25;
then mid(D2, 1,indx(D2,D1,j1)) is increasing by A11,INTEGRA1: 35;
then
A13: D2|indx(D2,D1,j1) is increasing by A12,FINSEQ_6: 116;
len D1 < len D1+ 1 by NAT_1: 13;
then j1 < len D1 by XREAL_1: 19;
then
A14: indx(D2,D1,j1) < indx(D2,D1,len D1) by A3,A6,A10,Th8;
then
A15: indx(D2,D1,j1)+ 1 <= indx(D2,D1,len D1) by NAT_1: 13;
len D2 in Seg len D2 by FINSEQ_1: 3;
then
A16: len D2 in dom D2 by FINSEQ_1:def 3;
A17: D2.indx(D2,D1,j)=D1.(len D1) by A3,A6,INTEGRA1:def 19;
A18: indx(D2,D1,j) >= len upper_volume(g,D2)
proof
assume indx(D2,D1,j) < len upper_volume(g,D2);
then indx(D2,D1,j) < len D2 by INTEGRA1:def 6;
then
A19: D1.(len D1) < D2.(len D2) by A16,A7,A17,SEQM_3:def 1;
A20: not D2.(len D2) in rng D1
proof
assume D2.(len D2) in rng D1;
D2.(len D2) <= upper_bound A by INTEGRA1:def 2;
hence contradiction by A19,INTEGRA1:def 2;
end;
D2.(len D2) in rng D2 by A16,FUNCT_1:def 3;
then D2.(len D2) in rng D1 or D2.(len D2) in {x} by A4,XBOOLE_0:def 3;
then D2.(len D2) = x by A20,TARSKI:def 1;
then D2.(len D2) <= upper_bound divset(D1,len D1) by A1,INTEGRA2: 1;
hence contradiction by A6,A9,A19,INTEGRA1:def 4;
end;
indx(D2,D1,j) in Seg len D2 by A7,FINSEQ_1:def 3;
then indx(D2,D1,j) in Seg len upper_volume(g,D2) by INTEGRA1:def 6;
then indx(D2,D1,j) in dom upper_volume(g,D2) by FINSEQ_1:def 3;
then
A21: PUg(D2,indx(D2,D1,j))=Sum(upper_volume(g,D2)|indx(D2,D1,j)) by
INTEGRA1:def 20
.=Sum upper_volume(g,D2) by A18,FINSEQ_1: 58;
indx(D2,D1,j) in dom D2 by A3,A6,INTEGRA1:def 19;
then
A22: indx(D2,D1,j) in Seg len D2 by FINSEQ_1:def 3;
then
A23: 1 <= indx(D2,D1,j) by FINSEQ_1: 1;
A24: indx(D2,D1,j1) <= len D2 by A11,FINSEQ_3: 25;
then
A25: len (D2|indx(D2,D1,j1))=indx(D2,D1,j1) by FINSEQ_1: 59;
A26: j1 <= len D1 by A10,FINSEQ_3: 25;
assume
A27: g|A is bounded;
A28: Sum mid(upper_volume(g,D1),len D1,len D1) -Sum mid(upper_volume(g,D2),
(indx(D2,D1,j1)+ 1),indx(D2,D1,len D1)) <= (upper_bound rng g-lower_bound rng g)
*delta(D1)
proof
A29: indx(D2,D1,j)-indx(D2,D1,j1) <= 2
proof
reconsider ID1=indx(D2,D1,j1)+ 1 as Element of NAT;
reconsider ID2=ID1+ 1 as Element of NAT;
assume indx(D2,D1,j)-indx(D2,D1,j1) > 2;
then
A30: indx(D2,D1,j1)+( 1+ 1)<indx(D2,D1,j) by XREAL_1: 20;
A31: ID1 < ID2 by NAT_1: 13;
then indx(D2,D1,j1) <= ID2 by NAT_1: 13;
then
A32: 1 <= ID2 by A12,XXREAL_0: 2;
A33: indx(D2,D1,j) in dom D2 by A3,A6,INTEGRA1:def 19;
then
A34: indx(D2,D1,j) <= len D2 by FINSEQ_3: 25;
then ID2 <= len D2 by A30,XXREAL_0: 2;
then
A35: ID2 in dom D2 by A32,FINSEQ_3: 25;
then
A36: D2.ID2<D2.indx(D2, D1,j) by A30,A33,SEQM_3:def 1;
A37: 1 <= ID1 by A12,NAT_1: 13;
A38: D1.j1 = D2.indx(D2,D1,j1) by A3,A10,INTEGRA1:def 19;
ID1 <= indx(D2,D1,j) by A30,A31,XXREAL_0: 2;
then ID1 <= len D2 by A34,XXREAL_0: 2;
then
A39: ID1 in dom D2 by A37,FINSEQ_3: 25;
A40: D1.j = D2.indx(D2,D1,j) by A3,A6,INTEGRA1:def 19;
indx(D2,D1,j1) < ID1 by NAT_1: 13;
then
A41: D2.indx(D2,D1,j1)<D2.ID1 by A11,A39,SEQM_3:def 1;
A42: D2.ID1<D2.ID2 by A31,A39,A35,SEQM_3:def 1;
A43: not D2.ID1 in rng D1 & not D2.ID2 in rng D1
proof
assume
A44: D2.ID1 in rng D1 or D2.ID2 in rng D1;
now
per cases by A44;
suppose
D2.ID1 in rng D1;
then consider n such that
A45: n in dom D1 and
A46: D1.n=D2.ID1 by PARTFUN1: 3;
j1<n by A10,A41,A38,A45,A46,SEQ_4: 137;
then
A47: j<n+ 1 by XREAL_1: 19;
D2.ID1<D2.indx(D2,D1,j) by A42,A36,XXREAL_0: 2;
then n<j by A6,A40,A45,A46,SEQ_4: 137;
hence contradiction by A47,NAT_1: 13;
end;
suppose
D2.ID2 in rng D1;
then consider n such that
A48: n in dom D1 and
A49: D1.n=D2.ID2 by PARTFUN1: 3;
D2.indx(D2,D1,j1)<D2.ID2 by A41,A42,XXREAL_0: 2;
then j1<n by A10,A38,A48,A49,SEQ_4: 137;
then
A50: j<n+ 1 by XREAL_1: 19;
n<j by A6,A36,A40,A48,A49,SEQ_4: 137;
hence contradiction by A50,NAT_1: 13;
end;
end;
hence thesis;
end;
D2.ID1 in rng D2 by A39,FUNCT_1:def 3;
then D2.ID1 in {x} by A4,A43,XBOOLE_0:def 3;
then
A51: D2.ID1 = x by TARSKI:def 1;
D2.ID2 in rng D2 by A35,FUNCT_1:def 3;
then D2.ID2 in {x} by A4,A43,XBOOLE_0:def 3;
then D2.ID1=D2.ID2 by A51,TARSKI:def 1;
hence contradiction by A31,A39,A35,SEQ_4: 138;
end;
A52: j <= len upper_volume(g,D1) by INTEGRA1:def 6;
A53: 1 <= j by A5,FINSEQ_1: 1;
then
A54: mid(upper_volume(g,D1),j,j). 1 = upper_volume(g,D1).j by A52,FINSEQ_6: 118;
reconsider uv = upper_volume(g,D1).j as Element of REAL by XREAL_0:def 1;
j-'j+ 1 = 1 by Lm1;
then len mid(upper_volume(g,D1),j,j)= 1 by A53,A52,FINSEQ_6: 118;
then mid(upper_volume(g,D1),j,j)=<*uv*> by A54,FINSEQ_1: 40;
then
A55: Sum mid(upper_volume(g,D1),j,j)=upper_volume(g,D1).j by FINSOP_1: 11;
A56: 1 <= indx(D2,D1,j1)+ 1 by A12,NAT_1: 13;
indx(D2,D1,j) in dom D2 by A3,A6,INTEGRA1:def 19;
then
A57: indx(D2,D1,j) in Seg len D2 by FINSEQ_1:def 3;
then
A58: 1 <= indx(D2,D1,j) by FINSEQ_1: 1;
indx(D2,D1,j) in Seg len upper_volume(g,D2) by A57,INTEGRA1:def 6;
then
A59: indx(D2,D1,j) <= len upper_volume(g,D2) by FINSEQ_1: 1;
then
A60: indx(D2,D1,j1)+ 1 <= len upper_volume(g,D2 ) by A15,XXREAL_0: 2;
then indx(D2,D1,j1)+ 1 in Seg len upper_volume(g,D2) by A56,FINSEQ_1: 1;
then
A61: indx(D2,D1,j1)+ 1 in Seg len D2 by INTEGRA1:def 6;
then
A62: indx(D2,D1,j1)+ 1 in dom D2 by FINSEQ_1:def 3;
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1) =indx(D2,D1,j)-(indx(D2,D1,j1)+ 1)
by A15,XREAL_1: 233;
then indx(D2,D1,j)-'(indx(D2,D1,j1) + 1)+ 1 <= 2 by A29;
then
A63: len mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j))<= 2 by A15,A58
,A59,A56,A60,FINSEQ_6: 118;
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1)+ 1 >= 0+ 1 by XREAL_1: 6;
then
A64: 1 <= len mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) by A15
,A58,A59,A56,A60,FINSEQ_6: 118;
now
per cases by A64,A63,Lm2;
suppose
A65: len mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j))
= 1;
upper_bound divset(D1,j)=D1.j by A6,A9,INTEGRA1:def 4;
then
A66: upper_bound divset(D1,j)=D2.indx(D2,D1,j) by A3,A6,INTEGRA1:def 19;
lower_bound divset(D1,j)=D1.j1 by A6,A9,INTEGRA1:def 4;
then lower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A3,A10,
INTEGRA1:def 19;
then
A67: divset(D1,j)=[. D2.indx(D2,D1,j1),D2.indx(D2,D1,j).] by A66,INTEGRA1: 4;
A68: delta(D1) >= 0 by Th9;
A69: upper_bound rng g - lower_bound rng g >= 0 by A27,Lm3,XREAL_1: 48;
A70: indx(D2,D1,j) in dom D2 by A3,A6,INTEGRA1:def 19;
len mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) =
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1)+ 1 by A15,A58,A59,A56,A60,FINSEQ_6: 118
;
then
A71: indx(D2,D1,j)-(indx(D2,D1,j1)+ 1)= 0 by A15,A65,XREAL_1: 233;
then indx(D2,D1,j)<> 1 by A11,FINSEQ_3: 25;
then
A72: upper_bound divset(D2,indx(D2,D1,j))=D2.indx(D2,D1,j) by A70,
INTEGRA1:def 4;
lower_bound divset(D2,indx(D2,D1,j))=D2.(indx(D2,D1,j)- 1) by A12,A71
,A70,INTEGRA1:def 4;
then
A73: divset(D2,indx(D2,D1,j))=divset(D1,j) by A71,A67,A72,INTEGRA1: 4;
reconsider uv =upper_volume(g,D2).(indx(D2,D1,j1)+ 1)
as Element of REAL
by XREAL_0:def 1;
mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)). 1 =
upper_volume(g,D2).(indx(D2,D1,j1)+ 1) by A58,A59,A56,A60,FINSEQ_6: 118;
then mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j))
= <*uv*> by A65,FINSEQ_1: 40;
then Sum mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j )) =
upper_volume(g,D2).(indx(D2,D1,j1)+ 1) by FINSOP_1: 11
.=(upper_bound(rng(g|divset(D2,(indx(D2,D1,j1)+ 1))))) *vol(divset(
D2,(indx(D2,D1,j1)+ 1))) by A62,INTEGRA1:def 6
.=Sum mid(upper_volume(g,D1),j,j) by A6,A55,A71,A73,INTEGRA1:def 6;
hence thesis by A68,A69;
end;
suppose
A74: len mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j))
= 2;
A75: mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)). 1 =
upper_volume(g,D2).(indx(D2,D1,j1)+ 1) by A58,A59,A56,A60,FINSEQ_6: 118;
A76: 2+(indx(D2,D1,j1)+ 1)>= 0+ 1 by XREAL_1: 7;
mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)). 2 =UVg(
D2).( 2+(indx(D2,D1,j1)+ 1)-' 1) by A15,A58,A59,A56,A60,A74,FINSEQ_6: 118
.=UVg(D2).( 2+(indx(D2,D1,j1)+ 1)- 1) by A76,XREAL_1: 233
.=UVg(D2).(indx(D2,D1,j1)+( 1+ 1));
then mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) =<*
upper_volume(g,D2).(indx(D2,D1,j1)+ 1), upper_volume(g,D2).(indx(D2,D1,j1)+ 2)*>
by A74,A75,FINSEQ_1: 44;
then
A77: Sum mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j )) =
upper_volume(g,D2).(indx(D2,D1,j1)+ 1) +upper_volume(g,D2).(indx(D2,D1,j1)+ 2)
by RVSUM_1: 77;
A78: vol(divset(D2,indx(D2,D1,j1)+ 1))>= 0 by INTEGRA1: 9;
upper_bound divset(D1,j)=D1.j by A6,A9,INTEGRA1:def 4;
then
A79: upper_bound divset(D1,j) =D2. indx(D2,D1,j) by A3,A6,INTEGRA1:def 19;
A80: vol(divset(D2,indx(D2,D1,j1)+ 2))>= 0 by INTEGRA1: 9;
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1)+ 1= 2 by A15,A58,A59,A56,A60,A74,
FINSEQ_6: 118;
then
A81: indx(D2,D1,j)-(indx(D2,D1,j1)+ 1)+ 1= 2 by A15,XREAL_1: 233;
then
A82: indx(D2,D1,j1)+ 2 in dom D2 by A3,A6,INTEGRA1:def 19;
lower_bound divset(D1,j)=D1.j1 by A6,A9,INTEGRA1:def 4;
then lower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A3,A10,
INTEGRA1:def 19;
then
A83: vol(divset(D1,j)) =D2.(indx(D2,D1,j1)+ 2)-D2.(indx(D2,D1,j1)+ 1) +
D2.(indx(D2,D1,j1)+ 1)-D2.indx(D2,D1,j1) by A79,A81,INTEGRA1:def 5;
indx(D2,D1,j1)+ 1 in Seg len upper_volume(g,D2) by A56,A60,FINSEQ_1: 1;
then indx(D2,D1,j1)+ 1 in Seg len D2 by INTEGRA1:def 6;
then
A84: indx(D2,D1,j1)+ 1 in dom D2 by FINSEQ_1:def 3;
A85: indx(D2,D1,j1)+ 1 <> 1 by A12,NAT_1: 13;
then
A86: upper_bound divset(D2,(indx( D2,D1,j1)+ 1))=D2.(indx(D2,D1,j1)+ 1)
by A84,INTEGRA1:def 4;
indx(D2,D1,j1)+ 1- 1=indx(D2,D1,j1)+ 0;
then
A87: lower_bound divset(D2,(indx(D2,D1,j1)+ 1))=D2.indx(D2,D1,j1) by A84,A85,
INTEGRA1:def 4;
A88: indx(D2,D1,j1)+ 1+ 1 > 1 by A56,NAT_1: 13;
indx(D2,D1,j1)+ 2- 1=indx(D2,D1,j1)+ 1;
then
A89: lower_bound divset(D2,(indx(D2,D1,j1)+ 2))=D2.(indx(D2,D1,j1)+ 1)
by A82,A88,INTEGRA1:def 4;
upper_bound divset(D2,(indx(D2,D1,j1)+ 2))=D2.(indx(D2,D1,j1)+ 2)
by A82,A88,INTEGRA1:def 4;
then vol(divset(D1,j)) =vol(divset(D2,indx(D2,D1,j1)+ 2)) +D2.(indx(D2
,D1,j1)+ 1)-D2.indx(D2,D1,j1) by A89,A83,INTEGRA1:def 5
.=vol(divset(D2,indx(D2,D1,j1)+ 2)) +(upper_bound divset(D2,indx(D2
,D1,j1)+ 1)-lower_bound divset(D2,indx(D2,D1,j1)+ 1)) by A87,A86;
then
A90: vol(divset(D1,j)) =vol(divset(D2,indx(D2,D1,j1)+ 1))+vol(divset(
D2,indx(D2,D1,j1)+ 2)) by INTEGRA1:def 5;
then
A91: upper_volume(g,D1).j=(upper_bound(rng(g|divset(D1,j))))* (vol(
divset(D2,indx(D2,D1,j1)+ 1))+vol(divset(D2,indx(D2,D1,j1)+ 2))) by A6,
INTEGRA1:def 6;
A92: Sum mid(UVg(D1),j,j)-Sum mid(UVg(D2),indx(D2,D1,j1)+ 1,indx(D2,D1
,j)) <=(upper_bound rng g - lower_bound rng g)*(vol(divset(D2, indx(D2,D1,j1)+ 2
)) +vol(divset(D2,indx(D2,D1,j1)+ 1)))
proof
set ID1=indx(D2,D1,j1)+ 1, ID2=indx(D2,D1,j1)+ 2;
A93: Sum mid(UVg(D1),j,j)-(upper_bound rng(g|divset(D1,j)))* vol(
divset(D2,ID1)) = (upper_bound rng(g|divset(D1,j)))*vol(divset(D2,ID2)) by A55
,A91;
divset(D1,j)c=A by A6,INTEGRA1: 8;
then
A94: upper_bound rng(g|divset(D1,j)) <= upper_bound rng g by A27,Lm4;
then (upper_bound rng(g|divset(D1,j)))*vol(divset(D2,ID2)) <=(
upper_bound rng g)*vol(divset(D2,ID2)) by A80,XREAL_1: 64;
then Sum mid(UVg(D1),j,j)<=(upper_bound rng(g|divset(D1,j)))* vol(
divset(D2,ID1)) +(upper_bound rng g)*vol(divset(D2,ID2)) by A93,XREAL_1: 20;
then
A95: Sum mid(UVg(D1),j,j)-(upper_bound rng g)*vol(divset(D2,ID2))
<=(upper_bound rng(g|divset(D1,j)))*vol(divset(D2,ID1)) by XREAL_1: 20;
(upper_bound rng(g|divset(D1,j)))*vol(divset(D2,ID1)) <=(
upper_bound rng g)*vol(divset(D2,ID1)) by A78,A94,XREAL_1: 64;
then Sum mid(UVg(D1),j,j)-(upper_bound rng g)*vol(divset(D2,ID2))
<=(upper_bound rng g)*vol(divset(D2,ID1)) by A95,XXREAL_0: 2;
then
A96: Sum mid(UVg(D1),j,j) <=(upper_bound rng g)*vol(divset(D2,ID2))
+(upper_bound rng g)* vol(divset(D2,ID1)) by XREAL_1: 20;
ID1 in dom D2 by A61,FINSEQ_1:def 3;
then divset(D2,ID1)c=A by INTEGRA1: 8;
then upper_bound rng(g|divset(D2,ID1)) >= lower_bound rng g by A27
,Lm4;
then
A97: (upper_bound rng(g|divset(D2,ID1)))*vol(divset(D2,ID1)) >=(
lower_bound rng g)*vol(divset(D2,ID1)) by A78,XREAL_1: 64;
indx(D2,D1,j)-'(indx(D2,D1,j1)+ 1)+ 1= 2 by A15,A58,A59,A56,A60,A74,
FINSEQ_6: 118;
then
A98: indx(D2,D1,j)-(indx(D2,D1,j1)+ 1)+ 1= 2 by A15,XREAL_1: 233;
A99: indx(D2,D1,j) in dom D2 by A3,A6,INTEGRA1:def 19;
then divset(D2,ID2)c=A by A98,INTEGRA1: 8;
then
A100: upper_bound rng(g|divset(D2,ID2)) >= lower_bound rng g by A27,Lm4;
Sum mid(UVg(D2),(indx(D2,D1,j1)+ 1),indx(D2,D1,j)) =(
upper_bound rng(g|divset(D2,indx(D2,D1,j1)+ 2))) *vol(divset(D2,indx(D2,D1,j1)+ 2
)) +UVg(D2).(indx(D2,D1,j1)+ 1) by A77,A99,A98,INTEGRA1:def 6
.=(upper_bound rng(g|divset(D2,indx(D2,D1,j1)+ 2))) *vol(divset(
D2,indx(D2,D1,j1)+ 2)) +(upper_bound rng(g|divset(D2,indx(D2,D1,j1)+ 1))) *vol(
divset(D2,indx(D2,D1,j1)+ 1)) by A62,INTEGRA1:def 6;
then Sum mid(UVg(D2),ID1,indx(D2,D1,j)) -(upper_bound rng(g|divset(
D2,ID1)))*vol(divset(D2,ID1)) >=(lower_bound rng g)*vol(divset(D2,ID2)) by A80
,A100,XREAL_1: 64;
then Sum mid(UVg(D2),ID1,indx(D2,D1,j)) >=(lower_bound rng g)*vol(
divset(D2,ID2)) +(upper_bound rng(g|divset(D2,ID1)))*vol(divset(D2,ID1)) by
XREAL_1: 19;
then Sum mid(UVg(D2),ID1,indx(D2,D1,j))-(lower_bound rng g)*vol(
divset(D2,ID2)) >=(upper_bound rng(g|divset(D2,ID1)))*vol(divset(D2,ID1)) by
XREAL_1: 19;
then Sum mid(UVg(D2),ID1,indx(D2,D1,j))-(lower_bound rng g)*vol(
divset(D2,ID2)) >=(lower_bound rng g)*vol(divset(D2,ID1)) by A97,XXREAL_0: 2;
then Sum mid(UVg(D2),ID1,indx(D2,D1,j)) >= (lower_bound rng g)*vol(
divset(D2,ID2) ) + (lower_bound rng g)*vol(divset(D2,ID1)) by XREAL_1: 19;
then Sum mid(UVg(D1),j,j)-Sum mid(UVg(D2),ID1,indx(D2,D1,j)) <=(
upper_bound rng g)*vol(divset(D2,ID2))+(upper_bound rng g)* vol(divset(D2,ID1))
-((lower_bound rng g)*vol(divset(D2,ID2))+(lower_bound rng g)* vol(divset(D2,
ID1))) by A96,XREAL_1: 13;
hence thesis;
end;
upper_bound rng g - lower_bound rng g >= 0 by A27,Lm3,XREAL_1: 48;
then (upper_bound rng g - lower_bound rng g)*(vol(divset(D1,j))) <=(
upper_bound rng g - lower_bound rng g)*delta(D1) by A6,Lm5,XREAL_1: 64;
hence thesis by A90,A92,XXREAL_0: 2;
end;
end;
hence thesis;
end;
j in Seg len upper_volume(g,D1) by A5,INTEGRA1:def 6;
then j in dom upper_volume(g,D1) by FINSEQ_1:def 3;
then
A101: PUg(D1,j)=Sum(upper_volume(g,D1)|j) by INTEGRA1:def 20
.=Sum upper_volume(g,D1) by A8,FINSEQ_1: 58;
A102: j <= len UVg(D1) by INTEGRA1:def 6;
A103: 1 <= j1 by A10,FINSEQ_3: 25;
then mid(D1, 1,j1) is increasing by A6,A9,INTEGRA1: 7, 35;
then
A104: D1|j1 is increasing by A103,FINSEQ_6: 116;
A105: rng (D2|indx(D2,D1,j1)) = rng (D1|j1) by A1,A2,A3,A4,Lm6;
then
A106: D2|indx(D2,D1,j1)=D1|j1 by A13,A104,Th6;
A107: for k st 1 <= k & k <= j1 holds k=indx(D2,D1,k)
proof
let k;
assume that
A108: 1 <= k and
A109: k <= j1;
assume
A110: k<>indx(D2,D1,k);
now
per cases by A110,XXREAL_0: 1;
suppose
A111: k > indx(D2,D1,k);
k <= len D1 by A26,A109,XXREAL_0: 2;
then
A112: k in dom D1 by A108,FINSEQ_3: 25;
then indx(D2,D1,k) in dom D2 by A3,INTEGRA1:def 19;
then indx(D2,D1,k) in Seg len D2 by FINSEQ_1:def 3;
then
A113: 1<=indx(D2,D1,k) by FINSEQ_1: 1;
A114: indx(D2,D1,k) < j1 by A109,A111,XXREAL_0: 2;
then
A115: indx(D2,D1,k) in Seg j1 by A113,FINSEQ_1: 1;
indx(D2,D1,k)<=indx(D2,D1,j1) by A3,A10,A109,A112,Th7;
then indx(D2,D1,k) in Seg indx(D2,D1,j1) by A113,FINSEQ_1: 1;
then
A116: (D2|indx(D2,D1,j1)).indx(D2,D1,k)=D2.indx(D2,D1,k) by A11,RFINSEQ: 6;
indx(D2,D1,k) <= len D1 by A26,A114,XXREAL_0: 2;
then indx(D2,D1,k) in Seg len D1 by A113,FINSEQ_1: 1;
then indx(D2,D1,k) in dom D1 by FINSEQ_1:def 3;
then
A117: D1.k > D1.indx(D2,D1,k) by A111,A112,SEQM_3:def 1;
D1.k=D2.indx(D2,D1,k) by A3,A112,INTEGRA1:def 19;
hence contradiction by A10,A106,A116,A117,A115,RFINSEQ: 6;
end;
suppose
A118: k < indx(D2,D1,k);
k <= len D1 by A26,A109,XXREAL_0: 2;
then
A119: k in dom D1 by A108,FINSEQ_3: 25;
then indx(D2,D1,k) <= indx(D2,D1,j1) by A3,A10,A109,Th7;
then
A120: k <= indx(D2,D1,j1) by A118,XXREAL_0: 2;
then k <= len D2 by A24,XXREAL_0: 2;
then
A121: k in dom D2 by A108,FINSEQ_3: 25;
k in Seg j1 by A108,A109,FINSEQ_1: 1;
then
A122: D1.k = (D1|j1).k by A10,RFINSEQ: 6;
indx(D2,D1,k) in dom D2 by A3,A119,INTEGRA1:def 19;
then
A123: D2.k < D2.indx(D2,D1,k) by A118,A121,SEQM_3:def 1;
A124: k in Seg indx(D2,D1,j1) by A108,A120,FINSEQ_1: 1;
D1.k=D2.indx(D2,D1,k) by A3,A119,INTEGRA1:def 19;
hence contradiction by A11,A106,A122,A123,A124,RFINSEQ: 6;
end;
end;
hence contradiction;
end;
A125: for k be Nat st 1 <= k & k <= len(upper_volume(g,D1)|j1) holds (
upper_volume(g,D1)|j1).k = (upper_volume(g,D2)|indx(D2,D1,j1)).k
proof
indx(D2,D1,j1) in Seg len D2 by A11,FINSEQ_1:def 3;
then indx(D2,D1,j1) in Seg len upper_volume(g,D2) by INTEGRA1:def 6;
then
A126: indx(D2,D1,j1) in dom upper_volume(g,D2) by FINSEQ_1:def 3;
let k be Nat;
assume that
A127: 1 <= k and
A128: k <= len(upper_volume(g,D1)|j1);
reconsider k as Element of NAT by ORDINAL1:def 12;
A129: len(upper_volume(g,D1)) = len D1 by INTEGRA1:def 6;
then
A130: k <= j1 by A26,A128,FINSEQ_1: 59;
then
A131: k <= len D1 by A26,XXREAL_0: 2;
then k in Seg len D1 by A127,FINSEQ_1: 1;
then
A132: k in dom D1 by FINSEQ_1:def 3;
then
A133: indx(D2,D1,k) in dom D2 by A3,INTEGRA1:def 19;
A134: k in Seg j1 by A127,A130,FINSEQ_1: 1;
then indx(D2,D1,k) in Seg j1 by A107,A127,A130;
then
A135: indx(D2,D1,k) in Seg indx(D2,D1,j1) by A103,A107;
then indx(D2,D1,k)<=indx(D2,D1,j1) by FINSEQ_1: 1;
then
A136: indx(D2,D1,k)<=len D2 by A24,XXREAL_0: 2;
A137: D1.k=D2.indx(D2,D1,k) by A3,A132,INTEGRA1:def 19;
A138: lower_bound divset(D1,k)=lower_bound divset(D2,indx(D2,D1,k)) &
upper_bound divset(D1,k)=upper_bound divset(D2,indx(D2,D1,k))
proof
per cases;
suppose
A139: k= 1;
then
A140: upper_bound divset(D1,k)=D1.k by A132,INTEGRA1:def 4;
A141: lower_bound divset(D1,k)=lower_bound A by A132,A139,INTEGRA1:def 4;
indx(D2,D1,k)= 1 by A103,A107,A139;
hence thesis by A133,A137,A141,A140,INTEGRA1:def 4;
end;
suppose
A142: k<> 1;
then reconsider k1=k- 1 as Element of NAT by A132,INTEGRA1: 7;
k <= k+ 1 by NAT_1: 11;
then k1 <= k by XREAL_1: 20;
then
A143: k1 <= j1 by A130,XXREAL_0: 2;
A144: k- 1 in dom D1 by A132,A142,INTEGRA1: 7;
then 1 <= k1 by FINSEQ_3: 25;
then k1=indx(D2,D1,k1) by A107,A143;
then
A145: D2.(indx(D2,D1,k)- 1)= D2.indx(D2,D1,k1) by A107,A127,A130;
A146: indx(D2,D1,k)<> 1 by A107,A127,A130,A142;
then
A147: lower_bound divset(D2,indx(D2,D1,k))=D2.(indx(D2,D1,k)- 1) by A133,
INTEGRA1:def 4;
A148: upper_bound divset(D2,indx(D2,D1,k))=D2.indx(D2,D1,k) by A133,A146,
INTEGRA1:def 4;
A149: upper_bound divset(D1,k)=D1.k by A132,A142,INTEGRA1:def 4;
lower_bound divset(D1,k)=D1.(k- 1) by A132,A142,INTEGRA1:def 4;
hence thesis by A3,A132,A149,A144,A147,A148,A145,INTEGRA1:def 19;
end;
end;
divset(D1,k)=[. lower_bound divset(D1,k), upper_bound divset(D1,k) .]
by INTEGRA1: 4;
then
A150: divset(D1,k)=divset(D2,indx(D2,D1,k)) by A138,INTEGRA1: 4;
A151: k in dom D1 by A127,A131,FINSEQ_3: 25;
j1 in Seg len(upper_volume(g,D1)) by A10,A129,FINSEQ_1:def 3;
then j1 in dom(upper_volume(g,D1)) by FINSEQ_1:def 3;
then
A152: (upper_volume(g,D1)|j1).k = upper_volume(g,D1).k by A134,RFINSEQ: 6
.=(upper_bound(rng(g|divset(D2,indx(D2,D1,k)))))*vol(divset(D2, indx(
D2,D1,k))) by A151,A150,INTEGRA1:def 6;
1<=indx(D2,D1,k) by A107,A127,A130;
then
A153: indx(D2,D1,k) in dom D2 by A136,FINSEQ_3: 25;
(upper_volume(g,D2)|indx(D2,D1,j1)).k =(upper_volume(g,D2)|indx(D2,
D1,j1)).indx(D2,D1,k) by A107,A127,A130
.=upper_volume(g,D2).indx(D2,D1,k) by A135,A126,RFINSEQ: 6
.=(upper_bound(rng(g|divset(D2,indx(D2,D1,k)))))*vol(divset(D2, indx(
D2,D1,k))) by A153,INTEGRA1:def 6;
hence thesis by A152;
end;
indx(D2,D1,j1) in dom D2 by A3,A10,INTEGRA1:def 19;
then indx(D2,D1,j1) <= len D2 by FINSEQ_3: 25;
then
A154: indx(D2,D1,j1) <= len upper_volume(g,D2) by INTEGRA1:def 6;
j1 in Seg len D1 by A10,FINSEQ_1:def 3;
then j1 <= len D1 by FINSEQ_1: 1;
then
A155: j1 <= len upper_volume(g,D1) by INTEGRA1:def 6;
len (D2|indx(D2,D1,j1))=len (D1|j1) by A13,A104,A105,Th6;
then indx(D2,D1,j1) =j1 by A26,A25,FINSEQ_1: 59;
then len(upper_volume(g,D1)|j1)=indx(D2,D1,j1) by A155,FINSEQ_1: 59;
then len(upper_volume(g,D1)|j1)=len(upper_volume(g,D2)|indx(D2,D1,j1)) by
A154,FINSEQ_1: 59;
then
A156: upper_volume(g,D2)|indx(D2,D1,j1)=upper_volume(g,D1)|j1 by A125,
FINSEQ_1: 14;
j1 in Seg len D1 by A10,FINSEQ_1:def 3;
then j1 in Seg len upper_volume(g,D1) by INTEGRA1:def 6;
then
A157: j1 in dom upper_volume(g,D1) by FINSEQ_1:def 3;
j < j+ 1 by NAT_1: 13;
then
A158: j1 < j by XREAL_1: 19;
indx(D2,D1,j) <= len D2 by A22,FINSEQ_1: 1;
then
A159: indx(D2,D1,j) <= len UVg(D2) by INTEGRA1:def 6;
then
A160: indx(D2,D1,j) in dom UVg(D2) by A23,FINSEQ_3: 25;
indx(D2,D1,j1) in Seg len D2 by A11,FINSEQ_1:def 3;
then indx(D2,D1,j1) in Seg len UVg(D2) by INTEGRA1:def 6;
then indx(D2,D1,j1) in dom UVg(D2) by FINSEQ_1:def 3;
then PUg(D2,indx(D2,D1,j1)) =Sum(UVg(D2)|indx(D2,D1,j1)) by INTEGRA1:def 20;
then PUg(D2,indx(D2,D1,j1)) +Sum mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),
indx(D2,D1,j)) =Sum(UVg(D2)|indx(D2,D1,j1) ^mid(UVg(D2),(indx(D2,D1,j1)+ 1),indx
(D2,D1,j))) by RVSUM_1: 75
.=Sum(mid(UVg(D2), 1,indx(D2,D1,j1)) ^mid(UVg(D2),indx(D2,D1,j1)+ 1,indx(
D2,D1,j))) by A12,FINSEQ_6: 116
.=Sum(mid(UVg(D2), 1,indx(D2,D1,j))) by A12,A14,A159,INTEGRA2: 4
.=Sum(UVg(D2)|indx(D2,D1,j)) by A23,FINSEQ_6: 116;
then
A161: PUg(D2,indx(D2,D1,j1)) +Sum mid(upper_volume(g,D2),(indx(D2,D1,j1)+ 1),
indx(D2,D1,j)) =PUg(D2,indx(D2,D1,j)) by A160,INTEGRA1:def 20;
A162: 1 <= j by A5,FINSEQ_1: 1;
then
A163: j in dom UVg(D1) by A102,FINSEQ_3: 25;
j1 in Seg len D1 by A10,FINSEQ_1:def 3;
then j1 in Seg len UVg(D1) by INTEGRA1:def 6;
then j1 in dom UVg(D1) by FINSEQ_1:def 3;
then PUg(D1,j1)=Sum(UVg(D1)|j1) by INTEGRA1:def 20;
then PUg(D1,j1)+Sum mid(UVg(D1),j,j) =Sum((UVg(D1)|j1)^mid(UVg(D1),j,j)) by
RVSUM_1: 75
.=Sum(mid(UVg(D1), 1,j1)^mid(UVg(D1),j1+ 1,j)) by A103,FINSEQ_6: 116
.=Sum(mid(UVg(D1), 1,j)) by A103,A102,A158,INTEGRA2: 4
.=Sum(UVg(D1)|j) by A162,FINSEQ_6: 116;
then
A164: PUg(D1,j1)+Sum mid(upper_volume(g,D1),j,j)=PUg(D1,j) by A163,
INTEGRA1:def 20;
indx(D2,D1,j1) in Seg len D2 by A11,FINSEQ_1:def 3;
then indx(D2,D1,j1) in Seg len upper_volume(g,D2) by INTEGRA1:def 6;
then indx(D2,D1,j1) in dom upper_volume(g,D2) by FINSEQ_1:def 3;
then PUg(D2,indx(D2,D1,j1))=Sum(upper_volume(g,D2)|indx(D2,D1,j1)) by
INTEGRA1:def 20
.=PUg(D1,j1) by A156,A157,INTEGRA1:def 20;
hence thesis by A28,A161,A164,A21,A101;
end;
Lm7: vol(A)<> 0 & y in rng lower_sum_set(f) implies ex D being Division of A st
D in dom lower_sum_set(f) & y=(lower_sum_set(f)).D & D. 1 > lower_bound A
proof
assume
A1: vol(A)<> 0;
assume y in rng lower_sum_set(f);
then consider D3 being Element of divs A such that
A2: D3 in dom lower_sum_set(f) and
A3: y=(lower_sum_set(f)).D3 by PARTFUN1: 3;
reconsider D3 as Division of A by INTEGRA1:def 3;
rng D3 <> {};
then
A4: 1 in dom D3 by FINSEQ_3: 32;
A5: len D3 in Seg len D3 by FINSEQ_1: 3;
now
per cases;
suppose
A6: D3. 1 <> lower_bound A;
D3. 1 in A by A4,INTEGRA1: 6;
then lower_bound A <= D3. 1 by INTEGRA2: 1;
then D3. 1 > lower_bound A by A6,XXREAL_0: 1;
hence thesis by A2,A3;
end;
suppose
A7: D3. 1 = lower_bound A;
ex D being Division of A st D in dom lower_sum_set(f) & y=(
lower_sum_set(f)).D & D. 1 > lower_bound A
proof
A8: lower_volume(f,D3). 1=(lower_bound rng(f|divset(D3, 1)))* vol(
divset(D3, 1)) by A4,INTEGRA1:def 7;
vol(A) >= 0 by INTEGRA1: 9;
then
A9: upper_bound A - lower_bound A > 0 by A1,INTEGRA1:def 5;
A10: y=lower_sum(f,D3) by A3,INTEGRA1:def 11
.=Sum(lower_volume(f,D3)) by INTEGRA1:def 9
.=Sum((lower_volume(f,D3)| 1)^(lower_volume(f,D3)/^ 1)) by RFINSEQ: 8;
A11: D3.(len D3) = upper_bound A by INTEGRA1:def 2;
len D3 in dom D3 by A5,FINSEQ_1:def 3;
then
A12: len D3 > 1 by A4,A7,A11,A9,SEQ_4: 137,XREAL_1: 47;
then reconsider D=D3/^ 1 as increasing FinSequence of REAL by
INTEGRA1: 34;
A13: len D = len D3 - 1 by A12,RFINSEQ:def 1;
upper_bound A > lower_bound A by A9,XREAL_1: 47;
then len D <> 0 by A7,A13,INTEGRA1:def 2;
then reconsider D as non empty increasing FinSequence of REAL;
A14: len D in dom D by FINSEQ_5: 6;
len D+ 1=len D3 by A13;
then
A15: D.(len D)=upper_bound A by A11,A12,A14,RFINSEQ:def 1;
A16: len D3 >= 1+ 1 by A12,NAT_1: 13;
then
A17: 2 <= len lower_volume(f,D3) by INTEGRA1:def 7;
1+ 1 <= len D3 by A12,NAT_1: 13;
then 2 in dom D3 by FINSEQ_3: 25;
then
A18: D3. 1 < D3. 2 by A4,SEQM_3:def 1;
A19: rng D3 c= A by INTEGRA1:def 2;
rng D c= rng D3 by FINSEQ_5: 33;
then rng D c= A by A19;
then reconsider D as Division of A by A15,INTEGRA1:def 2;
A20: 1 in Seg 1 by FINSEQ_1: 1;
A21: 1 <= len lower_volume(f,D3) by A12,INTEGRA1:def 7;
A22: len (lower_volume(f,D3)| 1)= 1;
1 <= len lower_volume(f,D3) by A12,INTEGRA1:def 7;
then
A23: len(mid(lower_volume(f,D3), 2,len lower_volume(f,D3))) =len
lower_volume(f,D3)-' 2+ 1 by A17,FINSEQ_6: 118
.=len D3-' 2+ 1 by INTEGRA1:def 7
.=len D3- 2+ 1 by A16,XREAL_1: 233
.=len D3- 1;
A24: for i be Nat st 1<=i&i<=len mid(lower_volume(f,D3), 2,len
lower_volume(f,D3)) holds mid(lower_volume(f,D3), 2,len lower_volume(f,D3)).i =
lower_volume(f,D).i
proof
let i be Nat;
assume that
A25: 1<=i and
A26: i<=len mid(lower_volume(f,D3), 2,len lower_volume(f,D3));
A27: 1 <= i+ 1 by NAT_1: 12;
i+ 1 <= len D3 by A23,A26,XREAL_1: 19;
then
A28: i+ 1 in Seg len D3 by A27,FINSEQ_1: 1;
then
A29: i+ 1 in dom D3 by FINSEQ_1:def 3;
A30: divset(D3,i+ 1)=divset(D,i)
proof
A31: i+ 1 in dom D3 by A28,FINSEQ_1:def 3;
A32: 1<>i+ 1 by A25,NAT_1: 13;
then
A33: upper_bound divset(D3,i+ 1)=D3.(i+ 1) by A31,INTEGRA1:def 4;
A34: i in dom D by A13,A23,A25,A26,FINSEQ_3: 25;
then
A35: D.i=D3.(i+ 1) by A12,RFINSEQ:def 1;
A36: lower_bound divset( D3,i+ 1)=D3.(i+ 1- 1) by A32,A31,INTEGRA1:def 4;
per cases;
suppose
A37: i= 1;
then
A38: upper_bound divset(D,i )=D.i by A34,INTEGRA1:def 4;
A39: lower_bound divset(D,i)=lower_bound A by A34,A37,INTEGRA1:def 4;
divset(D3,i+ 1)=[.lower_bound A, D.i.] by A7,A33,A36,A35,A37,
INTEGRA1: 4;
hence thesis by A39,A38,INTEGRA1: 4;
end;
suppose
A40: i<> 1;
then i- 1 in dom D by A34,INTEGRA1: 7;
then
A41: D.(i- 1)=D3.(i- 1+ 1) by A12,RFINSEQ:def 1
.=D3.i;
A42: upper_bound divset(D,i)=D.i by A34,A40,INTEGRA1:def 4;
lower_bound divset(D,i)=D.(i- 1) by A34,A40,INTEGRA1:def 4;
then divset(D3,i+ 1)=[.lower_bound divset(D,i), upper_bound
divset(D,i).] by A33,A36,A35,A42,A41,INTEGRA1: 4;
hence thesis by INTEGRA1: 4;
end;
end;
i<=len lower_volume(f,D3) - 1 by A23,A26,INTEGRA1:def 7;
then
A43: i <= len lower_volume(f,D3)- 2+ 1;
mid(lower_volume(f,D3), 2,len lower_volume(f,D3 )).i =
lower_volume(f,D3).(i+ 2- 1) by A17,A25,A43,FINSEQ_6: 122
.=lower_volume(f,D3).(i+ 1);
then
A44: mid(lower_volume(f,D3), 2,len lower_volume(f,D3 )).i =(
lower_bound rng(f|divset(D3,i+ 1)))*vol(divset(D3,i+ 1)) by A29,INTEGRA1:def 7;
i in Seg len D by A13,A23,A25,A26,FINSEQ_1: 1;
then i in dom D by FINSEQ_1:def 3;
hence thesis by A44,A30,INTEGRA1:def 7;
end;
1 in dom lower_volume(f,D3) by A21,FINSEQ_3: 25;
then (lower_volume(f,D3)| 1). 1 = lower_volume(f,D3). 1 by A20,RFINSEQ: 6;
then
A45: lower_volume(f,D3)| 1 = <*lower_volume(f,D3). 1*> by A22,FINSEQ_1: 40;
A46: 2-' 1= 2- 1 by XREAL_1: 233
.= 1;
rng D <> {};
then 1 in dom D by FINSEQ_3: 32;
then
A47: D. 1=D3.( 1+ 1) by A12,RFINSEQ:def 1
.=D3. 2;
D in divs A by INTEGRA1:def 3;
then
A48: D in dom lower_sum_set(f) by FUNCT_2:def 1;
len lower_volume(f,D3) >= 2 by A16,INTEGRA1:def 7;
then
A49: mid(lower_volume(f,D3), 2,len lower_volume(f,D3)) =lower_volume(f,
D3)/^ 1 by A46,FINSEQ_6: 117;
len(mid(lower_volume(f,D3), 2,len lower_volume(f,D3))) =len
lower_volume(f, D) by A13,A23,INTEGRA1:def 7;
then
A50: lower_volume(f,D3)/^ 1 = lower_volume(f,D) by A49,A24,FINSEQ_1: 14;
vol(divset(D3, 1))=upper_bound divset(D3, 1)-lower_bound divset(D3,
1) by INTEGRA1:def 5
.=upper_bound divset(D3, 1) - lower_bound A by A4,INTEGRA1:def 4
.=D3. 1 - lower_bound A by A4,INTEGRA1:def 4
.= 0 by A7;
then y= 0+Sum(lower_volume(f,D)) by A10,A45,A8,A50,RVSUM_1: 76
.=lower_sum(f,D) by INTEGRA1:def 9;
then y=(lower_sum_set(f)).D by INTEGRA1:def 11;
hence thesis by A7,A48,A47,A18;
end;
hence thesis;
end;
end;
hence thesis;
end;
theorem Th12:
i in dom D & j in dom D & i<=j & r < mid(D,i,j). 1 implies
ex B be non empty closed_interval Subset of REAL st r = lower_bound B &
upper_bound B=mid(D,i,j).(len mid(D,i,j)) & mid(D,i,j) is Division of B
proof
assume
A1: i in dom D;
assume
A2: j in dom D;
assume i <= j;
then consider C being non empty closed_interval Subset of REAL such that
A3: lower_bound C=mid(D,i,j). 1 and
A4: upper_bound C=mid(D,i,j).(len mid(D,i,j)) and
A5: mid(D,i,j) is Division of C by A1,A2,INTEGRA1: 36;
reconsider MD=mid(D,i,j) as non empty increasing FinSequence of REAL by A5;
assume
A6: r < mid(D,i,j). 1;
reconsider rr=r, ub=upper_bound C as Real;
ex a,b st a <= b & a = lower_bound C & b = upper_bound C by SEQ_4: 11;
then r <= upper_bound C by A6,A3,XXREAL_0: 2;
then reconsider B=[.rr,ub.]
as non empty closed_interval Subset of REAL by MEASURE5: 14;
A7: B=[.lower_bound B,upper_bound B.] by INTEGRA1: 4;
then
A8: lower_bound B = r by INTEGRA1: 5;
A9: upper_bound B = upper_bound C by A7,INTEGRA1: 5;
for x being Element of REAL holds x in C implies x in B
proof let x be Element of REAL;
assume
A10: x in C;
then lower_bound C <= x by INTEGRA2: 1;
then
A11: r <= x by A6,A3,XXREAL_0: 2;
x <= upper_bound C by A10,INTEGRA2: 1;
hence thesis by A8,A9,A11,INTEGRA2: 1;
end;
then
A12: C c= B;
rng mid(D,i,j) c= C by A5,INTEGRA1:def 2;
then rng mid(D,i,j) c= B by A12;
then MD is Division of B by A4,A9,INTEGRA1:def 2;
hence thesis by A4,A8,A9;
end;
Lm8: vol(A)<> 0 & len D1 = 1 implies <*lower_bound A*>^D1 is non empty
increasing FinSequence of REAL
proof
assume
A1: vol(A)<> 0;
reconsider lb = lower_bound A as Element of REAL by XREAL_0:def 1;
set MD1 = <*lb*>^D1;
A2: vol(A) >= 0 by INTEGRA1: 9;
assume len D1 = 1;
then D1. 1=upper_bound A by INTEGRA1:def 2;
then
A3: D1. 1 - lower_bound A > 0 by A1,A2,INTEGRA1:def 5;
then
A4: lower_bound A < D1. 1 by XREAL_1: 47;
for n,m being Nat holds
n in dom MD1 & m in dom MD1 & n<m implies MD1.n < MD1.m
proof let n,m be Nat;
assume that
A5: n in dom MD1 and
A6: m in dom MD1 and
A7: n<m;
A8: not m in dom <*lower_bound A*>
proof
assume m in dom <*lower_bound A*>;
then m in Seg len <*lower_bound A*> by FINSEQ_1:def 3;
then m in { 1} by FINSEQ_1: 2, 39;
then
A9: n < 1 by A7,TARSKI:def 1;
n in Seg len MD1 by A5,FINSEQ_1:def 3;
hence contradiction by A9,FINSEQ_1: 1;
end;
A10: not MD1.m in rng <*lower_bound A*>
proof
assume MD1.m in rng <*lower_bound A*>;
then MD1.m in {lower_bound A} by FINSEQ_1: 38;
then
A11: MD1.m = lower_bound A by TARSKI:def 1;
rng D1 <> {};
then
A12: 1 in dom D1 by FINSEQ_3: 32;
consider n being Nat such that
A13: n in dom D1 and
A14: m=len <*lower_bound A*>+n by A6,A8,FINSEQ_1: 25;
n in Seg len D1 by A13,FINSEQ_1:def 3;
then
A15: 1 <= n by FINSEQ_1: 1;
D1.n=MD1.m by A13,A14,FINSEQ_1:def 7;
hence contradiction by A3,A11,A13,A15,A12,SEQ_4: 137,XREAL_1: 47;
end;
MD1.m in rng MD1 by A6,FUNCT_1:def 3;
then MD1.m in rng <*lower_bound A*> \/ rng D1 by FINSEQ_1: 31;
then
A16: MD1.m in rng D1 by A10,XBOOLE_0:def 3;
now
per cases by A5,FINSEQ_1: 25;
suppose
A17: n in dom <*lower_bound A*>;
then n in Seg len <*lower_bound A*> by FINSEQ_1:def 3;
then n in { 1} by FINSEQ_1: 2, 39;
then
A18: n = 1 by TARSKI:def 1;
A19: MD1.n = <*lower_bound A*>.n by A17,FINSEQ_1:def 7
.= lower_bound A by A18;
rng D1 <> {};
then
A20: 1 in dom D1 by FINSEQ_3: 32;
consider k such that
A21: k in dom D1 and
A22: MD1.m = D1.k by A16,PARTFUN1: 3;
1 <= k by A21,FINSEQ_3: 25;
then D1. 1 <= MD1.m by A21,A22,A20,SEQ_4: 137;
hence thesis by A4,A19,XXREAL_0: 2;
end;
suppose
ex i be Nat st i in dom D1 & n = len <*lower_bound A*> + i;
then consider i such that
A23: i in dom D1 and
A24: n=len <*lower_bound A*> + i;
A25: D1.i=MD1.n by A23,A24,FINSEQ_1:def 7;
consider j be Nat such that
A26: j in dom D1 and
A27: m=len <*lower_bound A*> + j by A6,A8,FINSEQ_1: 25;
A28: D1.j=MD1.m by A26,A27,FINSEQ_1:def 7;
i < j by A7,A24,A27,XREAL_1: 6;
hence thesis by A23,A26,A25,A28,SEQM_3:def 1;
end;
end;
hence thesis;
end;
hence thesis by SEQM_3:def 1;
end;
Lm9: lower_bound A < D2. 1 implies <*lower_bound A*>^D2 is non empty increasing
FinSequence of REAL
proof
reconsider lb = lower_bound A as Element of REAL by XREAL_0:def 1;
set MD2=<*lb*>^D2;
assume
A1: lower_bound A < D2. 1;
for n,m being Nat holds
n in dom MD2 & m in dom MD2 & n<m implies MD2.n < MD2.m
proof let n,m be Nat;
assume that
A2: n in dom MD2 and
A3: m in dom MD2 and
A4: n<m;
A5: not m in dom <*lower_bound A*>
proof
assume m in dom <*lower_bound A*>;
then m in Seg len <*lower_bound A*> by FINSEQ_1:def 3;
then m in { 1} by FINSEQ_1: 2, 39;
then
A6: n < 1 by A4,TARSKI:def 1;
n in Seg len MD2 by A2,FINSEQ_1:def 3;
hence contradiction by A6,FINSEQ_1: 1;
end;
A7: not MD2.m in rng <*lower_bound A*>
proof
assume MD2.m in rng <*lower_bound A*>;
then MD2.m in {lower_bound A} by FINSEQ_1: 38;
then
A8: MD2.m = lower_bound A by TARSKI:def 1;
rng D2 <> {};
then
A9: 1 in dom D2 by FINSEQ_3: 32;
consider n be Nat such that
A10: n in dom D2 and
A11: m=len <*lower_bound A*>+n by A3,A5,FINSEQ_1: 25;
n in Seg len D2 by A10,FINSEQ_1:def 3;
then
A12: 1 <= n by FINSEQ_1: 1;
D2.n=MD2.m by A10,A11,FINSEQ_1:def 7;
hence contradiction by A1,A8,A10,A12,A9,SEQ_4: 137;
end;
MD2.m in rng MD2 by A3,FUNCT_1:def 3;
then MD2.m in rng <*lower_bound A*> \/ rng D2 by FINSEQ_1: 31;
then
A13: MD2.m in rng <*lower_bound A*> or MD2.m in rng D2 by XBOOLE_0:def 3;
now
per cases by A2,FINSEQ_1: 25;
suppose
A14: n in dom <*lower_bound A*>;
then n in Seg len <*lower_bound A*> by FINSEQ_1:def 3;
then n in { 1} by FINSEQ_1: 2, 39;
then
A15: n = 1 by TARSKI:def 1;
A16: MD2.n = <*lower_bound A*>.n by A14,FINSEQ_1:def 7
.= lower_bound A by A15;
rng D2 <> {};
then
A17: 1 in dom D2 by FINSEQ_3: 32;
consider k such that
A18: k in dom D2 and
A19: MD2.m = D2.k by A13,A7,PARTFUN1: 3;
k in Seg len D2 by A18,FINSEQ_1:def 3;
then 1 <= k by FINSEQ_1: 1;
then D2. 1 <= MD2.m by A18,A19,A17,SEQ_4: 137;
hence thesis by A1,A16,XXREAL_0: 2;
end;
suppose
ex i be Nat st i in dom D2 & n = len <*lower_bound A*> + i;
then consider i such that
A20: i in dom D2 and
A21: n=len <*lower_bound A*> + i;
A22: D2.i=MD2.n by A20,A21,FINSEQ_1:def 7;
consider j be Nat such that
A23: j in dom D2 and
A24: m=len <*lower_bound A*> + j by A3,A5,FINSEQ_1: 25;
A25: D2.j=MD2.m by A23,A24,FINSEQ_1:def 7;
i < j by A4,A21,A24,XREAL_1: 6;
hence thesis by A20,A23,A22,A25,SEQM_3:def 1;
end;
end;
hence thesis;
end;
hence thesis by SEQM_3:def 1;
end;
theorem Lm10:
for MD1 be Division of A holds MD1 = <*lower_bound A*>^D1 implies ( for i
st i in Seg len D1 holds divset(MD1,i+ 1)=divset(D1,i)) & upper_volume(f,D1)=
upper_volume(f,MD1)/^ 1 & lower_volume(f,D1)=lower_volume(f,MD1)/^ 1
proof
let MD1 be Division of A;
assume
A1: MD1 = <*lower_bound A*>^D1;
thus
A2: for i st i in Seg len D1 holds divset(MD1,i+ 1)=divset(D1,i)
proof
let i;
assume
A3: i in Seg len D1;
then
A4: i in dom D1 by FINSEQ_1:def 3;
i <= len D1 by A3,FINSEQ_1: 1;
then i+ 1 <= len D1+ 1 by XREAL_1: 6;
then i+ 1 <= len D1 + len<*lower_bound A*> by FINSEQ_1: 39;
then
A5: i+ 1 <= len MD1 by A1,FINSEQ_1: 22;
1 <= i+ 1 by NAT_1: 11;
then
A6: i+ 1 in dom MD1 by A5,FINSEQ_3: 25;
A7: 1 <= i by A3,FINSEQ_1: 1;
A8: lower_bound divset(D1,i)=lower_bound divset(MD1,i+ 1) & upper_bound
divset(D1,i)=upper_bound divset(MD1,i+ 1)
proof
per cases;
suppose
A9: i= 1;
A10: i+ 1 > 1 by A7,NAT_1: 13;
then lower_bound divset(MD1,i+ 1)=MD1.(i+ 1- 1) by A6,INTEGRA1:def 4;
then
A11: lower_bound divset(MD1,i+ 1) = lower_bound A by A1,A9,FINSEQ_1: 41;
A12: MD1.(i+ 1) = MD1.(i+len <*lower_bound A*>) by FINSEQ_1: 40
.= D1.i by A1,A4,FINSEQ_1:def 7;
upper_bound divset(MD1,i+ 1)=MD1. (i+ 1) by A6,A10,INTEGRA1:def 4;
hence thesis by A4,A9,A11,A12,INTEGRA1:def 4;
end;
suppose
A13: i<> 1;
A14: i+ 1 > 1 by A7,NAT_1: 13;
MD1.(i+ 1) = MD1.(i+len <*lower_bound A*>) by FINSEQ_1: 40
.= D1.i by A1,A4,FINSEQ_1:def 7;
then
A15: upper_bound divset(MD1,i+ 1)=D1.i by A6,A14,INTEGRA1:def 4
.= upper_bound divset(D1,i) by A4,A13,INTEGRA1:def 4;
i- 1 in dom D1 by A4,A13,INTEGRA1: 7;
then D1.(i- 1) = MD1.(i- 1+len <*lower_bound A*>) by A1,FINSEQ_1:def 7
.=MD1.(i- 1+ 1) by FINSEQ_1: 39
.=MD1.(i+ 1- 1);
then lower_bound divset(D1,i)=MD1.(i+ 1- 1) by A4,A13,INTEGRA1:def 4
.=lower_bound divset(MD1,i+ 1) by A6,A14,INTEGRA1:def 4;
hence thesis by A15;
end;
end;
divset(D1,i)=[.lower_bound divset(D1,i), upper_bound divset(D1,i).]
by INTEGRA1: 4;
hence thesis by A8,INTEGRA1: 4;
end;
A16: len MD1=len <*lower_bound A*> + len D1 by A1,FINSEQ_1: 22
.= 1+len D1 by FINSEQ_1: 39;
thus upper_volume(f,D1)=upper_volume(f,MD1)/^ 1
proof
set D2 = D1, MD2 = MD1;
rng upper_volume(f,MD2) <> {};
then 1 in dom upper_volume(f,MD2) by FINSEQ_3: 32;
then 1 <= len upper_volume(f,MD2) by FINSEQ_3: 25;
then len (upper_volume(f,MD2)/^ 1)=len upper_volume(f,MD2)- 1 by
RFINSEQ:def 1
.=len MD2 - 1 by INTEGRA1:def 6
.=len D2 by A16;
then
A17: len upper_volume(f,D2)=len (upper_volume(f,MD2)/^ 1) by INTEGRA1:def 6;
for k be Nat holds 1 <= k & k <= len upper_volume(f,D2) implies
upper_volume(f,D2).k = (upper_volume(f,MD2)/^ 1).k
proof
let k be Nat;
assume that
A18: 1 <= k and
A19: k <= len upper_volume(f,D2);
k+ 1 <= len upper_volume(f,D2)+ 1 by A19,XREAL_1: 6;
then
A20: k+ 1 <= len D2+ 1 by INTEGRA1:def 6;
k in Seg len upper_volume(f,D2) by A18,A19,FINSEQ_1: 1;
then
A21: k in Seg len D2 by INTEGRA1:def 6;
then k in dom D2 by FINSEQ_1:def 3;
then
A22: upper_volume(f,D2).k=(upper_bound rng(f|divset(D2,k)))*vol(divset(
D2,k )) by INTEGRA1:def 6
.=(upper_bound rng(f|divset(MD2,k+ 1)))*vol(divset(D2,k)) by A2,A21
.=(upper_bound rng(f|divset(MD2,k+ 1)))*vol(divset(MD2,k+ 1)) by A2,A21;
A23: len (upper_volume(f,MD2)/^ 1) <= len upper_volume(f,MD2) by FINSEQ_5: 25;
1 <= k+ 1 by NAT_1: 11;
then k+ 1 in Seg len MD2 by A16,A20,FINSEQ_1: 1;
then
A24: k+ 1 in dom MD2 by FINSEQ_1:def 3;
1 <= len upper_volume(f,D2) by A18,A19,XXREAL_0: 2;
then
A25: 1 <= len upper_volume(f,MD2) by A17,A23,XXREAL_0: 2;
k in dom (upper_volume(f,MD2)/^ 1) by A17,A18,A19,FINSEQ_3: 25;
then (upper_volume(f,MD2)/^ 1).k=upper_volume(f,MD2).(k+ 1) by A25,
RFINSEQ:def 1
.=(upper_bound rng(f|divset(MD2,k+ 1)))*vol(divset(MD2,k+ 1)) by A24,
INTEGRA1:def 6;
hence thesis by A22;
end;
hence thesis by A17,FINSEQ_1: 14;
end;
rng lower_volume(f,MD1) <> {};
then 1 in dom lower_volume(f,MD1) by FINSEQ_3: 32;
then 1 <= len lower_volume(f,MD1) by FINSEQ_3: 25;
then len (lower_volume(f,MD1)/^ 1)=len lower_volume(f,MD1)- 1 by RFINSEQ:def 1
.=len MD1 - 1 by INTEGRA1:def 7
.=len D1 by A16;
then
A26: len lower_volume(f,D1)=len (lower_volume(f,MD1)/^ 1) by INTEGRA1:def 7;
for k be Nat holds 1 <= k & k <= len lower_volume(f,D1) implies
lower_volume(f,D1).k = (lower_volume(f,MD1)/^ 1).k
proof
let k be Nat;
assume that
A27: 1 <= k and
A28: k <= len lower_volume(f,D1);
A29: 1 <= k+ 1 by NAT_1: 11;
k in Seg len lower_volume(f,D1) by A27,A28,FINSEQ_1: 1;
then
A30: k in Seg len D1 by INTEGRA1:def 7;
then k in dom D1 by FINSEQ_1:def 3;
then
A31: lower_volume(f,D1).k=(lower_bound rng(f|divset(D1,k)))*vol(divset(D1,
k)) by INTEGRA1:def 7
.=(lower_bound rng(f|divset(MD1,k+ 1)))*vol(divset(D1,k)) by A2,A30
.=(lower_bound rng(f|divset(MD1,k+ 1)))*vol(divset(MD1,k+ 1)) by A2,A30;
A32: len (lower_volume(f,MD1)/^ 1) <= len lower_volume(f,MD1) by FINSEQ_5: 25;
k+ 1 <= len lower_volume(f,D1)+ 1 by A28,XREAL_1: 6;
then
A33: k+ 1 <= len D1+ 1 by INTEGRA1:def 7;
len MD1=len <*lower_bound A*>+len D1 by A1,FINSEQ_1: 22
.=len D1 + 1 by FINSEQ_1: 39;
then k+ 1 in Seg len MD1 by A29,A33,FINSEQ_1: 1;
then
A34: k+ 1 in dom MD1 by FINSEQ_1:def 3;
1 <= len (lower_volume(f,MD1)/^ 1) by A26,A27,A28,XXREAL_0: 2;
then
A35: 1 <= len lower_volume(f,MD1) by A32,XXREAL_0: 2;
k in dom (lower_volume(f,MD1)/^ 1) by A26,A27,A28,FINSEQ_3: 25;
then (lower_volume(f,MD1)/^ 1).k=lower_volume(f,MD1).(k+ 1) by A35,
RFINSEQ:def 1
.=(lower_bound rng(f|divset(MD1,k+ 1)))*vol(divset(MD1,k+ 1)) by A34,
INTEGRA1:def 7;
hence thesis by A31;
end;
hence thesis by A26,FINSEQ_1: 14;
end;
Lm11: for MD2 being Division of A st MD2 = <*lower_bound A*>^D2 holds vol(
divset(MD2, 1))= 0
proof
let MD2 be Division of A;
assume
A1: MD2 = <*lower_bound A*>^D2;
rng MD2 <> {};
then
A2: 1 in dom MD2 by FINSEQ_3: 32;
then
A3: upper_bound divset(MD2, 1) = MD2. 1 by INTEGRA1:def 4;
lower_bound divset(MD2, 1) = lower_bound A by A2,INTEGRA1:def 4;
then vol(divset(MD2, 1)) = MD2. 1 - lower_bound A by A3,INTEGRA1:def 5
.=lower_bound A-lower_bound A by A1,FINSEQ_1: 41;
hence thesis;
end;
Lm12: for MD1 be Division of A holds MD1 = <*lower_bound A*>^D1 implies delta(
MD1)=delta(D1)
proof
let MD1 be Division of A;
assume
A1: MD1 = <*lower_bound A*>^D1;
then
A2: vol(divset(MD1, 1))= 0 by Lm11;
delta(D1) in rng upper_volume(chi(A,A),D1) by XXREAL_2:def 8;
then consider i such that
A3: i in dom upper_volume(chi(A,A),D1) and
A4: upper_volume(chi(A,A),D1).i=delta(D1) by PARTFUN1: 3;
delta(MD1) in rng upper_volume(chi(A,A),MD1) by XXREAL_2:def 8;
then consider j such that
A5: j in dom upper_volume(chi(A,A),MD1) and
A6: upper_volume(chi(A,A),MD1).j=delta(MD1 ) by PARTFUN1: 3;
j in Seg len upper_volume(chi(A,A),MD1) by A5,FINSEQ_1:def 3;
then
A7: j in Seg len MD1 by INTEGRA1:def 6;
then
A8: j in dom MD1 by FINSEQ_1:def 3;
then
A9: delta(MD1)=(upper_bound rng(chi(A,A)|divset(MD1,j)))*vol(divset(MD1,j))
by A6,INTEGRA1:def 6;
A10: delta(MD1) <= delta(D1)
proof
per cases;
suppose
j= 1;
hence thesis by A2,A9,Th9;
end;
suppose
j<> 1;
then not j in Seg 1 by FINSEQ_1: 2,TARSKI:def 1;
then not j in Seg len <*lower_bound A*> by FINSEQ_1: 39;
then
A11: not j in dom <*lower_bound A*> by FINSEQ_1:def 3;
j in dom MD1 by A7,FINSEQ_1:def 3;
then consider k be Nat such that
A12: k in dom D1 and
A13: j=len <*lower_bound A*>+k by A1,A11,FINSEQ_1: 25;
A14: k in Seg len D1 by A12,FINSEQ_1:def 3;
then divset(D1,k)=divset(MD1,k+ 1) by A1,Lm10
.=divset(MD1,j) by A13,FINSEQ_1: 39;
then delta(MD1) = (upper_bound rng(chi(A,A)|divset(D1,k)))* vol(divset(
D1,k)) by A6,A8,INTEGRA1:def 6;
then
A15: delta(MD1)=upper_volume(chi(A,A),D1).k by A12,INTEGRA1:def 6;
k in Seg len upper_volume(chi(A,A),D1) by A14,INTEGRA1:def 6;
then k in dom upper_volume(chi(A,A),D1) by FINSEQ_1:def 3;
then delta(MD1) in rng upper_volume(chi(A,A),D1) by A15,FUNCT_1:def 3;
hence thesis by XXREAL_2:def 8;
end;
end;
i in Seg len upper_volume(chi(A,A),D1) by A3,FINSEQ_1:def 3;
then
A16: i in Seg len D1 by INTEGRA1:def 6;
then i in dom D1 by FINSEQ_1:def 3;
then len <*lower_bound A*>+i in dom MD1 by A1,FINSEQ_1: 28;
then
A17: i+ 1 in dom MD1 by FINSEQ_1: 39;
then i+ 1 in Seg len MD1 by FINSEQ_1:def 3;
then i+ 1 in Seg len upper_volume(chi(A,A),MD1) by INTEGRA1:def 6;
then
A18: i+ 1 in dom upper_volume(chi(A,A),MD1) by FINSEQ_1:def 3;
i in dom D1 by A16,FINSEQ_1:def 3;
then delta(D1)=(upper_bound rng (chi(A,A)|divset(D1,i)))*vol(divset(D1,i))
by A4,INTEGRA1:def 6
.=(upper_bound rng(chi(A,A)|divset(MD1,i+ 1)))*vol(divset(D1,i)) by A1,A16
,Lm10
.=(upper_bound rng (chi(A,A)|divset(MD1,i+ 1)))*vol(divset(MD1,i+ 1)) by A1
,A16,Lm10;
then delta(D1)=upper_volume(chi(A,A),MD1).(i+ 1) by A17,INTEGRA1:def 6;
then delta(D1) in rng upper_volume(chi(A,A),MD1) by A18,FUNCT_1:def 3;
then delta(D1) <= delta(MD1) by XXREAL_2:def 8;
hence thesis by A10,XXREAL_0: 1;
end;
theorem Th13:
x in divset(D1,len D1) & vol(A)<> 0 & D1<=D2 & rng D2 = rng D1 \/
{x} & f|A is bounded & x > lower_bound A implies Sum lower_volume(f,D2)-Sum
lower_volume(f,D1)<=(upper_bound rng f-lower_bound rng f)*delta(D1)
proof
assume that
A1: x in divset(D1,len D1) and
A2: vol(A)<> 0 and
A3: D1 <= D2 and
A4: rng D2 = rng D1 \/ {x} and
A5: f|A is bounded and
A6: x > lower_bound A;
len D1 in Seg len D1 by FINSEQ_1: 3;
then
A7: 1 <= len D1 by FINSEQ_1: 1;
then len D1 = 1 or len D1 > 1 by XXREAL_0: 1;
then
A8: len D1 = 1 or len D1 >= 1+ 1 by NAT_1: 13;
now
per cases by A8;
suppose
A9: len D1 = 1;
then reconsider MD1 = <*lower_bound A*>^D1 as non empty increasing
FinSequence of REAL by A2,Lm8;
A10: len MD1 = len <*lower_bound A*> + len D1 by FINSEQ_1: 22;
len <*lower_bound A*> + 1 <= len <*lower_bound A*> + len D1 by A7,
XREAL_1: 6;
then
MD1.(len MD1)=D1.(len <*lower_bound A*>+ len D1-len <*lower_bound A
*>) by A10,FINSEQ_1: 23
.=D1.(len D1);
then
A11: MD1.(len MD1) = upper_bound A by INTEGRA1:def 2;
for y being Element of REAL holds y in rng MD1 implies y in A
proof let y be Element of REAL;
assume y in rng MD1;
then
A12: y in rng <*lower_bound A*> \/ rng D1 by FINSEQ_1: 31;
per cases by A12,XBOOLE_0:def 3;
suppose
y in rng <*lower_bound A*>;
then y in {lower_bound A} by FINSEQ_1: 38;
then
A13: y = lower_bound A by TARSKI:def 1;
ex a,b st a <= b & a = lower_bound A & b = upper_bound A by SEQ_4: 11;
hence thesis by A13,INTEGRA2: 1;
end;
suppose
A14: y in rng D1;
rng D1 c= A by INTEGRA1:def 2;
hence thesis by A14;
end;
end;
then rng MD1 c= A;
then reconsider MD1 as Division of A by A11,INTEGRA1:def 2;
A15: len MD1=len <*lower_bound A*> + len D1 by FINSEQ_1: 22
.= 1+len D1 by FINSEQ_1: 39;
A16: vol(A) >= 0 by INTEGRA1: 9;
D1. 1=upper_bound A by A9,INTEGRA1:def 2;
then D1. 1 - lower_bound A > 0 by A2,A16,INTEGRA1:def 5;
then
A17: lower_bound A < D1. 1 by XREAL_1: 47;
lower_volume(f,D1)=lower_volume(f,MD1)/^ 1 by Lm10;
then
lower_volume(f,MD1)=<*(lower_volume(f,MD1))/. 1*>^lower_volume(f,D1)
by FINSEQ_5: 29;
then
A18: Sum lower_volume(f,MD1)=((lower_volume(f,MD1))/. 1)+Sum lower_volume
(f, D1) by RVSUM_1: 76;
A19: len D1 in dom D1 by FINSEQ_5: 6;
A20: 1+len D1 >= 1+ 1 by A7,XREAL_1: 6;
then
A21: len MD1 <> 1 by A15;
A22: len MD1 in dom MD1 by FINSEQ_5: 6;
len MD1 - 1 =len D1 by A15;
then lower_bound divset(MD1,len MD1) = MD1.(len D1) by A22,A21,
INTEGRA1:def 4
.=lower_bound A by A9,FINSEQ_1: 41;
then
A23: lower_bound divset(D1,len D1) = lower_bound divset(MD1,len MD1) by A9,A19
,INTEGRA1:def 4;
set MD2=<*lower_bound A*>^D2;
rng MD1 <> {};
then
A24: 1 in dom MD1 by FINSEQ_3: 32;
then
A25: lower_volume(f,MD1). 1 = (lower_bound rng(f|divset(MD1, 1)))* vol(
divset( MD1, 1)) by INTEGRA1:def 7;
1 in Seg len MD1 by A24,FINSEQ_1:def 3;
then 1 in Seg len lower_volume(f,MD1) by INTEGRA1:def 7;
then
A26: 1 in dom lower_volume(f,MD1) by FINSEQ_1:def 3;
rng D2 <> {};
then
A27: 1 in dom D2 by FINSEQ_3: 32;
then 1 <= len D2 by FINSEQ_3: 25;
then
A28: len <*lower_bound A*> + 1 <= len <*lower_bound A*> + len D2 by XREAL_1: 6;
A29: D2. 1 in rng D2 by A27,FUNCT_1:def 3;
lower_bound A < D2. 1
proof
per cases by A4,A29,XBOOLE_0:def 3;
suppose
A30: D2. 1 in rng D1;
rng D1 <> {};
then
A31: 1 in dom D1 by FINSEQ_3: 32;
consider k such that
A32: k in dom D1 and
A33: D1.k = D2. 1 by A30,PARTFUN1: 3;
1 <= k by A32,FINSEQ_3: 25;
then D1. 1 <= D2. 1 by A32,A33,A31,SEQ_4: 137;
hence thesis by A17,XXREAL_0: 2;
end;
suppose
D2. 1 in {x};
hence thesis by A6,TARSKI:def 1;
end;
end;
then reconsider MD2 as non empty increasing FinSequence of REAL by Lm9;
len MD2 = len <*lower_bound A*> + len D2 by FINSEQ_1: 22;
then
MD2.(len MD2)=D2.(len <*lower_bound A*>+len D2- len <*lower_bound A
*>) by A28,FINSEQ_1: 23
.=D2.(len D2);
then
A34: MD2.(len MD2) = upper_bound A by INTEGRA1:def 2;
for y being Element of REAL holds y in rng MD2 implies y in A
proof let y be Element of REAL;
assume y in rng MD2;
then
A35: y in rng <*lower_bound A*> \/ rng D2 by FINSEQ_1: 31;
per cases by A35,XBOOLE_0:def 3;
suppose
y in rng <*lower_bound A*>;
then y in {lower_bound A} by FINSEQ_1: 38;
then
A36: y = lower_bound A by TARSKI:def 1;
ex a,b st a <= b & a = lower_bound A & b = upper_bound A by SEQ_4: 11;
hence thesis by A36,INTEGRA2: 1;
end;
suppose
A37: y in rng D2;
rng D2 c= A by INTEGRA1:def 2;
hence thesis by A37;
end;
end;
then rng MD2 c= A;
then reconsider MD2 as Division of A by A34,INTEGRA1:def 2;
A38: x <= upper_bound divset(D1,len D1) by A1,INTEGRA2: 1;
rng MD2 = rng D2 \/ rng <*lower_bound A*> by FINSEQ_1: 31
.=rng D1 \/ rng <*lower_bound A*> \/ {x} by A4,XBOOLE_1: 4;
then
A39: rng MD2 = rng MD1 \/ {x} by FINSEQ_1: 31;
MD1.(len MD1) = MD1.(len <*lower_bound A*> + len D1) by FINSEQ_1: 22
.=D1.(len D1) by A19,FINSEQ_1:def 7;
then
A40: upper_bound divset(MD1,len MD1)=D1.(len D1) by A22,A21,INTEGRA1:def 4
.= upper_bound divset(D1,len D1) by A9,A19,INTEGRA1:def 4;
rng D1 c= rng D2 by A3,INTEGRA1:def 18;
then rng D1 \/ rng<*lower_bound A*> c= rng D2 \/ rng <*lower_bound A*>
by XBOOLE_1: 9;
then rng MD1 c= rng D2 \/ rng <*lower_bound A*> by FINSEQ_1: 31;
then
A41: rng MD1 c= rng MD2 by FINSEQ_1: 31;
len D1 <= len D2 by A3,INTEGRA1:def 18;
then
len D1+len <*lower_bound A*> <= len D2+len <*lower_bound A*> by XREAL_1: 6;
then len MD1 <= len D2+len <*lower_bound A*> by FINSEQ_1: 22;
then len MD1 <= len MD2 by FINSEQ_1: 22;
then
A42: MD1<=MD2 by A41,INTEGRA1:def 18;
lower_bound divset(D1,len D1) <= x by A1,INTEGRA2: 1;
then x in divset(MD1,len MD1) by A38,A23,A40,INTEGRA2: 1;
then
A43: Sum lower_volume(f,MD2)-Sum lower_volume(f,MD1)<=(upper_bound rng f
-lower_bound rng f)*delta(MD1) by A5,A15,A20,A42,A39,Th10;
rng MD2 <> {};
then
A44: 1 in dom MD2 by FINSEQ_3: 32;
then
A45: lower_volume(f,MD2). 1 = (lower_bound rng(f|divset(MD2, 1)))* vol(
divset( MD2, 1)) by INTEGRA1:def 7;
1 in Seg len MD2 by A44,FINSEQ_1:def 3;
then 1 in Seg len lower_volume(f,MD2) by INTEGRA1:def 7;
then
A46: 1 in dom lower_volume(f,MD2) by FINSEQ_1:def 3;
vol(divset(MD2, 1))= 0 by Lm11;
then
A47: lower_volume(f,MD2)/. 1 = 0 by A45,A46,PARTFUN1:def 6;
lower_volume(f,D2)=lower_volume(f,MD2)/^ 1 by Lm10;
then
lower_volume(f,MD2)=<*(lower_volume(f,MD2))/. 1*>^lower_volume(f,D2)
by FINSEQ_5: 29;
then
A48: Sum lower_volume(f,MD2)=(lower_volume(f,MD2))/. 1+Sum lower_volume(f
,D2 ) by RVSUM_1: 76;
vol(divset(MD1, 1))= 0 by Lm11;
then lower_volume(f,MD1)/. 1 = 0 by A25,A26,PARTFUN1:def 6;
hence thesis by A43,A18,A48,A47,Lm12;
end;
suppose
len D1 >= 2;
hence thesis by A1,A3,A4,A5,Th10;
end;
end;
hence thesis;
end;
theorem Th14:
x in divset(D1,len D1) & vol(A)<> 0 & D1<=D2 & rng D2 = rng D1 \/
{x} & f|A is bounded & x > lower_bound A implies Sum upper_volume(f,D1)-Sum
upper_volume(f,D2)<=(upper_bound rng f-lower_bound rng f)*delta(D1)
proof
assume that
A1: x in divset(D1,len D1) and
A2: vol(A)<> 0 and
A3: D1 <= D2 and
A4: rng D2 = rng D1 \/ {x} and
A5: f|A is bounded and
A6: x > lower_bound A;
len D1 in Seg len D1 by FINSEQ_1: 3;
then
A7: 1 <= len D1 by FINSEQ_1: 1;
then len D1 = 1 or len D1 > 1 by XXREAL_0: 1;
then
A8: len D1 = 1 or len D1 >= 1+ 1 by NAT_1: 13;
now
per cases by A8;
suppose
A9: len D1 = 1;
then reconsider MD1 = <*lower_bound A*>^D1 as non empty increasing
FinSequence of REAL by A2,Lm8;
A10: len MD1 = len <*lower_bound A*> + len D1 by FINSEQ_1: 22;
len <*lower_bound A*> + 1 <= len <*lower_bound A*> + len D1 by A7,
XREAL_1: 6;
then
MD1.(len MD1)=D1.(len <*lower_bound A*>+len D1- len <*lower_bound A
*>) by A10,FINSEQ_1: 23
.=D1.(len D1);
then
A11: MD1.(len MD1) = upper_bound A by INTEGRA1:def 2;
for y being Element of REAL holds y in rng MD1 implies y in A
proof let y be Element of REAL;
assume y in rng MD1;
then
A12: y in rng <*lower_bound A*> \/ rng D1 by FINSEQ_1: 31;
per cases by A12,XBOOLE_0:def 3;
suppose
y in rng <*lower_bound A*>;
then y in {lower_bound A} by FINSEQ_1: 38;
then
A13: y = lower_bound A by TARSKI:def 1;
ex a,b st a <= b & a = lower_bound A & b = upper_bound A by SEQ_4: 11;
hence thesis by A13,INTEGRA2: 1;
end;
suppose
A14: y in rng D1;
rng D1 c= A by INTEGRA1:def 2;
hence thesis by A14;
end;
end;
then rng MD1 c= A;
then reconsider MD1 as Division of A by A11,INTEGRA1:def 2;
A15: len MD1=len <*lower_bound A*> + len D1 by FINSEQ_1: 22
.= 1+len D1 by FINSEQ_1: 39;
A16: vol(A) >= 0 by INTEGRA1: 9;
D1. 1=upper_bound A by A9,INTEGRA1:def 2;
then D1. 1 - lower_bound A > 0 by A2,A16,INTEGRA1:def 5;
then
A17: lower_bound A < D1. 1 by XREAL_1: 47;
upper_volume(f,D1)=upper_volume(f,MD1)/^ 1 by Lm10;
then upper_volume(f,MD1)=<*upper_volume(f,MD1)/. 1*>^upper_volume(f,D1)
by FINSEQ_5: 29;
then
A18: Sum upper_volume(f,MD1)=(upper_volume(f,MD1)/. 1)+Sum upper_volume(f
,D1 ) by RVSUM_1: 76;
A19: len D1 in dom D1 by FINSEQ_5: 6;
A20: 1+len D1 >= 1+ 1 by A7,XREAL_1: 6;
then
A21: len MD1 <> 1 by A15;
A22: len MD1 in dom MD1 by FINSEQ_5: 6;
len MD1 - 1 = len D1 by A15;
then lower_bound divset(MD1,len MD1) = MD1.(len D1) by A22,A21,
INTEGRA1:def 4
.=lower_bound A by A9,FINSEQ_1: 41;
then
A23: lower_bound divset(D1,len D1) = lower_bound divset(MD1,len MD1) by A9,A19
,INTEGRA1:def 4;
set MD2=<*lower_bound A*>^D2;
rng MD1 <> {};
then
A24: 1 in dom MD1 by FINSEQ_3: 32;
then
A25: upper_volume(f,MD1). 1 = (upper_bound rng(f|divset(MD1, 1)))* vol(
divset( MD1, 1)) by INTEGRA1:def 6;
1 in Seg len MD1 by A24,FINSEQ_1:def 3;
then 1 in Seg len upper_volume(f,MD1) by INTEGRA1:def 6;
then
A26: 1 in dom upper_volume(f,MD1) by FINSEQ_1:def 3;
rng D2 <> {};
then
A27: 1 in dom D2 by FINSEQ_3: 32;
then 1 <= len D2 by FINSEQ_3: 25;
then
A28: len <*lower_bound A*> + 1 <= len <*lower_bound A*> + len D2 by XREAL_1: 6;
A29: D2. 1 in rng D2 by A27,FUNCT_1:def 3;
lower_bound A < D2. 1
proof
per cases by A4,A29,XBOOLE_0:def 3;
suppose
A30: D2. 1 in rng D1;
rng D1 <> {};
then
A31: 1 in dom D1 by FINSEQ_3: 32;
consider k such that
A32: k in dom D1 and
A33: D1.k = D2. 1 by A30,PARTFUN1: 3;
1 <= k by A32,FINSEQ_3: 25;
then D1. 1 <= D2. 1 by A32,A33,A31,SEQ_4: 137;
hence thesis by A17,XXREAL_0: 2;
end;
suppose
D2. 1 in {x};
hence thesis by A6,TARSKI:def 1;
end;
end;
then reconsider MD2 as non empty increasing FinSequence of REAL by Lm9;
len MD2 = len <*lower_bound A*> + len D2 by FINSEQ_1: 22;
then
MD2.(len MD2)=D2.(len <*lower_bound A*>+len D2- len <*lower_bound A
*>) by A28,FINSEQ_1: 23
.=D2.(len D2);
then
A34: MD2.(len MD2) = upper_bound A by INTEGRA1:def 2;
for y being Element of REAL holds y in rng MD2 implies y in A
proof let y be Element of REAL;
assume y in rng MD2;
then
A35: y in rng <*lower_bound A*> \/ rng D2 by FINSEQ_1: 31;
per cases by A35,XBOOLE_0:def 3;
suppose
y in rng <*lower_bound A*>;
then y in {lower_bound A} by FINSEQ_1: 38;
then
A36: y = lower_bound A by TARSKI:def 1;
ex a,b st a <= b & a = lower_bound A & b = upper_bound A by SEQ_4: 11;
hence thesis by A36,INTEGRA2: 1;
end;
suppose
A37: y in rng D2;
rng D2 c= A by INTEGRA1:def 2;
hence thesis by A37;
end;
end;
then rng MD2 c= A;
then reconsider MD2 as Division of A by A34,INTEGRA1:def 2;
A38: x <= upper_bound divset(D1,len D1) by A1,INTEGRA2: 1;
rng MD2 = rng D2 \/ rng <*lower_bound A*> by FINSEQ_1: 31
.=rng D1 \/ rng <*lower_bound A*> \/ {x} by A4,XBOOLE_1: 4;
then
A39: rng MD2 = rng MD1 \/ {x} by FINSEQ_1: 31;
MD1.(len MD1) = MD1.(len <*lower_bound A*> + len D1) by FINSEQ_1: 22
.=D1.(len D1) by A19,FINSEQ_1:def 7;
then
A40: upper_bound divset(MD1,len MD1)=D1.(len D1) by A22,A21,INTEGRA1:def 4
.= upper_bound divset(D1,len D1) by A9,A19,INTEGRA1:def 4;
rng D1 c= rng D2 by A3,INTEGRA1:def 18;
then rng D1 \/ rng<*lower_bound A*> c= rng D2 \/ rng <*lower_bound A*>
by XBOOLE_1: 9;
then rng MD1 c= rng D2 \/ rng <*lower_bound A*> by FINSEQ_1: 31;
then
A41: rng MD1 c= rng MD2 by FINSEQ_1: 31;
len D1 <= len D2 by A3,INTEGRA1:def 18;
then
len D1+len <*lower_bound A*> <= len D2+len <*lower_bound A*> by XREAL_1: 6;
then len MD1 <= len D2+len <*lower_bound A*> by FINSEQ_1: 22;
then len MD1 <= len MD2 by FINSEQ_1: 22;
then
A42: MD1<=MD2 by A41,INTEGRA1:def 18;
lower_bound divset(D1,len D1) <= x by A1,INTEGRA2: 1;
then x in divset(MD1,len MD1) by A38,A23,A40,INTEGRA2: 1;
then
A43: Sum upper_volume(f,MD1)-Sum upper_volume(f,MD2) <=(upper_bound rng
f-lower_bound rng f)*delta(MD1) by A5,A15,A20,A42,A39,Th11;
rng MD2 <> {};
then
A44: 1 in dom MD2 by FINSEQ_3: 32;
then
A45: upper_volume(f,MD2). 1 = (upper_bound rng(f|divset(MD2, 1)))* vol(
divset( MD2, 1)) by INTEGRA1:def 6;
1 in Seg len MD2 by A44,FINSEQ_1:def 3;
then 1 in Seg len upper_volume(f,MD2) by INTEGRA1:def 6;
then
A46: 1 in dom upper_volume(f,MD2) by FINSEQ_1:def 3;
vol(divset(MD2, 1))= 0 by Lm11;
then
A47: upper_volume(f,MD2)/. 1 = 0 by A45,A46,PARTFUN1:def 6;
upper_volume(f,D2)=upper_volume(f,MD2)/^ 1 by Lm10;
then upper_volume(f,MD2)=<*upper_volume(f,MD2)/. 1*>^upper_volume(f,D2)
by FINSEQ_5: 29;
then
A48: Sum upper_volume(f,MD2)=(upper_volume(f,MD2)/. 1)+Sum upper_volume(f
,D2 ) by RVSUM_1: 76;
vol(divset(MD1, 1))= 0 by Lm11;
then upper_volume(f,MD1)/. 1 = 0 by A25,A26,PARTFUN1:def 6;
hence thesis by A43,A18,A48,A47,Lm12;
end;
suppose
len D1 >= 2;
hence thesis by A1,A3,A4,A5,Th11;
end;
end;
hence thesis;
end;
theorem Th15:
i in dom D1 & j in dom D1 & i<=j & D1 <= D2 & r < mid(D2,indx(D2
,D1,i),indx(D2,D1,j)). 1 implies
ex B be non empty closed_interval Subset of REAL, MD1,MD2
be Division of B st r=lower_bound B & upper_bound B=MD2.(len MD2) & upper_bound
B=MD1.(len MD1) & MD1 <= MD2 & MD1=mid(D1,i,j) & MD2=mid(D2,indx(D2,D1,i),indx (
D2,D1,j))
proof
set MD1=mid(D1,i,j);
set MD2=mid(D2,indx(D2,D1,i),indx(D2,D1,j));
assume
A1: i in dom D1;
then
A2: 1 <= i by FINSEQ_3:25;
assume
A3: j in dom D1;
assume
A4: i <= j;
then j-i >= 0 by XREAL_1:48;
then
A5: j-i+1 >= 0+1 by XREAL_1:6;
A6: j <= len D1 by A3,FINSEQ_3:25;
then
A7: MD1.1 = D1.(1+i-1) by A4,A5,A2,FINSEQ_6:122
.= D1.i;
assume
A8: D1 <= D2;
then
A9: D2.indx(D2,D1,i)=D1.i by A1,INTEGRA1:def 19;
A10: D2.indx(D2,D1,j)=D1.j by A3,A8,INTEGRA1:def 19;
A11: indx(D2,D1,i) in dom D2 by A1,A8,INTEGRA1:def 19;
then
A12: 1 <= indx(D2,D1,i) by FINSEQ_3:25;
A13: indx(D2,D1,j) in dom D2 by A3,A8,INTEGRA1:def 19;
then
A14: indx(D2,D1,j) <= len D2 by FINSEQ_3:25;
D1.i <= D1.j by A1,A3,A4,SEQ_4:137;
then
A15: indx(D2,D1,i) <= indx(D2,D1,j) by A11,A9,A13,A10,SEQM_3:def 1;
assume
A16: r < mid(D2,indx(D2,D1,i),indx(D2,D1,j)).1;
then consider B being non empty closed_interval Subset of REAL such that
A17: r = lower_bound B and
A18: upper_bound B=MD2.(len MD2) and
A19: MD2 is Division of B by A11,A13,A15,Th12;
A20: len MD2=indx(D2,D1,j)-indx(D2,D1,i)+1 by A11,A13,A15,INTEGRA1:58;
reconsider MD2 as Division of B by A19;
indx(D2,D1,j)-indx(D2,D1,i) >= 0 by A15,XREAL_1:48;
then
A21: indx(D2,D1,j)-indx(D2,D1,i)+1 >= 0+1 by XREAL_1:6;
then
A22: MD2.(len MD2)=D2.(indx(D2,D1,j)-indx(D2,D1,i)+1-1+indx(D2,D1,i)) by A15
,A20,A12,A14,FINSEQ_6:122
.= D1.j by A3,A8,INTEGRA1:def 19;
MD2.1=D2.(1+indx(D2,D1,i)-1) by A15,A21,A12,A14,FINSEQ_6:122
.=D1.i by A1,A8,INTEGRA1:def 19;
then consider C being non empty closed_interval Subset of REAL such that
A23: r = lower_bound C and
A24: upper_bound C=MD1.(len MD1) and
A25: MD1 is Division of C by A1,A3,A4,A16,A7,Th12;
len MD1=j-i+1 by A1,A3,A4,INTEGRA1:58;
then A26: MD1.(len MD1)=D1.(j-i+1-1+i) by A4,A5,A2,A6,FINSEQ_6:122
.=D1.j;
A27: B=[.lower_bound B,upper_bound B.] by INTEGRA1:4
.=C by A17,A18,A23,A24,A26,A22,INTEGRA1:4;
then reconsider MD1 as Division of B by A25;
A28: rng MD1 c= rng MD2
proof
let x1 be object;
A29: rng MD1 c= rng D1 by FINSEQ_6:119;
assume
A30: x1 in rng MD1;
then consider k1 being Element of NAT such that
A31: k1 in dom MD1 and
A32: MD1.k1=x1 by PARTFUN1:3;
rng D1 c= rng D2 by A8,INTEGRA1:def 18;
then rng MD1 c= rng D2 by A29;
then consider k2 being Element of NAT such that
A33: k2 in dom D2 and
A34: D2.k2=x1 by A30,PARTFUN1:3;
A35: k1 <= len MD1 by A31,FINSEQ_3:25;
A36: 1 <= k1 by A31,FINSEQ_3:25;
then 1 <= len MD1 by A35,XXREAL_0:2;
then 1 in dom MD1 by FINSEQ_3:25;
then MD1.1<=MD1.k1 by A31,A36,SEQ_4:137;
then
A37: indx(D2,D1,i) <= k2 by A11,A9,A7,A33,A34,A32,SEQM_3:def 1;
then consider k3 being Nat such that
A38: k2+1 = indx(D2,D1,i)+k3 by NAT_1:10,12;
len MD1 in dom MD1 by FINSEQ_5:6;
then MD1.k1<=MD1.(len MD1) by A31,A35,SEQ_4:137;
then k2 <= indx(D2,D1,j) by A13,A10,A26,A33,A34,A32,SEQM_3:def 1;
then k2+1<=indx(D2,D1,j)+1 by XREAL_1:6;
then
A39: k2+1-indx(D2,D1,i)<=indx(D2,D1,j)+1-indx( D2, D1,i) by XREAL_1:9;
indx(D2,D1,i)+1<=k2+1 by A37,XREAL_1:6;
then
A40: 1<=k2+1-indx(D2,D1,i) by XREAL_1:19;
then
A41: k3 in dom MD2 by A20,A39,A38,FINSEQ_3:25;
MD2.k3 = D2.(k3+indx(D2,D1,i)-1) by A15,A12,A14,A40,A39,A38,
FINSEQ_6:122;
hence thesis by A34,A38,A41,FUNCT_1:def 3;
end;
A42: card(rng MD2) = len MD2 by FINSEQ_4:62;
card(rng MD1) = len MD1 by FINSEQ_4:62;
then len MD1 <= len MD2 by A28,A42,NAT_1:43;
then MD1 <= MD2 by A28,INTEGRA1:def 18;
hence thesis by A17,A18,A24,A27;
end;
theorem Th16:
x in rng D implies D.1 <= x & x <= D.(len D)
proof
assume x in rng D;
then consider i such that
A1: i in dom D and
A2: x=D.i by PARTFUN1:3;
A3: i <= len D by A1,FINSEQ_3:25;
A4: 1 <= i by A1,FINSEQ_3:25;
then
A5: 1 <= len D by A3,XXREAL_0:2;
then
A6: len D in dom D by FINSEQ_3:25;
1 in dom D by A5,FINSEQ_3:25;
hence thesis by A1,A2,A4,A3,A6,SEQ_4:137;
end;
theorem Th17:
for p be FinSequence of REAL, i,j,k st p is increasing & i in
dom p & j in dom p & k in dom p & p.i <= p.k & p.k <= p.j holds p.k in rng mid(
p,i,j)
proof
let p be FinSequence of REAL;
let i,j,k;
assume that
A1: p is increasing and
A2: i in dom p and
A3: j in dom p and
A4: k in dom p and
A5: p.i <= p.k and
A6: p.k <= p.j;
A7: 1 <= i by A2,FINSEQ_3:25;
A8: 1 <= j by A3,FINSEQ_3:25;
A9: j <= len p by A3,FINSEQ_3:25;
A10: i <= k by A1,A2,A4,A5,SEQM_3:def 1;
then consider n being Nat such that
A11: k+1=i+n by NAT_1:10,12;
A12: k <= j by A1,A3,A4,A6,SEQM_3:def 1;
then k-i <= j-i by XREAL_1:9;
then
A13: k-i+1 <= j-i+1 by XREAL_1:6;
k-i >= 0 by A10,XREAL_1:48;
then
A14: k-i+1 >= 0+1 by XREAL_1:6;
A15: i <= j by A10,A12,XXREAL_0:2;
i <= len p by A2,FINSEQ_3:25;
then len mid(p,i,j) = j-'i+1 by A7,A8,A9,A15,FINSEQ_6:118;
then len mid(p,i,j) = j-i+1 by A10,A12,XREAL_1:233,XXREAL_0:2;
then
A16: n in dom mid(p,i,j) by A11,A14,A13,FINSEQ_3:25;
mid(p,i,j).n = p.(n+i-1) by A7,A9,A15,A11,A14,A13,FINSEQ_6:122
.=p.k by A11;
hence thesis by A16,FUNCT_1:def 3;
end;
theorem Th18:
f|A is bounded & i in dom D implies lower_bound rng(f|divset(D,i
)) <= upper_bound rng f
proof
assume
A1: f|A is bounded;
assume i in dom D;
then divset(D,i) c= A by INTEGRA1:8;
hence thesis by A1,Lm4;
end;
theorem Th19:
f|A is bounded & i in dom D implies upper_bound rng(f|divset(D,i
)) >= lower_bound rng f
proof
assume
A1: f|A is bounded;
assume i in dom D;
then divset(D,i) c= A by INTEGRA1:8;
hence thesis by A1,Lm4;
end;
begin :: Darboux's Theorem
theorem Th20:
f|A is bounded implies
for D,D1 ex D2 st D<=D2 & D1<=D2 & rng D2=rng D1 \/ rng D &
0 <= lower_sum(f,D2)-lower_sum(f,D) & 0<=lower_sum(f,D2)-lower_sum(f,D1)
proof
assume
A1: f|A is bounded;
for D,D1 ex D2 st D<=D2 & D1<=D2 & rng D2=rng D1 \/ rng D &
0 <= lower_sum(f,D2)-lower_sum(f,D) & 0<=lower_sum(f,D2)-lower_sum(f,D1)
proof
let D,D1;
consider D2 such that
A6: D<=D2 and
A7: D1<=D2 and
A8: rng D2=rng D1 \/ rng D by Th4;
A9: lower_sum(f,D2)-lower_sum(f,D1)>=0 by A1,A7,INTEGRA1:46,XREAL_1:48;
lower_sum(f,D2)-lower_sum(f,D)>=0 by A1,A6,INTEGRA1:46,XREAL_1:48;
hence thesis by A6,A7,A8,A9;
end;
hence thesis;
end;
theorem Th21:
f|A is bounded implies
for D,D1 st delta(D1)<min rng upper_volume(chi(A,A),D) ex D2 st D<=D2 &
D1<=D2 & rng D2=rng D1 \/ rng D & lower_sum(f,D2)-lower_sum(f,D1) <=
(len D)*(upper_bound(rng f)-lower_bound(rng f))*delta(D1)
proof
assume
A1: f|A is bounded;
then
A5: for D,D1 ex D2 st D<=D2 & D1<=D2 & rng D2=rng D1 \/ rng D &
0 <= lower_sum(f,D2)-lower_sum(f,D) & 0<=lower_sum(f,D2)-lower_sum(f,D1)
by Th20;
for D,D1 st delta(D1)<min rng upper_volume(chi(A,A),D) ex D2 st D<=D2 &
D1<=D2 & rng D2=rng D1 \/ rng D & lower_sum(f,D2)-lower_sum(f,D1) <= (len D)*(
upper_bound(rng f)-lower_bound(rng f))*delta(D1)
proof
let D,D1;
assume
A11: delta(D1)<min rng upper_volume(chi(A,A),D);
ex D2 st D<=D2 & D1<=D2 & rng D2=rng D1 \/ rng D & lower_sum(f,D2)-
lower_sum(f,D1)<=(len D)*(upper_bound(rng f)- lower_bound(rng f))*delta(D1)
proof
consider D2 such that
A12: D<=D2 and
A13: D1<=D2 and
A14: rng D2=rng D1 \/ rng D and
0<=lower_sum(f,D2)-lower_sum(f,D) and
0<=lower_sum(f,D2)-lower_sum(f,D1) by A5;
lower_sum(f,D2)-lower_sum(f,D1) <= (len D)*(upper_bound(rng f)-
lower_bound(rng f))*delta(D1)
proof
deffunc LVf(Division of A) = lower_volume(f,$1);
deffunc PLf(Division of A,Nat) = (PartSums(lower_volume(f,$1))).$2;
A15: len D2 in dom D2 by FINSEQ_5:6;
A16: for i st i in dom D holds ex j st j in dom D1 & D.i in divset(D1,
j) & PLf(D2,indx(D2,D1,j))-PLf(D1,j)<=i*(upper_bound(rng f)- lower_bound(rng f)
)*delta(D1)
proof
defpred P[non zero Nat] means $1 in dom D implies ex j st j in dom
D1 & D.$1 in divset(D1,j) & PLf(D2,indx(D2,D1,j))-PLf(D1,j)<= $1*(upper_bound
rng f-lower_bound rng f)*delta(D1);
let i;
assume
A17: i in dom D;
then
A18: i in Seg len D by FINSEQ_1:def 3;
A19: for i,j st i in dom D & j in dom D1 & D.i in divset(D1,j) holds
j >= 2
proof
let i,j;
assume
A20: i in dom D;
assume that
A21: j in dom D1 and
A22: D.i in divset(D1,j);
assume j<2;
then j<1+1;
then
A23: j <= 1 by NAT_1:13;
j in Seg len D1 by A21,FINSEQ_1:def 3;
then j >= 1 by FINSEQ_1:1;
then j = 1 by A23,XXREAL_0:1;
then
A24: lower_bound divset(D1,j)=lower_bound A by A21,INTEGRA1:def 4;
A25: D.i<=upper_bound divset(D1,j) by A22,INTEGRA2:1;
delta(D1) >= min rng upper_volume(chi(A,A),D)
proof
per cases;
suppose
A26: i=1;
len D in Seg len D by FINSEQ_1:3;
then 1 <= len D by FINSEQ_1:1;
then
A27: 1 in Seg len D by FINSEQ_1:1;
then
A28: 1 in dom D by FINSEQ_1:def 3;
then
A29: lower_bound divset(D,1)=lower_bound A by INTEGRA1:def 4;
1 in Seg len upper_volume(chi(A,A),D) by A27,INTEGRA1:def 6;
then
A30: 1 in dom upper_volume(chi(A,A),D) by FINSEQ_1:def 3;
vol(divset(D,1)) = upper_volume(chi(A,A),D).1 by A28,
INTEGRA1:20;
then vol(divset(D,1)) in rng upper_volume(chi(A,A),D) by A30,
FUNCT_1:def 3;
then
A31: vol
(divset(D,1))>=min rng upper_volume(chi(A,A),D) by XXREAL_2:def 7;
A32: upper_bound divset(D,1)=D. 1 by A28,INTEGRA1:def 4;
upper_bound divset(D1,j)-lower_bound A >= D.1-lower_bound
A by A25,A26,XREAL_1:9;
then vol(divset(D1,j)) >= upper_bound divset(D,1)-lower_bound
divset(D,1) by A24,A29,A32,INTEGRA1:def 5;
then
A33: vol(divset(D1,j)) >= vol(divset(D,1)) by INTEGRA1:def 5;
vol(divset(D1,j)) <= delta(D1) by A21,Lm5;
then delta(D1) >= vol(divset(D,1)) by A33,XXREAL_0:2;
hence thesis by A31,XXREAL_0:2;
end;
suppose
A34: i<>1;
then D.(i-1) in A by A20,INTEGRA1:7;
then
A35: lower_bound A <= D.(i-1) by INTEGRA2:1;
lower_bound divset(D,i)=D.(i-1) by A20,A34,INTEGRA1:def 4;
then
A36: upper_bound divset(D,i)-lower_bound A >= upper_bound
divset(D,i)-lower_bound divset(D,i) by A35,XREAL_1:10;
upper_bound divset(D,i)= D.i by A20,A34,INTEGRA1:def 4;
then upper_bound divset(D1,j)-lower_bound divset(D1,j) >=
upper_bound divset(D,i)-lower_bound A by A25,A24,XREAL_1:9;
then upper_bound divset(D1,j)-lower_bound divset(D1,j) >=
upper_bound divset(D,i)-lower_bound divset( D,i) by A36,XXREAL_0:2;
then vol(divset(D1,j)) >= upper_bound divset(D,i)-lower_bound
divset(D,i) by INTEGRA1:def 5;
then
A37::: licenses, or see http://www.gnu.org/licenses/gpl.html and
vocabularies STRUCT_0, RELAT_1, TARSKI, ZFMISC_1, XBOOLE_0, SUBSET_1, FUNCT_1,
then i in Seg len upper_volume(chi(A,A),D) by INTEGRA1:def 6;
then
A38 iin dom upper_volume(,D)by FINSEQ_1:def 3;
vol constructors REALSET2, RELSET_1, PARTFUN3, METRIC_1, ROUGHIF1;
INTEGRA1:20;;
then vol(ivset(,i)in rng upper_volume(chi(A,A)D) by A38,
FUNCT_1, XBOOLE_0, METRIC_1, CARDFIL4,FUNCT_1, FUNCT_2;
A39: <=( +c)/( +
divset(D,)>=min rng (chi(,A),D)by :def 7java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
ol(ivset(D1,)) < delta(D1) by A21,Lm5;
then ()> divsetD,i)by ,2;
hence thesis by A39,XXREAL_0:2;
end;
end;
hence contradiction by A11;
;
A40 []
len D in;
=lenD FINSEQ_11
thenend;
A41:1in D byFINSEQ_3:25;
then consider jsuchthat
A42: j in dom D1 and
A43: D.1 in divset(D1,j) by Th3,INTEGRA1B3:card A\\B)=card ( /B)- card ( /B) CARD_244B2;
PLf(D2,indx(D2,D1,j))-PLf(D1,j) <=1*(upper_bound rng f-
lower_bound rng f)*delta(D1)
proof
A44: j <> 1 by A19,A41,A42,A43;
then reconsider j1=j-1 as Element of NAT by A42,INTEGRA1:7;
A45: j1 in dom D1 by A42,A44,INTEGRA1:7;
then j1 in Seg len D1 by FINSEQ_1:def 3;
then j1 in Seg len lower_volume(f,D1) by INTEGRA1:def 7;
then
A46: j1 in dom lower_volume(f,D1) by FINSEQ_1:def 3;
A47: j-1 in dom D1 by A42,A44,INTEGRA1:7;
then
A48 ard(A /B) (\ )-( /B (A \/ B)
then
indxD2,,j1 SegD2 :3java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
then
1 < (D2,D1,1 byFINSEQ_1:1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
then mid(D2,1hencethesis;
then
A51reserveYZforofR
,y beingSubset of R holds
then j1 < j by XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 29
then
A52 D2D1,j1 D,j byA13A42,Th8;
then
A53 (,j1)+< D2,j) by 13;
Summid(f,,indxD2,1j1)+),indxD2,D1,j
)) -Sum f1.x,) Gx,)by A1
D1
A55: indx(D2,D1,j)-indx letx Element of [bool the carrierof R,bool the carrier of R:;
reconsider ID1=indx(D2,D1,.f.byMCART_1:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
ID2=D1+as Element NATjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 58
then
A56: indx(D2,D1,j1)+(1+1)<indx . (card X /card X -card(X / Y)/card X by A1,CMPLX_1:0
A57:ID1<ID2 by NAT_1:;
then indx(2D1,j1) <= ID2 by NAT_1:13;
then
A58: 1 <= ID2 = 1 ROUGHIF1:def2
59 indx(D2,D1,j) in dom D2 by A13,A42,INTEGRA1:def ;
then
A60:indxD2,,)< lenD2 byFINSEQ_3:25;
then =len 2 byA56,XREAL_0:2
.= 1 - kappa_1XY) by ROUGHIF1def5;
A611- (X\/ card(\/) (X /Y)) -
ID2D2.D2D1,j A56A59,def ;
= byA5013java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A64: D1.j = D2.indx(D2,D1,j) by A13,A42,INTEGRA1:def 19;
ID1 <= indx(D2,D1,j) by A56,A57,XXREAL_0:2;
then ID1 <= len D2 by A60,XXREAL_0:2;
then ID1 in Seg len D2 by A63,FINSEQ_1:1;
then
A65: ID1 in dom D2 by FINSEQ_1:def 3;
then
A66: D2.ID1<D2.ID2 by A57,A61,SEQM_3:def 1;
indx(D2,D1,j1) < ID1 by NAT_1:13;
then
A67: D2 .indx(D2,D1,j1)<D2.ID1 by A48,A65,SEQM_3:def 1;
A68: D1.j1 = D2.indx(D2,D1,j1) by A13,A45,INTEGRA1:def 19;
A69: not D2.ID1 in rng D1 & not D2.ID2 in rng D1
proof
assume
A70:D2ID1 in D1 orD2.in rngD1
:[] (X /Y (X\Y CARD_244;
suppose
D2.ID1 in rng D1;
then consider n such that
A71: n in dom D1 and
A72: D1.n=D2.ID1 by PARTFUN1:3;
j1<n by A45,A67,A68,A71,A72,SEQ_4:137;
then
jn+ byXREAL_119;
.D2.ndxD2D1, A66A62,2
n< java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 60
hencebyA73,13
;
supposea1: >};
D2.inrng D1
then consider n such= (,Y ROUGHIF1def1,a1VV;
A74: n kppa_2R.X,) /((#RX)
A75: D1.n hence by A0,emma2;
D2.DD,)D2.D2 byA67,66XXREAL_0:;
then j1<n by A45,A68,A74,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
A76 <+1 byXREAL_1:19;
n<j by A42,A62java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
contradiction A76N13java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
C kap.Y)=1 -1 byA1,;
(,j=D1j byA42A44d4;
then
proof
d ;
lower_bound divset(D1,j)=D1.j1 by A42,A44,INTEGRA1:def 4;
then
A78: lower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A13,A45,
INTEGRA1:def 19;
.rngD /rngD1 A14,d ;
then
A79: D2.ID2 in rng D by A69,XBOOLE_0:def 3;
D2.ID1 in rng D hencethesis;
then
D2.D1i rngby A69,BOOLE_0def3
.D2j1<D2.byA67,A66,:;
then D2.ID2 in divset(D1 R.(Y = 1-kappa(XZ)by ROUGHIF1def
java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
A81: D2.ID2 in rng D /\ divset(D1,j) by A79,(kappa_1 R).(X,Y) <= (kappa_2 R).(X,Y) by ROUGHIF1:def 6;
D2.ID1< java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 25
D2. indivsetD1, A,INTEGRA21;
.ID1in D \divsetD1,) A80,BOOLE_0def 4java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
hence contradiction byb
end;
A82: 1 <= indxjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
j java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
83: j =len lower_volumefD1)by :def7;
A84:1< j A42F;
then
(java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 76
:;
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 66
by XREAL_0. ( /Z Z) /(Y\ )/ Y) by21
j-'j+1 = 1 by Lm1;
then len mid(lower_volume(f,D1),j,j X\(Y / Z missesX/ Y D1,XBOOLE_17489;then
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
then mid(lower_volume(,1,,j)=*java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
then
=java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 72
FINSOP_1:11;
indx(D2,D1,j) in dom D2 java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 57
(D1j)inSeg D2byFINSEQ_1d ;
A88:1 <=indxD2D1,)by 1
indx( X\/) /(\/Z)=Y\ (\ )by . X\ Y\ Zby 4;
def7;
then
: indx(,1,)< lower_volume(D2) FINSEQ_1:
+ m -)by u1,X:9,D3b;
(,,)1< f, D2 A53:java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
indx(2D1,j1+1 in lower_volume(f,2)
FINSEQ_1:1;
then
A91: indx(D2,D1,j1)+1 in Seg len D2 by INTEGRA1:def 7;
then
A92: indx(D2,D1,j1)+1 in dom D2 by FINSEQ_1:def 3;
indx(D2,D1,j)-'(indx(D2,D1,j1)+1) =indx(D2,D1,j)-(indx(
D2,D1,j1)+1) by A53,XREAL_1:233;
then indx(D2,D1,j)-'(indx(D2,D1,j1) +1)+1 <= 2 by A55;
then
A93: len mid(lower_volume(f,D2),(indx(D2,D1,j1)+1),indx(D2,D1
,j))<=2 by A53,A88,A89,A82,A90,FINSEQ_6:118;
indx(D2,D1,j)-'(indx(D2,D1,j1)+1)+1 >= 0+1 by XREAL_1:6;
then
A94: 1 <= len mid(lower_volume(f,D2),(indx(D2, D1,j1)+1),indx
(D2,D1,j )) by A53,A88,A89,A82,A90,FINSEQ_6:118;
now
per cases by A94,A93,Lm2;
suppose
A95: len mid(lower_volume(f,D2),(indx(D2,D1,j1)+1),
indx(D2,D1,j))=1;
upper_bound divset(D1,j)=D1.j by A42,A44,INTEGRA1:def 4;
then
A96: upper_bound divset(D1,j)=D2. indx(D2,D1,j) by A13,A42,
INTEGRA1:def 19;
lower_bound divset(D1,j)=D1.j1 by A42,A44,INTEGRA1:def 4;
then lower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A13,A45,
INTEGRA1:def 19;
then
A97: divset(D1,j)=[. D2.indx(D2,D1, j1),D2.indx(D2,D1,j)
.] by A96,INTEGRA1:4;
A98: delta(D1) >= 0 by Th9;
A99: upper_bound rng f - lower_bound rng f >= 0 by A1,Lm3,
XREAL_1:48;
00: D2,,)in D A,: 19;
indx(D2,D1,j m0 m3 =m0 + 6;then
,A90,A95,FINSEQ_6:118;
then
A101: indx = java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 27
then indx(D2,D1,j)<>1 by A49,FINSEQ_1:1;
then
A102: upper_bound divset(D2,indx(D2,D1,j))=D2.indx(D2,D1,j
) by A100,INTEGRA1:def 4;
indx(D2,D1,j)-1=indx(D2,D1,j1) by A101;
then lower_bound divset(D2,indx(D2,D1,j)) =D2.indx(D2,D1,
j1) by A50,A101,A100,INTEGRA1:def 4;
then
A103: divset(D2,indx(D2,D1,j))=divset(D1,j) by A97,A102,
INTEGRA1:4;
reconsider lv = lower_volume(f,D2).(indx(D2,D1,j1)+1)
as Element of REAL
by XREAL_0:def 1;
mid(lower_volume(f,D2),(indx(D2,D1,j1)+1),indx(D2,D1
,). lower_volume(f,D2)((D2,D1,1)1 A88,89,A82,A90,INSEQ_6:;
then mid(lower_volume(f,D2),(indx(D2,D1\(\/Z misses Y\Z by XBOOLE_1:3;
,j)F4 X\( /Z) / (\Z)c X /Y byXBOOLE_1:;
then Sum mid(lower_volume(f,D2)f6: X \( \ )\/Y\Z)c= X /Y \ Zby F4;
D2,D1,j ) lower_volume(f,D2)(indx(,D1,j1)1)by FINSOP_1:java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
.=(lower_bound(rng(f|divsetX \\Y c=X\ Y
divsetD,indx(D2,,j1+))by ,INTEGRA1: 7
.=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
INTEGRA1:def 7;
hence thesis by A98,A99;
end;
suppose
A104 mid(ower_volume(f,D2),(indx(2D1,1+)
indx(D2,D1,j))=.= card X\Y /card X /Y)+cardY\X) /card(\/Y)
A105: mid(hence thesis by A0,XCMPLX_1
,j)).1 =lower_volume(f,D2).((CMap kappa_1 R).(X,Y) + (CMap ).Y,X)=
A106: 2+indx(D2,j1)1>+ XREAL_1:;
mid(lower_volume(f,D2),(indx(D2,java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 23
,j)).2 =LVf(D2) < {}& Y = {} implies C kappa_1 ).X,)=1
FINSEQ_6
.=LVf(D2).(2+(java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 29
L(D2.indxD2D1,j1)+(1+)
then java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 6
) =*f,D2.indxD2,j1)+), f,D2.indxD2,1,
)2* byA,FINSEQ_144;
then
A107: Sum mid(lower_volume(f,D2) (CMapR).X,)=1byF1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 8
er_volume,
D1,j1)+2) by RVSUM_1:77;
A108: vol(divset(D2,indx(D2,java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 41
D,)D1.by A42,INTEGRA1def 4;
then
A109: upper_bound java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 6
INTEGRA1:def 19;
A110 vol(ivset(2,indxD2,D1,j1)+2)>0byINTEGRA19
indx(D2,D1,j)-'(indx(D2,D1,j1)+1 CMapkappa_1 R.X,)=0&(CMapkappa_1 R)(YX 0 byPropEx30;
,A90,A104,FINSEQ_6:118A1 (CMapkappa_1 R).XY)+(Map R).(Y,)=
then
A111: indx(D2,D1,j)-(indx(D2,D1,j1)+1)+1=2 by A53,XREAL_1:233;
then
A112: indx (D2,D1,j1)+2 in dom D2 by A13,A42,INTEGRA1:def 19;
lower_bound divset(D1,j)=D1.j1 by A42,A44,INTEGRA1cardX \\Y)< card X /Y Lack,NAT_143java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
then lower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A13,A45,
INTEGRA1:def 19;
then
=card(\+Y) #]by CARD_24,:
,D1Lemma6f:
;
D2,D1,j1+ Seglen (f,D2)byA82,,
}& Y<>{}
. card(\X by PropEx3k
A114: indx(D2, (X\Y (X \/Y)+(kappaR).Y,X PropEx3k
indxD2,D1,j1)+ < 1byA50,13
java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
D1,+)byA114
- preRIF :java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
:lower_bound D2,(indxD2,D1,j1)1) .
D2,D1,j1) by A114,A115,INTEGRA1:def 4;
A118 indxD2,1,j1)++>1 A82,NAT_1:;
indx(D2,D1,j1)+2-1=indx(D2,D1,j1)ff(xy = F(,y;
then
A119: lower_bound divset(D2,( kappa )(xy) =1& (Map kappa R.y,x)<
D2,D1,j1)+1) by A112,A118,INTEGRA1:def 4;
upper_bound divset(D2,(indx(D2, by XREAL_1:72;
D2,D1,j1)+2) by A112,A118,INTEGRA1:def 4;
then vol(divset(D1,j)) =vol(divset(D2,indx(2,,j1+))
+2.((D2,D1,+)-.(D2D, A119,A113,NTEGRA1:def5
. Fjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 40
divset(D2,indx(D2,D1,j1)+:forbeingofboolcarrier Rholds
A;
then
A120: vol(divset(D1,j)) =vol(divset(D2,indx(D2,D1,j1)+1))+
2) java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 71
then
A121: lower_volume(fD1).=(rng(f (D1j
))*((divset(D2,ndx(D2,1j1)+))+ol(divset(D2,indx(D2,D1,j1)2))by
A42,INTEGRA1:def 7;
A122: Sum mid(LVf(D2),indx(D2, for x,y being Subset of R holds f1.(x,y) =x,y beingSubset of R holds f1.x,y)=f2(x,y)
mid(LVf(D1) ,j,j) <=(upper_bound rng f(,y) =G(,y)A1
indx(2,D1,j1)+)) +vol(divset(D2,indx(D2,D1,j1)+1)))
proof
set ID2=indx(D2,D1,j1)+2;
set ID1=indx(D2,D1,j1)+1;
set B = vol(divset(D2,ID1));
set C = vol(divset(D2,ID2));
(D1j) c=Aby ,INTEGRA1:8;
then
A123: lower_bound rng(f|divset(D1,j)) >= lower_bound rng
f by A1,Lm4
ID1 in dom D2 by A91,FINSEQ_1:def 3;
then divsetD2,ID1)c=A by INTEGRA1:;
then lower_bound rng(f|divset(D2,ID1)) <= upper_bound
A1Lm4;
then
A124: ( by B1,XXREAL_11SUBSET_1def 8java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
,ID1)) <=(upper_bound IF ofR suchthat
indx(D2,D1,j)-'(indx(D2,D1,j1)+1)+1=2 by A53,A88,A89,A82
,A90,A104,FINSEQ_6:118;
then
A125: indx(end;
A126: indx(D2,D1,j) in dom D2 by A13,A42,INTEGRA1:def 19;
then divset(D2,ID2)c=A by A125,INTEGRA1:8;
then
A127: lower_bound rng(f|divset(D2,ID2)) <= upper_bound
rng f by A1,Lm4;
reconsider A = lower_bound(rng(f|divset(D1,j))) as Real;
A128: lower_volume(f,D1).j-A*B=A*C by A121;
(lower_bound rng(f|divset(D1,j)))*vol( divset(D2,
ID2)) >=(lower_bound rng f)*vol(divset(D2,ID2)) by A110,A123,XREAL_1:64;
then Sum mid(LVf(D1),j,j)>=(lower_bound rng(f|divset(D1
,j)))* vol(divset(D2, ID1)) +(lower_bound rng f)*vol(divset(D2,ID2)) by A86
,A128,XREAL_1:19;
then
A129: Sum mid(LVf(D1),j,j)-(lower_bound rng f)* vol(
divset(D2,ID2) ) >=(lower_bound rng(f|divset(D1,j)))*vol(divset(D2,ID1)) by
XREAL_1:19;
(lower_bound rng(f|divset(D1,j)))*vol(divset(D2,
ID1)) >=(lower_bound rng f)*vol(divset(D2,ID1)) by A108,A123,XREAL_1:64;
then Sum mid(LVf(D1 end;
divset(D2,ID2))>(lower_bound rng f)*oldivset(2,ID1)by A129,XREAL_0:;
SummidLVf(),jj >(rngf)*
java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 28
Sum mid(LVf(D2),(indx(D2,D1,j1)+1),indx(D2,D1,j))
=(lower_bound rng(f|divset(D2,indx(D2,D1,j1)+2))) java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 10
+2)) +LVf(D2).(indx. 0+0 / P,A1java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
.=(lower_bound rng(f|divset(D2,indx(D2,D1,j1)+2))) *
vol(divset(D2,indx(D2,D1,j1)+2)) +(lower_bound rng(f|divset(D2,indx(D2,D1,j1)+1
))) *vol(divset(D2,indx(D2,D1,j1)+1)) by A92,INTEGRA1:def 7;
then Sum mid(LVf(D2),ID1,indx(D2,D1,j)) -(lower_bound
rng(f|divset(D2,ID1)))*vol(divset(D2,ID1)) <=(upper_bound rng f)*vol(divset(D2,
ID2)) by A110,A127,XREAL_1:64;
then Sum mid(LVf(D2),ID1,indx(D2,D1,j)) <=(upper_bound
rng f)*vol(divset(D2,ID2)) +(lower_bound rng(f|divset(D2,ID1)))*vol(divset(D2,
ID1)) by XREAL_1:20;
then Sum mid(LVf(D2),ID1,indx(D2,D1,j))-(upper_bound
rng ) (D2 )<(ower_boundrng(divsetD2,ID1)))*divset(
D2I) XREAL_1:;
then Sum mid(LVf(D2),ID1,indx(D2,D1,j))
rngjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
XXREAL_0:2;
kappaR.XY)+(CMapkappa R.Y,X)=1 byLemma6f
rng f)*vol(divset dR).X,Y) = ((card(X\ Y java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 11
then java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 6
,proof
D,)-( f)*ol(,D2)( f)*vol(
R.XY)=Ckappa_1R.X, (Map(,X)
hence thesis;
end;
upper_bound rng f - lower_bound rng f >= e;
XREAL_1:48;
then (upper_bound rng (elta_1 )(X,)=0+0 byDelta1;
(D1,j))) <=(upper_bound rng f - java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 15
XREAL_1:64;
hence thesis by A120,A122,XXREAL_0:2;
end;
end;
hence thesis;
j < j: m1+m2 > java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 29
hen
A131: j1 < j by XREAL_1:19;hencethesis by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
indx(p
then
(,,jj Seglen D2byFINSEQ_1def 3;
then
A133: 1( )(,Y CMapR).Y)+ CMapkappa_1R.YX)
indxD2D1j1)=len D2by ,INSEQ_11;
then
A135: len (D2|indx(D2,D1(R).,)=(CMap ).Y)+(CMapkappa_1R.Y,)
A136
then:(CMapkappa_2R).XY =0 (R).(Y,X) >= 0 by XXREAL_1:1;
A137: j1 <= len D1 by FINSEQ_1:1;
for x1 being object st x1 in rng(D1|j1)
holds x1 in rng(D2|indx(D2,D1,j1))
proof
let x1 be object;
assume x1 in rng(D1|j1);
then consider k such that
A138: k in dom(D1|j1) and
A139: x1=(D1|j1).k by PARTFUN1:3;
k in Seg len(D1|j1) by A138,FINSEQ_1:def 3;
then
A140: k in Seg j1 by A137,FINSEQ_1:59;
then
141 k in dom D1 byA45,FINSEQ:6;
k < j1 by A140,FINSEQ_1:1;
then D1.k <= D1.j1 by A47,A141,SEQ_4:137;
D2indx(2D1k)< D1.j1 by A13,A141,INTEGRA1:def 19;
then
=0+0 by Prop6ajava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A143: (D1|j1).k = D1.k by A45,A140,RFINSEQ:6;
D1.java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 16
then x1 in rng
then consider nsuch that
A144: n in dom D2 and
A145: x1=D2.n by PARTFUN1:3;
D2.indx: CMap kappa_2 R).X,)=card (X\Z)/card #R PropEx31;
INTEGRA1:def 19;
then
A146: n <=A146: n <= (Y Z)
1< n byA144,FINSEQ_3:25;
then
A147: n in Seg indx(D2,D1,j1) by A146,FINSEQ_1:1;
in \Y A3,def 5;
then
A148h thesisby B2B3,CMPLX_1:62;
D2.n = ((R.X,) +( R.Y,)> d R)(,Z)
set m3=(kappa_2 R.(Z,m4 = (Map kappa_2 R.ZY)
end
then
:rng(1|1 c=rng(|D1j1))
A150: 1 <= j1 by A136,FINSEQ_1:1;
lower_bound divsetjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
A151 otherwise1;
for x1card (A / B) / card (A \/B) in [0,1.
holds x1 in rng(D1|j1)
proof
let x1 be object;
hence thesis by XXREAL_1:;
considerk such that
A152: k in dom(D2|indx(D2,D1,j1)) and
A153: x1=(D2|indx(D2,D1,java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 27
k in Seg len(D2|indx(D2,D1,j1)) by A152,FINSEQ_1:def 3;
then
A154: k in Seg indx(D2,D1,j1) by A134,FINSEQ_1:59;
then
A155: k in dom D2 by A48,RFINSEQ:6;
A156: len( end;
(,)=card ( \B)/card A\ B ;then
then D2.k <= D2.indx(D2,D1 A= B by LemmaCard;
then
A157: D2.k <= D1.j1 by A13,A47,INTEGRA1:def 19;
A158: D2.k in rng D1 implies D2.k in rng(D1|j1)
proof
assume D2.k in rng D1;
then consider m such that
A159: m in dom D1 and
A160: D2.k = D1.m by PARTFUN1:3;
m in Seg len D1 by A159,FINSEQ_1:def 3;
then
end
:m =j1byA45A157A,A160SEQM_3def1
then m in Seg java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 6
A163: D2.k = (D1|j1).m by A45,A160,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 43
m in dom (D1|j1) by A156,A161,A162,FINSEQ_3:25;
hence thesis by A163,FUNCT_1:def 3;
end;
A164: D2.k in rng D implies D2.k = D1.j1
proof
assume hence JaccardIndex (A = by
then java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 19
A165: n
A166: D2.k=D.n by PARTFUN1:3;
1 <= n by A165,FINSEQ_3:25;
then D.1 <= D2.k by A41,A165,A166,SEQ_4:137;
then D1.j1 <= D2.k by A151,XXREAL_0:2;
hence thesis by A157,XXREAL_0:1;
end;
A167: proof
proof
inSeg len(|1 byA150,A156,FINSEQ_1:1
then j1 in dom(D1|j1) by FINSEQ_1:def 3;
then
A168: (D1|j1).j1 in rng(D1|j1) by FUNCT_1:def 3;
assume
A169 f.xy)=F(x,y)fromBINOP_1:sch 4; then
j1 in Seg j1 by A150,FINSEQ_1:1;
hence thesis by A45,A164,A169,A168,RFINSEQ:6;
end;
D2.k in rng D2 by A155,FUNCT_1:def 3;
hence thesis by A14,A48,A153,A154,A167,A158,RFINSEQ:6
,XBOOLE_0:def 3;
end;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 12
then
A170: rng (D2|let f1,f2 beFunction :boolR, boolR] suchthat
mid(D1,1,j1) is increasing by A42,A44,A2: (for x,y being Subset of R holds f2.(x,y) = G(x,y))
then
A171: D1|j1 is increasing by A150,FINSEQ_6:116;
then
A172: D2|indx(D2,D1,j1)=D1|j1 by A51,A170,Th6;
A173: for k st 1 <= k & k <= j1 holds k=indx(D2,D1,k)
proof
let k;
assume that
A174: 1 <= k and
A175: k <= j1;
assume
A176: k<>indx(D2,D1,k);
now
per cases by A176,XXREAL_0:1;
suppose
A177: k > indx(D2,D1,k);
k <= len D1 by A137,A175,XXREAL_0:2;
then
A178: k in dom D1 by A174,FINSEQ_3:25;
then indx(D2,D1,k) in dom D2 by A13,INTEGRA1:def 19;
then indx(D2,D1,k) in Seg len D2 by FINSEQ_1:def 3;
then
A179: 1<=indx(D2,D1,k) by FINSEQ_1:1;
A180: indx(D2,D1,k) < j1 by A175,A177,XXREAL_0:2;
then
A181: indx(D2,D1,k) in Seg j1 by A179,FINSEQ_1:1;
indx(D2,D1,k)= indx(D2D1j1 by A13,A45,A175,A178,Th7;
then indx( hence thesis;
;
then
A182: (D2|indx(D2,D1,j1)).indx(D2,D1,k)= D2.indx(D2,D1,k)
by A48 [bool carrierof ,bool thecarrier of R:, REAL equals
indx(D2,D1,
then indx(D2,D1,k) in dom D1 bydefinition let X be non empty set,::: should be generalized in DBLSEQ_2
then
A183: D1.k > D1.indx(D2,D1,k) by A177,A178,SEQM_3:def 1;
D1.k=D2. indx(D2,D1,k) by A13,A178,INTEGRA1:def 19;
henceA1: is nonnegative-;
end;
suppose
A184: k < indx(D2,D1,k);
k <= len D1 by A137,A175,java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 36
A185 dom D1byA174,:25;
then indx(D2,D1,k) <= indx(D2,D1,j1) by A13,A45,A175,Th7;
then
A186: k <= indx(D2,D1,j1) by A184,XXREAL_0:2;
then k <= len D2 by A134,XXREAL_0:2;
then
A187: k in java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 27
k
then
A188: D1.k = (D1|j1).k by A47,RFINSEQ:6;
indx(D2,D1,k) in dom D2 by A13,A185,INTEGRA1:def 19;
then
A189: D2.k < D2.indx(D2,D1,k) by A184,A187,SEQM_3:def 1;
A190: k in Seg indx(D2,D1,j1) by A174,A186,FINSEQ_1:1;
D1.k=D2. indx(D2,D1,k) by A13,A185,INTEGRA1:def 19;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 25
end;
end;
hence
;
A191: for k be Nat st 1 <= .,)<=f(b) + f.(b,a) by AA,METRIC_1:def 5; then
holds (lower_volume(f,D1)|j1).k = (lower_volume(f,D2)|indx(D2,D1,j1)).k
proof
indx(D2,D1,j1) in Seg len D2 by A48,FINSEQ_1:def 3;
then indx(D2,D1,j1) in Seg len lower_volume(f, <.a,)+f(ajava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
INTEGRA1:def 7;
then
A192: indx(D2,D1,j1) in dom lower_volume(f,D2) by FINSEQ_1:def 3;
let k be Nat;
assume that
A193: 1 <= for being-
j1;
reconsider k as Element of NAT by ORDINAL1:def 12;
A195: len(lower_volume(f,D1)) = len D1 by INTEGRA1:def 7;
then
A196: k <= j1 by A137,A194,FINSEQ_1:59;
then k <= len D1 by A137,XXREAL_0:2;
then
A193,INSEQ_1:;
x<>y
A198: k in domend
then
A199: indx(D2,D1,k) in dom D2 by A13,INTEGRA1:def 19;
A200: k in Seg j1 by A193,A196,FINSEQ_1:1;
then indx(D2,D1,k) in Seg j1 by A173,A193,A196;
then
A201: indx(D2, SteinhausGenp > [XX:] REALmeans:teinGen
then indx(it.,y = 2*y) /(f.xp)+f.p)f.xy)
then
A202: indx(D2,D1,k)<=len D2 by A134,XXREAL_0:2;
A203: D1.k=D2.indx (D2,D1,k) by A13,A198,INTEGRA1:def 19;
A204: lower_bound divset(D1,k)= lower_bound divset(D2,indx(D2,
D1,k)) & upper_bound divset(D1,k)=upper_bound divset(D2,indx(D2,D1,k))
proof
per cases;
suppose
A205: k=1;
then
A206: upper_bound divset(D1,k)=D1.k by A198,INTEGRA1:def 4;
A207: lower_bound divset(D1,k)= lower_bound A by A198,A205,
INTEGRA1:def 4;
indx(D2,D1,k)=1 by A150,A173,A205;
hence thesis by A199,A203,A207,A206,INTEGRA1:def 4;
end;
suppose
A208: k<>1;
then reconsider k1=k-1 as Element of NAT by A198,INTEGRA1:7
;
k <= k+1 by NAT_1:11;
then k1 <= k by XREAL_1:20;
then
A209: k1 <= j1 by A196,XXREAL_0:2;
A210: k-1 in dom D1 by A198,A208,INTEGRA1:7;
then k1 in Seg len D1 by FINSEQ_1:def 3;
then 1 <= k1 by FINSEQ_1:1;
then k1=indx(D2,D1,k1) by A173,A209;
then
A211: D2.(indx(D2,D1,k)-1)= D2.indx(D2,D1,k1) by A173,A193,A196;
A212: indx(D2,D1,k)<>1 by A173,A193,A196,A208;
then
A213: lower_bound divset(D2,indx(D2,D1,k))= D2.(indx(D2,D1
,k)-1) by A199,INTEGRA1:def 4;
A214: upper_bound divset(D2,indx(D2,D1,k))=D2.indx(D2,D1,k
) by A199,A212,INTEGRA1:def 4;
A215: upper_bound divset(D1,k)=D1.k by A198,A208,INTEGRA1:def 4;
lower_bound divset(D1,k)=D1.(k-1) by A198,A208,
INTEGRA1:def 4;
hence thesis by A13,A198,A215,A210,A213,A214,A211,
INTEGRA1:def 19;
end;
end;
divset(D2, for x,y being Element ofybeingElement of X holds
ndxD,D1,).]by INTEGRA1:4;
then
A216: divset(D1,k)=divset(D2,fg.(x,y) = In ((2 * f.(x,y)) / (f.(x,pf.,p+f.x),
java.lang.StringIndexOutOfBoundsException: Range [13, 4) out of bounds for length 51
j1 in Seg len(lower_volume(f,D1)) by A45,A195,FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 53
then :( ,ybeingElement of holdsf2.x,y) = G(x,y)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
then
A218: (lower_volume( f1.(xy by
RFINSEQ:6
.=java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
divset(D2,indx(D2,D1,k))) by A217,A216,INTEGRA1:def 7;
1<=indx(D2,D1,k) by A173,A193,A196;
henindx(2D1, lenD2 A202,FINSEQ_1:1java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
then
A219: indx(D2,D1,k) in dom D2 by FINSEQ_1 set ff SteinhausGen (f,p;
(lower_volume(f,D2)|indx(D2,D1,j1)).k =(lower_volume(f,
D2|indx(D2,,j1).(D2,,k)by A173,A193,,
.=lower_volume(f,D2).indx
.((rngf|ivset(D2,(D2D,k))))*(
divset(D2indx(D2,,k))by A219,:def7
hence thesis byjava.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 4
end;
ndx(2D1j1)in dom D2by A13,A47,:def;
indxD2,D1,1)< lenD2 by FINSEQ_3:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
then
A220: indx(D2,D1,j1)< len lower_volume(f,D2) by INTEGRA1:def 7;
j1 <= len D1 by A47,FINSEQ_3)+f.ajava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
then
A221letX be non emptyset,
len (D2|indx(D2,D1,j1))=len (D1|j1) by A51,A171,A170,Th6clusterSteinhausGen(, -discerning;
indx(D2,1j1 =j1 by A137,A135,FINSEQ_1:59;
then len(lower_volume(f,D1)| (ap)=0 &f.b, =0by ;then
FINSEQ_1:59;
then len(lower_volume(f,D1)|ff.(a,b) = (2 * f.(a,b)) / (f.(a,p) + fp +f(a,b)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
FINSEQ_1:;
then
A222: lower_volume(f,D2)|indx(D2 thesisby :3;
by A191,FINSEQ_1:14;
A223 inSeg len D1by A42,FINSEQ_1:def;
thenclusterSteinhausGen(f,p)- symmetric;
A224: 1 <= j by FINSEQ_1:1;
indx(D2,D1,j) in Seg len LVf(D2) by A132,INTEGRA1:def 7;
then
:indx(2,, in LVf()by FINSEQ_1:def ;
indx .=(2 * f.(b,a) / (f.a,p)+f.(b,p) + f.(ab)
then
A226 D2,j = len LVfD2) by INTEGRA1:def 7;
j in Seg len LVf(D1) by A223,INTEGRA1:def 7;
then
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
j<lenbyA2231;
then
A228: j <= len LVf(D1) by INTEGRA1:def 7;
j1 in Seg len D1 by A45,FINSEQ_1set cc f.,pp)+.y,p + f.x,y;
dyz=2 *f.y,);
then j1 domLVf(1)by FINSEQ_1:
then PLf(D1,j1)=Sum(LVf(D1)|j1) by INTEGRA1:def 20;
then PLf(D1,1)Summid(VfD1,j,j)=Sum((LVf(D1)|1)^mid(LVf(
.=Sum(mid(LVf(D1),1,j1)^mid(java.lang.StringIndexOutOfBoundsException: Range [44, 47) out of bounds for length 10
FINSEQ_6:116
.=Sum(mid(LVf(D1),1,j)) by A150, ff(,)=0by METRIC_1def2java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.=Sum(LVf:x < y & x <z&y <> z; then
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 29
INTEGRA1:def 20;
indx by XREAL_1:9,METRIC_1:def 5; then
then indx(D2,D1,j1) in Seg len LVf(D2) by INTEGRA1:def 7;
then indx(,D1,j1) in dom LVf(D2) by FINSEQ_1:def 3;
then PLf(D2,indx(D2,D1,j1))=Sum(Vf(D2)|ndx(2D1,j1)) by
INTEGRA1:def 20;
then PLf(D2,indx .,) + y .xz)+f(yz))java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 66
S0 dxz +dyz) f.xp) f(,)+f(,)+f.y,)
D1,j1)+1),indx(D2,D1,j)dyz /f(p)+f.yp f.z f.y,) byXCMPLX_1:;
.=Sum(mid(LVf(D2 f(, (yz) by:def4;then
j1)+1, f.(x,z) + (f.(y,zz (.y,z) +
.=Sum(mid( f.yp f.,p) =(.xp +f(zp) f(,)
.=Sum(LVfs:f.z,p)=f.p,)by :def4
D2indxD2)+fD)(indxjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
D2,D1,j1)+1), f.(x,z) +.(, +f.(xp -.zp =f.,p -f(zp
indx(2D1j1) Seg len bydef ;
then indx(D2,D1,j1) in Seg len lower_volume(f,p +f.z,) +
INTEGRA1:def 7java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
then indx(D2,D1,j1) in dom lower_volume(f,D2) by FINSEQ_1:def 3;
then PLf(D2,indx(D2,D1,j1))=Sum(lower_volume(f,D2)|indx(D2,D1,
j1)) by INTEGRA1:def 20
.PLf(D1,j1)by A222,A46,INTEGRA1:def 20java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
hence thesis by A54,A230,A229bydef4;then
end;
hence thesis by A42,A43;
end;
reconsider i as non zero Element of NAT by A18,FINSEQ_1:1:: Minsum Location Problem by Sp\"ath
A231 for i beingnon zero st P[ Pi+java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
deffuncFSubset ofX,Subset of (card ($ + 2),)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
A232: i>=1 by NAT_1:14;
assume
A233: P[i];
Pi1]
proof
i< 11
assume
A235: i+1 in dom D;
then consider j such that
A236: j in dom D1 andA2 for x, being Subset of X holds f2.(x,y) = F(x,y);
A237: D.(= f2.x
A238: D2.indx(D2,D1,j)=D1.j by A13,A236,INTEGRA1:def 19 consider x1x2 being such that
i+ < len Dby A235FINSEQ_3:;
then i <= len D by A234,XXREAL_0:2;
then
A239: i in Seg len D by A232,FINSEQ_1:1;
then
A240 iin om DbyFINSEQ_1:def java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
n1 beingElement ofNAT such that
A241: let x be Element boolX;
A242: D.i in divset(D1, . card(}X by XBOOLE_1:92
A243: PLf(D2,indx(D2,D1,n1))-PLf(D1 hence fis ReflexiveMETRIC_1:ef 2
f- lower_bound rng f)*delta(D1) by
A244: 1 <= n1 f( 0;
A245: n1 < j
proof
assume
n1 =j;
now
per cases by A246,XXREAL_0:1;
supposehencef is symmetricby METRIC_1def 4java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A247: n1=j;
D.i in rng D by A240,FUNCT_1:def 3;
then
D /\ divset(D1,j)byA242,A247,XBOOLE_0:def 4;
D.i+1) in rng D by A235,FUNCT_1:def 3;
then
A249: D.(i+1) in rng D /\ divset end;
i+ > i XREAL_1:;
hencecontradictionby ,A235,A236,,,A249Th5java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
SEQ_4:138;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
suppose
registration let X be finite set;
then
A250: n1>=j+1 by NAT_1:13;
then
A251: n1-1 >= j by XREAL_1:19;
< by ,FINSEQ_3:;
then +< +by XREAL_1:6
then
A252: n1 <> 1 by A250,XXREAL_0:2;
lower_bound divset(D1,n1)<= D.i by A242,INTEGRA2:1;
then
n1-1 in dom D1 by A241,A252,INTEGRA1:7;
then D1.j <= D1.(n1-1) by A236,A251
then
A254: D.>=D1.byA253,XXREAL_0:2;
A255: i < i+1 by XREAL_1:29;
A256: upper_bound divset(D1,j)=D1.j
f.=g.
suppose
j=1;
hence thesis by A236,INTEGRA1:def 4;
end;
j<>1;
hence thesis by A236,INTEGRA1.=g.x1x2) byHoHo,n
end;
end;
D.(i+1)<=upper_bound divset(D1,j) by A237,INTEGRA2:1;
then D.i >= D.(i+1) by A256,A254,XXREAL_0:2;
hence
;
end;
hence thesis;
end;
then
A257: n1+1 <= j by registration let A be finite non empty set;
A258: 1 <= n1 by A241, cluster discrete_dist A -> finite emptynonnegative-ielding
A259: indx(D2,n1)in D2 ,A241,INTEGRA1d 19;
then
A260: 1 <= indx(D2,D1,n1) by FINSEQ_3:25;
A261: indx(D2,D1,j) in dom D2 by java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 20
then
A262: 1 <= indx(D2,D1,j) java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 17
A263: indx(D2,D1,j) <= len D2 by A261,FINSEQ_3:25;
then
A264: indx(D2,D1,j) <= len LVf(D2) by = MetrStruct (# A, discrete_dist A #) by METRIC_1
A265: 1 <= j by A236,FINSEQ_3:25;
A266: j <= len D1 by A236,FINSEQ_3:25;
pbe ofM;
A267: n1+1 <= len D1 by A257,XXREAL_0:2;
then
A268: n1+1 in dom D1 by A244,FINSEQ_3;
then
A269: indx(D2,D1,n1+1) in p Element of M;
then
A270: thedistance of Mis nonnegative-yielding
A271: D2.indx(D2,D1,n1+ 1)=D1.(n1 thesis java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
D2.ndx(D,n1+)=D2.(,D1j ,A257Ajava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
,c (M,p)- eflexive;
then
A272: indx(D2,D1,n1+1) <= indx(D2,D1,j) by A269,A261,SEQM_3:def 1;
then 1+indx(D2,D1,n1+1) <= indx(D2,D1,j)+1 by
then 1 =indx(D2,1j)1-ndxD2D,+)by XREAL_1:19java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
then
A273: mid(D2,indx(D2,D1,n1+1),indx( by NonDist,METRIC_1:def8;
D1,n1+1)) by A272,A270,A263,FINSEQ_6:122
.=D1.(n1:: ::: Received February 26, 2020
A274::: License version 3.0 or later, subject to the binding interpretation
A275: j <java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
thenj in Seg len LVf(D1) by A265,FINSEQ_1: :def9;
then
A276: j in dom LVf(D1) by FINSEQ_1:def 3;
A277: indx(D2,D1
n1 in Seg len D1 by A241,FINSEQ_1:def 3;
then n1 theorems XBOOLE_1, SUBStheorems .a 1 JaccardIndex(, JacDef2
n1 in dom LVf(D1) by FINSEQ_1:def 3;
then PLfD1,n1)Sum(LVf encef is Reflexive by METRIC_1:def2
.=Sum mid(LVf(D1),1,n1) java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 29
hence thesis b:A1
^mid(Vf())by
.=Sum mid(Vf(),1j)by A245,A258,A275hencethesis java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 30
.=Sum(LVf(D1set q = card x1 forabbeingElementofA() f.,ajava.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
Elementof ;
:PLf(D1jPLf(1n1Sum mid(Vf(),+j by A276,
INTEGRA1:def 20;
indx(2,D1,j)in len/x2)byCARD_2:,:;java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 72
end;
then
:java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
A280: n1 > by A241FINSEQ_3:5;
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 43
A \+B) =card (A\/B)-card ( /B java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 7
LVf(D1),n1+1,j) <= (upper_bound rngby A1,CMPLX_160
proof
per cases by A257,XXREAL_0:1;
suppose
A282: n1set A =bool the ofR;
A283: indx(D2,D1,j)-indx(D2,D1,n1)<=2
proof
A284: upper_bound divset(D1,j) = D1.j by A236,A245,A280,
INTEGRA1:def 4;
A285: lower_bound divset(D1,j) = D1.(j-1) by A236,A245,A280,
INTEGRA1:def 4;
A286: 1 <= indx(D2,D1,n1)+1 by A260,NAT_1:13;
assume indx(D2,D1,j) - indx(D2,D1,n1) > 2;
then
A287: indx(D2,D1,n1)+2 < indx(D2,D1, j) by XREAL_1:20;
then
A288: indx(D2,D1,n1)+2 <= len D2 by A263,XXREAL_0:2;
A289: indx(D2,D1,n1)+1 < indx(D2,D1,n1)+2 by XREAL_1:6;
then
A290: indx(D2,D1,n1) < indx(D2,D1,n1)+2 by NAT_1:13;
;
then
: indx(D2,D1,n1)+ in domD2 by A288,FINSEQ_3:5java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
then.y) f.,;
A292: D2.indx(D2,D1,j) >= D2.(indx(D2,D1,n1)+2) by A261,A287,
SEQ_4:137;
A293: not D2.(indx(D2,D1,n1)+2) in rng D1
proof
assume D2.(indx(D2,D1,n1)+2) in rng D1;
then consider k1 being Element of NAT such that
A294: k1 in dom D1 and
A295: D2.(indx(D2,D1,n1)+2) = D1.k1 by PARTFUN1:3;
D2.(indx(D2,D1,n1)+2) < D2.indx(D2,D1,j) by A261,A287
,A291,SEQM_3:def 1;
then
A296: k1 < j by A236,A238,A294,A295,SEQ_4:137;
D2.(D2,D1,n1) <D2.(indx(D2,D1,n1)+)byA259,A290
,A291,SEQM_3:def 1;
n1 <k1 by A241,A274,A294,A295,SEQ_4:137;
hence A282A296,AT_1:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
D2.((D2,D1,n1)+2) in rng D2 by A291,FUNCT_1:def ;
then
A297:D2.((D2D1n1)2)in rng DbyA14,293,XBOOLE_0:def 3
;
theorem CMapMap:
INTEGRA1:def 4;
299 divsetD1,) D1. byA236,A245
INTEGRA1:ef4
D2.indx(2D1,n1)+) >= D2.(D2D1,n1) by A259,A290
,A291,SEQ_4 .= f. by MCART_1:21;
then D2.(indx(D2,D1,n1)+2) in divset(D1,j) by A274,A238
,A282,A298,A284,A292,INTEGRA2:1;
then
A300: .indx(2D1,n1)+)in D/ divset(1,j)by A297,
def 4java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
: indx(D2D,n1)1<indxD2,1j by A287A289,XXREAL_0:2;
then indx(D2,D1,)+ =len D2 by A263,XXREAL_0:;
assume
A302:indx(D2,D1,n1)+ dom D2 byA286,FINSEQ_325;
.ndxD,D1,j)> D2.(D2,1n1)+)by A261,A301,
:137;
304 indxDD1n1) indx(2,D1,n1+1 byNAT_1:13;
A305: not D2.(indx(D2,D1,n1)+1) in rng D1
proof
assume D2.(indx(D2,D1,n1)+1) in rng D1;
then consider k1 being Element of NAT such that
A306: k1 in dom D1 and
A307: D2.(indx(D2,D1,n1)+1) = D1.k1 by PARTFUN1:3;
.(indxD2,,n1)1) < D2.indx(,,j A261,A301
,A302,SEQM_3:def 1;
then
A308: k1 < j by A236,A238,A306,A307,SEQ_4:137;
D2.indx(D2,D1,n1) < D2.(indx(D2,D1,n1)+1) by A259,A304
,A302,SEQM_3:def 1;
then n1 < k1 by A241,A274,A306,A307,SEQ_4:137;
hence contradiction by A282,A308,NAT_1:13;
end;
D2.(indx(D2,D1,n1)+1) in rng D2 by A302,FUNCT_1:def 3;
then
A309: D2.(indx(D2,D1,n1)+1) in rng D by A14,A305,XBOOLE_0:def 3
;
D2.(indx(D2,D1,n1 =(card []R/card ) - card(`\ Y)/card []
D2.(indx(D2,D1,n1)+1) in divset(D1,j) by A274,A238
,A282,A285,A299,A303,INTEGRA2:1;
then D2.(indx(D2,D1,n1)+1) in rng D /\ divset(D1,j) by
A2: C kappa_1 .(,`)=card X Y)/card(X /Y` by,java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 77
then D2.(indx(D2,D1,n1)+1) = D2.(indx(D2,D1,n1)+2) by A11
,A236,A300,Th5;
hence contradiction by A289,302A291,EQM_3:def 1;
end;
A310: indx(D2,D1,n1)+1<indx(D2,D1,j) implies indx(D2,D1,n1
)+2=indx(D2, D1, j )
proof
assume indx(D2,D1,n1)+1 < indx(D2,D1,j);
then
A311: indx( .kappa X,Y) byA0,ROUGHIF1:def 1,;
indxD,D1) > D2D1,j) A28320;
hence thesis by A311,XXREAL_0:1;
end;
A312: 1<=indx(D2,D1,n1)+1 by NAT_1 proof
A313: indx(D2,D1,j) card( ` [])/(card([#R)` /X) /card [#R)
D1.n1 < D1.j by A236,A241,A245,SEQM_3:def 1;
then
A314: indx(D2,D1,n1)<indx(D2,D1,j) by A259,A274,A261,A238,
SEQ_4:137;
= card (X\Y`) /card (({}R)`` \/ X) by XCMPLX_1:55
A315: indx(D2,D1,n1)+1 <= indx(D2,D1,j) by NAT_1:13;
then indx(D2,D1,n1)+1 <= len D2 by A263,XXREAL_0:2;
. (XY) by ROUGHIF1:ef 1,a1,V;
then
A316: lenmid(LVf(,D2,D1,n1)1,indx(D2,D1,j)) =
indx(D2,D1,j)-'(indx(D2,D1,n1)+1)+1 by A262,A315,A312,A313,FINSEQ_6:118
.=indx(D2,D1,j)-(indx(D2,D1,n1)+1)+1 by A315,XREAL_1:233
.=indx(D2,D1,j)-indx(D2,D1,n1);
indx(D2,D1,n1)+1 <= indx(D2,D1,j) by A314,NAT_1:13;
then
A317: indx(D2,D1,n1)+1 = indx(D2,D1, j) or indx(D2,D1,n1)+
1 < indx(D2,D1,j) by XXREAL_0:1;
A318: Sum mid(LVf(D2),indx(D2,D1,n1)+1,indx(D2,D1,j)) <=(
upper_bound rng f)*vol(divset(D1,n1+1))
proof
per cases by A317,A310;
suppose
A319: indx(D2,D1,j)-indx(D2,D1,n1)=1;
A320: indx(D2,D1,n1)+1 > 1 by A260,NAT_1:13;
then upper_bound divset(D2,indx(D2,D1,n1)+1)=D2.(indx
(D2,D1,n1)+1) by A261,A319,INTEGRA1:def 4;
then
A321: upper_bound divset(D2,indx(D2,D1,n1)+1)=D1.j by A13
,A236,A319,INTEGRA1:def 19;
lower_bound divset(D2,indx(D2,D1,n1)+1)=D2.(indx
(D2D1n1)1-)by A261,A320INTEGRA1:def 4java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
then
A322: lower_bound divset(D2,indx(D2, D1, existence
end;
lower_bound divsetendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
,
then
A323 divset(2,indxD2,,n1)+)divset(,n1+ byA245
,A280,A268,A282 hencethesis;
vol(indxD2,n1)+)>=0 by INTEGRA1:;
reconsider LV = LVf(D2).(indx(D2,D1,n1)+1) as java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 9
1= .1-1byA1,def ;
then mid proof
LVf(2).+(ndx(D2,1,n1)+)-) by A312,313,:122
.=LVf(D2).(indx(D2,D1,n1)+1);
Y c= Z implies (CMap kappa=implieskappaR).(X,)<=(CMap kappaR).(.(,)
A325: mid(LVf(D2),indx(D2,D1,n1)+1,indx(D2,D1,j))
=*V>by A316,
byCDef;
(D2,D1,n1)+))) voldivset(D2,indx(D2,D1,n1)+1)) by A261,A319,
INTEGRA1:def 7;
then LVf(2).indx(D2,D1,n1)+1) <=(upper_bound rng f)
*ol(divset(D1+1) by A1A261A319,A323,A324,Th18,REAL_1:64;
hence thesis by A325,FINSOP_1proof
end;
suppose
indx(D2 by Lemma6c1,Lemma6c2;
then
A327: indxD2,D1,n1)2 < 1;
:upper_bounddivset(,indx(2,1n1+)= D2.ndx
(D2,D1,)byA261,A326,:def 4java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
indx(D2,D1,setm3=(X \Z) Y)
then lower_bound divset(D2,indx(D2,D1,n1)+2) = D2.(
indx(D2,D1,n1)+1) by A261,A326,A327,INTEGRA1:def 4;
X /\ Z misses X \ Z by:89; then
(divsetD2,,,n1+) =1.-2.java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
D2D1n)+)byA238,A328INTEGRA1def ;
:upper_bound divset(n1+)D1.n1+) by A245,A280,
A,def 4
lower_bound divset(java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 44
A268INTEGRA1:def 4;
then
A331A331: s(/ ) \Z by :,;
INTEGRA1:def 5;
A332: vol(divset(D2,indx(=(X\/Z /(X \ Z \Z)by XBOOLE_121
A333 indx(2, 7
A334 voldivset(D2,indx(D2D1,n1)+))> 0by INTEGRA1:9java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
A335: 1 <= z5: card (Y \ (X \/ Z)) + card (X \/ Z) = m by XBOOLE_1:79,CARD_2:40; then
A336: indx(D2,D1,n1)+1 <= indx(D2, .= X /Y \ Z by XBOOLE_1:4 then
then indx(D2,D1,n1)+1 <= len D2 by A263,A326,XXREAL_0T1 CMap R)(X,Y)=card(X Y) /card ( /Y by PropEx3
;
then
A337: indx(D2,D1,n1)+1 in dom D2 by A335,java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 23
then LVf(D2).(indx(D2,D1,n1 )+1) =(lower_bound rng(f|
D2indx(D2,D1n)1) vol((D2indx(D2,D1,n1)+))by
INTEGRA1:def 7;
then
:LVf(2)indx(D2,D1n1+1) =(upper_bound rng f
)*vol(divset(D2,indx(D2B:(m0 +m3 /m+(1 + m2) /m =( m1 +m2) /m
indx(D2,D1,j)-(indx(D2,D1,n1)+1 set b=mjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
then
A339: mid(LVf(F5: X \ Y \/Z) missesY \ Z by XBOOLE_1:53;
LVf(D2).(2+(indx(D2,D1,n1)+1)-1) by A335,336,A333,FINSEQ_6:122
.=LVf(D2).indx(D2,,n1)++;
indx(D2,D1,j X \ Y c \ Y \/Zby :7; hen
then mid((2)indx(D2,,n1)+1,indx(D2D1,j). =
D2)1((2,D1,1+)1) byA326,,A,:
.=LVf(D2).(indx(D2,D1,n1)+1);
then mid(LVf(D2),indx(D2,D1,n1)+ (m0+ m3) / m + (m1 + m2) / m >= (m0 + m2) / (m - m1)
Vf(D2).indx(D2,1,n1)+),LVf(D2).indx(D2,D1,)+2)* by A316,A326,A339,
FINSEQ_1:44;
D2,D1,n1)+,indx(D2,D1,j))
=LVf(D2).(indx(D2, hence thesis;
A341((CMap kappa_1 R).(X,Y) + (CMap kappa_1 R).(Y,X) = 1
then
342 upper_bound D,(D2D1n1)+=.indx
(D2,D1,n1)+1) by A337,INTEGRA1:def 4;
lower_bound divset(D2,indx(D2,D1,n1)+)=D2.(
indx(D2D1,n1+1-) by A337,A341,INTEGRA1:def4
then
A343: (divset(D2,indx(2D1,+) D2.indx(D2Djava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
,n1+) A342,INTEGRA1:5
end
divsetA1: >{} Y={}; then
INTEGRA1:def 7;
LVf(D2).indx(D2,D1,n1)+)<=upper_boundrng f
)*vol(divset(D2,indx(D2, D1, .= by A1;
thenSum(LVf(D2),indx(D2,D1,n1)+1,ndx(D2,D1j)
<= (upper_bound rng f)*vol(divset(D2,indx( proof
vol(divset(F2CR.XY)=0byProp6a;
hence thesis by A282
end
hence thesis by F2,XXREAL_1:1;
A344: n1+1 CMapR.X, =0 byXXREAL_1:1; then
java.lang.StringIndexOutOfBoundsException: Range [24, 20) out of bounds for length 24
A345: len mid(LVf(D1),n1+1,j)=j-'(n1+1)+1 by A244,A282,
FINSEQ_6:118
.=j-j+1 by A282,XREAL_1:233
. 1
reconsiderthesisbyF1,;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
by XREAL_0: 0 <= (CMap kappa_1 R), +kappa_1R.Y,X <
(+1+< j1by XREAL_1:;
suppose
then card (X \ Y) / card /Y)+(Map kappa_1R)(YX)by PropEx3
,282A344,FINSEQ_6:
.=(lower_bound rng =card (X \\Y)/ card(\/ )by CARD_2:,XBOOLE_1:2
java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 8
C .XY CMapkappa_2 ).YX
*> by A345,FINSEQ_1:40;
then
A346: Sum mid( end;
D1,n1(CMap kappa R).XY +(CMap kappa R.(YX 1
divset(D1,n1+1) c= A suppose
then
A347: lower_bound rng(|divset(1n+1)>= lower_bound
rng f hence by A0,XCMPLX_1:60java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
+1 in Seg len D1by A268,FINSEQ_1:def 3;
then n1+1 in Seg len upper_volume(chi(A,A),D1) by
INTEGRA1:def 6;
then
:n1 dom(hi(A,), by:def3;
volend
1)byA268INTEGRA1:20;
deffunc FS SubsetR)=
) by A348,FUNCT_1:def 3;
then
java.lang.StringIndexOutOfBoundsException: Range [23, 4) out of bounds for length 70
upper_bound rng f-lower_bound ff.xy (,y)
REAL_148;
then
A350: (upper_bound rng f-lower_bound rng f)* vol(divset(D1
,n1+1)) <=(upper_bound rng f-lower_bound rng f)*delta(D1) by A349,XREAL_1:64;
vol(divset(D1,n1+1)) >= 0 by INTEGRA1:9;
then Sum mid(LVf(D1) by XREAL_1:72
divset(,n1+)) by A346,XREAL_1:64java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
then Sum midLVf)indx(,1,n1)1,ndxD2,D1,)-um
java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 76
,java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 68
:forybeingjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 56
end;
suppose:;
A351: n1+1 < jit.x,y)=(CMapkappa_1 ).y CMapkappa_1 R).,x;
: n1 < n1+1 y :13;
then
A353: D1.n1 < D1f.,y = F(x,y)from:4
then consider
nonemptySubsetofREAL MD2
ingofBthat
:D1n1=lower_bound and
B=.MD2 and
A355: hencethesis
A356: <= MD2 and
A357 letf1, f2bepreRIFofRsuchthat
358 MD2=(indx(,,n1+1),indx(D2,D1,j)) by A13,A236,A257
, x, ofR;
A359end
A360: for x,y bein of Rholds
FINSEQ_6:118;
-(n1+++n+)1by,233
.=j;
j-'(n1+1) take ff
then
j-n1+)1j-1;
then
A363: len MD1 GSubsetofR,of R =
FINSEQ_6fletf1 bepreRIF of R such that
364:
proof
let x1 be java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 30
:rngD1c by:ef2;
1in rng by A241,: 3;
then
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 64
assume
A367ed;
thenreconsider x1 ;
A368: x1 <= MD1.(len MD1) by A355,A367,INTEGRA2:1;
D1.j in rng
then
:D1j< A A365,NTEGRA2:;
D1 .n1 <= x1 by A354,A367,(delta_1 R).(X,Y) = card (X \+\ Y) / card (X \/ Y
then
A370: lower_bound A .card ( Y)/cardX /Y +(Y\X) card X / Y)
MD1.len )D1.jn1-+n11)byA257,A281,A266,A244
,A357,A362,A363,FINSEQ_6:122
.=D1.;
then < upper_bound A by A368,A369,XXREAL_0:;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
then reconsider g=f|B asby
A371: len lower_volume(g,MD1)=len MD1 by INTEGRA1:def 7
.=-n1+)+ byA257A265,A266,A244,267A357,
FINSEQ_6:118
.=j-(n1+1)+1 by A257,XREAL_1:233;
A372: len MD1 in dom MD1 by FINSEQ_5:6;
then
A373: endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
MD1)= divset(
D1,j &upper_bound divset(MD1,len MD1)upper_bound divset(D1,j)
proof
percases;
suppose
A375: len MD1=1;
then
A376: upper_bound divset(MD1,len MD1)=MD1. (delta_1 R).X,Y)= (CMap kappa_1 R)(X,Y) +(CMap kappa_1 R).Y,)
INTEGRA1:def 4;
A377: java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 7
INTEGRA1: 4java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
lower_bound divset(D1,j)=D1. endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
INTEGRA1:def 4;
hence
thesisby A266A,A372A375A376
FINSEQ_6 ( ).,Y ( R.X,) +(Map kappa_2R).Y,)
end;
suppose
A378: len MD1<>1;
then len -indom by A372,java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 69
then
A379: len MD1-1 > by CARD_2:40,1,XBOOLE_1:63;
len assume x inX Z;then
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A380: len MD1 -1 suppose x in Y
upper_bound divset(end;
,A378,INTEGRA1:def 4;
then
et(MD1,len MD1)=D1.jby A257,A266,A244
,A357,A360,,A373,FINSEQ_6:122;
A382: len MD1-1+(n1+1)-1=j-1 by A363;
lower_bound divset(MD1,len MD1)= MD1.(en MD1-1)
by A372,A378, m1 + m2 + (m4 + m5) >= m3 + m6 by A1,XREA;then
java.lang.StringIndexOutOfBoundsException: Range [59, 24) out of bounds for length 77
A266,A244,357A360,A382,A379,A380,:122;
hence thesis by begin :: Jaccard Index Measuring Similarity of Sets
let A, B ofR;
endjava.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
A383: len MD1 in dom MD1 by FINSEQ_5:6;
A384: upper_bound divset(MD1,len MD1)=MD1.(len MD1)
proof
per cases;
suppose
len MD1 = 1;
hence thesis by A383,INTEGRA1:def 4;
end;
suppose
len MD1 <> card(A / B) /card (A\ B <=1byXREAL_1:,AT_1:3java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
hence thesis by A383,INTEGRA1:def 4;
end;
end;
.n1+)by ,A268,352SEQM_3:def ;
thenindxD2,,n1)<indx(,D1n1+1) by A259,A274,A269
,A271,SEQ_4:137;
let R be finite set;
A385: indx(D2,D1,n1)+1 <= indx(java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 10
then
A386: indx(D2,D1,n1)+1 <= len D2 by A277,XXREAL_0:2;
vol(B)=upper_bound B-D1.n1 by A354,INTEGRA1:def 5;
then vol(B)=D1.j-D1.n1 by A236,A245,A280, (A \B) card (\/B by XCMPLX_1:58,1;
INTEGRA1end;
then
vol(B)<>0 by A236,A241,A245,SEQM_3:def 1;
A388: 1 <= indx(D2,D1,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 29
A389: JaccardIndex (A,BJaccardIndex A,B)=card ( /A /card A\/A)by JacInd,A0
:indxD2,D1,n1)=indx(D2,D1,n1)+
proof
assumefor Rbeing finite set
then
A391: indx et B beofR;
A392: indx(D2,D1,n1)+1 in dom D2 by A388,A386,FINSEQ_3:25;
then
A393: . JaccardIndex (BA) byA1,JacInd;
now
per cases by A14,A393,XBOOLE_0:def 3;
s
D2.(indx(D2,D1,n1)+1) in rng D1 In ( java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 42
.y = x, from:sch 4;then
d
A395: D2.(indx(D2, (,y =In( (,yy) REAL) by A1
D2.indx(D2,D1,n1) <
,A389,A392,SEQM_3:def 1;
then n1 < n2 by A241,A274,A394,A395,SEQ_4:137;
then
A396: n1+1 <= n2 by NAT_1:13;
D1.n2 < D1.(n1+1) by A269,A271,A391,A392,A395,
SEQM_3:def 1; end
contradiction A268,A394,A396,SEQ_4:;
end;
suppose
A397: D2.(indx(D2,D1,n1)+1) in rng D;
A398: end;
A399: upper_bound divset(D1,n1)=D1.n1
java.lang.StringIndexOutOfBoundsException: Range [30, 26) out of bounds for length 31
per cases;
suppose
.,yy) >0;
hence thesis by A241,INTEGRA1let x,y Elementof X;
end;
suppose
n1<>1;
hence thesis by A241,INTEGRA1:def 4;
end;
end;
consider n2 being Element of NAT such that
A400: n2 in A3:x1 in x2 in & x x1x]by FMISC_1:ef2
A401: D2.(indx(D2,D1,n1)+1) = D.n2 by java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 27
D1.n1 < cluster discerning symmetric Reflexive triangle for
;
then D.i < Dn2 by A398,A399,XXREAL_02
then i < n2 by A240,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 12
then
A402: i+1 <= n2 by NAT_1:13;
of ;
then
A403: n1+1 <= j-1 hencef.a,b)= ;
j -1 in dom D1 by hence thesis;
then
A404: D1.(n1+1) <= D1.(j-1) fbeing nonnegative-yielding discerning triangle Reflexive
A405: lower_bound divset(D1,j) <= D.(i+1)
INTEGRA2:1;
lower_bound divset(D1,j)=D1.j-) A236,,A280
,INTEGRA1:def 4;
then
A406: D1.n1+) < D..(i+)by A404,405,XXREAL_0:;
D .n2 < D1.(n1+1) by A269,A271 end;
SEQM_3: 1;
p be Element of X;
hence contradiction by A235,A400 func SteinhausGen (,p)->Function [:X,X:] REAL means S:
end;
end;
hence contradiction;
end;
:<=l D1byA266INTEGRA1def 7
A408: for k be Nat st 1<=k & k<=len lower_volume(g,MD1)
holds lower_volume(g,MD1).k=mid(LVf(D1),n1+1,j).k
proof
let k be Nat;
assume that
A409: 1 <= k and
410: k <= len (gMD1);
kjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 74
then
eg len MD1 by INTEGRA1:def 7;
then
A412: k in dom MD1 by FINSEQ_1:def 3;
k in dom MD1 by A411,java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 5
,xy being Element of X holds
A413: lower_volume(g,MD1).k =(lower_bound java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
MD1,k)))*vol(divset(MD1,k)A1: x,y)= ( * f(,y)/(f.x,)+ (,)+f.x,))by ;
consider k2 being Element of NAT such that
A414: n1+1=1+k2;
A415: 1 <= k+k2 by A409 (p)--yielding
k <= j-((n1+1)-1) java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
thenk+(+1)-) < jby :19;
then kk2< D1 by A266,A414,XXREAL_0:;
then
len D1 by A415,FINSEQ_11;
then
A417: k+k2 in dom D1 by FINSEQ_1:def 3;
1+1 <= k+k2 by A258,A409,A414,XREAL_1:7;
then end;
:1<k+ 13;
A419: p beElementofX;
A420:lower_bound divset(1k+2=lower_bound divset(
,k &upper_bound divsetD1,+2= upper_bounddivsetMD1k)
proof
per cases;
suppose
A421 f.,) or(.ap)+ f.bp)=0& f.a,)=0)by A0,A1;
thesis byMETRIC_1def ;
INTEGRA1:def 4;
then
A422: upper_bound divset(MD1,k)=D1.(k+(n1+1)-1) by A257
,A266,A244,A357,A371,A409,A410,FINSEQ_6:122;
lower_bound divset(MD1,k)=D1.n1 by A354,A412,A421,
INTEGRA1:def 4;
hence thesis by A419,A418,A417,A421,A422,
INTEGRA1:def 4;
end;
suppose
A423: k<>1;
then upper_bound divset(MD1,k)=MD1.k by coherence
a, Element ofXholds ff.(a, = .b,a)
then
A424: upper_bound (MD1)=D1.k+n1+1)-) by A257
,A266,A244,A357,A371,A409,A410,FINSEQ_6:122;
A425: k -1 <= j-(n1+1)+1 by A371 by :def 4
XXREAL_0:2;
let X non empty set,
INTEGRA1:def 4;
:k-indomA412INTEGRA1:7
then 1 <= k-1 x,,ybeing Element of holds ff.x,)+ff.zy = ff.y)
thenlower_bound divset(MD1)=D1.(k-n+1-
A,A427A425,,FINSEQ_6:122;
hence thesis by A414,A418,A417 set dyz = 2 *f.(y,);
;
end;
divset(MD1,k)=[. end;
upper_bound divset(,k).]by INTEGRA1:4
then
A428: divset(D1,k+k2)=divset(MD1,k)
:kk2 indom D1 byA416,:def3;
(D1,+1j.k=Vf()(++-) ,A244
6122
.=(lower_bound rng(f .z)= f.,) by:def4;then
D1,k+XX: = (pp+r) / c +r) byLemacikX1,Y1E;
k in dom MD1 by A411,FINSEQ_1:def 3;
then divset(D1,k+k2) c= B by A428,INTEGRA1:8;
hence thesis by (f.(x,p) + f.(y,p) + f.(x,z) + f.(y,z))) by XCMPLX_1:74;
end;
A431: g|B is bounded
proof
consider a be Real such that
A432: for x being object st x inf.yp f.,p) >= f(z +0 :
x by A1,RFUNCT_1:71;
for x being object st x in B /\) f(z,p) by METRIC_1:def 5; then
.y)+f.(zp)>0by SC,java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 54
:dom / c dom / A A364,BOOLE_126java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
assume x in B /\ dom g;
n
A434: x in dom g by XBOOLE_0:def 4;
then end
then a <= f.x by A432,A433;
set
end;
thesis;
A435: end
consider a be Real such that
A436: for x being object st x in A /\ dom f holds f.x<=
a by A1,RFUNCT_1:70;
for x being object st x in B /\ dom g holds g.x<=a
proof
let x be object;
A437: dom .= 0;
assume x in B /\ dom end;
then
A438: assume f.a,)=0;then
then x in dom f /\ B by RELAT_1:61;
then a >= f. end
hence thesis by A438,FUNCT_1:47;
end;
then g|B is
hence thesis for a, b, c being Element of bool,c beingElement of X holds .(a, = f.a,b +f.b,c)
end;
rng f is bounded_below by A1,INTEGRA1:11;
then
A439: lower_bound rng f <= lower_bound rng g by RELAT_1:70
SEQ_4:47;
rng f is bounded_above by A1,INTEGRA1:13;
then upper_bound rng f >= upper_bound rng
,SEQ_4:48;
then upper_bound rng f-nd;
rng g - lower_bound rng g by A439,XREAL_1:13;
then
A440 cluster SymDifMetrSpace X -> Reflexive discerning symmetric triangle;
rngglower_bound rng g)delta() ,64java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
A441: n1 < j-1 by A351,XREAL_1:20;
A442: indx(D2,D1 let R be finite ;
A443suppose
A262,A263,A358,FINSEQ_6:118;
then
:len MD2 indx(D2,D1,j)-indx(
XREAL_1:233;
then
A445:lenlower_volume(g,MD2=indx(D2,D1,j)-indx(2,D1,n1
)+1)+1 by A390,INTEGRA1:def 7;
for x1 being object holds
x1 in (rng MD1 \/ {D.(end;
proof let x1 be object; p Element of M;
assume
A446: x1 in rng MD1 \/ {D.(i+1)};
then reconsider x1 as Real;
now
cases by A446,XBOOLE_0def3;
suppose
A447: x1 in rng MD1;
rng MD1 <> {};
then 1 in dom MD1 by FINSEQ_3:32;
then
448: 1 <= len MD1 byFINSEQ_3:;
rng MD1 c= rng D1 by A357,FINSEQ_6:119;
then
A449:java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 17
rng D1 c= rng D2 by A13,INTEGRA1:java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 11
then consider k take DiscreteSpace ;
A450: k in domhence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A451: D2.k =registrationlet M befinite non emptywith_nonnegative_distance,
java.lang.StringIndexOutOfBoundsException: Range [59, 26) out of bounds for length 70
FINSEQ_6:118;
then D2.indx(D2,D1,n1+1 ) <= x1 by A271,A447,Th16;
then
A452: indx(D2,D1,n1+1)<=k by A269,A450,A451,SEQM_3:def 1;
then consider n pbe Element of M;
A453: k+1 = java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 11
len MD1=j-(n1+1)+ by A257,A265,A266,244A267A357java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
FINSEQ_6:118;
then len MD1+(n1+1)-1=j-(n1+1)+1+(n1+1)-1 by A257,
XREAL_1:233
.=j;
then MD1.(len MD1) =D1.j by A257,A266,A244,A357,A448
,A454,FINSEQ_6end;
2i,j byA238,Th16;
then k<=indx(D2,D1,j) by A261,A450,A451,SEQM_3:def 1;
then k-indx(D2,D1,n1+1)<=indx(D2,D1,j)-indx(D2,D1,
n1+1) by XREAL_1:9;
coherence
: k indx(D2,D1,n1+1)+1=indx(D2,D1,j-indx(2,
D1,n1+1)+1 by XREAL_1:6;
indx(D2,D1,n1+1)+1<=k+1 by A452,XREAL_1:6;
then
A456: 1 <= k+1-indx(D2, D1,n1+1) by XREAL_1:19;
then
A457: n in dom MD2 by A444,A455 assume f.a,b) = 0;then
hencethesis byJacRefl;
,A263,A358,A456,A455,A453,FINSEQ_6:122
.=D2 end;
x1in rng MD2by A451A457,FUNCT_1:def ;
end;
suppose
x1 in {D.(i+1)};
then
A458: x1 = D.(i+1) by TARSKI:def 1;
reconsider j1 = j-1 as Element of NAT by A236,A245
,A280,INTEGRA1:7;
A459: rng D c= rng D2 by A12,INTEGRA1:def 18;
D.(i+1) in rng D by A235,FUNCT_1:def 3;
then consider k such that
A460: k in dom D2 and
A461: x1 = D2.k :: http://creativecommons.org/licenses/by-sa/java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(1)<=upper_bounddivsetD1j)by
java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 75
then<D1.jbyA236,245,:def4
;
then
A462: D2
k =D2.D2D1, A13,,INTEGRA1: ;
j1byA351Xjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 51
then
463 + <= j1byNAT_113
j-in byA236A245A280INTEGRA17
then
.n1+) =D1.-1) by A268A,137;
=gand
NTEGRA21java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
thenD1.j- =x1A236,Ajava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
INTEGRA1:def 4;
,A461,A464
||-.| .1y2.|byA7,EUCLID:def2;then
inrng by A269,A261,358,A460,461A462
,
end;
A13:for e be Real st 0 <eReal eexrbeRealst 0 java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
hence thesis;
end;
then
A465: java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 10
rng MD2 <> {};
then 1 in dom MD2 by FINSEQ_3:32;
then
:1< MD2 by :;
A467: len MD2-1+indx(D2|xx1x.| .-x2|by:2;then
for x1 being object holds
x1 /p1=g(x1y,] java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 61
proof java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 9
assume
A468: x1 in rng MD2;
x1 asReal;
MD2.1=D2.indx(D2,D1,n1end
FINSEQ_6:118;
A469: D1 .(n1+1) <= x1 by A271,A468,Th16;
beingReal suchthat
,A466,A443,A467,A4: 0 < s1 & s1 < s & u1=[x,y]
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
: < D1. byA238,A468,Th16
A471f(forabcbeRealst[a,, A holds
of, st
per cases & F.([a,b,c]) = (upper_bound Rx
supposeexRx-st isnonempty
inrng D1;
then consider k such byA4A5;
k indom
:D1k=x1 byPARTFUN13
consider a,,cbe Real,Rx be real-membered set that
A475: 1 e;
n1 <= n1+1 by NAT_1:11;
nbeingNatsuchthat
A476: fbeingFunctionofomega \[:RATRATRAT: that
,A472,A473,EQM_3def ;
=len MD1 byA363,XREAL_1:9;
thenn dom A475A47625java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
then
T_1:def 3java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
j-+1)1j-1java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
then
A479: k-n1 <= j-(n1+1)+1 by A477,XREAL_1:9;
n=(-+n1+)by A266,A244
,A357,A475,A479,A476,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
.= D1.k;
&[: ].,aas. ].bs,s. .cs,cc+.: x,r0
XBOOLE_0:def 3;
end;
suppose
x1 in rng D;
then consider n such that
A480: n in dom D and
A481: D.n = x1 by PARTFUN1:3;
A482: not i+1 < n
proof
A483: upper_bound divset(D1,j)=D1.j
proof
per cases;
suppose
j=1;
hence thesis by A236,INTEGRA1:def 4;
end;
suppose
j<>1;
hence thesis by A236,INTEGRA1:def 4;
end;
end;
reconsider y1=D.(i+1) as Real;
A484: D.n in rng D by A480,FUNCT_1:def 3;
assume i+1 < n;
then
A485: D.(i+1) < D.n by A235,A480,SEQM_3:def 1;
lower_bound divset(D1,j) <= D.(i+1) by A237,
INTEGRA2:1;
then lower_bound divset(D1, j) <= D.n by A485,
XXREAL_0:2;
then D.n in divset(D1,j) by A470,A481,A483,
INTEGRA2:1;
then
A486: x1 in rng D /\ divset(D1,j) by A481,A484,
XBOOLE_0:def 4;
D.(i+1) in rng D by A235,FUNCT_1:def 3;
then y1 in rng D /\ divset(D1,j) by A237,
XBOOLE_0:def 4;
hence
contradiction by A11,A236,A481,A485,A486,Th5;
end;
A487: upper_bound divset(D1,n1)=D1.n1
proof
per cases;
suppose
n1=1;
hence thesis by A241,INTEGRA1:def 4;
end;
suppose
n1<>1;
hence thesis by A241,INTEGRA1:def 4;
end;
end;
D.i <= upper_bound divset(D1,n1) by A242,INTEGRA2:1;
then D.i < D1.(n1+1) by A353,A487,XXREAL_0:2;
then D.i < D.n by A469,A481,XXREAL_0:2;
then i < n by A240,A480,SEQ_4:137;
then i+1 <= n by NAT_1:13;
then i+1 = n or i+1 < n by XXREAL_0:1;
then x1 in {D.(i+1)} by A481,A482,TARSKI:def 1;
hence x1 in (rng MD1 \/ {D.(i+1)}) by XBOOLE_0:def 3;
end;
end;
hence thesis;
end;
then rng MD2 c= rng MD1 \/ {D.(i+1) };
then
A488: rng MD2 = rng MD1 \/ {D.(i+1)} by A465,XBOOLE_0:def 10;
delta(MD1) in rng upper_volume(chi(B,B),MD1) by XXREAL_2:def 8;
then consider k such that
A489: k in dom upper_volume(chi(B,B),MD1) and
A490: upper_volume(chi(B,B),MD1).k = delta(MD1) by PARTFUN1:3;
A491: k in Seg len upper_volume(chi(B,B),MD1) by A489,
FINSEQ_1:def 3;
then
A492: k in Seg len MD1 by INTEGRA1:def 6;
then
A493: k in dom MD1 by FINSEQ_1:def 3;
A494: k <= len MD1 by A492,FINSEQ_1:1;
then k+= jby ,XREAL_1:19
then
A495:k+1< len D1 byA266XXREAL_0:;
A496: 1 <= k by A491,FINSEQ_1:1A54:p A p. in [RAT,RAT,RAT:]by X:def4;then
A497: n1+1>1 by A280,NAT_1:13;
then n1>1-1 by XREAL_1:19;
then
set E [:].r,a+.[ .-,br.,]c-,cc+r.:;
then 1 < k+n1 by A496,XXREAL_0:2;
then
A499:k+n1 dom byA,:25java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
lower_bound divset(MD1,k)=lower_bound divset(D1,k+n1
) & A58: for i being object st i in NAT holds Q[i,B.i] from FUNCT_2:sch 1(A53);
proof
per cases;
:k=
then upper_bound divset(MD1,k)=MD1 c=AbyA58ORDINAL1def 12;
INTEGRA1:def 4;
then
501 upper_bound divset(MD1,k)D1.k+(n1+1)-)byA257,A266
,A244,A357,A360,A496,A494,FINSEQ_6:122;
lower_bound divset(D1,k+n1)=D1.(k+n1-1) by A496,A498
,A499,INTEGRA1:def 4;
hence thesis by A354,A497,A493,A499,A500,A501,
INTEGRA1:def 4;
end;
suppose
A502: k<>1;
then upper_bound divset(MD1,k)=MD1. k by A493,
INTEGRA1:def 4;
then
A503: upper_bound divset(MD1,k)=D1.(k+(n1+1)-1) by A257,A266
,A244,A357,A360,A496,A494,FINSEQ_6:122;
A504: lower_bound divset(MD1,k measurable_rectangles(-ieldL-ield by :def9 then
INTEGRA1:def 4;
:inMD1 by A493,A502,NTEGRA1:7
java.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 28
A66 dom B &Y =. by A65,PARTFUN1:;
1 <= k-1 by A505,FINSEQ_3:25;
then lower_bound divset(MD1,k)=java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 31
A257,A266,A244,A357,A360,A505,A506,A504,FINSEQ_6assume
hence thesis by A496,A498,A499,A503,INTEGRA1:def 4;
end
end;
then divset(MD1,k)=java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
divset(D1,+1.] by INTEGRA1:4;
then
A507: divset(MD1,k)divset(D1,k+n1) by INTEGRA1:4;
k inSegD1byA499,INSEQ_1:def ;
then k+n1 in Seg len upper_volume(chi(A,A),D1) by
d
then
:k+1 indom upper_volume(chiA,),D1 FINSEQ_1def ;
indom MD1 byA492,INSEQ_1:def ;
then delta(MD1) = vol(divset(MD1,k)) by A490,INTEGRA1:20;
then
MD1=(chi(A,) ).k+n1)by A499,A507INTEGRA120java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
then delta(MD1) in rng upper_volumejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
FUNCT_1XREAL_0def 1;
then deltaSP03:4; then
XXREAL_2:def 8;
then
A509: deltajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
upper_bound rng f -lower_bound rng f > by A1,Lm3,
:48;
then
A510: (upper_bound rng f-lower_bound |u-v .| < ||dx1-1.|+|.y1-1| |.z1-1.|byNORMSP_1:7;
(pper_boundrng f-lower_bound rng f)*delta(D1) by A509,XREAL_1:64;
lower_bound divset(D1,j) <= D.(java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 48
then
A511:D1(j-)<= .i+ by A236A,280,NTEGRA1:ef ;
i+)=upper_bound (D1,)by ,INTEGRA2:1;
A513: indx (D2,D1,n1)+1 <= indx(D2,D1,j) by A272,A385,XXREAL_0:2;
A514: for k be Nat st 1<=k & k<=len lower_volume(g,MD2)
holds lower_volume(g,MD2).k=mid(LVf(D2),indx(D2,D1,n1)+1,indx(D2,D1,jA91:k domp &p.=qx1,,qz1 by PARTFUN13java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
proof
let k be Nat;
assume that
A515 1< k and
A516: k <= len lower_volume(gA94 =&bkqy1&ckqz1 byA91A93,:;then
A517: k in Seg len java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0
midLVf(,(,,+,indx(D1,).k =LVf
(D2).(k stbe that
1<=indx(ssstttvvv Pointofby def1;
then 1+1<=k+(indx(D2,D1,n1)+1) by A515,A98 |ak-.<e .-t /2&|v. < e2 by COMPLEX160;
java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
A519: 1 <= k+
k2being Element of NAT suchthat
A520: indx(D2,D1,n1)
k <= indx(D2,D1,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,106 |x1-ss.| < e by A101,UCLID:def 2;
thenk+(indx(D2D,)+)1 =indx(2,1,) by
XREAL_1:19;
thenk ((D2,,n1)+- =len LVf(2 A442,
XXREAL_0:2;
thenk+ Seg LVf(D2) ,A520,INSEQ_11
then
A521: k+k2 in Seg len D2 by java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 36
k2indomD2 y FINSEQ_1def 3;
then
A522: mid(LVf(D2),indx(D2,D1,n1)+1,indx(D2,D1,j)).k =(
lower_bound rng(f|divset(D2,k+k2)))* vol(divset(D2,k+k2)) k in NAT then
INTEGRA1:def ;
A523:Union =A by A67,CARD_3:ef 4;
A524: lower_bound divset(MD2,k)=lower_boundend;
k2) & upper_bound be PartFunc of ::RNS_Real,RNS_Real:,RNS_Real:,NS_Real,
proof
k+k2>=1+1 by A260,A515,A520,XREAL_1:7;
then
A525:k+21 byNAT_1:3;
fPartFuncof:RNS_Real,],NS_Real:,
:kk2 in dom A521FINSEQ_1d java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
per cases;
supposeA4:0<r
A528: k=1;
then upper_bound divset(MD2,k)= in J &y2 in J
INTEGRA1:def 4;
assume that
A529: upper_bound divset(MD2,kA7:|.x2-x1. <r &|y2-1.|<r |z2-1| <r;
A530[x1,y1,z1] in ,z2] in E by A6,ZFMISC_1:7;
INTEGRA1:def 4;
lower_bound divset(MD2,k)=D1.n1 by A354,A526
INTEGRA1:def 4;
hence thesis by A13,A241,A520,A525,A527,A528,A529
,A530,INTEGRA1:def 4,def 19;
;
suppose
A531: k<>1;
then upper_bound divset(MD2,k)=MD2.k by A526,
INTEGRA1:def 4;
then
A532: I,J,K be closed_interval Subset java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
n1)+1)-1) by A272,A263,A358,A388,A390,A445,A515,A516,FINSEQ_6:122;
A533: k -1 <= indx(D2,D1,j)-(indx(D2,D1,n1)+1)+1 by A445
,A516,XREAL_1:146, & z1 in K & z2 in K .2x1.<r &|y2-1|<r &&|.2z1.|< r
A534: lower_bound divset(java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
INTEGRA1:def 4;
A535: k-1 in dom MD2 by A526,A531,INTEGRA1:7;
then 1 <= k-1 by FINSEQ_3:25;
then lower_bound A2: fg;
n1)+1)-1) by A272,A263,A358,A388,A390,A535,A533,A534,FINSEQ_6:122;
hence thesis by A520,A525,A527,A532,INTEGRA1:def 4;
end;
end;
divset (MD2,k)=[.lower_bound divset(MD2,k),
upper_bound divset(MD2,k).] by INTEGRA1:4;
then
A536: divset(athat
k
then divset(D2,k+k2 roof
then
A537: rng(f|divset(D2,k+k2))=rng(g|divset(D2,k+k2)) by
FUNCT_1:51;
k in dom MD2 by A523,FINSEQ_1:def 3;
hence thesis by A522,A536,A537,INTEGRA1:def 7;
end;
lower_bound divset(D1,j)<=D.(i+1) by A237,INTEGRA2:1;
then
A538: D.(i+1) in divset(MD1,len MD1) by A374,A512,INTEGRA2:1;
j-1 in dom D1 by A236,A245,A280,INTEGRA1:7;
then let z0be;
then D(i+ > lower_bound B by A354,A511,XXREAL_0:2;
then Sum
upper_bound g rng g)delta(D1)by ,A431,488A538,A387
,Th13;
then
A539: Sum lower_volume(g, zz0 z0 asPoint RNS_Real by XREAL_0:def 1java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
upper_bound rng f-lower_bound rng f)*delta(MD1) by A440,XXREAL_0:2;
indx(D2,D1,n1)+1 <= len LVf(D2)byA386,INTEGRA1:ef7java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
proof
indx(D2, consider s beReal such that
(LVf(D2),indx(D2,1,
n1)+1,indx(D2,D1,j)) by A272,A385,A445,XREAL_1:233,XXREAL_0:2;
dom(g,[y] and
A540: Sum lower_volume(g,MD2)=Sum mid(LVf(D2),indx(D2,D1 1in X-(dom g,xy) by A8,MESFUN12:def ;then
n1)+1,indx(D2,D1,j)) by A514,FINSEQ_1 reconsider zz1 = z1 as Point of RNS_Real by XREAL_0:def 1;
n1+1 <= len LVf(D1) by A267,INTEGRA1:def 7;
then len mid(LVf(D1),n1+1,j) =j-'(n1+1)+1
,A407,FINSEQ_6:118
.=j-(n1+1)+1 p1-p0 = [0.RNS_Real,yy-yy,zz1-zz0 RLVECT_115; then
then Sum lower_volume(g,MD1)=Sum mid(LVf( = sqrt(||. 0.RNS_Real .||^2 + ||. 0.RNS_Real .||^2 + ||.|^)
A371, | p1p0 .|| = |. z1-z0.|by A11,EUCLID:def 2; then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
end;
hence thesis;
end;
then
A541: (PLf(D2,indx(D2,D1,n1))PLf(D1,n1)+(Sum mid(VfD2),
(2,1n1)+,indxD2,,j)-um mid(VfD1)n1+,) =i*upper_bound
f-lower_bound rng f)*delta(D1)+ (upper_bound rng f-lower_bound rng f)*end;
by A243,XREAL_1:7;
1by NAT_113;
then D1.n1 < D1.(n1+1st f is_continuous_on dom f & f = g & p2 = ProjPMap2(g,z) holds
then indx(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 5
SEQ_4:137;
then
A542: indx(D2,D1,n1)<indx(D2,D1,j) by A272,XXREAL_0:2;
indx(,D1, len D2 A259,INSEQ_1:def 3;
then indx(D2,D1,n1) in java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 24
then indx(D2,D1,n1) in dom LVf(A6: Y-ection(dom g,z)
then PLf(D2,indx(D2,D1,n1) by MEASUR11:ef ; then
INTEGRA1:def 20
.=Sum mid(LVf(D2),1,indx(D2,D1,n1)) by A260,FINSEQ_6:116;
then PLf(D2,indx(D2,D1,n1))+Sum mid(LVf(D2),indx(D2,D1,n1) zz=z as Pointof RNS_Real;
indx(D2, D1,j)) =Sum(mid(LVf(D2),1,indx(D2,D1,
1,indx(D2,D1,j))) by RVSUM_1:75
=Sum mid(LVf(D2),1,indx(D2,D1j) by A260A542,,
.=Sum(LVf(D2)|indx(D2,D1,j)) by A262,FINSEQ_6:116;
then PLf(D2,indx(D2,D1,j))= PLf(D2,indx(D2,D1,n1))+Sum mid( consider s beReal such that
(D2),indx(D2,D1,n1)+1,indx(D2,D1,j)) by A279,INTEGRA1:def 20;
then (PLf(D2,indx(D2,D1, assumethat
indx(D2,D1,n1)+1,indx(D2,D1xy1 in -(domg,)by ,A11MESFUN12def ;then
)-
hence thesis by A236,A237,A541;
reconside ,= java.lang.StringIndexOutOfBoundsException: Range [39, 36) out of bounds for length 45
hence thesis;
end;
fork nonzero holds [k fromNAT_1:sch (A40
)
thenPi;
hence thesis by A17;
end;
A543: len D1 in dom D1 by FINSEQ_5:6;
then D1.(len D1) = D2.indx(D2,D1,len D1) by A13,INTEGRA1:def 19;
then upper_bound A = D2.indx(D2,D1,len D1) by INTEGRA1:def 2;
then
A544 D2.len D2)=D2.(D2,D1, D1)INTEGRA1def ;
len endjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
then consider j such that
A545: j in dom [[:REAL,:R,
A546: D.(len D) in divset(D1,j) and
547 (D2,indxindx(,,j)-Lf(D1,)< (en D*upper_bound(rng
f)- lower_bound(rng f))*delta(D1) by A16;
A548: j = len D1
proof
assume
j>en D1
j< D1by A545,:25;
then j < len D1 by A549,XXREAL_0:1;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 60
then
A550: D1.j < upper_bound A by reconsider (gz)
A551: upper_bound divset(D1,j) < upper_bound java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
cases
suppose
j=1;
hence thesis by A545,A550,INTEGRA1:def 4;
end;
suppose
j<>1;
hence thesis by A545,A550,INTEGRA1:def 4;
end;
end;
D.(len D) <= upper_bound divset(D1,j) by A546,INTEGRA2:1;
hence contradiction by A551,INTEGRA1:def 2;
end;
indx(D2,D1,len D1) in dom D2 by A13,A543,INTEGRA1:def 19;
then indx(D2,D1,len D1)=len D2 by A15,A544,SEQ_4:138;
then PLf(D2,len D2)-lower_sum(f,D1)<=(len D)* (java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 38
ower_bound(ng f)*delta(D1 A547,A548I:43;
hence thesis by java.lang.StringIndexOutOfBoundsException: Range [35, 32) out of bounds for length 36
end;
hence thesis by A12,A13,A14;
end;
reconsiderzz2z2as Point RNS_Realby XREAL_0:def 1;
end;
end;
theorem Th22:
f|A is bounded implies
for D,D1 A13: ||. f/.p1 f/A7,2A10,A11
upper_sum(f,D)-upper_sum(f,D2) & 0<=upper_sum(f,D1)-upper_sum(f,D2)
proof
assume
:f|A isbounded;
D,D1;
consider D2 such that
A3 D= and
A4: D1<=D2 for f of[[:RNS_RealRNS_Real]RNS_Real:]RNS_Real,
A5: rng D2=rng D1 \/ rng D by Th4;
A6: upper_sum(,D1)-pper_sumf,>0byA1,4,:45,REAL_1:48;
0 by A1,A3,INTEGRA145XREAL_148;
hence thesis by A3,A4,A5,A6;
end;
theorem Th23:
f|A is bounded implies
for D,D1 st delta(D1)<min rng upper_volume(chi(A,A),D) holds
ex D2 st D<=D2 & D1<=D2 & rng D2=rng D1 \/ rng D &
upper_sum(f,D1)-upper_sum(f,D2) <=
(len D)*(upper_bound(rng f)-lower_bound(rng f))*delta(D1)
proof
assume
A1: f|A is bounded; then
A2: for D,D1 ex D2 st D<=D2 & D1<=D2 & rng D2=rng D1 \/ rng D & 0<=
upper_sum(f,D)-pper_sum(f,D2) & 0<=upper_sum(f,D1)-upper_sum(f,D2)
by Th22;
let D,D1;
assume
A8: delta(D1)<min rng upper_volume(chi(A,A),D);
ex D2A3:p2=ProjPMap2(g,z);
upper_sum(f,D2)<=(len D)*(upper_bound(rng f)- lower_bound(rng f))*delta(D1)
roof
consider D2 be Division of A such that
A9: D<=D2 and
A10: D1A5: <s and
A11: rng D2=rng D1 \/ rng D and
0<=upper_sum(f,D)- |.f.v1 -f/v2 .|<r by A1;
0<=upper_sum(f,D1)-upper_sum(f,D2) by A2;
upper_sum(f,D1)-upper_sum(f,D2) <= (len D)*(upper_bound(rng f)-
lower_bound(rng f))*delta(D1)
proof
deffuncUVf(Division of A) = upper_volume(,$)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
deffunc PUfjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 17
A12: len D2 in dom D2 by FINSEQ_5:6;
A13A12: xy1 [x1,yy1]byPRVECT_3:18;
j) & PUf(D1,j)-PUf(D2,indx(D2,D1,j))<=i*(upper_bound(rng f)- lower_bound(rng f)
)*delta(D1)
proof
defpred P[non zero Nat] means $1 in dom D implies exasPoint of [[RNS_Real,RNS_Real:,RNS_Real:;
&D$1 in divset(D1,)&PUf(,j)-UfD2,(D2,D1,j))=$1*upper_bound
rng f-lower_bound rng f) *delta(D1);
let i;
assume
A14: i in dom D;
then
A15: i by NDIFF_81;then
A16: for i,j st i in dom D & j in dom D1 & D.i in divset(D1,j) holds
j >= 2
proof
let i,j;
assume
A17: i in dom D;
assume that
A18: j in dom D1 and
A19: D.i in divset(D1,j);
assume j<2;
then j<1+1;
then
A20: j <= 1 by NAT_1:13;
j in Seg len D1 by A18,FINSEQ_1:def 3;
then j >= 1 by FINSEQ_1:1;
then j = 1 by A20,XXREAL_0:1;
then
A21: lower_bound divset(D1,j)=lower_bound A by A18,INTEGRA1:def 4;
A22: D.i<=upper_bound divset(D1,j) by A19,INTEGRA2:1;
delta(D1) >= min rng upper_volume(chi(A,A),D)
proof
per cases;
suppose
A23:i=1java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
len D in Seg len D by FINSEQ_1:3;
then 1 <= let x, be Element of REAL,
then
A24: 1 in dom D by FINSEQ_3:25;
then
A25: lower_bound divset(D,1)=lower_bound A by INTEGRA1:def 4;
1 in Seg len D by A24,FINSEQ_1:def 3;
then 1 in Seg len upper_volume(chi(A,A),D) by INTEGRA1:def 6;
then
6: 1in dom (chi(A,A),)by :def3java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
(ivset(,1)=upper_volume((A,A,).by A24,
INTEGRA1:20;
l(ivsetD1)in upper_volume(chi(A,A),D)by ,
FUNCT_1:def 3;
then
A27: vol
(divset(D,1))>=A1:f is_continuous_on dom
java.lang.StringIndexOutOfBoundsException: Range [12, 3) out of bounds for length 67
upper_bound divset(D1,j)-lower_bound A >= hencePf2is_continuous_ondom Pf2by A1,2,Th12,ESFUNC5:ef 7
A bytheorem Th19:
then
vol(divset(D1,j)) >= upper_bound divset(D,1g PartFuncof[[:REALR:,REAL:REAL bePartFuncof REAL,EAL
] holds Pg1 is continuous
then
A29: vol(divset(D1,j)) >= vol(divset(D,1)) by INTEGRA1:def 5;
vol(divset assume that
then delta(D1) >= vol(divset(D,1)) by A29,XXREAL_0:2;
hence thesis by A27,XXREAL_0:2;
end;
suppose
A30: i<>1;
then D.(i-1) in A by A17,INTEGRA1:7;
then
A31: lower_bound A <= D be PartFunc of [:[:REAL,REAL:,]REAL,
lower_bound divset(D,i)=D.(i- &Pf2 = ProjPMap2|R_EAL .,z holds Pf2is_continuous_on dom Pf2
then
A32: upper_bound divset(D,i)-lower_bound A >= upper_bound
divset(D,i)-lower_bound divset(D,i) by A31,XREAL_1:10;
upper_bound divset(D,i)= D.i by A17,30,INTEGRA1:def 4;
then upper_boundassume that
upper_bound divset(D,i)- lower_bound A by A22,A21,XREAL_1:9;
then upper_bound divset(D1,j)-lower_bound divset(D1,j) >=
upper_bound divset(D,i)-lower_bound divset( D,i)by ,XXREAL_0:2;
vol(ivset(D1,))> upper_bound divset(,)lower_bound
divset(Di5java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
then
A33: vol(divset(D1,j)) >= vol(divset(D,i)) by INTEGRA1:def 5;
i in Seg len D by A17,FINSEQ_1: g bePartFunc [[REALREAL]REAL:,REAL,Pg1 PartFuncof REAL,
i lenupper_volume((A,A)D)by INTEGRA1:ef 6;
then
A34: i in dom upper_volume(chi(A,A),D) by FINSEQ_1:def 3;
divsetDi)=upper_volume(chi(A,A,D).i by 17
INTEGRA1:20;
then vol(divset(D,i)) in rng upper_volume(chi(A,A),D) A4 f and
FUNCT_1:def 3;
then
A35: vol
(divset(D,i))>=min rng upper_volume(chi(A,A),D) by XXREAL_2:def 7;
vol(divset(D1,j)) <= delta(D1) by A18,Lm5;
then delta(D1) >= vol(divset(D,i)) by A33,XXREAL_0:2;
hence thesis by A35,XXREAL_0:2;
end;
end;
hence contradiction by A8;
end;
A36: P[1]
proof
len D in Seg D by FINSEQ_13java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
1<=len D FINSEQ_11;
then
A37 1indom D by FINSEQ_3:25;
then consider j such that
A38:java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.indivset(1j byTh3,INTEGRA1:;
(1j-Uf(D2,indx(2D1,j)< *( rngf-
lower_bound rng f)*delta(D1)
proof
A40: j <> 1 by A16,A37,A38, Pg1 =ProjPMap1(R_EAL g,[x,y]);
then reconsiderj1=-asElementof NAT by A38,NTEGRA1:7
A41: j1 in dom D1 by A38,A40,INTEGRA1:7;
then j1 in Seg len D1 by FINSEQ_1:def 3;
then j1 in Seg len upper_volume(f,D1) by INTEGRA1:def 6;
then
A42: j1 in dom upper_volume(f,D1) by FINSEQ_1:def 3;
: j-in dom D1 byA38,A40,INTEGRA1:;
then
A44: indx(D2,D1,j1) in dom D2 by A10,INTEGRA1:def 19;
then
A45: indx(D2,D1,j1) in Seg len D2&Integral(Prod_Measure(L-Meas,-eas,Pg2java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
then
A46: 1 <= indx,D1,) by FINSEQ_1:1;
then mid(D2,1,indx( bePartFunc :[RNS_Real,NS_Real:]RNS_Real]RNS_Real,
then
A47: D2|indx(D2,D1,j1) is increasing by A46,FINSEQ_6:116;
j < j+1 by f =::I,J:],K:]and
then j1A4:f = gand
then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
h Pg2is_integrable_on Prod_Measure(-eas,-eas)
A50: Sum thus Integral(Prod_Measure(-eas,-eas),Pg2)
),(indx(D2,D1,j1)+1),indx(D2,D1,j)) <= (upper_bound rng f-lower_bound rng f)*
delta(D1)
proof
A51: indx(D2,D1,j)-indx(D2,D1,j1) <= 2
proof
reconsider ID1=indx(D2,D1,j1)+1 as Element of NAT;
;
assume indx(D2,D1,j)-indx(D2,D1,j1) > 2;
then
A52: indx(D2,D1,j1)+(1+1)<indx(D2,D1,j) by XREAL_1:20;
A53: ID1 < ID2 by NAT_1:13;
then indx (D2,D1,j1) <= ID2 by NAT_1:13;
then
A54: < ID2 by A46,XXREAL_0:;
A55: indx(D2,D1,j) in dom D2 by A10,A38,INTEGRA1:def 19;
then
A56: indx(D2,D1,j) <= len D2 by FINSEQ_3:25;
then ID2 <= len D2 by A52,XXREAL_0 3 f is_continuous_on [:[:I,J:],K:] and
then
A57: ID2 in dom D2 by A54,FINSEQ_3:25;
then
A58: D2.ID2<D2 Pg1K is bounded &Pg1is_integrable_onK
A59: 1 <= ID1 by A46,NAT_1:13;
A60: D1.j = D2.indx(D2,D1,j) by A10,A38,INTEGRA1:def 19;
ID1 <= indx(D2,D1,j) by forIJbe Subset of REAL,K be non empty closed_intervalSubset of REAL,
then ID1 <= len D2 by A56,XXREAL_0:2;
then
A61: ID1 in dom D2 by A59,FINSEQ_3:25;
then
A62: D2.ID1<D2.ID2 by f =g&Pg1 = ProjPMap1(|R_EAL g.,x,y])&E=K holds
indx(D2,D1,j1) < ID1 by NAT_1:13;
A63: D2 . f be artFunc of [[:RNS_Real,RNS_Real:],RNS_Real,
A64 Pg1be PartFunc of ,EAL,E be Elementof L-ield;
A65: not D2.ID1 in rng D1 & not D2.ID2 in rng D1
proof
assume
A5: Pg1=ProjPMap1(|R_EAL g.,xy)ajava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
per cases by A66;
suppose
D2.ID1 in rng D1;
n such that
67 n indomD1 and
A68: D1.n=D2.ID1 by PARTFUN1:3;
3,,A68,SEQ_4:137;
then
A69: j<n+1 by XREAL_1:19;
D2.ID1r&integral(Pg1,K (-easP(._AL g|,xy])
then java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
hence contradiction by A69,NAT_1:13;
end;
suppose
D2.ID2 in rng D1;
then consider n such that
A70: n in dom D1 and
A71: D1.=D2.ID2 by PARTFUN1:;
D2.indxD2D1,1)<D2.D2by A63,A62,XXREAL_0:;
j1<n by A41,A64,A70,A71,SEQ_4:137;
then
A72: j<n+1 by XREAL_1:19;
njby ,A58,A60,A70,A71,SEQ_4:137;
hence contradiction by A72,NAT_1:13;
end;
end;
divset(D1,)=D1.j by A38,A40,NTEGRA1:def 4;
then
A73: fbe of[[RNS_RealR:,NS_Real:],RNS_Real,
INTEGRA1:def 19;
lower_bound divset(D1,j) Pg2 be of [:REAL,EAL:]REAL,
then
A74:lower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A10,A41,
INTEGRA1:def
D2.ID2 in rng D2 by A57,FUNCT_1:def 3;
then
A75: D2.ID2 in rng D by A11,A65,XBOOLE_0:def 3;
D2 .ID1 in rng D2 by A61,FUNCT_1:def 3;
then
A76: D2.ID1 in rng D by A11,A65,XBOOLE_0:def 3;
D2.indx(D2,D1,j1)<=D2.ID2 by A63,A62,XXREAL_0:2;
then D2.ID2 in divset(D1,j) by A58,A74,A73,INTEGRA2:1;
then
A77: D2.ID2 in rng D /\ divset(D1,j) by A75,XBOOLE_0:def 4;
D2.ID1<=D2.indx(D2,D1,j) by A62,A58,XXREAL_0:2;
then D2.ID1 in divset(D1,j) by A63,A74,A73,INTEGRA2:1;
then D2.ID1 in rng D /\ divset(D1,j) by A76,XBOOLE_0:def 4;
hence contradiction by A8,A38,A53,A61,A57, c of[:REAL,EAL:]REAL
end;
A78: 1 <= indx(D2,D1,j1)+1 by A46,NAT_1:13;
<=len by A38,FINSEQ_3:25;
reconsider Pf2 =Pg2 of :,:]RNS_Real;
: j < len upper_volume(f,D1)byINTEGRA1:def 6;
1 <= j byA38,INSEQ_3:25;
then
:mid(upper_volume(,D1),j,j).=upper_volume(f,1. by A79,
FINSEQ_6:118;
reconsider uv = upper_volume(f,D1). Pg2 bePartFunc of [:REAL,REAL:],REAL
by XREAL_0:def 1;
j'j Lm1;
then len mid(pper_volume(f,D1),j,j) = 1 by A80,A79,
FINSEQ_6:118;
thenmid(upper_volume(f,),j,j) =*v>by A81,FINSEQ_1:40;
then
: Sum mid(upper_volume(f,1),j,) upper_volume(f,D1). by
FINSOP_1:11 g be PartFunc of [:[REAL,REAL:,REAL:],REAL,
indx(D2,D1,j) in dom assume that
A83: indx(D2,D1,j)A4:f = g and
then
A84: 1 <= indx(D2,D1,j) by FINSEQ_1:1;
indx(D2,D1,j) in Seg len upper_volume(f,D2) by A83,
INTEGRA1:def 6;
then
1,j)< upper_volume(,D2) FINSEQ_1:;
then
A86: indx(D2,D1,j1)+1 <= len upper_volume(f,D2 by MESFUN12:def 7;
then indx(2,1,j1)+ in Seg lenupper_volume(f,D2) by A78,
FINSEQ_1:1;
A87: indx(D2,D1,j1)+1 in Seg len D2 by INTEGRA1:def 6;
: indx(2D1,j1)1in dom D2 by FINSEQ_1:def 3;
indx(D2,D1,j)-'(indx(D2,D1,j1)+1) = gbe of [:[:REAL,REAL:,REAL:,REAL,
D2,D1,j1)+1) by A49,XREAL_1:233;
thenindx(2,D1,j)-'(indx(D2,D1,j1) +1)+1 <= 2 by A51;
then
A89: len mid(upper_volume(f,D2),(indx(D2,D1,j1)+1),indx(D2,D1
,j))<=2 by A49,A84,A85,A78,A86,FINSEQ_6:118;
java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
A90: 1 <= len mid(java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
(D2,D1,j )) by A49,A84,A85,A78,A86,FINSEQ_6:118;
java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
per cases by A90,A89,Lm2;
A91: len mid(upper_volume(f henceg E-easurable by MESFUNC6:12;
indx(D2,D1,j)=1;
upper_bound divset(D1,j)=D1. by A38,40,INTEGRA1:def 4;
then
A92: upper_bound divset(D1,j)=D2. indx(D2,D1,j) by A10,A38,
INTEGRA1:def 19;
lower_bound divset( holds fore Real st 0 < e holds
thenlower_bound divset(D1,j)=D2.indx(D2,D1,j1) by A10,A41,
INTEGRA1:def 19;
then
: divset(D1,j)[.indx(,1,j1,.ndx(D2,D1,j)
. | ProjPMap1(.EAL .,2)z-ProjPMap1(|R_EAL g.,u1).|<e
:delta(1)= 0 byTh9;
A95: f be PartFunc of [:[:RNS_RealRNS_Real:],]java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
;
(D2D1,j)indom D2 by A10,A38,INTEGRA1:def 19;
len mid(upper_volume(f,D2),(indx(D2,D1,j1)+1),indx(
D2,D2,D1,j)) = indx(D2java.lang.StringIndexOutOfBoundsException: Range [19, 0) out of bounds for length 0
FINSEQ_6:118;
then
=0 by A49,91,233java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
then indx(D2,D1,j)<>1 by A45,FINSEQ_1:1;
then,ZFMISC_187MESFUN12:def3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
: upper_bound divset(D2,indx(D2,D1,j))=D2.indx(D2,D1,j
) by A96,NTEGRA1:ef 4java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
indx(D2,D1,j)-1=indx(D2,D1,j1) by A97;
then lower_bound divset(D2,indx(D2,D1,j))= D2.indx(D2,D1,
j1) by A46,A97,A96,INTEGRA1:def 4;
then
A99: divset(D2,indx(D2,D1,j))=divset(D1,j) by A93,A98,INTEGRA1:4
;
reconsider uv = upper_volume(f,D2).(indx(D2,D1,j1)+1)
as Element of REAL
by XREAL_0:def 1;
mid(upper_volume(f,D2),(indx(D2,D1,j1)+1),indx(D2,D1
,j)).1 =upper_volume(f,D2).(indx(D2,D1,j1)+1) by A84,A85,A78,A86,FINSEQ_6:118;
then mid(upper_volume(f,D2),(indx(D2,D1,j1)+1),indx(D2,D1
,j)) =<*uv*> by A91,FINSEQ_1:40;
then Sum mid(upper_volume(f,D2),(indx( D2,D1,j1)+1),indx(
D2,D1,j )) =upper_volume(f,D2).(indx(D2,D1,j1)+1) by FINSOP_1:11
.=(upper_bound(rng(f|divset(D2,(indx(D2,D1,j1)+1)))))
*vol(divset(D2,(indx(D2,D1,j1)+1))) by A88,INTEGRA1:def 6
.=Sum mid(upper_volume(f,D1)j,j) by A38,A82,A97,A99,
INTEGRA1:def 6;
hence thesis by
end;
suppose
A100: len mid(upper_volume(f,D2),(indx(D2,D1,j1)+1),
let u1,u2 be Element of [:EAL,EAL:],x1y1,x2,y2 be Real;
A101: mid(upper_volume(f,D2),(indx(D2,D1,j1)+1),indx(D2,D1
,j)).1 =upper_volume(f,D2).(indx(D2,D1,j1)+1) by A84,A85,A78,A86,FINSEQ_6:118;
A102: 2+(indx(D2,D1,j1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mid(upper_volume(f,D2),(indx(D2,D1,j1)+1),indx(D2,D1
,j)).2 =UVf(D2).(2+(indx(D2,D1,j1)+1)-'1) by A49,A84,A85,A78,A86,A100,
FINSEQ_6:118
.=UVf(D2).(2+(indx(D2,D1,j1)+1)-1A13 | (|g|.[u2,z]-(|g.|.( u1,z].|< e by A10;
,j1)(+1))
thenmid(upper_volume(,D2),(indx(D2,D1,j1)+1)indx(,D1
,j)) =<*upper_volume(f,D2).(indx(D2,D1,j1)+1), upper_volume(f,D2).(indx(D2,D1,
)2*> by A100,A101,FINSEQ_1:44;
then
A103: Sum mid(upper_volume(f,D2),(indx(D2,D1,j1)+1),indx(
D2,D1,j)) =upper_volume(f,D2).(indx(D2,D1,j1)+1) +upper_volume(f,D2).(indx(D2,
D1,j1)+)by RVSUM_1:;
A104: vol(divset(D2,indx(D2,D1,j1)+1))>=0 by INTEGRA1:9;
upper_bound divset(D1,j)=D1j A38,A40,NTEGRA1:def4;
then
A105: upper_bound divset(D1,j)=D2. indx(D2,D1,j) by A10,A38,
INTEGRA1:def 19;
A106: vol(divset(D2,indx(D2,D1,j1)+2))>=0 by INTEGRA1:9;
indx(D2,D1,j)-'(indx(D2 |.ProjPMap1(_AL ,2.z-rojPMap1(R_EALg,u1)z . <e
,A86, x,y be Element of REAL,
then
A107: 2=indx(D2,D1,j)-(indx(D2,D1,j1)+1)+1 by A49,XREAL_1:233
.=indx(D2,D1,j)-indx(D2,D1,j1);
then
A108:indx (D2,D1,j1)+ in dom D2 by A10,A38,INTEGRA1:def 19;
lower_bound divset(D1,j)D1.j1 by A38,A40,NTEGRA1:def 4;
thenlower_bound divsetD1,=.ndx(2,1,1 A10,,
A5:0 <r
then
A109: vol(divset(D1,j[holds .[x2y,)-.x,y1,z1) .| < e by A2,A3,Th8;
thus0<r by;
;
indx(D2,D1,j1)+1 in Seg len upper_volume(f,D2) by A78,A86,
FINSEQ_1:1;
then indx(D2,D1,j1)+1 in Seg len D2 java.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 0
then
A110: indx(D2,D1,j1)+1 in dom D2 by FINSEQ_1:def 3;
A111: indx(D2,D1,j1)+1 <> 1 by A46,NAT_1:13;
then
A112: upper_bound divset(D2,(indx( D2,D1,j1)+1))= D2. & REAL g.(u1,z) = g.[u1,z])
(D2,D1,j1)+1) by A110, by A4,A6,A8,ZFMISC_1:87,MESFUNC5:def 7,MESFUN12 3java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
indx(D2,D1,j1)+1-1=indx(D2,D1,j1)+0;
then
A113: lower_bound divset(D2,(indx(D2,D1,j1)+)=D2.indx
D2,D1, stst :[IJ],K:]=dom f f g not v in [I,J:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A114: indx(D2,D1,j1)+1+1 > 1 by A78,NAT_1:13;
indx(D2,D1,j1)+2-1=indx(D2,D1,j1)+1;
then
A115: java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 15
D2,D1,j1)+1) by A108,A114,INTEGRA1:def 4;
upper_bound divset(D2,(indx(D2,D1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,D1,)+2) byA108,A114,INTEGRA1:def 4;
then vol(divset(D1,j))=vol(divset(D2,indx(D2,D1,j1)+2)) +
D2.(indx(D2,D1,j1)+1)-D2.indx(D2,D1,j1) by A115,A109,INTEGRA1:def 5
.=vol(divset(D2,indx(D2,D1,j1)+2)) +(upper_bound
divset(D2,indx(D2,D1,j1)+1)-lower_bound divset(D2, indx(D2,D1,j1)+1)) by A113
A112;
then
A116: vol(divset(D1,j)) =vol(divset(D2,indx(D2,D1,j1)+1))+
vol(divset(D2,indx(D2,D1,j1)+2)) by INTEGRA1:def 5;
then
A117: upper_volume(f,D1).j=(upper_bound(rng(f| divset(D1,j
)))*(vol(divset(2,indx(2,D1,j1)1)+ol(divset(D2,ndx(D2,D1,j1)+2))) by
A38,INTEGRA1:def 6;
A118: beSubset of , z be Element ofREAL,
1,indx(D2, D1,j)) <=(upper_bound rng f - lower_bound rng f)* (vol(divset(D2,
(D2,D1,j1)+)) +ol(divset(D2,indx(2,D1,j1)+))
proof
set ID2=indx(D2,D1,j1)+2;
set java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
set SR = upper_bound rng(f|java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 20
divset(D2,ID1));
set B = vol(divset(D2,ID1));
set C = vol(divset(D2,ID2));
divset(D1,j)c=A by A38,INTEGRA1:8;
then
A119t Th32:
f is_continuous_on [:[:I,J:],K:] & f = g
ID1 in dom D2 by A87,FINSEQ_1:def 3;
then divset(D2,ID1)c=A by INTEGRA1:8;
then upper_bound rng(f|divset(D2,ID1)) >= lower_bound
rng f by A1,m4
then
: (upper_bound rng(f|divset(D2,D1)))*vol(divset(D2
,ID1)) >=(lower_bound rng f)*vol(divset(D2,ID1)) by java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 15
indx(D2,D1,j)-'(indx(D2,D1,j1)+1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,A86,A100,FINSEQ_6:118;
then
A121: 2=indx(D2,D1,j)-(indx(D2,D1,j1)+1)+1 :dom RF :REAL,REAL]byFUNCT_2:def1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
.indx(D2,D1,j)-indx(D2,,j1)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A122: indx(D2,D1,j) in dom D2 by A10,A38,A6 pin F q=F. by PARTFUN1:;
thendivset(D2,ID2)c A by A121,INTEGRA1:;
then
A123 reconsider,y as Element of REAL by A7;
rng f by A1,Lm4;
reconsider A = upper_bound rng(f|divset(D1,j)) as Real; per cases;
A124: upper_volume(f,D1).j-A*B = x I y in J by A7,FMISC_1:87 then
(pper_bound fdivsetD1j)* D,
) <=rngf)vol(ivsetD2) A106AXREAL_1:64java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
Summid(Vf(1,,)<=(upper_bound rngf|ivset(D1
,j)))* rng F crng F c=REAL;
,A124,XREAL_1:20; is Function of [REAL,REAL:],REALby A4,RELSET_1:4;
then
A125: Sum mid(UVf(D1),j,j)-(upper_bound rng f)* vol(
divset(D2,ID2) ) <=(upper_bound rng(f|divset(D1,j)))* assume q in rng RF; then
XREAL_1:20;
(upper_bound rng(f|divset(D1,j)))*vol(divset(D2,
ID1)) <=(upper_bound rng f)*9 x inREAL&yin REAL =[, byZFMISC_18;
then Sum mid(UVf(D1reconsider Pg=ProjPMap1(R_EAL g,java.lang.StringIndexOutOfBoundsException: Range [39, 31) out of bounds for length 31
divset(D2,ID2) ) <=(upper_bound rng f)*vol(divset(D2,ID1)) by A125 hence q in REAL by A8,A9,XREAL_0:def 1;
then
A126: Sum mid(UVf(D1),j, henceq A8,XREAL_0def
)(rng )*ol(ivsetD,ID1) by :;
UVf(2),ID1,indx(D2,D1,j)) =(),ID1,indx(D2,D1,j)) =(upper_bound
rng(f|divset(D2,ID2)))*vol(divset(D2,ID2)) +UVf(D2).ID1 by A103,A122,A121,
INTEGRA1:def 6
.=(upper_bound rng(f|divset(D2,ID2)))* theoremTh33:
ID2)+rngfdivsetD,) vol(D,D1) by A88,
def 6java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
2,D1j)-SR*R >(
lower_bound rng f)*vol(divset(D2,ID2)) by A106,A123,XREAL_1:64;
thenletI,Kbe non closed_interval Subset of REAL,
be PartFuncof [[REAL,REAL]REAL:]REAL,
then Sum mid(UVf(D2),ID1,indx(D2,D1,j))-(lower_bound
rng f)* vol(divset(D2, ID2)) >=SR*VR by XREAL_1:19;
then Sum mid(UVf(D2),ID1,indx(D2,D1,j))-(lower_bound
rng f)* vol(divset(D2, ID2)) >=(lower_bound rng f)*VR by A120,XXREAL_0:2;
thenSum UVf(D2)ID1,(D2,D1j)=lower_bound
rng f)*vol(divset(D2, ID2))+ ( =t byA6,:29;
then Sum mid(UVf(D1),j,j)-Sum mid(UVf(D2),ID1,indx(D2,
D1,j))java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
divset(D2,ID1)) -((lower_bound rng f)*vol
(divsetD2))byA126XREAL_113
hencethesis;
end;
upper_bound rng f - lower_bound rng stu1=x1,y1]&u2=[2,y2]&|x2-x1.| < r & |.y2-y1.| < r
XREAL_1:48;
then (upper_bound rng f - lower_bound rng f)*( vol(divset
(D1,j))) <=(upper_bound rng f - java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 36
XREAL_1:64;
hence thesis by A116,A118,XXREAL_0:2;
end;
java.lang.StringIndexOutOfBoundsException: Range [69, 16) out of bounds for length 20
hence thesis;
end;
j 1 by NAT_113java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
then
A127: j1 < j by XREAL_1:19;
indx(D2,D1,j) in dom D2 by A10,A38,INTEGRA1:def 19;
A19 is_integrable_on L-Meas & integral(Pg0,K) = Integral(L-Meas,Pg0)
A128: indx(D2 R_EAL(g0)=ProjPMap1|.R_EAL g.|,[xx1,yy1])
then
A129:1< indx(D2D,j byFINSEQ_1:1;
A130: indx(D2
then
A131: len (2|ndx,D1,))=indx(D2,D1,1)by FINSEQ_1:;
A132: j1 in Seg len D1 by A43,FINSEQ_1:def 3;
then
A133: j1 <= len D1 by java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 35
for x1 being object st x1 in rng(D1|by def ;then
holds x1 by A24,MESFUN12:def ;then
proof
let x1 be object;
assume x1 in rng(D1|j1);
then consider k such that
A134:kin dom(|j1) and
1|1. PARTFUN13java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
k in Seg len(D1|j1) by A134,FINSEQ_1:def 3;
then
A136: k in Seg j1 by A133,FINSEQ_1:59;
then
A137:kin dom D1 by A41,RFINSEQ:;
k <= j1 by A136,FINSEQ_1:1;
then D1.k <= D1.j1 by A43,A137,SEQ_4:137;
then D2.indx(D2,D1,k) <= D1.j1 by A10,A137,INTEGRA1:def 19;
then
A138 .D2,k)<=D2.ndx(D2,D1,j1)by A10,43,NTEGRA1:def 19;
139: (1|1).k = D1.k by A41A136,RFINSEQ:;
D1.k in rng D1 by A137,FUNCT_1:def 3;
e1=e2
then consider n such that
dom D2 and
A141: x1=D2.n by PARTFUN1:3;
D2.indx(D2,D1,k)=D2.n by A10,A135,A139,A137,A141,
INTEGRA1:def 19;
then
: < indx(D2,D1,j1)by A44,A140,A138,SEQM_3:def 1;
1 <= n by A140,FINSEQ_3:25;
then
A143: n in Seg indx(D2,D1,j1) by A142,FINSEQ_1:1;
then n in Seg len(D2|ndx(D2,D1,j1))by A130,FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
then
|D2D1,)FINSEQ_1def 3;
D2.n = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence thesis by A141,A144,FUNCT_1:def 3;
end;
A145: rng(D1|j1) c= rng(D2|indx(D2,D1,j1));
A146: 1 <= j1 by A132,FINSEQ_1:1;
lower_bound divset(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
A147: D1.j1 <= D.1 by A38,A40,INTEGRA1:def 4;
for x1being object st x1in rng(|D2,D1j)
holds x1 in rng(D1|A45: Pg1 is_integrable_on L-Meas & integral(Pg1,K) = Integral(L-Meas,Pg1)
proof
let x1 be object;
assume x1 in (|(D2D1j1))java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 | |