Function: invert(gradient[1](numbers('rep') if numbers("yxx") > numbers("yxx") if numbers('yxr') > numbers("xxx") if numbers("yxx") > numbers('yxr') else numbers('rep') else numbers('rep') else numbers('rep') if numbers('yxr') > numbers("xxx") else numbers("yxx") if numbers("yxx") > numbers('yxr') if numbers("xxx") if numbers('rep') > numbers("yxx") else numbers('yxr') > numbers("yxx") else numbers('rep') else numbers('yxr') if numbers("yxx") > numbers("xxx") else numbers('rep')))