Table of Contents
Fetching ...

Towards a Higher-Order Mathematical Operational Semantics

Sergey Goncharov, Stefan Milius, Lutz Schröder, Stelios Tsampas, Henning Urbat

TL;DR

A theory of abstract GSOS specifications for higher-order languages is developed, in effect transferring the core principles of Turi and Plotkin's framework to a higher-order setting, and a general compositionality result is given that applies to all systems specified in this way.

Abstract

Compositionality proofs in higher-order languages are notoriously involved, and general semantic frameworks guaranteeing compositionality are hard to come by. In particular, Turi and Plotkin's bialgebraic abstract GSOS framework, which has been successfully applied to obtain off-the-shelf compositionality results for first-order languages, so far does not apply to higher-order languages. In the present work, we develop a theory of abstract GSOS specifications for higher-order languages, in effect transferring the core principles of Turi and Plotkin's framework to a higher-order setting. In our theory, the operational semantics of higher-order languages is represented by certain dinatural transformations that we term pointed higher-order GSOS laws. We give a general compositionality result that applies to all systems specified in this way and discuss how compositionality of the SKI calculus and the $λ$-calculus w.r.t. a strong variant of Abramsky's applicative bisimilarity are obtained as instances.

Towards a Higher-Order Mathematical Operational Semantics

TL;DR

A theory of abstract GSOS specifications for higher-order languages is developed, in effect transferring the core principles of Turi and Plotkin's framework to a higher-order setting, and a general compositionality result is given that applies to all systems specified in this way.

Abstract

Compositionality proofs in higher-order languages are notoriously involved, and general semantic frameworks guaranteeing compositionality are hard to come by. In particular, Turi and Plotkin's bialgebraic abstract GSOS framework, which has been successfully applied to obtain off-the-shelf compositionality results for first-order languages, so far does not apply to higher-order languages. In the present work, we develop a theory of abstract GSOS specifications for higher-order languages, in effect transferring the core principles of Turi and Plotkin's framework to a higher-order setting. In our theory, the operational semantics of higher-order languages is represented by certain dinatural transformations that we term pointed higher-order GSOS laws. We give a general compositionality result that applies to all systems specified in this way and discuss how compositionality of the SKI calculus and the -calculus w.r.t. a strong variant of Abramsky's applicative bisimilarity are obtained as instances.
Paper Structure (20 sections, 19 theorems, 118 equations, 4 figures)

This paper contains 20 sections, 19 theorems, 118 equations, 4 figures.

Key Result

Proposition 3.3

The bisimilarity relation $\sim$ is a congruence.

Figures (4)

  • Figure 1: Operational semantics of the $\textbf{xCL}\xspace$ calculus.
  • Figure 2: Small-step operational semantics of the call-by-name $\lambda$-calculus.
  • Figure 3: Law $\varrho^{{\mathrm{cn}}}$ in the form of inference rules.
  • Figure 4: Small-step operational semantics of the call-by-value $\lambda$-calculus.

Theorems & Definitions (68)

  • Example 2.1: Algebras over a signature
  • Example 2.2
  • Example 2.3
  • Remark 3.1
  • Example 3.2
  • Proposition 3.3: Compositionality of $\textbf{xCL}\xspace$
  • proof
  • Definition 3.4: $\mathcal{HO}$ rule format
  • Example 3.5
  • Proposition 3.6: Compositionality of $\mathcal{HO}$
  • ...and 58 more