let x, y, z be ExtReal; :: thesis: ( ( z = -infty & y = +infty implies x <= 0 ) & ( z = +infty & y = -infty implies x <= 0 ) & x - y <= z implies x <= z + y )
assume that
A1: ( z = -infty & y = +infty implies x <= 0 ) and
A2: ( z = +infty & y = -infty implies x <= 0 ) and
A3: x - y <= z ; :: thesis: x <= z + y
per cases ( z = -infty or z = +infty or z in REAL ) by XXREAL_0:14;
suppose A4: z = -infty ; :: thesis: x <= z + y
end;
suppose A5: z = +infty ; :: thesis: x <= z + y
end;
suppose A6: z in REAL ; :: thesis: x <= z + y
per cases ( x - y in REAL or x - y = -infty ) by A3, A6, XXREAL_0:13;
suppose A7: x - y in REAL ; :: thesis: x <= z + y
per cases ( y = +infty or x = -infty or ( x in REAL & y in REAL ) ) by A7, Th21;
suppose ( x in REAL & y in REAL ) ; :: thesis: x <= z + y
then reconsider a = x, b = y, c = z as Element of REAL by A6;
a - b <= c by A3;
then a <= b + c by XREAL_1:20;
hence x <= z + y ; :: thesis: verum
end;
end;
end;
end;
end;
end;