Function: gradient[0](minus(min(round(numbers("per") if numbers('xry') > numbers("xxx") else numbers('xyy'), numbers("per")), numbers("xxx") if numbers("per") > numbers('xry') else numbers('xyy')), round(numbers('xyy') if numbers('xry') > numbers("per") else numbers("xxx"), numbers("per"))))