cs.CCNov 9, 2026

Type-logical grammars and formal languages

Authors: Richard Moot

Organizations: LIRMM,CNRS,LIRMM | PIPL,UM

Abstract

We show that type-logical grammars with the standard rules for product, associativity, extraction and infixation have an NP-complete fixed recognition problem, adapting a construction for first-order linear logic from Pshenitsyn (2025), who already showed that grammars in first-order linear logic are closed under intersection and therefore not semilinear and not mildly context-sensitive. We strengthen these results and shown that grammars in first-order linear logic can simulate the quasi-linear grammars of Book & Greibach (1970), the grammars recognised in non-deterministic linear time (NSPACE(n) or. NLIN). I argue that NLIN is an interesting class of formal languages as well, and a useful upper bound on the time complexity of formalisms used for natural language, just like LOGCFL is a useful upper bound on the space complexity. Taken together this means that first-order linear logic can be seen as the logic of non-deterministic linear-time string languages, graph languages and automata.

Explore similar work

CardsList
  1. Learning temporal formulas from examples is hard

    Dec 26, 2023Corto Mascle, Nathanaël Fijalkow, Guillaume LagardeTemporal LogicLinear Temporal Logic

  2. Why Are Linear RNNs More Parallelizable?

    Mar 4, 2026William Merrill, Hongjian Jiang, Yanhong Li +2Parallel Training of Recurrent NetworksCircuit Complexity