let a be real number ; for A being non empty set
for f, g being Function of A,REAL st rng f is bounded_above & rng g is bounded_above & ( for x being set st x in A holds
abs ((f . x) - (g . x)) <= a ) holds
( (upper_bound (rng f)) - (upper_bound (rng g)) <= a & (upper_bound (rng g)) - (upper_bound (rng f)) <= a )
let A be non empty set ; for f, g being Function of A,REAL st rng f is bounded_above & rng g is bounded_above & ( for x being set st x in A holds
abs ((f . x) - (g . x)) <= a ) holds
( (upper_bound (rng f)) - (upper_bound (rng g)) <= a & (upper_bound (rng g)) - (upper_bound (rng f)) <= a )
let f, g be Function of A,REAL; ( rng f is bounded_above & rng g is bounded_above & ( for x being set st x in A holds
abs ((f . x) - (g . x)) <= a ) implies ( (upper_bound (rng f)) - (upper_bound (rng g)) <= a & (upper_bound (rng g)) - (upper_bound (rng f)) <= a ) )
assume that
A1:
rng f is bounded_above
and
A2:
rng g is bounded_above
and
A3:
for x being set st x in A holds
abs ((f . x) - (g . x)) <= a
; ( (upper_bound (rng f)) - (upper_bound (rng g)) <= a & (upper_bound (rng g)) - (upper_bound (rng f)) <= a )
A4:
dom f = A
by FUNCT_2:def 1;
A5:
for b being real number st b in rng g holds
b <= (upper_bound (rng f)) + a
A8:
dom g = A
by FUNCT_2:def 1;
then
rng g is non empty Subset of REAL
by RELAT_1:42;
then A9:
upper_bound (rng g) <= (upper_bound (rng f)) + a
by A5, SEQ_4:45;
A10:
for b being real number st b in rng f holds
b <= (upper_bound (rng g)) + a
rng f is non empty Subset of REAL
by A4, RELAT_1:42;
then
upper_bound (rng f) <= (upper_bound (rng g)) + a
by A10, SEQ_4:45;
hence
( (upper_bound (rng f)) - (upper_bound (rng g)) <= a & (upper_bound (rng g)) - (upper_bound (rng f)) <= a )
by A9, XREAL_1:20; verum