GALOIS CONNECTING CALL-BY-VALUE AND CALL-BY-NAME

dc.contributor.authorMcDermott, Dylan
dc.contributor.authorMycroft, Alan
dc.contributor.departmentDepartment of Computer Science
dc.date.accessioned2026-10-14T15:03:01Z
dc.date.available2026-10-14T15:03:01Z
dc.date.issued2024
dc.descriptionPublisher Copyright: © D. McDermott and A. Mycroft.en
dc.description.abstractWe establish a general framework for reasoning about the relationship between call-by-value and call-by-name. In languages with computational effects, call-by-value and call-by-name executions of programs often have different, but related, observable behaviours. For example, if a program might diverge but otherwise has no effects, then whenever it terminates under call-by-value, it terminates with the same result under call-by-name. We propose a technique for stating and proving properties like these. The key ingredient is Levy’s call-by-push-value calculus, which we use as a framework for reasoning about evaluation orders. We show that the call-by-value and call-by-name translations of expressions into call-by-push-value have related observable behaviour under certain conditions on computational effects, which we identify. We then use this fact to construct maps between the call-by-value and call-by-name interpretations of types, and identify further properties of effects that imply these maps form a Galois connection. These properties hold for some computational effects (such as divergence), but not others (such as mutable state). This gives rise to a general reasoning principle that relates call-by-value and call-by-name. We apply the reasoning principle to example computational effects including divergence and nondeterminism.en
dc.description.versionPeer revieweden
dc.format.extent622935
dc.format.extent13:1-13:43
dc.identifier.citationMcDermott, D & Mycroft, A 2024, 'GALOIS CONNECTING CALL-BY-VALUE AND CALL-BY-NAME', Logical Methods in Computer Science, vol. 20, no. 1, pp. 13:1-13:43. https://doi.org/10.46298/lmcs-20(1:13)2024en
dc.identifier.doi10.46298/lmcs-20(1:13)2024
dc.identifier.issn1860-5974
dc.identifier.other251342957
dc.identifier.other11843069-32f5-4263-b848-d24c160bfb6f
dc.identifier.other85186474767
dc.identifier.urihttps://hdl.handle.net/20.500.11815/8748
dc.language.isoen
dc.relation.ispartofseriesLogical Methods in Computer Science; 20(1)en
dc.relation.urlhttps://www.scopus.com/pages/publications/85186474767en
dc.rightsinfo:eu-repo/semantics/openAccessen
dc.subjectcall-by-push-valueen
dc.subjectcategorical semanticsen
dc.subjectcomputational effecten
dc.subjectevaluation orderen
dc.subjectTheoretical Computer Scienceen
dc.subjectGeneral Computer Scienceen
dc.titleGALOIS CONNECTING CALL-BY-VALUE AND CALL-BY-NAMEen
dc.type/dk/atira/pure/researchoutput/researchoutputtypes/contributiontojournal/articleen

Skrár

Original bundle

Niðurstöður 1 - 1 af 1
Nafn:
2202.08246.pdf
Stærð:
608.33 KB
Snið:
Adobe Portable Document Format