Task: Text to Code
Input (English): the 4th minimum week record of all rows is 4 . the opponent record of the row with 4th minimum week record is chicago bears .
Output (English): and { eq { nth_min { all_rows ; week ; 4 } ; 4 } ; eq { hop { nth_argmin { all_rows ; week ; 4 } ; opponent } ; chicago bears } }