Logo image
The recursive polarized dual calculus
Conference proceeding

The recursive polarized dual calculus

Aaron Stump
Proceedings of the ACM SIGPLAN 2014 Workshop on programming languages meets program verification, pp.3-14
PLPV '14
01/11/2014
DOI: 10.1145/2541568.2541575

View Online

Abstract

This paper introduces the Recursive Polarized Dual Calculus (RP-DC), based on Wadler's Dual Calculus. RP-DC features a polarized form of reduction, which enables several simplifications over previous related systems. It also adds inductive types with recursion, from which coinductive types with corecursion can be defined. Typing and reduction relations are defined for RP-DC, and we consider several examples of practical programming. Logical consistency is proved, as well as a canonicity theorem showing that all closed values of a certain family of types are canonical. This shows how RP-DC can be used for practical programming, where canonical final results are required.
classical type theory dual calculus mixed induction/coinduction

Details

Metrics

66 Record Views
Logo image