A Relational Theory of Monadic Rewriting Systems, Part I

Motivated by the study of effectful programming languages and computations, we introduce a relational theory of monadic rewriting systems. The latter are rewriting systems whose notion of reduction is effectful, where effects are modelled as monads. Contrary to what happens in the ordinary operation...

Full description

Saved in:
Bibliographic Details
Published in:Proceedings of the 36th Annual ACM/IEEE Symposium on Logic in Computer Science pp. 1 - 14
Main Authors: Gavazzo, Francesco, Faggian, Claudia
Format: Conference Proceeding
Language:English
Published: IEEE 29.06.2021
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract Motivated by the study of effectful programming languages and computations, we introduce a relational theory of monadic rewriting systems. The latter are rewriting systems whose notion of reduction is effectful, where effects are modelled as monads. Contrary to what happens in the ordinary operational semantics of monadic programming languages, defining meaningful notions of monadic rewriting turns out to problematic for several monads, including the distribution, powerset, reader, and global state monad. This raises the question of when monadic rewriting is possible. We answer that question by identifying a class of monads, known as weakly cartesian monads, that guarantee monadic rewriting to be well-behaved. In case monads are given as equational theories, as it is the case for algebraic effects, we also show that a sufficient condition to have a well-behaved notion of monadic rewriting is that all equations in the theory are linear. Finally, we apply the abstract theory of monadic rewriting systems to the call-by-value λ-calculus with algebraic effects, this way obtaining effectful (surface) standardisation and confluence theorems.
AbstractList Motivated by the study of effectful programming languages and computations, we introduce a relational theory of monadic rewriting systems. The latter are rewriting systems whose notion of reduction is effectful, where effects are modelled as monads. Contrary to what happens in the ordinary operational semantics of monadic programming languages, defining meaningful notions of monadic rewriting turns out to problematic for several monads, including the distribution, powerset, reader, and global state monad. This raises the question of when monadic rewriting is possible. We answer that question by identifying a class of monads, known as weakly cartesian monads, that guarantee monadic rewriting to be well-behaved. In case monads are given as equational theories, as it is the case for algebraic effects, we also show that a sufficient condition to have a well-behaved notion of monadic rewriting is that all equations in the theory are linear. Finally, we apply the abstract theory of monadic rewriting systems to the call-by-value λ-calculus with algebraic effects, this way obtaining effectful (surface) standardisation and confluence theorems.
Author Faggian, Claudia
Gavazzo, Francesco
Author_xml – sequence: 1
  givenname: Francesco
  surname: Gavazzo
  fullname: Gavazzo, Francesco
  organization: University of Bologna & INRIA Sophia Antipolis
– sequence: 2
  givenname: Claudia
  surname: Faggian
  fullname: Faggian, Claudia
  organization: University of Paris,Laboratoire IRIF - Équipe PPS
BookMark eNotj11LwzAYhSMoqLO_QJD8AFvzJmk-LkfRWahsuHk90uStRrpW2oL031twV4fDA4fn3JLLru-QkAdgGQCzT1VZ7HPOlcw445BZqZkS4oIkVhtQKpfS2Fxdk2Qcvxlj3Ghg0t4Qs6bv2Lop9p1r6eEL-2GmfUPflh6iX-DvEKfYfdL9PE54Gh_pzg0TLe_IVePaEZNzrsjHy_OheE2r7aYs1lXqhIYplYCy5j6oHGvDTPAMHHpVC6vCIiHRI3daKC1zA7ZWFmwTfEAJPgQurViR-__diIjHnyGe3DAfz__EHzfDR38
ContentType Conference Proceeding
DBID 6IE
6IH
CBEJK
RIE
RIO
DOI 10.1109/LICS52264.2021.9470633
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Proceedings Order Plan (POP) 1998-present by volume
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP) 1998-present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9781665448956
1665448954
EndPage 14
ExternalDocumentID 9470633
Genre orig-research
GroupedDBID 6IE
6IH
ACM
ALMA_UNASSIGNED_HOLDINGS
APO
CBEJK
GUFHI
LHSKQ
RIE
RIO
ID FETCH-LOGICAL-a371t-41e4b2cd65eb808dc01aec6b396d2874ece2a736745819b6919fdcde41cdd2493
IEDL.DBID RIE
ISICitedReferencesCount 4
ISICitedReferencesURI http://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=Summon&SrcAuth=ProQuest&DestLinkType=CitingArticles&DestApp=WOS_CPL&KeyUT=000947350400052&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D
IngestDate Wed Aug 27 02:23:08 EDT 2025
IsDoiOpenAccess false
IsOpenAccess true
IsPeerReviewed false
IsScholarly true
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-a371t-41e4b2cd65eb808dc01aec6b396d2874ece2a736745819b6919fdcde41cdd2493
OpenAccessLink https://hal.science/hal-03455778
PageCount 14
ParticipantIDs ieee_primary_9470633
PublicationCentury 2000
PublicationDate 2021-June-29
PublicationDateYYYYMMDD 2021-06-29
PublicationDate_xml – month: 06
  year: 2021
  text: 2021-June-29
  day: 29
PublicationDecade 2020
PublicationTitle Proceedings of the 36th Annual ACM/IEEE Symposium on Logic in Computer Science
PublicationTitleAbbrev LICS
PublicationYear 2021
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0002871049
Score 2.2169566
Snippet Motivated by the study of effectful programming languages and computations, we introduce a relational theory of monadic rewriting systems. The latter are...
SourceID ieee
SourceType Publisher
StartPage 1
SubjectTerms Algebra
Computational modeling
Computer languages
Computer science
Focusing
Semantics
Sufficient conditions
Title A Relational Theory of Monadic Rewriting Systems, Part I
URI https://ieeexplore.ieee.org/document/9470633
WOSCitedRecordID wos000947350400052&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1LawIxEB5UeujJtlr6JoceXTWb97FIpYKI0Ba8STaZLUJZi4_27zdZV0uhl95CQghMMnwzk_lmAO6dFzRnWiapSaODgjyx8cNRaylsblOKoiQKj9VkomczM61B58CFQcQy-Qy7cVj-5ful28ZQWc9wFRCV1aGulNxxtQ7xlGj5B2u3IgHTvumNR4PnaF3EyElKu9XmX11UShAZNv93_Am0f9h4ZHrAmVOoYXEGzX07BlJpZwv0A9mnttl3siPdk2VOgtpav3Bh8StWMCreSFWmvEOm4eGQURteh48vg6ekaoyQWKboJuEUeZY6LwVmuq-961OLTmbMSB_r12Ps8qWYVFwEwM-koSb3ziOnzvvgb7FzaBTLAi-AeKFYLpgTzgXHglmbopDMZizjefAW-SW0oiDmH7vaF_NKBld_T1_DcZR1TKVKzQ00Nqst3sKR-9ws1qu78sK-AVpzlVU
linkProvider IEEE
linkToHtml http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1LSwMxEB5qFfRUtRXf5uCx226emxylWFpcS8EKvZVskhVBtlJb_fsm221F8OItJATCJMM3M5lvBuDWWI5zKkVEFAkOimORDh-OUgquc02w4yVROE1GIzmdqnEN2lsujHOuTD5znTAs__Lt3KxCqKyrWOIRle7ALmeMxGu21jaiEmx_b-9WNGAcq2467D0F-yLETgjuVNt_9VEpYaTf-N8BDqH1w8dD4y3SHEHNFcfQ2DRkQJV-NkHeoU1ym35Da9o9mufIK662r8YvfoUaRsULqgqVt9HYPx00bMFz_37SG0RVa4RI0wQvI4Ydy4ixgrtMxtKaGGtnREaVsKGCvQt9vhIqEsY95GdCYZVbYx3DxlrvcdETqBfzwp0CsjyhOaeGG-NdC6o1cVxQndGM5d5fZGfQDIKYva-rX8wqGZz_PX0D-4PJYzpLh6OHCzgIcg-JVURdQn25WLkr2DOfy9ePxXV5ed9RSJic
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=Proceedings+of+the+36th+Annual+ACM%2FIEEE+Symposium+on+Logic+in+Computer+Science&rft.atitle=A+Relational+Theory+of+Monadic+Rewriting+Systems%2C+Part+I&rft.au=Gavazzo%2C+Francesco&rft.au=Faggian%2C+Claudia&rft.date=2021-06-29&rft.pub=IEEE&rft.spage=1&rft.epage=14&rft_id=info:doi/10.1109%2FLICS52264.2021.9470633&rft.externalDocID=9470633