Function: logn(minus(product(numbers('ryy') if product(numbers('yyx'), numbers("yxx")) > numbers("yxx") else numbers('yyx'), product(numbers('yyx'), numbers("yxx"))), numbers("yxx") if product(numbers('yyx'), numbers("yxx")) > numbers('ryy') else numbers('yyx')))