Reference. The categorical contours of the Chomsky-Schützenberger representation theorem
Cite
Cites 74 works (8 here)
With notes (8)
Parsing as a lifting problem and the Chomsky-Schützenberger representation theorem mellis_zeilberger_2022
We begin by explaining how any context-free grammar encodes a functor of operads from a freely generated operad into a certain “operad of spliced words”. This motivates a more general notion of CFG over any category , defined as a finite species equipped with a color denoting the start symbol and a functor of operads into the operad of spliced arrows in . We show that many standard properties of CFGs can be formulated within this framework, and that usual closure properties of CF languages generalize to CF languages of arrows. We also discuss a dual fibrational perspective on the functor via the notion of “displayed” operad, corresponding to a lax functor of operads .
We then turn to the Chomsky-Schützenberger Representation Theorem. We describe how a non-deterministic finite state automaton can be seen as a category equipped with a pair of objects denoting initial and accepting states and a functor of categories satisfying the unique lifting of factorizations property and the finite fiber property. Then, we explain how to extend this notion of automaton to functors of operads, which generalize tree automata, allowing us to lift an automaton over a category to an automaton over its operad of spliced arrows. We show that every CFG over a category can be pulled back along a ND finite state automaton over the same category, and hence that CF languages are closed under intersection with regular languages. The last important ingredient is the identification of a left adjoint to the operad of spliced arrows functor, building the “contour category” of an operad. Using this, we generalize the C-S representation theorem, proving that any context-free language of arrows over a category is the functorial image of the intersection of a -chromatic tree contour language and a regular language.
Displayed Categories ahrens-lumsdaine-2019
We introduce and develop the notion of displayed categories. A displayed category over a category is equivalent to “a category and functor , but instead of having a single collection of “objects of ” with a map to the objects of , the objects are given as a family indexed by objects of , and similarly for the morphisms. This encapsulates a common way of building categories in practice, by starting with an existing category and adding extra data/properties to the objects and morphisms. The interest of this seemingly trivial reformulation is that various properties of functors are more naturally defined as properties of the corresponding displayed categories. Grothendieck fibrations, for example, when defined as certain functors, use equality on objects in their definition. When defined instead as certain displayed categories, no reference to equality on objects is required. Moreover, almost all examples of fibrations in nature are, in fact, categories whose standard construction can be seen as going via displayed categories. We therefore propose displayed categories as a basis for the development of fibrations in the type-theoretic setting, and similarly for various other notions whose classical definitions involve equality on objects. Besides giving a conceptual clarification of such issues, displayed categories also provide a powerful tool in computer formalisation, unifying and abstracting common constructions and proof techniques of category theory, and enabling modular reasoning about categories of multi-component structures. As such, most of the material of this article has been formalised in Coq over the UniMath library, with the aim of providing a practical library for use in further developments.
An Isbell duality theorem for type refinement systems mellies-2017-an
Functors are type refinement systems mellies_zeilberger_2015
The standard reading of type theory through the lens of category theory is based on the idea of viewing a type system as a category of well-typed terms. We propose a basic revision of this reading: rather than interpreting type systems as categories, we describe them as functors from a category of typing derivations to a category of underlying terms. Then, turning this around, we explain how in fact any functor gives rise to a generalized type system, with an abstract notion of typing judgment, typing derivations and typing rules. This leads to a purely categorical reformulation of various natural classes of type systems as natural classes of functors.
The main purpose of this paper is to describe the general framework (which can also be seen as providing a categorical analysis of refinement types), and to present a few applications. As a larger case study, we revisit Reynolds’ paper on “The Meaning of Types” (2000), showing how the paper’s main results may be reconstructed along these lines.
Type refinement and monoidal closed bifibrations mellies_zeilberger_2013
An efficient context-free parsing algorithm Earley1970
On the translation of languages from left to right KNUTH1965607
Finite Automata and Their Decision Problems rabinFiniteAutomataTheir1959
External (66)
- Context-free languages as initial models of context-free grammars (2025)
- The produoidal algebra of process decomposition (2024)
- Syntactically and semantically regular languages of lambda-terms coincide through logical relations (2024)
- Monoidal context theory (2023)
- Multityped Abstract Categorial Grammars and Their Composition (2022)
- Regular monoidal languages (2022)
- A Kleene theorem for higher-dimensional automata (2022)
- Asynchronous Template Games and the Gray Tensor Product of 2-Categories (2021)
- Automata minimization: a functorial approach (2020)
- Classical linear logic, cobordisms and categorial grammars (2020)
- Polygraphs and discrete Conduché ω-functors (2018)
- A bifibrational reconstruction of Lawvere’s presheaf hyperdoctrine (2016)
- An enduring trail of language characterizations via homomorphism (talk) (2016)
- Introduction to the theory of computation (3rd edition) (2013)
- Mealy Morphisms of Enriched Categories (2012)
- Graph structure and monadic second-order logic: a language-theoretic approach (2012)
- Formal Relationships Between Geometrical and Classical Models for Concurrency (2010)
- The Hopf algebra of Möbius intervals (2010)
- To CNF or not to CNF? An efficient yet presentable version of the CYK algorithm (2009)
- Recognizability in the simply typed lambda-calculus (2009)
- The cartesian closed bicategory of generalised species of structures (2008)
- Tree automata techniques and applications (2008)
- Abstract and concrete models for recursion (2008)
- Asynchronous Games: Innocence Without Alternation (2007)
- Introduction to automata theory, languages, and computation (3rd edition) (2007)
- Unfolding synthesis of asynchronous automata (2006)
- Concurrent Automata vs. Asynchronous Systems (2005)
- On the Expressive Power of Abstract Categorial Grammars: Representing Context-Free Formalisms (2004)
- Quantum categories, star autonomy, and quantum groupoids (2004)
- Higher operads, higher categories (2004)
- From Petri Nets to Automata with Concurrency (2002)
- Operads in algebra, topology, and physics (2002)
- Towards Abstract Categorial Grammars (2001)
- Finite state automata: a geometric approach (2001)
- Exponentiability and single universes (2000)
- Unique factorisation lifting functors and categories of linearly-controlled processes (2000)
- On Recognizable Stable Trace Languages (2000)
- Distributors at work (2000)
- A note on discrete Conduché fibrations (1999)
- Combinatorial species and tree-like structures (1998)
- Specifying Interaction Categories (1997)
- Cohomology of Monoids in Monoidal Categories (1997)
- Automata and computability (1997)
- Span(Graph): a categorical algebra of transition systems (1997)
- Profinite categories, implicit operations and pseudovarieties of categories (1996)
- Quantaloids, enriched categories and automata theory (1995)
- Maps, hypermaps, and triangle groups (1994)
- On multiple context-free grammars (1991)
- Drawing curves over number fields (1990)
- A note on context-free languages (1989)
- How to cover a grammar (1989)
- Basic notions of trace theory (1989)
- Categories of asynchronous systems (1988)
- Parsing theory, volume I: languages and parsing (1988)
- Finite categories and regular languages (1988)
- Notes on finite asynchronous automata (1987)
- Foncteurs analytiques et espèces de structures (1986)
- State categories and response functors (1986)
- Varieties of finite categories (1986)
- Une théorie combinatoire des séries formelles (1981)
- Automata, languages, and machines, volume A (1974)
- 2-dimensional limits and colimits of distributors (or how to glue together categories) (1972)
- The Algebraic Theory of Context-Free Languages* (1963)
- On context-free languages and push-down automata (1963)
- Context-free grammars and push-down storage (1962)
- On formal properties of simple phrase structure grammars (1961)