Function: gradient[2](square(log(sum(numbers('ryy') if numbers('xyy') > numbers('xyy') if numbers("yxx") > numbers('ryy') else numbers('rep') else numbers("yxx"), numbers("yxx") if numbers('rep') > numbers('xyy') else numbers('ryy')), numbers('ryy') if numbers('xyy') > numbers("yxx") else numbers('xyy') if numbers("yxx") > numbers('ryy') else numbers('rep'))))