Verification of Ptime Reducibility for system F Terms: Type Inference in Dual Light Affine Logic (Logical Methods in Computer Science, 2007)