arrow
Return

Computation-Tree Semantics: An Algorithmic Approach to Structurally Defined Relations

delete2026-01-01
delete0
PRE
AI
H
Harbo, Sean Kristian Remond *
H
Huttel, Hans
DOI:10.1145/3779209.3779534delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Structural operational semantics (SOS) is one of the most common formalisms for specifying language semantics. There has been much interest in automatically deriving small-step SOS definitions from big-step definitions and vice versa, as well as towards extrapolating language implementations from these inductive, declarative definitions. This work presents Computation-Tree Semantics (CTS) in which semantic configurations are tree-structured, unlike standard SOS-configurations which are flat. This tree-structure is key in making our approach algorithmic, meaning it is able to describe how a transition is produced, contrary to the traditional declarative approach taken by SOS. We show how one can - in a straight-forward manner - obtain a CTS from the big-step semantics of a simple arithmetic language, a simple while language, and the call-by-need lambda-calculus as given by Launchbury. From the resulting CTS, we then obtain a small-step understanding of all these languages. The arithmetic language example is formalised in Coq/Rocq.
Keywords:
Structural operational semantics
structural relations
algorithmic
big-step semantics
small-step semantics
lambda calculus

Journal

P
PROCEEDINGS OF THE 2026 ACM SIGPLAN INTERNATIONAL WORKSHOP ON PARTIAL EVALUATION AND PROGRAM MANIPULATION, PEPM 2026
IF:
0
Papers:
5
Citations:
0

Organization

A
aalborg university
Scholars:
1.6W
Papers: 1.7W
Citations: 22