Reference. Type Logics in Grammar
Cite
Cited by (1)
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.
Cites 83 works (3 here)
With notes (3)
Action logic and pure induction prattActionLogicPure1991
Linear logic girard_linear_1987
External (80)
- Sequent systems for compact bilinear logic (2003)
- Lambek calculus is NP-complete (manuscript) (2003)
- Lambek Calculus with Nonlogical Axioms (Festschrift for Jim Lambek, to appear) (2003)
- On Learnability of Restricted Classes of Categorial Grammars (Dziemidowicz, to appear) (2003)
- Derived Tree Languages of Nonassociative Lambek Categorial Grammars with Product (to appear) (2003)
- A Generalised Discontinuity (Morrill, manuscript) (2003)
- Categorial Grammar at a Cross-Roads (van Benthem, to appear) (2003)
- Optimal Unification and Learning Algorithms for Categorial Grammars (2002)
- Pregroups versus English and Polish grammar (2002)
- Classical Conservative Extensions of Lambek Calculus (2002)
- Classical Non-Associative Lambek Calculus (2002)
- Correspondence Results for Relational Proof Systems with Application to the Lambek Calculus (2002)
- On Reduction Systems Equivalent to the Lambek Calculus with the Empty String (2002)
- Lambek Grammars Based on Pregroups (2001)
- Type Grammars as Pregroups (2001)
- An Introduction to Substructural Logics (2001)
- Non-Commutative Linear Logic in Linguistics (2001)
- An Algebraic Analysis of Clitic Pronouns in Italian (2001)
- Structural Equations in Language Learning (2001)
- Restricted Optimal Unification (2000)
- A Labelled Deductive System for Relational Semantics of the Lambek Calculus (1999)
- Type Grammar Revisited (1999)
- Deductive Systems and Grammars (1999)
- The Ajdukiewicz Calculus, Polish Notation and Hilbert-Style Proofs (1998)
- Mathematical Linguistics and Proof Theory (1997)
- Representation of Residuated Semigroups in Some Algebras of Relations (The Method of Canonical Models) (1997)
- Powerset Residuated Algebras and Generalized Lambek Calculus (1997)
- Categorial Type Logics (1997)
- Representation theorems for residuated groupoids (1997)
- On Generalized Ajdukiewicz and Lambek Calculi and Grammars (1997)
- Formal learning theory (Osherson, de Jongh, Martin, Weinstein; Handbook of Logic and Language) (1997)
- Categorial Grammars with Negative Information (1996)
- Labelled Deductive Systems (1996)
- Identification in the limit of categorial grammars (1996)
- Exploring Logical Dynamics (1996)
- Frames and Labels. A modal analysis of categorial inference (1995)
- Bilinear logic in algebra and linguistics (1995)
- Models for the Lambek calculus (1995)
- Lambek Calculus and its relational semantics: Completeness and incompleteness (1994)
- Learning categorial grammar by unification with negative constraints (1994)
- Type Logical Grammar. Categorial Logic of Signs (1994)
- Star and Perp: Two Treatments of Negation (1993)
- Partial Gaggles Applied to Logics with Restricted Structural Rules (1993)
- Normal form of derivations in the nonassociative and commutative lambek calculus with product (1993)
- Lambek grammars are context free (1993)
- A General Theory of Structured Consequence Relations (1993)
- Relational proof system for relevant logics (1992)
- The Lambek calculus enriched with additional connectives (1992)
- Phase semantics and sequent calculus for pure noncommutative classical linear propositional logic (1991)
- Computational Learning of Languages (1991)
- Resource Logics. Proof-Theoretical Investigations (1991)
- Languages and Machines. An Introduction to the Theory of Computer Science (1991)
- Language in Action. Categories, Lambdas and Dynamic Logic (1991)
- Categorial grammars determined from linguistic data by unification (1990)
- Inductive Inference of Monotonic Formal Systems from Positive Data (1990)
- Quantales and (noncommutative) linear logic (1990)
- Logical Foundations of Ajdukiewicz-Lambek Categorial Grammars (in Polish) (1989)
- Identification of unions of languages drawn from an identifiable class (1989)
- Gaifman's theorem on categorial grammars revisited (1988)
- Learnable Classes of Categorial Grammars (1988)
- The equivalence of Nonassociative Lambek Categorial Grammars and Context‐Free Grammars (1988)
- Categorial Investigations. Logical and Linguistic Aspects of the Lambek Calculus (1988)
- Completeness Results for Lambek Syntactic Calculus (1986)
- Categorial unification grammars (1986)
- Essays in Logical Semantics (1986)
- Generative Capacity of Nonassociative Lambek Calculus (1986)
- The weakest prespecification (Hoare, He; Fundamenta Informaticae 9) (1986)
- A Completeness Theorem for the Lambek Calculus of Syntactic Categories (1985)
- Tree Automata (Gécseg, Steinby) (1984)
- Some Decision Problems in the Theory of Syntactic Categories (1982)
- Axiomatizability of Ajdukiewicz‐Lambek Calculus by Means of Cancellation Schemes (1981)
- Formal Philosophy, Selected papers of R. Montague edited by R. Thomason (1974)
- Language identification in the limit (1967)
- Grammar Logicism (1967)
- On the calculus of syntactic types (1961)
- On categorial and phrase structure grammars (1960)
- On the Representation of Quasi-Boolean Algebras (1957)
- Die syntaktische Konnexität (1935)
- Grundzüge eines neuen Systems der Grundlagen der Mathematik (1929)
- Logische Untersuchungen (Husserl) (1900)