let X, Y be non empty Subset of ExtREAL ; for r being R_eal st X = {r} & r in REAL holds
sup (X + Y) = (sup X) + (sup Y)
let r be R_eal; ( X = {r} & r in REAL implies sup (X + Y) = (sup X) + (sup Y) )
assume that
A1:
X = {r}
and
A2:
r in REAL
; sup (X + Y) = (sup X) + (sup Y)
set W = X + Y;
A3:
- r <> -infty
by A2, XXREAL_3:23;
A4:
- r <> +infty
by A2, XXREAL_3:23;
now let z be
set ;
( z in (- X) + (X + Y) implies z in Y )assume
z in (- X) + (X + Y)
;
z in Ythen consider x,
y being
R_eal such that A5:
x in - X
and A6:
y in X + Y
and A7:
z = x + y
by SUPINF_2:def 5;
consider x1,
y1 being
R_eal such that A8:
x1 in X
and A9:
y1 in Y
and A10:
y = x1 + y1
by A6, SUPINF_2:def 5;
- x in - (- X)
by A5, SUPINF_2:23;
then
- x in X
by SUPINF_2:22;
then
- x = r
by A1, TARSKI:def 1;
then
z = (- r) + (r + y1)
by A1, A7, A8, A10, TARSKI:def 1;
then
z = ((- r) + r) + y1
by A2, A4, A3, XXREAL_3:30;
then
z = 0. + y1
by XXREAL_3:7;
hence
z in Y
by A9, XXREAL_3:4;
verum end;
then A11:
(- X) + (X + Y) c= Y
by TARSKI:def 3;
A12:
r in X
by A1, TARSKI:def 1;
then
Y c= (- X) + (X + Y)
by TARSKI:def 3;
then
Y = (- X) + (X + Y)
by A11, XBOOLE_0:def 10;
then
sup Y <= (sup (X + Y)) + (sup (- X))
by SUPINF_2:26;
then
sup Y <= (sup (X + Y)) + (- (inf X))
by SUPINF_2:33;
then
sup Y <= (sup (X + Y)) - r
by A1, XXREAL_2:13;
then
r + (sup Y) <= sup (X + Y)
by A2, XXREAL_3:68;
then A16:
(sup X) + (sup Y) <= sup (X + Y)
by A1, XXREAL_2:11;
sup (X + Y) <= (sup X) + (sup Y)
by SUPINF_2:26;
hence
sup (X + Y) = (sup X) + (sup Y)
by A16, XXREAL_0:1; verum