let x, y, k be R_eal; :: thesis: ( k <= 0 implies ( k * (min (x,y)) = max ((k * x),(k * y)) & k * (max (x,y)) = min ((k * x),(k * y)) ) )

assume A1: k <= 0 ; :: thesis: ( k * (min (x,y)) = max ((k * x),(k * y)) & k * (max (x,y)) = min ((k * x),(k * y)) )

assume A1: k <= 0 ; :: thesis: ( k * (min (x,y)) = max ((k * x),(k * y)) & k * (max (x,y)) = min ((k * x),(k * y)) )

hereby :: thesis: k * (max (x,y)) = min ((k * x),(k * y))
end;

per cases
( max (x,y) = x or max (x,y) = y )
by XXREAL_0:16;

end;

per cases
( min (x,y) = x or min (x,y) = y )
by XXREAL_0:15;

end;