let a, b, c, d be positive Real; ( a + b = c + d & a * b = c * d implies max (a,b) = max (c,d) )
assume A1:
( a + b = c + d & a * b = c * d )
; max (a,b) = max (c,d)
reconsider x = max (a,b) as positive Real ;
reconsider y = min (a,b) as positive Real ;
reconsider z = max (c,d) as positive Real ;
reconsider t = min (c,d) as positive Real ;
( ( ( max (a,b) = a & min (a,b) = b ) or ( max (a,b) = b & min (a,b) = a ) ) & ( ( max (c,d) = c & min (c,d) = d ) or ( max (c,d) = d & min (c,d) = c ) ) )
by XXREAL_0:def 9, XXREAL_0:def 10;
then
x * ((z + t) - x) = z * ((x + y) - z)
by A1;
then A3:
x * (x - t) = z * (z - y)
;
A4:
x - z = t - y
by A1, SAD;
then
( x - t = 0 or x = z )
by A3, XCMPLX_1:5;