Skip to main content
Kent Academic Repository

Program Equivalence in the Erlang Actor Model

Bereczky, Péter, Horpácsi, Dániel, Thompson, Simon (2024) Program Equivalence in the Erlang Actor Model. Computers, 13 (11). Article Number 276. ISSN 2073-431X. (doi:10.3390/computers13110276) (KAR id:107619)

Abstract

This paper presents the formal semantics of concurrency in Core Erlang, an intermediate language for Erlang, along with a notion of program equivalence (based on barbed bisimulation) that is able to model equivalence between programs that have different communication structures but the same observable behaviour. The novelty in our formalisation is its extent: it includes semantics for messages and exit and link signals, in addition to most of Core Erlang’s sequential features. Furthermore, unlike previous studies, this work formalises message receipt using primitive operations, consistent with the standard as of Erlang/OTP 23. In this novel formalisation, we show some generally applicable program equivalences (such as process identifier renaming and silent evaluation) and present a practical case study featuring the equivalence of sequential and concurrent list processing.

Item Type: Article
DOI/Identification number: 10.3390/computers13110276
Uncontrolled keywords: Formal semantics; program equivalence; Erlang; barbed bisimulation; concurrency; Coq
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Funders: University of Kent (https://ror.org/00xkeyj56)
Depositing User: S. Thompson
Date Deposited: 26 Oct 2024 15:32 UTC
Last Modified: 21 Nov 2024 15:51 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/107619 (The current URI for this page, for reference purposes)

University of Kent Author Information

  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.