Control categories and duality: on the categorical semantics of the lambda-mu calculus
Control categories and duality: on the categorical semantics of the lambda-mu calculus
复制标题
控制类别和对偶性:关于 lambda-mu 演算的分类语义
DOI:
10.1017/s096012950000311x
复制
发表时间:
2001
影响因子:
0.5
通讯作者:
P. Selinger
中科院分区:
文献类型:
--
作者:
P. Selinger
We give a categorical semantics to the call-by-name and call-by-value versions of Parigot's λμ-calculus with disjunction types. We introduce the class of control categories, which combine a cartesian-closed structure with a premonoidal structure in the sense of Power and Robinson. We prove, via a categorical structure theorem, that the categorical semantics is equivalent to a CPS semantics in the style of Hofmann and Streicher. We show that the call-by-name λμ-calculus forms an internal language for control categories, and that the call-by-value λμ-calculus forms an internal language for the dual co-control categories. As a corollary, we obtain a syntactic duality result: there exist syntactic translations between call-by-name and call-by-value that are mutually inverse and preserve the operational semantics. This answers a question of Streicher and Reus.