The Inf Function in the System F

Abstract We give a λ term of type Nat, Nat → Nat in the system F that computes the minimum of 2 Church numerals in time O(inf.log(inf)). This refutes a conjecture of the “λ folklore”.