Opin vísindi

Algebraic and coalgebraic perspectives on interaction laws

Skoða venjulega færslu

dc.contributor Reykjavik University
dc.contributor Háskólinn í Reykjavík
dc.contributor.author Uustalu, Tarmo
dc.contributor.author Voorneveld, Niels
dc.date.accessioned 2023-02-17T13:42:57Z
dc.date.available 2023-02-17T13:42:57Z
dc.date.issued 2020
dc.identifier.citation T. Uustalu, N. Voorneveld. Algebraic and coalgebraic perspectives on interaction laws. In B. C. d. S. Oliveira, ed., Programming Languages and Systems: 18th Asian Symposium, APLAS 2020, Fukuoka, Japan, November 30 – December 2, 2020, Proceedings, Lecture Notes in Comput. Science, v. 12470, pp. 186-205. Springer, Cham, 2020. doi:10.1007/978-3-030-64437-6_10
dc.identifier.isbn 9783030644369
dc.identifier.isbn 9783030644376
dc.identifier.issn 0302-9743
dc.identifier.issn 1611-3349
dc.identifier.uri https://hdl.handle.net/20.500.11815/4001
dc.description.abstract Monad algebras, turning computations over return values into values, are used to handle algebraic effects invoked by programs, whereas comonad coalgebras, turning initial states into environments (“cocomputations”) over states, describe production of coalgebraic coeffects that can respond to effects. (Monad-comonad) interaction laws by Katsumata et al. describe interaction protocols between a computation and an environment. We show that any triple of those devices can be combined into a single algebra handling computations over state predicates. This method yields an isomorphism between the category of interaction laws, and the category of so-called merge functors which merge algebras and coalgebras to form combined algebras. In a similar vein, we can combine interaction laws with coalgebras only, retrieving Uustalu’s stateful runners. If instead we combine interaction laws with algebras only, we get a novel concept of continuation-based runners that lift an environment of value predicates to a single predicate on computations of values. We use these notions to study different running examples of interactions of computations and environments.
dc.description.sponsorship T.U. was supported by the Icelandic Research Fund project grant no. 196323-052 and by the Estonian Ministry of Education and Research institutional research grant no. IUT33-13. N.V. was supported by the Estonian IT Academy research measure (the European Social Fund project no. 2014-2020.4.05.19-0001).
dc.format.extent 186-205
dc.language.iso en
dc.publisher Springer
dc.relation.ispartofseries Lecture Notes in Computer Science;12470
dc.rights info:eu-repo/semantics/openAccess
dc.subject Monad algebras
dc.subject Comonad coalgebras
dc.subject Interaction laws
dc.subject Runners
dc.subject Monad morphisms
dc.subject Effects
dc.subject Coeffects
dc.subject Algebra
dc.subject Tölvunarfræði
dc.title Algebraic and coalgebraic perspectives on interaction laws
dc.type info:eu-repo/semantics/bookPart
dc.description.version Post-print
dc.identifier.journal Programming Languages and Systems: 18th Asian Symposium, APLAS 2020, Fukuoka, Japan, November 30 – December 2, 2020, Proceedings
dc.identifier.doi 10.1007/978-3-030-64437-6_10
dc.relation.url https://link.springer.com/content/pdf/10.1007/978-3-030-64437-6_10
dc.contributor.department Department of Computer Science (RU)
dc.contributor.department Tölvunarfræðideild (HR)
dc.contributor.school School of Technology (RU)
dc.contributor.school Tæknisvið (HR)


Skrár

Þetta verk birtist í eftirfarandi safni/söfnum:

Skoða venjulega færslu