DEFINITION F_rec()
TYPE =
       ΠP:FSet.(P Appl)(P Cast)Πf:F.(P f)
BODY =
λP:FSet.λp:P Appl.λp1:P Cast.λf:F.<P> CASE f OF Applp | Castp1