let x be Real; :: thesis: for A being closed-interval Subset of REAL
for D1, D2 being Division of A
for f being Function of A,REAL st x in divset D1,(len D1) & vol A <> 0 & D1 <= D2 & rng D2 = (rng D1) \/ {x} & f | A is bounded & x > lower_bound A holds
(Sum (upper_volume f,D1)) - (Sum (upper_volume f,D2)) <= ((upper_bound (rng f)) - (lower_bound (rng f))) * (delta D1)
let A be closed-interval Subset of REAL ; :: thesis: for D1, D2 being Division of A
for f being Function of A,REAL st x in divset D1,(len D1) & vol A <> 0 & D1 <= D2 & rng D2 = (rng D1) \/ {x} & f | A is bounded & x > lower_bound A holds
(Sum (upper_volume f,D1)) - (Sum (upper_volume f,D2)) <= ((upper_bound (rng f)) - (lower_bound (rng f))) * (delta D1)
let D1, D2 be Division of A; :: thesis: for f being Function of A,REAL st x in divset D1,(len D1) & vol A <> 0 & D1 <= D2 & rng D2 = (rng D1) \/ {x} & f | A is bounded & x > lower_bound A holds
(Sum (upper_volume f,D1)) - (Sum (upper_volume f,D2)) <= ((upper_bound (rng f)) - (lower_bound (rng f))) * (delta D1)
let f be Function of A,REAL ; :: thesis: ( 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) )
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
; :: thesis: (Sum (upper_volume f,D1)) - (Sum (upper_volume f,D2)) <= ((upper_bound (rng f)) - (lower_bound (rng f))) * (delta D1)
len D1 in Seg (len D1)
by FINSEQ_1:5;
then A7:
1 <= len D1
by FINSEQ_1:3;
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
( len D1 = 1 or len D1 >= 2 )
by A8;
suppose A9:
len D1 = 1
;
:: thesis: (Sum (upper_volume f,D1)) - (Sum (upper_volume f,D2)) <= ((upper_bound (rng f)) - (lower_bound (rng f))) * (delta D1)then A10:
D1 . 1
= upper_bound A
by INTEGRA1:def 2;
vol A >= 0
by INTEGRA1:11;
then
(D1 . 1) - (lower_bound A) > 0
by A2, A10, INTEGRA1:def 6;
then A11:
lower_bound A < D1 . 1
by XREAL_1:49;
reconsider MD1 =
<*(lower_bound A)*> ^ D1 as non
empty increasing FinSequence of
REAL by A2, A9, Lm9;
MD1 is
Division of
A
then reconsider MD1 =
MD1 as
Division of
A by INTEGRA1:def 2;
rng D2 <> {}
;
then A18:
1
in dom D2
by FINSEQ_3:34;
then A19:
1
<= len D2
by FINSEQ_3:27;
A20:
D2 . 1
in rng D2
by A18, FUNCT_1:def 5;
A21:
lower_bound A < D2 . 1
set MD2 =
<*(lower_bound A)*> ^ D2;
reconsider MD2 =
<*(lower_bound A)*> ^ D2 as non
empty increasing FinSequence of
REAL by A21, Lm10;
MD2 is
Division of
A
then reconsider MD2 =
MD2 as
Division of
A by INTEGRA1:def 2;
A30:
len MD1 =
(len <*(lower_bound A)*>) + (len D1)
by FINSEQ_1:35
.=
1
+ (len D1)
by FINSEQ_1:56
;
A31:
1
+ (len D1) >= 1
+ 1
by A7, XREAL_1:8;
A32:
x in divset MD1,
(len MD1)
proof
A33:
(
lower_bound (divset D1,(len D1)) <= x &
x <= upper_bound (divset D1,(len D1)) )
by A1, INTEGRA2:1;
A34:
len D1 in dom D1
by FINSEQ_5:6;
A35:
len MD1 in dom MD1
by FINSEQ_5:6;
A36:
len MD1 <> 1
by A30, A31;
(len MD1) - 1
= len D1
by A30;
then lower_bound (divset MD1,(len MD1)) =
MD1 . (len D1)
by A35, A36, INTEGRA1:def 5
.=
lower_bound A
by A9, FINSEQ_1:58
;
then A37:
lower_bound (divset D1,(len D1)) = lower_bound (divset MD1,(len MD1))
by A9, A34, INTEGRA1:def 5;
MD1 . (len MD1) =
MD1 . ((len <*(lower_bound A)*>) + (len D1))
by FINSEQ_1:35
.=
D1 . (len D1)
by A34, FINSEQ_1:def 7
;
then upper_bound (divset MD1,(len MD1)) =
D1 . (len D1)
by A35, A36, INTEGRA1:def 5
.=
upper_bound (divset D1,(len D1))
by A9, A34, INTEGRA1:def 5
;
hence
x in divset MD1,
(len MD1)
by A33, A37, INTEGRA2:1;
:: thesis: verum
end; A38:
MD1 <= MD2
rng MD2 = (rng MD1) \/ {x}
then A41:
(Sum (upper_volume f,MD1)) - (Sum (upper_volume f,MD2)) <= ((upper_bound (rng f)) - (lower_bound (rng f))) * (delta MD1)
by A5, A30, A31, A32, A38, Th10;
A42:
vol (divset MD1,1) = 0
by Lm12;
upper_volume f,
D1 = (upper_volume f,MD1) /^ 1
by Lm11;
then
upper_volume f,
MD1 = <*((upper_volume f,MD1) /. 1)*> ^ (upper_volume f,D1)
by FINSEQ_5:32;
then A43:
Sum (upper_volume f,MD1) = ((upper_volume f,MD1) /. 1) + (Sum (upper_volume f,D1))
by RVSUM_1:106;
rng MD1 <> {}
;
then
1
in dom MD1
by FINSEQ_3:34;
then A44:
1
in Seg (len MD1)
by FINSEQ_1:def 3;
then
1
in dom MD1
by FINSEQ_1:def 3;
then A45:
(upper_volume f,MD1) . 1
= (upper_bound (rng (f | (divset MD1,1)))) * (vol (divset MD1,1))
by INTEGRA1:def 7;
1
in Seg (len (upper_volume f,MD1))
by A44, INTEGRA1:def 7;
then
1
in dom (upper_volume f,MD1)
by FINSEQ_1:def 3;
then A46:
(upper_volume f,MD1) /. 1
= 0
by A42, A45, PARTFUN1:def 8;
A47:
vol (divset MD2,1) = 0
by Lm12;
upper_volume f,
D2 = (upper_volume f,MD2) /^ 1
by Lm11;
then
upper_volume f,
MD2 = <*((upper_volume f,MD2) /. 1)*> ^ (upper_volume f,D2)
by FINSEQ_5:32;
then A48:
Sum (upper_volume f,MD2) = ((upper_volume f,MD2) /. 1) + (Sum (upper_volume f,D2))
by RVSUM_1:106;
rng MD2 <> {}
;
then
1
in dom MD2
by FINSEQ_3:34;
then A49:
1
in Seg (len MD2)
by FINSEQ_1:def 3;
then
1
in dom MD2
by FINSEQ_1:def 3;
then A50:
(upper_volume f,MD2) . 1
= (upper_bound (rng (f | (divset MD2,1)))) * (vol (divset MD2,1))
by INTEGRA1:def 7;
1
in Seg (len (upper_volume f,MD2))
by A49, INTEGRA1:def 7;
then
1
in dom (upper_volume f,MD2)
by FINSEQ_1:def 3;
then
(upper_volume f,MD2) /. 1
= 0
by A47, A50, PARTFUN1:def 8;
hence
(Sum (upper_volume f,D1)) - (Sum (upper_volume f,D2)) <= ((upper_bound (rng f)) - (lower_bound (rng f))) * (delta D1)
by A41, A43, A46, A48, Lm13;
:: thesis: verum end; end; end;
hence
(Sum (upper_volume f,D1)) - (Sum (upper_volume f,D2)) <= ((upper_bound (rng f)) - (lower_bound (rng f))) * (delta D1)
; :: thesis: verum