Dualized Simple Type Theory (Logical Methods in Computer Science, 2017)