Function: min(minus(sqrt(numbers("xxr")) if numbers("xxr") > numbers("xxr") if numbers('ryy') > numbers('yyx') else sqrt(numbers("xxr")) else numbers('ryy'), numbers('ryy') if numbers('yyx') > sqrt(numbers("xxr")) else numbers("xxr")), numbers('yyx') if sqrt(numbers("xxr")) > numbers('ryy') else numbers("xxr") if sqrt(numbers("xxr")) > numbers('ryy') else numbers("xxr"))