Task: Text to Code
Input (English): select the rows whose surface record fuzzily matches to hard . select the row whose date record of these rows is minimum . the opponent in the final record of this row is andre agassi .
Output (English): eq { hop { argmin { filter_eq { all_rows ; surface ; hard } ; date } ; opponent in the final } ; andre agassi }