DocumentCode :
2545473
Title :
Powermonads and Tensors of Unranked Effects
Author :
Goncharov, Sergey ; Schröder, Lutz
Author_Institution :
Res. Dept. Safe & Secure Cognitive Syst., German Res. Center for Artificial Intell. (DFKI GmbH), Bremen, Germany
fYear :
2011
fDate :
21-24 June 2011
Firstpage :
227
Lastpage :
236
Abstract :
In semantics and in programming practice, algebraic concepts such as monads or, essentially equivalently, (large) Lawvere theories are a well-established tool for modelling generic side-effects. An important issue in this context are combination mechanisms for such algebraic effects, which allow for the modular design of programming languages and verification logics. The most basic combination operators are sum and tensor: while the sum of effects is just their non-interacting union, the tensor imposes commutation of effects. However, for effects with unbounded arities, these combinations need not in general exist. Here, we introduce the class of uniform effects, which includes unbounded nondeterminism and continuations, and prove that the tensor does always exist if one of the component effects is uniform, thus in particular improving on previous results on tensoring with continuations. We then treat the case of nondeterminism in more detail, and give an order-theoretic characterization of effects for which tensoring with nondeterminism is conservative, thus enabling nondeterministic arguments such as a generic version of the Fischer-Ladner encoding of control operators.
Keywords :
formal logic; functional programming; tensors; Lawvere theories; algebraic concepts; order-theoretic characterization; powermonads; programming languages; tensor; unranked effects; verification logics; Additives; Context; Encoding; Equations; Programming; Semantics; Tensile stress; conservativity; continuations; effects; monads; tensors; uniform;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Logic in Computer Science (LICS), 2011 26th Annual IEEE Symposium on
Conference_Location :
Toronto, ON
ISSN :
1043-6871
Print_ISBN :
978-1-4577-0451-2
Electronic_ISBN :
1043-6871
Type :
conf
DOI :
10.1109/LICS.2011.34
Filename :
5970242
Link To Document :
بازگشت