Function: invert(numbers("yxx") if numbers('rep') > numbers('yxr') else tan(numbers("yxx"))) if numbers("yxx") > tan(numbers("yxx")) if numbers("yxx") > numbers('yxr') else numbers('rep') else tan(numbers("yxx")) if invert(numbers('rep') if tan(numbers("yxx")) > numbers("yxx") else numbers('yxr')) > numbers('yxr') if numbers("yxx") > tan(numbers("yxx")) else numbers('rep') else tan(numbers("yxx"))