let A be non empty closed_interval Subset of REAL; :: thesis: for n being Nat st n > 0 & vol A > 0 holds
ex D being Division of A st
( len D = n & ( for i being Nat st i in dom D holds
D . i = (lower_bound A) + (((vol A) / n) * i) ) )

let n be Nat; :: thesis: ( n > 0 & vol A > 0 implies ex D being Division of A st
( len D = n & ( for i being Nat st i in dom D holds
D . i = (lower_bound A) + (((vol A) / n) * i) ) ) )

assume that
A1: n > 0 and
A2: vol A > 0 ; :: thesis: ex D being Division of A st
( len D = n & ( for i being Nat st i in dom D holds
D . i = (lower_bound A) + (((vol A) / n) * i) ) )

deffunc H1( Nat) -> Element of REAL = In (((lower_bound A) + (((vol A) / n) * $1)),REAL);
consider D being FinSequence of REAL such that
A3: ( len D = n & ( for i being Nat st i in dom D holds
D . i = H1(i) ) ) from FINSEQ_2:sch 1();
A4: for i, j being Nat st i in dom D & j in dom D & i < j holds
D . i < D . j
proof
let i, j be Nat; :: thesis: ( i in dom D & j in dom D & i < j implies D . i < D . j )
assume that
A5: i in dom D and
A6: j in dom D and
A7: i < j ; :: thesis: D . i < D . j
(vol A) / n > 0 by A1, A2, XREAL_1:139;
then ((vol A) / n) * i < ((vol A) / n) * j by A7, XREAL_1:68;
then H1(i) < (lower_bound A) + (((vol A) / n) * j) by XREAL_1:6;
then D . i < H1(j) by A3, A5;
hence D . i < D . j by A3, A6; :: thesis: verum
end;
A8: dom D = Seg n by A3, FINSEQ_1:def 3;
reconsider D = D as non empty increasing FinSequence of REAL by A1, A3, A4, SEQM_3:def 1;
D . (len D) = H1(n) by A3, A8, FINSEQ_1:3;
then A9: D . (len D) = (lower_bound A) + (vol A) by A1, XCMPLX_1:87;
for x1 being object st x1 in rng D holds
x1 in A
proof
let x1 be object ; :: thesis: ( x1 in rng D implies x1 in A )
A10: (lower_bound A) + (vol A) = (lower_bound A) + ((upper_bound A) - (lower_bound A)) by INTEGRA1:def 5
.= upper_bound A ;
assume A11: x1 in rng D ; :: thesis: x1 in A
then reconsider x1 = x1 as Real ;
consider i being Element of NAT such that
A12: i in dom D and
A13: D . i = x1 by A11, PARTFUN1:3;
A14: 1 <= i by A12, FINSEQ_3:25;
i <= len D by A12, FINSEQ_3:25;
then ((vol A) / n) * i <= ((vol A) / n) * n by A2, A3, XREAL_1:64;
then ((vol A) / n) * i <= vol A by A1, XCMPLX_1:87;
then A15: (lower_bound A) + (((vol A) / n) * i) <= (lower_bound A) + (vol A) by XREAL_1:6;
(vol A) / n > 0 by A1, A2, XREAL_1:139;
then A16: lower_bound A <= (lower_bound A) + (((vol A) / n) * i) by A14, XREAL_1:29, XREAL_1:129;
x1 = H1(i) by A3, A12, A13;
hence x1 in A by A16, A15, A10, INTEGRA2:1; :: thesis: verum
end;
then A17: rng D c= A by TARSKI:def 3;
vol A = (upper_bound A) - (lower_bound A) by INTEGRA1:def 5;
then reconsider D = D as Division of A by A17, A9, INTEGRA1:def 2;
take D ; :: thesis: ( len D = n & ( for i being Nat st i in dom D holds
D . i = (lower_bound A) + (((vol A) / n) * i) ) )

thus len D = n by A3; :: thesis: for i being Nat st i in dom D holds
D . i = (lower_bound A) + (((vol A) / n) * i)

let i be Nat; :: thesis: ( i in dom D implies D . i = (lower_bound A) + (((vol A) / n) * i) )
assume i in dom D ; :: thesis: D . i = (lower_bound A) + (((vol A) / n) * i)
then D . i = H1(i) by A3;
hence D . i = (lower_bound A) + (((vol A) / n) * i) ; :: thesis: verum