Reference. Linear logic
Cite
Cited by (52)
Syntax and semantics of focalisation with relative monads and comonads mangel-2026-syntax
Classical Notions of Computation and the Hasegawa-Thielecke Theorem mangel-2026-classical
Linear Effects, Exceptions, and Resource Safety: A Curry-Howard Correspondence for Destructors congard-2026-linear
Quantitative Linear Logic for Neuro-Symbolic Learning and Verification flinkow-2026-quantitative
Ordered Adjoint Logic roshal-2026-ordered
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.
Scoped Effects, Scoped Operations, and Parameterized Algebraic Theories matache-2025-scoped
An axiomatics and a combinatorial model of creation/annihilation operators fiore-2025-an
A Semantic Proof of Generalised Cut Elimination for Deep Inference atkey-2024-a
Stabilized profunctors and stable species of structures fiore-2024-stabilized
Foundations of Substructural Dependent Type Theory aberle-2024-foundations
Displayed Monoidal Categories for the Semantics of Linear Logic ahrens-2024-displayed
Polynomial Time and Dependent Types atkey-2024-polynomial
Scoped Effects as Parameterized Algebraic Theories lindley-2024-scoped
Fixpoint constructions in focused orthogonality models of linear logic fiore-2023-fixpoint
Intuitionistic Metric Temporal Logic desa-2023-intuitionistic
UNDER LOCK AND KEY: A PROOF SYSTEM FOR A MULTIMODAL LOGIC kavvos-2023-under
CN: Verifying Systems C Code with Separation-Logic Refinement Types pulte-2023-cn
A two-level linear dependent type theory fu2023twolevellineardependenttype
A Formal Logic for Formal Category Theory new_licata_2023
Relating Message Passing and Shared Memory, Proof-Theoretically pfenning-2023-relating
A Combinatorial Approach to Higher-Order Structure for Polynomial Functors fiore-2022-a
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.
Quantitative Polynomial Functors nakov_quantitative_2022
A Framework for Substructural Type Systems wood-2022-a
Adjoint Reactive GUI Programming graulund-2021-adjoint
Bifibrations of Polycategories and Classical Linear Logic blanco-2020-bifibrations
Recovering purity with comonads and capabilities choudhury-2020-recovering
Syntax and Semantics of Quantitative Type Theory atkey-2018-syntax
A theory of linear typings as flows on 3-valent graphs zeilberger-2018-a
Resource Polymorphism munchmaccagnoni-2018-resource
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.
An Isbell duality theorem for type refinement systems mellies-2017-an
Observed Communication Semantics for Classical Processes atkey-2017-observed
Datafun: a functional Datalog arntzenius-2016-datafun
A theory of effects and resources: adjunction models and polarised calculi curien-2016-a
Conflation Confers Concurrency atkey-2016-conflation
I Got Plenty o’ Nuttin’ mcbride-2016-i
Integrating Linear and Dependent Types krishnaswami_integrating_2015
Linear Logic Programming for Narrative Generation martens-2013-linear
Parameterised notions of computation atkey-2009-parameterised
Focalisation and Classical Realisability munchmaccagnoni-2009-focalisation
On the unity of duality zeilberger-2008-on
Glueing and orthogonality for models of linear logic hyland_glueing_2003
Type Logics in Grammar buszkowskiTypeLogicsGrammar2003
Call-By-Push-Value: A Functional/Imperative Synthesis levy-2003-callbypushvalue
BI as an assertion language for mutable data structures ishtiaq_ohearn_bi_2001
Nonsymmetric *-autonomous categories barr1995-nonsymmetric-star-autonomous
A mixed linear and non-linear logic: Proofs, terms and models: Extended abstract bentonMixedLinearNonlinear1995
Action logic and pure induction prattActionLogicPure1991
A linear logical framework cervesato-nd-a
Cites 6 works (0 here)
External (6)
- Normal functors, power series and λ-calculus (1988)
- The system F of variable types, fifteen years later (1986)
- Three-valued logic and cut-elimination: the actual meaning of Takeuti's conjecture (1976)
- Formally self-referential propositions for cut-free classical analysis and related systems (1974)
- Interprétation fonctionelle et élimination des cupures de l'arithmétique d'ordre supérieur (1972)
- Une extension de l'interprétation de Gödel à l'analyse et son application à l'elimination des coupures dans l'analyse et dans la théorie des types (1971)