TY - GEN
T1 - Polarity and the logic of delimited continuations
AU - Zeilberger, Noam
PY - 2010/1/1
Y1 - 2010/1/1
N2 - Polarized logic is the logic of values and continuations, and their interaction through continuation-passing style. The main limitations of this logic are the limitations of CPS: that continuations cannot be composed, and that programs are fully sequentialized. Delimited control operators were invented in response to the limitations of classical continuation-passing. That suggests the question: what is the logic of delimited continuations? We offer a simple account of delimited control, through a natural generalization of the classical notion of polarity. This amounts to breaking the perfect symmetry between positive and negative polarity in the following way: answer types are positive. Despite this asymmetry, we retain all of the classical polarized connectives, and can explain "intuitionistic polarity" (e.g., in systems like CBPV) as a restriction on the use of connectives, i.e., as a logical fragment. Our analysis complements and generalizes existing accounts of delimited control operators, while giving us a rich logical language through which to understand the interaction of control with monadic effects.
AB - Polarized logic is the logic of values and continuations, and their interaction through continuation-passing style. The main limitations of this logic are the limitations of CPS: that continuations cannot be composed, and that programs are fully sequentialized. Delimited control operators were invented in response to the limitations of classical continuation-passing. That suggests the question: what is the logic of delimited continuations? We offer a simple account of delimited control, through a natural generalization of the classical notion of polarity. This amounts to breaking the perfect symmetry between positive and negative polarity in the following way: answer types are positive. Despite this asymmetry, we retain all of the classical polarized connectives, and can explain "intuitionistic polarity" (e.g., in systems like CBPV) as a restriction on the use of connectives, i.e., as a logical fragment. Our analysis complements and generalizes existing accounts of delimited control operators, while giving us a rich logical language through which to understand the interaction of control with monadic effects.
UR - https://www.scopus.com/pages/publications/78449272960
U2 - 10.1109/LICS.2010.23
DO - 10.1109/LICS.2010.23
M3 - Conference contribution
AN - SCOPUS:78449272960
SN - 9780769541143
T3 - Proceedings - Symposium on Logic in Computer Science
SP - 219
EP - 227
BT - Proceedings - 25th Annual IEEE Symposium on Logic in Computer Science, LICS 2010
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 25th Annual IEEE Symposium on Logic in Computer Science, LICS 2010
Y2 - 11 July 2010 through 14 July 2010
ER -