Pith. Sign in

REVIEW

Type-logical grammars and formal languages

Computational Complexity · Submitted 9 Nov 2026 · 3 references

Pith's verdict: Solid extension of Pshenitsyn's construction to a range of type-logical grammars, plus a nontrivial strengthening to NLIN for MILL1; the paper is clear, honest about limitations, and the central claims hold up.

T0 · AI review

How this review was made: An AI referee (deepseek/deepseek-v4-flash) read the paper on November 10, 2026 and answered a fixed list of questions about it. T0 is the starting level every paper gets. The levels describe how deeply Pith has checked the paper, never the authors.

  1. T0 AI review An AI read the paper and answered a fixed list of questions.
  2. T1 Audit Automatic checks that the references and files the paper relies on exist and match.
  3. T2 Compute The paper's code or calculations re-run with the same results.
  4. T3 Formal statement The claims written out in a formal math language a computer can read.
  5. T4 Proof Those claims proved, and the proof checked by computer.

How Pith checks papers →

· 2 major objections · 5 minor · Ask about this paper · Read the full review →
Challenge this review Comment (0) Read on arXiv ↗
Cite ▾
arXiv ID2611.12618 (version 1)
Pith IDNOJRN6WQ, Pith's permanent record of this paper and its review
CitationCNRS, LIRMM | PIPL, Richard Moot (LIRMM, UM). "Type-logical grammars and formal languages." arXiv:2611.12618 (2026). https://pith.science/paper/NOJRN6WQ
Cite this reviewBibTeX for Pith's review of this paper
Claim paper

Why Pith says this

Highlight any text to comment on it.

Referee report
The paper

The paper claims

This paper shows that type-logical grammars with product, associativity, extraction, and infixation have NP-complete fixed recognition, and that first-order linear logic grammars generate the quasi-linear languages NLIN.

The reading

The paper adapts a construction from Pshenitsyn (2025) to show that any type-logical grammar formalism containing the Lambek product, associativity, an extraction operator, and a non-deterministic infixation operation yields an NP-complete fixed recognition problem. This includes prominent systems like the Displacement calculus, the associative logic of scope, and hybrid type-logical grammars. Separately, it strengthens known lower bounds by proving that first-order linear logic grammars can simulate the quasi-linear languages NLIN (nondeterministic linear time), thereby generating languages such as the exponential language $a^{{2^n}}$ and the generalized MIX languages. These results position type-logical grammars as more powerful than mildly context-sensitive formalisms unless P=NP.

What carries the argument

The central mechanism is a two-phase simulation of context-sensitive rewrites using extraction and infixation connectives. Lexical entries are assigned formulas of the form ((F\s)⇓s)•…•p, where each F is (s⇑(δ/γ))⇓s representing a rule instance. The proof uses focusing proof search to separate a prefixation phase (moving F to the front via ⇓L and \R) from an infixation phase (applying the rewrite via /L, ⇑R, ⇓L). For the NLIN simulation in first-order linear logic, the paper encodes a multitape online Turing machine using predicates for word, head, and stack positions, with quantifier rules generating fresh positions for pushed symbols; the composition of atomic state, scan, push, and pop formulas mirrors machine transitions.

Extended reading notes

Core claim

The paper establishes two main results. First, using a translation of linear-time context-sensitive (CS LIN) grammars into type-logical grammars, it proves that any such grammar with product, associativity, medial extraction, and non-deterministic infixation has an NP-complete fixed recognition problem (Corollary 3.2). Second, it shows that first-order linear logic grammars (MILL1) can encode any nondeterministic linear-time (NLIN) Turing machine with three stacks, thus generating all quasi-linear languages. This gives a new lower bound L(NLIN) ⊆ L(MILL1), demonstrating that MILL1 grammars are closed under intersection and produce non-semilinear languages like $a^{{2^n}}$.

Load-bearing premise

The construction relies on the presence of a non-deterministic infixation operation (e.g., the ⇓L rule, the ˇ operator, or the β rule) that can insert a formula arbitrarily into the string; while the paper argues this is available in all considered formalisms, some variants (e.g., original non-associative NL) may lack it, limiting the result’s generality.

Editorial extensions

If this is right

  • Fixed recognition for all major type-logical grammars (Displacement calculus, associative logic of scope, hybrid type-logical, multimodal) is NP-complete, making them strictly more powerful than mildly context-sensitive formalisms unless P=NP.
  • First-order linear logic grammars generate the quasi-linear languages NLIN, which include the exponential language a^{2^n} and all intersection closures of context-free languages, giving a concrete lower bound on their generative capacity.
  • The results provide a unified logic for non-deterministic linear-time string languages, graph languages, and automata, suggesting that MILL1 captures the complexity class NLIN.
  • Language classes known to be in NLIN, such as crossing dependencies, copy language ww, and the MIX language, can now be generated by first-order linear logic grammars, extending the known empirical coverage of such systems.
  • The paper opens up the possibility that type-logical grammars can be restricted (e.g., by order or growth conditions) to regain polynomial recognition, but the construction shows that unrestricted systems are inherently hard.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • If the conjecture that L(MILL1) ⊊ CSL holds, then MILL1 grammars would occupy an intermediate complexity class between NLIN and CSL, providing a precise characterisation of linear-time computable languages that remains open.
  • The exponential lexicon blowup (O(k^c) entries per word) in the NLIN simulation suggests that practical parsing of such grammars would be infeasible even for fixed grammars, aligning with the NP-completeness result.
  • The paper's mild criticism of polynomial fixed recognition (e.g., O(n^6) vs NP) may reframe the debate on what counts as 'tractable' for natural language: if NLIN-completeness is unavoidable, empirical adequacy might be worth the complexity.
  • The separation between type-logical grammars and mild context-sensitivity hinges on semilinearity and homomorphism closure; the paper suggests that intersection alone (without homomorphism) may lead to polynomial parsing, as in RCG, but type-logical grammars naturally have homomorphisms, making the trade-off acute.
Original 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.

Figures
Figure 1. Sequent calculus rules for the Lambek calculus
Figure 2. Sequent calculus rules for fist-order linear logic

Figures reproduced from arXiv:2611.12618 by the authors.

References

Discussion

Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.