Reference. Integrating Linear and Dependent Types
Cite
Cited by (13)
Impredicativity in Linear Dependent Type Theory speight-2026-impredicativity
One Weird Trick to Untie Landin’s Knot koronkevich-2025-one
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.
Foundations of Substructural Dependent Type Theory aberle-2024-foundations
Polynomial Time and Dependent Types atkey-2024-polynomial
Dependent Type Refinements for Futures somayyajula-2023-dependent
A two-level linear dependent type theory fu2023twolevellineardependenttype
A Formal Logic for Formal Category Theory new_licata_2023
Quantitative Polynomial Functors nakov_quantitative_2022
Fractional Types: Expressive and Safe Space Management for Ancilla Bits chen-2020-fractional
Syntax and Semantics of Quantitative Type Theory atkey-2018-syntax
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.
I Got Plenty o’ Nuttin’ mcbride-2016-i
Cites 45 works (8 here)
With notes (8)
On the unity of duality zeilberger-2008-on
Observational equality, now! altenkirch-2007-observational
Call-By-Push-Value: A Functional/Imperative Synthesis levy-2003-callbypushvalue
Separation logic: A logic for shared mutable data structures reynolds_separation_2002
A judgmental reconstruction of modal logic pfenning-2001-a
The logic of bunched implications ohearn_pym_bi_1999
A mixed linear and non-linear logic: Proofs, terms and models: Extended abstract bentonMixedLinearNonlinear1995
Linear logic girard_linear_1987
External (37)
- Program Logics for Certified Compilers (2014)
- Substructural typestates (2014)
- Syntax and semantics of linear dependent types (2014)
- A dissection of L (2014)
- Views (2013)
- The ramifications of sharing in data structures (2013)
- The impact of higher-order state and control effects on local relational reasoning (2012)
- Fictional Separation Logic (2012)
- Syntactic soundness proof of a type-and-capability system with hidden state (2012)
- A relational realizability model for higher-order stateful ADTs (2012)
- Mostly-automated verification of low-level programs in computational separation logic (2011)
- Secure distributed programming with value-dependent types (2011)
- Irrelevance in Type Theory with a Heterogeneous Equality Judgement (2011)
- Partiality, State and Dependent Types (2011)
- Structuring the verification of heap-manipulating programs (2010)
- Enriching an effect calculus with linear types (2009)
- Hoare type theory, polymorphism and separation (2008)
- The Implicit Calculus of Constructions as a Programming Language with Dependent Types (2008)
- A Realizability Model for Impredicative Hoare Type Theory (2008)
- L3: A linear language with locations (2007)
- Using XCAP to Certify Realistic Systems Code: Machine Context Management (2007)
- Polymorphism and separation in hoare type theory (2006)
- Safe Programming with Pointers Through Stateful Views (2005)
- Type Theoretical Foundations for Data Structures, Classes, and Objects (2004)
- A Concurrent Logical Framework: The Propositional Fragment (2004)
- Joins in the Frame of Nuclei (2003)
- A Linear Logical Framework (2002)
- Introduction to Lattices and Order (2002)
- Quotient Types: A Modular Approach (2002)
- Intensionality, extensionality, and proof irrelevance in modal type theory (2001)
- The Implicit Calculus of Constructions Extending Pure Type Systems with an Intersection Type Binder and Subtyping (2001)
- Linear logic, monads and the lambda calculus (1996)
- Linear logic: its syntax and semantics (1995)
- Constructing type systems over an operational semantics (1992)
- Functorial polymorphism (1990)
- Constructive Mathematics as a Programming Logic I: Some Principles of Theory (1985)
- Intuitionistic type theory (1984)