let X, Y be set ; :: thesis: for f being real-valued Function st f | X is bounded_above & f | Y is bounded_above holds
f | (X \/ Y) is bounded_above

let f be real-valued Function; :: thesis: ( f | X is bounded_above & f | Y is bounded_above implies f | (X \/ Y) is bounded_above )
assume A1: ( f | X is bounded_above & f | Y is bounded_above ) ; :: thesis: f | (X \/ Y) is bounded_above
then consider r1 being real number such that
A2: for c being set st c in X /\ (dom f) holds
f . c <= r1 by Def9;
consider r2 being real number such that
A3: for c being set st c in Y /\ (dom f) holds
f . c <= r2 by A1, Def9;
now
take r = (abs r1) + (abs r2); :: thesis: for c being set st c in (X \/ Y) /\ (dom f) holds
f . c <= r

let c be set ; :: thesis: ( c in (X \/ Y) /\ (dom f) implies f . c <= r )
assume c in (X \/ Y) /\ (dom f) ; :: thesis: f . c <= r
then A4: ( c in X \/ Y & c in dom f ) by XBOOLE_0:def 4;
now end;
hence f . c <= r ; :: thesis: verum
end;
hence f | (X \/ Y) is bounded_above by Def9; :: thesis: verum