DocumentCode :
2066489
Title :
Polarity and the Logic of Delimited Continuations
Author :
Zeilberger, Noam
Author_Institution :
Univ. Paris VII, Paris, France
fYear :
2010
fDate :
11-14 July 2010
Firstpage :
219
Lastpage :
227
Abstract :
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.
Keywords :
formal logic; continuation-passing style; delimited control operators; intuitionistic polarity´; logical language; polarized logic; Buildings; Calculus; Cognition; Context; Dictionaries; Focusing; Shape; continuations; logic; polarity; programming; proof theory;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Logic in Computer Science (LICS), 2010 25th Annual IEEE Symposium on
Conference_Location :
Edinburgh
ISSN :
1043-6871
Print_ISBN :
978-1-4244-7588-9
Electronic_ISBN :
1043-6871
Type :
conf
DOI :
10.1109/LICS.2010.23
Filename :
5571706
Link To Document :
بازگشت