Higher-order Abstract GSOS

A categorical framework of higher-order programming languages.

Summary

Higher-order Abstract GSOS (HO-GSOS), also known as Higher-order Mathematical Operational Semantics, is a novel categorical framework to develop, implement and study the properties of higher-order programming languages.

Our framework extends the original, first-order counterpart of (first-order) Abstract GSOS introduced by Turi and Plotkin in their seminal 1997 paper Towards a Mathematical Operational Semantics [1]. In it, Turi and Plotkin present a conceptual realization of operational semantics as certain kinds of distributive laws (natural transformations) in a suitable category, in effect giving programming languages a generic, mathematical definition. There two main advantages attributed to Abstract GSOS: first, distributive laws are especially precise when it comes to the modelling of certain classes of first-order systems such as (first-order) process calculi. Second, bisimilarity for languages expressed in Abstract GSOS is automatically a congruence, a fundamental well-behavedness property that is typically hard to prove.

By far, the most crucial limitation of Abstract GSOS was its inability to model higher-order systems such as the \(\lambda\)-calculus. In early 2023 [2], a number of researchers from the Theoretical Computer Science group at FAU Erlangen-Nürnberg, which included myself, managed to finally extend Abstract GSOS to the higher-order setting, thus initiating the research programme on Higher-order Abstract GSOS.

Publications on HO-GSOS

  • Abstract Operational Methods for Call-by-Push-Value, POPL’25 [3]
  • Bialgebraic Reasoning on Higher-Order Program Equivalence, LICS’24 [4]
  • Logical Predicates in Higher-Order Mathematical Operational Semantics, FoSSaCS’24 [5]
  • Weak Similarity in Higher-Order Mathematical Operational Semantics, LICS’23 [6]
  • Towards a Higher-Order Mathematical Operational Semantics, POPL’23 [2]

Project Outline

Since the beginning of the HO-GSOS project in 2023 with its intruduction in Gocharov et al. [2], there has been important progress in a variety of fronts, such as implementing Logical Relations and Howe’s method ([4], [5], [6]). However, the vast majority of the work is ahead of us. We can divide this future work, and by extension the future of HO-GSOS, in four main categories:

  • Programming paradigms, i.e. supporting the various diverse classes of languages.
  • Reasoning methodologies, i.e. developing more methods to reason about program correctness.
  • Secure compilation, i.e. developing a theory on secure/verified compilation.
  • Mechanization/implementation, i.e. developing verification tools based on HO-GSOS.

The following diagram provides an overview of the completed work and our future plans on HO-HSOS.

Overview of the Higher-order Abstract GSOS project.

References

2025

  1. POPL
    Abstract Operational Methods for Call-by-Push-Value
    Sergey Goncharov, Stelios Tsampas, and Henning Urbat
    Proc. ACM Program. Lang., Jan 2025

2024

  1. LICS
    Bialgebraic Reasoning on Higher-Order Program Equivalence
    Sergey Goncharov, Stefan Milius, Stelios Tsampas, and Henning Urbat
    In 39th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2024), Jan 2024
  2. FoSSaCS
    Logical Predicates in Higher-Order Mathematical Operational Semantics
    Sergey Goncharov, Alessio Santamaria, Lutz Schröder, Stelios Tsampas, and Henning Urbat
    In 27th International Conference on Foundations of Software Science and Computation Structures (FoSSaCS 2024), Jan 2024

2023

  1. POPL
    Towards a Higher-Order Mathematical Operational Semantics
    Sergey Goncharov, Stefan Milius, Lutz Schröder, Stelios Tsampas, and Henning Urbat
    Proc. ACM Program. Lang., Jan 2023
  2. LICS
    Weak Similarity in Higher-Order Mathematical Operational Semantics
    Henning Urbat, Stelios Tsampas, Sergey Goncharov, Stefan Milius, and Lutz Schröder
    In 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2023), Jan 2023

1997

  1. LICS
    Towards a Mathematical Operational Semantics
    Daniele Turi, and Gordon D. Plotkin
    In 12th Annual IEEE Symposium on Logic in Computer Science (LICS 1997), Jan 1997