Reference. Second-Order and Dependently-Sorted Abstract Syntax
Cite
Cited by (5)
Modular models of monoids with operations by lifting functors along fibrations yang-2026-modular
Inspired by Plotkin and Power’s algebraic treatment of computational effects and the principle of notions of computations as monoids, we propose a categorical framework for equational theories and models of monoids equipped with operations. This framework generalises Plotkin and Power’s algebraic treatment of effectful operations taking or returning values as input or output to operations that may take or return computations as input or output. Additionally, to give semantic models of computational effects in a modular way, we introduce a formal theory of modular constructions of algebraic structures based on the framework of lifting functors along fibrations.
Modular abstract syntax trees (MAST): substitution tensors with second-class sorts fiore-2025-modular
We adapt Fiore, Plotkin, and Turi’s treatment of abstract syntax with binding, substitution, and holes to account for languages with second-class sorts. These situations include programming calculi such as the Call-by-Value lambda-calculus (CBV) and Levy’s Call-by-Push-Value (CBPV). Prohibiting second-class sorts from appearing in variable contexts changes the characterisation of the abstract syntax from monoids in monoidal categories to actions in actegories. We reproduce much of the development through bicategorical arguments. We apply the resulting theory by proving substitution lemmata for varieties of CBV.
Substructural Abstract Syntax with Variable Binding and Single-Variable Substitution fiore-2025-substructural
Modular Models of Monoids with Operations yang-2023-modular
Inspired by algebraic effects and the principle of notions of computations as monoids, we study a categorical framework for equational theories and models of monoids equipped with operations. The framework covers not only algebraic operations but also scoped and variable-binding operations. Appealingly, in this framework both theories and models can be modularly composed. Technically, a general monoid-theory correspondence is shown, saying that the category of theories of algebraic operations is equivalent to the category of monoids. Moreover, more complex forms of operations can be coreflected into algebraic operations, in a way that preserves initial algebras. On models, we introduce modular models of a theory, which can interpret abstract syntax in the presence of other operations. We show constructions of modular models (i) from monoid transformers, (ii) from free algebras, (iii) by composition, and (iv) in symmetric monoidal categories.
Formal metatheory of second-order abstract syntax fiore-2022-formal
Despite extensive research both on the theoretical and practical fronts, formalising, reasoning about, and implementing languages with variable binding is still a daunting endeavour – repetitive boilerplate and the overly complicated metatheory of capture-avoiding substitution often get in the way of progressing on to the actually interesting properties of a language. Existing developments offer some relief, however at the expense of inconvenient and error-prone term encodings and lack of formal foundations. We present a mathematically-inspired language-formalisation framework implemented in Agda. The system translates the description of a syntax signature with variable-binding operators into an intrinsically-encoded, inductive data type equipped with syntactic operations such as weakening and substitution, along with their correctness properties. The generated metatheory further incorporates metavariables and their associated operation of metasubstitution, which enables second-order equational/rewriting reasoning. The underlying mathematical foundation of the framework – initial algebra semantics – derives compositional interpretations of languages into their models satisfying the semantic substitution lemma by construction.
Cites 23 works (1 here)
With notes (1)
Abstract syntax and variable binding fiore_etal_nd
We develop a theory of abstract syntax with variable binding. To every binding signature we associate a category of models consisting of variable sets endowed with compatible algebra and substitution structures. The syntax generated by the signature is the initial model. This gives a notion of initial algebra semantics encompassing the traditional one; besides compositionality, it automatically verifies the semantic substitution lemma.
External (22)
- Term Equational Systems and Logics (2008)
- Equational systems and free constructions (2007)
- towards a mathematical theory of substitution (2007)
- A mathematical theory of substitution and its applications to syntax and semantics (invited tutorial, ICMS 2007) [probable identity of Crossref key 7, which is empty] (2007)
- Alpha-structural recursion and induction (2006)
- On the structure of substitution (invited address, MFPS XXII) [probable] (2006)
- A unified category-theoretic formulation of typed binding signatures (2005)
- Mathematical Models of Computational and Combinatorial Structures (2005)
- Free Σ-Monoids: A Higher-Order Syntax with Metavariables (2004)
- A framework for typed HOAS and semantics (2003)
- A New Approach to Abstract Syntax with Variable Binding (2002)
- Semantic analysis of normalisation by evaluation for typed lambda calculus (2002)
- A note on actions of a monoidal category (2001)
- Practical Foundations of Mathematics (1999)
- Category Theory for Computing Science (1999)
- first-order logic with dependent sorts, with applications to category theory (1997)
- Complexity doctrines (PhD thesis) (1995)
- more on graphic toposes (1991)
- Generalised algebraic theories and contextual categories (1986)
- Algebraic specification of data types: A synthetic approach (1981)
- a general church-rosser theorem (1978)
- Strong functors and monoidal monads (1972)