Reference. Wellfounded Trees and Dependent Polynomial Functors
Cite
Cited by (6)
Compositional Program Verification with Polynomial Functors in Dependent Type Theory aberle-2026-compositional
Intrinsic Verification of Parsers and Formal Grammar Theory in Dependent Lambek Calculus intrinsic-verification-of-parsers
We present Dependent Lambek Calculus (Lambek), a domain-specific dependent type theory for verified parsing and formal grammar theory. In Lambek, linear types are used as a syntax for formal grammars, and parsers can be written as linear terms. The linear typing restriction provides a form of intrinsic verification that a parser yields only valid parse trees for the input string. We demonstrate the expressivity of this system by showing that the combination of inductive linear types and dependency on non-linear data can be used to encode commonly used grammar formalisms such as regular and context-free grammars as well as traces of various types of automata. Using these encodings, we define parsers for regular expressions using deterministic automata, as well as examples of verified parsers of context-free grammars.
We present a denotational semantics of our type theory that interprets the linear types as functions from strings to sets of abstract parse trees and terms as parse transformers. Based on this denotational semantics, we have made a prototype implementation of Lambek using a shallow embedding in the Agda proof assistant. All of our examples parsers have been implemented in this prototype implementation.
Quotients, inductive types, and quotient inductive types fiore-2022-quotients
A Combinatorial Approach to Higher-Order Structure for Polynomial Functors fiore-2022-a
Quantitative Polynomial Functors nakov_quantitative_2022
Indexed containers altenkirch_indexed_2015
Cites 19 works (0 here)
External (19)
- Categories of Containers (2003)
- The differential lambda-calculus (2003)
- Categories of Containers (Abbott, PhD thesis, Leicester) (2003)
- Wellfounded trees in categories (2000)
- Categories for the working mathematician (2nd ed.) (1998)
- The type theory of categorical universes (Maietti, PhD thesis, Padova) (1998)
- Representing inductively defined sets by wellorderings in Martin-Löf's type theory (1997)
- On the interpretation of type theory in locally cartesian closed categories (1995)
- The strength of some Martin-Löf type theories (1994)
- Programming in Martin-Löf Type Theory (1990)
- The Type Theoretic Interpretation of Constructive Set Theory: Inductive Definitions (1986)
- Toposes, triples and theories (1985)
- Locally cartesian closed categories and type theory (1984)
- Intuitionistic Type Theory (Martin-Löf, Bibliopolis) (1984)
- Basic Concepts of Enriched Category Theory (1982)
- A unified treatment of transfinite constructions for free algebras, free monoids, colimits, associated sheaves, and so on (1980)
- Review of the elements of 2-categories (1974)
- Aspects of topoi (1972)
- The formal theory of monads (1972)