Reference. The mathematics of sentence structure
Cite
Cited by (22)
Modular models of monoids with operations by lifting functors along fibrations yang-2026-modular
Ordered Adjoint Logic roshal-2026-ordered
The free bifibration on a functor clarke-2025-the
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.
Substructural Parametricity aberle-2025-substructural
On the complexity of normalization for the planar -calculus das-2024-on
ACGtk: A toolkit for developing and running abstract categorial grammars Guillaume2024
The Sequent Calculus of Skew Monoidal Categories uustalu-2020-the
Proof Theory of Partially Normal Skew Monoidal Categories uustalu-2021-proof
Bifibrations of Polycategories and Classical Linear Logic blanco-2020-bifibrations
Eilenberg-Kelly Reloaded uustalu-2020-eilenberg
A generalised quantifier theory of natural language in categorical compositional distributional semantics with bialgebras hedges-2019-a
A sequent calculus for a semi-associative law zeilberger-2019-a
On the Lambek Calculus with an Exchange Modality depaiva-eades-jiang-2019-lambek-exchange
Dialectica Categories for the Lambek Calculus depaiva2018-dialectica-lambek
Substructural calculi with dependent types luo
In this paper, we investigate how to introduce dependent types into the substructural calculi such as the Lambek calculus and linear logic. The motivations of such a move include facilitating a closer correspondence between syntax and semantics in natural language analysis and developing promising applications such as that to concurrency through dependent session types.
We shall present two substructural calculi with dependent types: the first containing dependent Lambek types and the second dependent linear types. Technically, the former adheres to the usual assumption that types do not depend on substructural variables (in this case, the Lambek variables), which makes the technical development easier, while the latter allows type dependency on linear variables, which makes the development more challenging as well as more interesting in applications.
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.
Multi-Sorted Residuation buszkowski_2014
Type Logics in Grammar buszkowskiTypeLogicsGrammar2003
Nonsymmetric *-autonomous categories barr1995-nonsymmetric-star-autonomous
Closed Categories and Categorial Grammar dougherty-1993
Categorial and categorical grammars lambek1988categorial
Cites 17 works (1 here)
With notes (1)
Three models for the description of language chomThreeModels1956
External (16)
- Syntactic Structures (1957)
- Introduction to Mathematical Logic, vol. 1 (1956)
- Logic, Semantics, Metamathematics (1956)
- Machine Translation of Languages (1955)
- A Quasi-Arithmetical Notation for Syntactic Description (1953)
- Lecons de Logique Algebrique (1952)
- The Structure of English (1952)
- Introduction to Metamathematics (1952)
- Mathematical Logic (1951)
- The Elements of Mathematical Logic (1950)
- A formulation of the simple theory of types (1940)
- Logical Syntax of Language (1937)
- Untersuchungen über das logische Schließen. I (1935)
- Die syntaktische Konnexitat (1935)
- Über die Bausteine der mathematischen Logik (1924)
- The Philosophy of Grammar (1924)