~/talk

Deriving an Erlang Interpreter from a Mechanised Formal Semantics of Core Erlang

Talkat Erlang 2025 · on Sunday, 2025-10-12· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Derives a runnable Erlang interpreter by extracting Gallina functions from a Coq mechanised semantics of Core Erlang into Haskell, applying three extraction optimizations: strict substitution, replacing maps/sets with stdlib equivalents, and simplified substitutions. Adds a scheduler to make nondeterministic semantics deterministic and builds a computation-graph explorer that enumerates interleavings for a 100-process concurrent example. Reports that even after optimisations 96% of runtime is spent on structural substitutions, so the interpreter is correct and usable but slow.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Core Erlang semantics foundation
  3. 2:15Sequential semantics layer
  4. 5:30Actor model in Core Erlang
  5. 7:15Process local semantics
  6. 10:34Interprocess nondeterminism
  7. 16:56Rocq proof assistant implementation
  8. 17:38Executable functions from definitions
  9. 21:41Node style interpreter interface
  10. 22:43Haskell extraction and optimizations
  11. 25:13Efficient substitution and maps
  12. 26:19Scheduler and cycles
  13. 28:03Erlang ecosystem integration
  14. 29:11Parallel execution explorer
  15. 31:02Pros and cons
  16. 33:33Performance challenges
  17. 34:15Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.