We investigate program equivalence for linear higher-order (sequential) languages endowed with primitives for computational effects. More specifically, we study operationally-based notions of program equivalence for a linear γ-calculus with explicit copying and algebraic effects à la Plotkin and Power. Such a calculus makes explicit the interaction between copying and linearity, which are intensional aspects of computation, with effects, which are, instead, extensional. We review some of the notions of equivalences for linear calculi proposed in the literature and show their limitations when applied to effectful calculi where copying is a first-class citizen. We then introduce resource transition systems, namely transition systems whose states are built over tuples of programs representing the available resources, as an operational semantics accounting for both intensional and extensional interactive behaviours of programs. Our main result is a sound and complete characterization of contextual equivalence as trace equivalence defined on top of resource transition systems.

Resource transition systems and full abstraction for linear higher-order effectful programs / Dal Lago U.; Gavazzo F.. - ELETTRONICO. - 195:(2021), pp. 23.1-23.19. (Intervento presentato al convegno 6th International Conference on Formal Structures for Computation and Deduction, FSCD 2021 tenutosi a arg nel 2021) [10.4230/LIPIcs.FSCD.2021.23].

Resource transition systems and full abstraction for linear higher-order effectful programs

Dal Lago U.
;
Gavazzo F.
2021

Abstract

We investigate program equivalence for linear higher-order (sequential) languages endowed with primitives for computational effects. More specifically, we study operationally-based notions of program equivalence for a linear γ-calculus with explicit copying and algebraic effects à la Plotkin and Power. Such a calculus makes explicit the interaction between copying and linearity, which are intensional aspects of computation, with effects, which are, instead, extensional. We review some of the notions of equivalences for linear calculi proposed in the literature and show their limitations when applied to effectful calculi where copying is a first-class citizen. We then introduce resource transition systems, namely transition systems whose states are built over tuples of programs representing the available resources, as an operational semantics accounting for both intensional and extensional interactive behaviours of programs. Our main result is a sound and complete characterization of contextual equivalence as trace equivalence defined on top of resource transition systems.
2021
6th International Conference on Formal Structures for Computation and Deduction (FSCD 2021)
1
19
Resource transition systems and full abstraction for linear higher-order effectful programs / Dal Lago U.; Gavazzo F.. - ELETTRONICO. - 195:(2021), pp. 23.1-23.19. (Intervento presentato al convegno 6th International Conference on Formal Structures for Computation and Deduction, FSCD 2021 tenutosi a arg nel 2021) [10.4230/LIPIcs.FSCD.2021.23].
Dal Lago U.; Gavazzo F.
File in questo prodotto:
File Dimensione Formato  
fscd2021.pdf

accesso aperto

Tipo: Versione (PDF) editoriale
Licenza: Licenza per Accesso Aperto. Creative Commons Attribuzione (CCBY)
Dimensione 885.82 kB
Formato Adobe PDF
885.82 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/834269
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? ND
social impact