let A be non empty closed_interval Subset of REAL; for n being Nat st n > 0 & vol A > 0 holds
ex D being Division of A st D divide_into_equal n
let n be Nat; ( n > 0 & vol A > 0 implies ex D being Division of A st D divide_into_equal n )
assume A1:
n > 0
; ( not vol A > 0 or ex D being Division of A st D divide_into_equal n )
assume A2:
vol A > 0
; ex D being Division of A st D divide_into_equal n
consider a, b being Real such that
a <= b
and
A3:
A = [.a,b.]
by MEASURE5:14;
A = [.(lower_bound A),(upper_bound A).]
by INTEGRA1:4;
then
( lower_bound A = a & upper_bound A = b )
by A3, INTEGRA1:5;
then A4:
b - a > 0
by A2, INTEGRA1:def 5;
defpred S1[ Nat, Real] means $2 = a + (((b - a) * $1) / n);
A5:
for k being Nat st k in Seg n holds
ex r being Element of REAL st S1[k,r]
consider D being FinSequence of REAL such that
A6:
( dom D = Seg n & ( for k being Nat st k in Seg n holds
S1[k,D . k] ) )
from FINSEQ_1:sch 5(A5);
reconsider D = D as non empty FinSequence of REAL by A6, A1;
for k being Nat st 1 <= k & k < len D holds
D . k < D . (k + 1)
then reconsider D = D as non empty increasing FinSequence of REAL by EUCLID_7:def 1;
now for x being object st x in rng D holds
x in Alet x be
object ;
( x in rng D implies x in A )assume
x in rng D
;
x in Athen consider k being
Element of
NAT such that A9:
(
k in dom D &
x = D . k )
by PARTFUN1:3;
A10:
D . k = a + (((b - a) * k) / n)
by A6, A9;
( 1
<= k &
k <= n )
by A6, A9, FINSEQ_1:1;
then
(
0 < k / n &
k / n <= 1 )
by XREAL_1:139, XREAL_1:183;
then
(
0 < (b - a) * (k / n) &
(b - a) * (k / n) <= b - a )
by A4, XREAL_1:129, XREAL_1:153;
then A11:
(
0 < ((b - a) * k) / n &
((b - a) * k) / n <= b - a )
by XCMPLX_1:74;
a + (b - a) = b
;
then
(
a < a + (((b - a) * k) / n) &
a + (((b - a) * k) / n) <= b )
by A11, XREAL_1:29, XREAL_1:6;
hence
x in A
by A3, A9, A10, XXREAL_1:1;
verum end;
then A12:
rng D c= A
;
dom D = Seg (len D)
by FINSEQ_1:def 3;
then A13:
len D = n
by A6, FINSEQ_1:6;
then
D . (len D) = a + (((b - a) * n) / n)
by A6, FINSEQ_1:3;
then A14:
D . (len D) = a + (b - a)
by A1, XCMPLX_1:89;
A = [.(lower_bound A),(upper_bound A).]
by INTEGRA1:4;
then
upper_bound A = b
by A3, INTEGRA1:5;
then reconsider D = D as Division of A by A12, A14, INTEGRA1:def 2;
for k being Nat st k in dom D holds
D . k = (lower_bound A) + (((vol A) / (len D)) * k)
hence
ex D being Division of A st D divide_into_equal n
by A13, INTEGRA4:def 1; verum