Initial algebra semantics for cyclic sharing structures
From MaRDI portal
Abstract: Terms are a concise representation of tree structures. Since they can be naturally defined by an inductive type, they offer data structures in functional programming and mechanised reasoning with useful principles such as structural induction and structural recursion. However, for graphs or "tree-like" structures - trees involving cycles and sharing - it remains unclear what kind of inductive structures exists and how we can faithfully assign a term representation of them. In this paper we propose a simple term syntax for cyclic sharing structures that admits structural induction and recursion principles. We show that the obtained syntax is directly usable in the functional language Haskell and the proof assistant Agda, as well as ordinary data structures such as lists and trees. To achieve this goal, we use a categorical approach to initial algebra semantics in a presheaf category. That approach follows the line of Fiore, Plotkin and Turi's models of abstract syntax with variable binding.
Recommendations
Cites work
- Context logic and tree update
- Cyclic proofs for first-order logic with inductive definitions
- Depth-First Search and Linear Graph Algorithms
- Explicit substitutions and higher-order syntax
- Faking it Simulating dependent types in Haskell
- Foundations for structured programming with GADTs
- Free -monoids: A higher-order syntax with metavariables
- scientific article; zbMATH DE number 3448081 (Why is no real title available?)
- scientific article; zbMATH DE number 919844 (Why is no real title available?)
- Inductive families
- Infinite trees and completely iterative theories: A coalgebraic view
- Initial algebra semantics is enough!
- Models of sharing graphs. A categorical semantics of let and letrec
- Structural induction and coinduction in a fibrational setting
- The Category-Theoretic Solution of Recursive Domain Equations
- Two applications of analytic functors
- Variations on algebra: Monadicity and generalisations of equational theories
Cited in
(11)- On building cyclic and shared structures in Haskell
- Initial algebra semantics for cyclic sharing tree structures
- Recursion from cyclic sharing: traced monoidal categories and models of cyclic lambda calculi
- Term graph representations for cyclic \(\lambda\)-terms
- scientific article; zbMATH DE number 2154394 (Why is no real title available?)
- Models of sharing graphs. A categorical semantics of let and letrec
- scientific article; zbMATH DE number 7450001 (Why is no real title available?)
- A type- and scope-safe universe of syntaxes with binding: their semantics and proofs
- Strongly normalising cyclic data computation by iteration categories of second-order algebraic theories
- Initial algebras of terms with binding and algebraic structure
- Modular abstract syntax trees (MAST): substitution tensors with second-class sorts
This page was built for publication: Initial algebra semantics for cyclic sharing structures
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3637190)