Table of Contents
Fetching ...

Higher-Order Bialgebraic Semantics

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

TL;DR

The paper addresses the challenge of achieving compositional operational semantics for higher-order languages by extending the abstract GSOS framework to higher-order settings through $V$-pointed higher-order GSOS laws. It shows that such laws induce an operational model as the initial higher-order bialgebra and a denotational model on a final coalgebra, and under mild regularity assumptions, yield a kernel-pair congruence guaranteeing compositionality. The framework is instantiated for SKI combinatory logic and for both call-by-name and call-by-value $\lambda$-calculi within presheaf-based semantic domains, connecting to strong applicative bisimilarity. Typed extensions and future directions (effects, environment-based techniques, and law-morphism notions) are discussed, highlighting a path toward systematic, high-level reasoning for higher-order languages.

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 provides 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 \emph{(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 combinatory logics and the $λ$-calculus w.r.t.\ a strong variant of Abramsky's applicative bisimilarity are obtained as instances.

Higher-Order Bialgebraic Semantics

TL;DR

The paper addresses the challenge of achieving compositional operational semantics for higher-order languages by extending the abstract GSOS framework to higher-order settings through -pointed higher-order GSOS laws. It shows that such laws induce an operational model as the initial higher-order bialgebra and a denotational model on a final coalgebra, and under mild regularity assumptions, yield a kernel-pair congruence guaranteeing compositionality. The framework is instantiated for SKI combinatory logic and for both call-by-name and call-by-value -calculi within presheaf-based semantic domains, connecting to strong applicative bisimilarity. Typed extensions and future directions (effects, environment-based techniques, and law-morphism notions) are discussed, highlighting a path toward systematic, high-level reasoning for higher-order languages.

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 provides 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 \emph{(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 combinatory logics and the -calculus w.r.t.\ a strong variant of Abramsky's applicative bisimilarity are obtained as instances.
Paper Structure (20 sections, 19 theorems, 110 equations, 4 figures)

This paper contains 20 sections, 19 theorems, 110 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 (65)

  • Example 2.1
  • Example 2.2
  • 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}$
  • Theorem 3.7
  • ...and 55 more