GALOIS CONNECTING CALL-BY-VALUE AND CALL-BY-NAME
| dc.contributor.author | McDermott, Dylan | |
| dc.contributor.author | Mycroft, Alan | |
| dc.contributor.department | Department of Computer Science | |
| dc.date.accessioned | 2026-10-14T15:03:01Z | |
| dc.date.available | 2026-10-14T15:03:01Z | |
| dc.date.issued | 2024 | |
| dc.description | Publisher Copyright: © D. McDermott and A. Mycroft. | en |
| dc.description.abstract | We 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.version | Peer reviewed | en |
| dc.format.extent | 622935 | |
| dc.format.extent | 13:1-13:43 | |
| dc.identifier.citation | McDermott, 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)2024 | en |
| dc.identifier.doi | 10.46298/lmcs-20(1:13)2024 | |
| dc.identifier.issn | 1860-5974 | |
| dc.identifier.other | 251342957 | |
| dc.identifier.other | 11843069-32f5-4263-b848-d24c160bfb6f | |
| dc.identifier.other | 85186474767 | |
| dc.identifier.uri | https://hdl.handle.net/20.500.11815/8748 | |
| dc.language.iso | en | |
| dc.relation.ispartofseries | Logical Methods in Computer Science; 20(1) | en |
| dc.relation.url | https://www.scopus.com/pages/publications/85186474767 | en |
| dc.rights | info:eu-repo/semantics/openAccess | en |
| dc.subject | call-by-push-value | en |
| dc.subject | categorical semantics | en |
| dc.subject | computational effect | en |
| dc.subject | evaluation order | en |
| dc.subject | Theoretical Computer Science | en |
| dc.subject | General Computer Science | en |
| dc.title | GALOIS CONNECTING CALL-BY-VALUE AND CALL-BY-NAME | en |
| dc.type | /dk/atira/pure/researchoutput/researchoutputtypes/contributiontojournal/article | en |
Skrár
Original bundle
1 - 1 af 1
- Nafn:
- 2202.08246.pdf
- Stærð:
- 608.33 KB
- Snið:
- Adobe Portable Document Format