let x, y, z be R_eal; :: thesis: ( x < y & z < 0. & z <> -infty implies y * z < x * z )
assume that
A1: x < y and
A2: z < 0. and
A3: z <> -infty ; :: thesis: y * z < x * z
A4: ( x < +infty & -infty < y )
proof end;
reconsider c = z as Real by A2, A3, XXREAL_0:14;
now
per cases ( x = -infty or x <> -infty ) ;
suppose x = -infty ; :: thesis: y * z < x * z
then A6: x * z = +infty by A2, Def1;
now
per cases ( y = +infty or y <> +infty ) ;
suppose y = +infty ; :: thesis: y * z < x * z
hence y * z < x * z by A2, A6, Def1; :: thesis: verum
end;
suppose y <> +infty ; :: thesis: y * z < x * z
then reconsider b = y as Real by A4, XXREAL_0:14;
y * z = b * c by Th13;
hence y * z < x * z by A6, XXREAL_0:9; :: thesis: verum
end;
end;
end;
hence y * z < x * z ; :: thesis: verum
end;
suppose A7: x <> -infty ; :: thesis: y * z < x * z
then A8: x is Real by A4, XXREAL_0:14;
reconsider a = x as Real by A4, A7, XXREAL_0:14;
A9: x * z = a * c by Th13;
now
per cases ( y = +infty or y <> +infty ) ;
suppose y <> +infty ; :: thesis: y * z < x * z
then y is Real by A4, XXREAL_0:14;
then consider a, b being Real such that
A10: ( a = x & b = y & a <= b ) by A1, A8;
( x * z = a * c & y * z = b * c ) by A10, Th13;
hence y * z < x * z by A1, A2, A10, XREAL_1:71; :: thesis: verum
end;
end;
end;
hence y * z < x * z ; :: thesis: verum
end;
end;
end;
hence y * z < x * z ; :: thesis: verum