Function: min(minus(numbers('rrr') if minus(numbers('rrr'), numbers("yyy")) > numbers('rrr') if numbers("xxx") > numbers("yyy") else minus(numbers('rrr'), numbers("yyy")) else invert(minus(numbers('rrr'), numbers("yyy")) if numbers("xxx") > numbers('rrr') else numbers("yyy")), invert(numbers("yyy") if numbers('rrr') > minus(numbers('rrr'), numbers("yyy")) else numbers("xxx"))), numbers('rrr') if minus(numbers('rrr'), numbers("yyy")) if numbers("yyy") > numbers("xxx") else numbers('rrr') > minus(numbers('rrr'), numbers("yyy")) else invert(numbers("xxx") if numbers("yyy") > minus(numbers('rrr'), numbers("yyy")) else numbers('rrr')))