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