let A be non empty closed_interval Subset of REAL; for f being Function of A,REAL st f | A is bounded holds
rng (lower_sum_set f) is bounded_above
let f be Function of A,REAL; ( f | A is bounded implies rng (lower_sum_set f) is bounded_above )
set D1 = the Division of A;
assume A1:
f | A is bounded
; rng (lower_sum_set f) is bounded_above
take
upper_sum (f, the Division of A)
; XXREAL_2:def 10 upper_sum (f, the Division of A) is UpperBound of rng (lower_sum_set f)
let a be ExtReal; XXREAL_2:def 1 ( not a in rng (lower_sum_set f) or a <= upper_sum (f, the Division of A) )
assume
a in rng (lower_sum_set f)
; a <= upper_sum (f, the Division of A)
then consider D being Element of divs A such that
A2:
( D in dom (lower_sum_set f) & a = (lower_sum_set f) . D )
by PARTFUN1:3;
reconsider D = D as Division of A by INTEGRA1:def 3;
a = lower_sum (f,D)
by A2, INTEGRA1:def 11;
hence
a <= upper_sum (f, the Division of A)
by A1, INTEGRA1:48; verum