Imagine you're playing Scrabble, but instead of just checking whether a word is in the dictionary, your scoring system has to verify that every tile placement follows a chain of logical deductions — each tile justified by a rule, each rule consuming exactly one resource. That's the computational texture of type-logical grammars: parsing isn't pattern-matching, it's proof-search in a resource-sensitive logic. The question this paper settles is: how hard is that search, and does it correspond to anything natural? The committed claim: type-logical grammars equipped with the standard structural rules (product, associativity, extraction, infixation) have an NP-complete fixed recognition problem. This adapts a construction from Pshenitsyn (2025), who showed that first-order linear logic grammars are closed under intersection — which immediately rules them out as semilinear or mildly context-sensitive. Moot goes further, showing these grammars can simulate the quasi-linear grammars of Book & Greibach (1970), which recognize exactly the languages decided in non-deterministic linear time (NLIN, or NSPACE(n)). The architecture here is proof-theoretic, not algorithmic in the usual sense. Type-logical grammars assign logical formulas (types) to words; a sentence is grammatical if you can derive a proof that the types compose to a designated goal type. The logic in play is first-order multiplicative linear logic — no contraction, no weakening, every resource used exactly once. The structural rules (associativity, extraction, infixation) add controlled flexibility. The key construction encodes NP-hard problems as recognition tasks within this framework, leveraging the intersection closure result as a stepping stone. Where does this sit on the ladder? The standard complexity benchmark for natural language formalisms is LOGCFL (the languages recognized by log-space auxiliary pushdown automata), which captures context-free and mildly context-sensitive grammars. This paper argues NLIN is the right upper bound on time complexity, just as LOGCFL bounds space complexity. The result positions first-order linear logic strictly above the mildly context-sensitive hierarchy — not as a failure, but as a feature: human language may genuinely need this much power, and NLIN is a principled place to draw the line. The integrity of the result rests on mathematical proof, not simulation or experiment. The NP-completeness result is a reduction; the NLIN simulation result is a direct construction. There's no cherry-picking risk in the usual empirical sense — the question is whether the proof is correct and the construction valid. The reliance on Pshenitsyn (2025) for the intersection closure lemma means the full result chain depends on that prior work's correctness. The milestone question is conceptual rather than numeric. The paper proposes NLIN as the canonical complexity class for natural language time complexity. The next concrete step is whether practical parsing algorithms can be designed that exploit this characterization — can you build parsers for NLIN-complete grammars that run efficiently on typical natural language inputs (which are far from worst-case)? The gap between worst-case NP-completeness and average-case tractability is where the action is. The obvious experiment not run: empirical validation on real natural language corpora. Can you take a type-logical grammar with these structural rules, parse actual sentences from a treebank, and measure whether the NP-complete worst case ever bites in practice? Moot is a computational linguist who has built such parsers before (Grail), so this is likely (c) — saved for the next paper, where the theoretical ceiling established here becomes the backdrop for practical parsing work.
The analogy
Imagine Scrabble where every tile placement must be justified by a logical proof that consumes exactly one rule-token. Easy words parse fast; adversarial boards are NP-hard. The question is whether real English sentences ever look like adversarial boards — or always stay in the easy zone.
Scrabble proof
Each tile justified by exactly one rule-token; easy words parse fast, adversarial boards are worst-case hard
Type-logical parse
Each word assigned a logical type; sentences parse via proof-search in resource-sensitive logic, worst-case NP-complete
Honest assessment
A clean, well-situated theoretical result that strengthens Pshenitsyn's 2025 foundation and proposes a genuinely useful reframing: NLIN as the time-complexity counterpart to LOGCFL for natural language. The claim is strong but narrow — this is a proof paper, not an empirical one. The practical question (does NP-completeness matter for real sentences?) is explicitly deferred. Formal linguists and complexity theorists should read this now; NLP practitioners should watch for the follow-up parser paper.
What Is CLAIMS?
77
/ 100
BedrockNews applies a structured analytical framework called CLAIMS to academic papers and technical research releases.
How CLAIMS worksClaim
4/5
Ladder
4/5
Architecture
5/5
Integrity
3/5
Milestone
3/5
Successor
4/5
What is this paper actually committing to?
Genuine strengthening: NP-completeness was known adjacent via Pshenitsyn, but the NLIN characterization and the argument that NLIN is the right complexity class for natural language are new committed claims.
The field fight
Is natural language mildly context-sensitive (LOGCFL-bounded), or does it require strictly more power?
Side A
Mildly context-sensitive grammars suffice; LOGCFL captures the relevant complexity
Held by: TAG, CCG, MCFG, Joshi hypothesis
Side B
Natural language needs more than mild context-sensitivity; the right bound is higher
Held by: First-order linear logic, Pshenitsyn 2025, this paper
Milestone tracker
Unlocks: Demonstrates whether NP-complete worst case ever bites on real natural language, bridging theory to practice
Current
NP-complete
complexity
this paper
Next
treebank-scale
parsing
practical NLIN parser
~1-3 papers, likely from same author (Grail lineage)
Verified Facts (6)
Type-logical grammars with standard rules for product, associativity, extraction and infixation have an NP-complete fixed recognition problem
Adapts a construction for first-order linear logic from Pshenitsyn (2025)
Grammars in first-order linear logic are closed under intersection and therefore not semilinear and not mildly context-sensitive
Grammars in first-order linear logic can simulate the quasi-linear grammars of Book & Greibach (1970)
NLIN (NSPACE(n)) is proposed as an upper bound on time complexity for natural language formalisms, analogous to LOGCFL for space complexity
First-order linear logic can be seen as the logic of non-deterministic linear-time string languages, graph languages and automata
Practical Implications (3)
Parser designers for type-logical grammars now have a sharp worst-case ceiling (NP-complete) and a conjectured typical-case bound (NLIN) to design against
The NLIN framing may guide which structural rules to include or restrict in practical grammar engineering
Computational linguists studying the formal power needed for natural language now have a concrete alternative to the mildly context-sensitive consensus
More latest news
Read all