Function: minus(log(numbers('xry') if numbers('ryy') > numbers("xyx") else numbers("xxx") if numbers('xry') > sum(numbers("xyx") if numbers('ryy') > numbers("xxx") else numbers('xry'), numbers('xry')) else numbers("xxx"), sum(numbers('xry') if numbers("xxx") > numbers("xyx") else numbers('ryy'), numbers('xry'))), numbers("xxx") if numbers('xry') > numbers('xry') if numbers("xyx") > numbers('ryy') else numbers("xxx") else sum(numbers('xry') if numbers("xyx") > numbers('ryy') else numbers("xxx"), numbers('xry')))