let X be non empty set ; :: thesis: for f being PartFunc of X,ExtREAL st rng f is real-bounded holds
f is real-valued

let f be PartFunc of X,ExtREAL; :: thesis: ( rng f is real-bounded implies f is real-valued )
assume A1: rng f is real-bounded ; :: thesis: f is real-valued
then rng f is bounded_above by XXREAL_2:def 11;
then consider UB being Real such that
A2: UB is UpperBound of rng f by XXREAL_2:def 10;
A3: UB in REAL by XREAL_0:def 1;
rng f is bounded_below by A1, XXREAL_2:def 11;
then consider LB being Real such that
A4: LB is LowerBound of rng f by XXREAL_2:def 9;
A5: LB in REAL by XREAL_0:def 1;
now :: thesis: for x being Element of X st x in dom f holds
|.(f . x).| < +infty
end;
hence f is real-valued by MESFUNC2:def 1; :: thesis: verum