A Proof Assistant Based Formalisation of Core Erlang

Péter Bereczky, Dániel Horpácsi, Simon Thompson
5/24/2020
cs.PL

Official code: harp-project/Core-Erlang-Formalization (20 stars, Rocq Prover, last commit 2026-11-16).

Abstract

Our research is part of a wider project that aims to investigate and reason about the correctness of scheme-based source code transformations of Erlang programs. In order to formally reason about the definition of a programming language and the software built using it, we need a mathematically rigorous description of that language.

Show full abstract

In this paper, we present our proof-assistant-based formalisation of a subset of Erlang, intended to serve as a base for proving refactorings correct. After discussing how we reused concepts from related work, we show the syntax and semantics of our formal description, including the abstractions involved (e.g. closures). We also present essential properties of the formalisation (e.g. determinism) along with their machine-checked proofs. Finally, we prove the correctness of some simple refactoring strategies.

View on arXivView PDF

Code Implementations(1)

205Rocq Prover, HaskellNov 27, 20192 weeks agoNOASSERTION
big-step-semanticsconcurrencycore-erlangformalizationprogram-equivalence+2 more

Similar Papers

Cite this paper

@article{bereczky2020proof,
  title  = {A Proof Assistant Based Formalisation of Core Erlang},
  author = {Péter Bereczky and Dániel Horpácsi and Simon Thompson},
  year   = {2020},
  eprint = {2005.11821},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.11821}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.11821.svg)](https://codeofpaper.com/paper/2005.11821)

Discussion