sketch translation to system F