A grammar formalism that builds trees word by word in heard order, with proofs checked in Rocq. Fillers sit in their canonical place, and a stack of fillers yields Swiss German crossing dependencies within linear indexed power.
Let be a path grammar, , and . Then
For every stacked-slash path grammar , for the linear indexed grammar with the indices , the productions and for all , where and the are new non-terminals, and the following productions for the rules of :
Going deeper
Let EVC have the licences TOP={(S,A,S),(S,B,S),(S,A,VC),(S,B,VC)}, the gap sites GAP={(GA,A),(GB,B)}, the lexical rules A→a, B→b, Vc→c, Vd→d, and the binary rules beginarray[]@l@l@VCxrightarrowsplit-def[VPc]VC&VCxrightarrowpath[Vc]GA\VCxrightarrowsplit-def[VPd]VC&VCxrightarrowpath[Vd]GB\VPcxrightarrowpath[Vc]GA&VPdxrightarrowpath[Vd]GBendarray S is the noun-phrase field, in which every noun phrase is fronted, and the last fronting moves into the verbal complex VC, which has no licences. The argument positions GA and GB have no rules of their own, so they can only be filled by fillers. For 6.4, the main derivation is ε:S ⇒aε:S/A[a1]⇒bε:S/A[a1]B[b1]⇒aε:VC/A[a1]B[b1]A[a2] hskip9.24994pt(textupRW4×3) ⇒ε⟨VPc/A[a2]⟩:VC/A[a1]B[b1] hskip9.24994pt(textupRW1,split-def) ⇒ε⟨VPd/B[b1],VPc/A[a2]⟩:VC/A[a1] hskip9.24994pt(textupRW1,split-def) ⇒ε⟨Vc,VPd/B[b1],VPc/A[a2]⟩:GA/A[a1] hskip9.24994pt(textupRW1,path) ⇒ε⟨Vc,VPd/B[b1],VPc/A[a2]⟩:a1 hskip9.24994pt(textupRW6) ⇒c⟨VPd/B[b1],VPc/A[a2]⟩:(a1,c1) hskip9.24994pt(textupRW3) ⇒d⟨VPc/A[a2]⟩:((a1,c1),(b1,d1)) hskip9.24994pt(textupRW3) ⇒cε:(((a1,c1),(b1,d1)),(a2,c2)) hskip9.24994pt(textupRW3), where subscripts distinguish occurrences and the fillers are derived by RW2. The pops use sub-derivations such as ε:VPd/B[b1]⇒ε⟨Vd⟩:GB/B[b1]⇒ε⟨Vd⟩:b1⇒dε:(b1,d1).
Picture a builder putting up a house while the plans arrive one line at a time. Each time a room splits in two, the builder starts the left part at once and pins a note for the right part on a board, to come back to later.
Sometimes a piece arrives early, like a window delivered before its wall. The builder keeps it on a cart until the right wall goes up, then fits it straight in. Nothing gets rebuilt afterwards; the finished house has every piece where it belongs.
Give the builder a cart that holds a pile of windows and the board of notes together, and something odd happens: both stacks hand things back in reverse, so windows land in the same order they arrived. That is how Swiss German pairs words that cross over each other, and the authors had a proof checker confirm their reasoning.
The abstract, word for word, with the six densest phrases unpacked.
Human sentence processing is incremental, but phrase-structure grammars are usually given a semantics in which the order of rule applications plays no role. In this paper we introduce Path Grammars, a family of rewriting systems in which derivations follow a stack-controlled path traversing a phrase-structure tree from left to right1. At each branching node, one child expands immediately while its right sister waits on a control stack, emitting words in surface order and maintaining a connected partial tree throughout. We prove that basic Path Grammars derive exactly the unlabelled derivation trees of context-free grammars2. Extending the item structure with slashed categories (carrying filler terms) and LINK structures inspired by Dynamic Syntax enriches the assigned syntactic structures while preserving context-freeness and cubic-time recognition3. Letting a slashed category carry a stack of pending fillers makes the formalism mildly context-sensitive: its languages are linear indexed languages4, recognisable in polynomial time, and it generates cross-serial dependencies, as in Swiss German, with every argument placed in its canonical position. The crossing arises from the interaction between the filler stack and the control stack.5 The correspondence theorems, the incrementality results, the linear indexed upper bound and the cross-serial example are mechanised in the Rocq proof assistant6.
Three lines of work end at this paper. Each stop says what it showed and what this paper uses it for.
Read five parts of it, in this order.
Skip Section 7 if you know GPSG, Dynamic Syntax and mildly context-sensitive formalisms.
If the claims are weaker than they read, these places show where. Each is short.
The following are not mechanised: the non-context-freeness of {ww} in Proposition 16; the final step of Corollary 9, from the failure of ultimate periodicity to the semilinearity of multiple context-free languages; the cited results on parsing complexity, on the equivalence of LIG with TAG, CCG and Head Grammar, and on the properties of mildly context-sensitive languages; the split-path variant of EVC in Section 6.4, which is checked only by enumeration; and the standard equivalence between the rewriting definitions of CFGs and LIGs (Definitions 1 and 9) and the tree-based derivation predicates used in the formalisation.
Whether every -free linear indexed language is generated by a stacked-slash path grammar is open. Fronting extends an inherited stack by deriving a non-empty filler. LINK starts a fresh singleton stack with the host. A LIG may push indices silently. An -free LIG whose binary productions are stack-preserving, whose unary productions are single-index pops, and whose pushes add a single index and have a non-empty left sister translates directly: each push becomes a fronting of that sister (using distinct copies of a sister category if it pushes more than one index), and each unary pop becomes a split-def rule whose deferred daughter is a dedicated gap site for index . Whether every -free linear indexed language has a grammar of this form is an open normal-form question, comparable to the Greibach normal form for context-free grammars, and we leave it open. The mildly context-sensitive properties of Corollary 12 do not depend on it.
Let have the rules , , and . Then , and each string has exactly one term, , where and . The yield of contains exactly occurrences of a. Erasing r, these yields form the language , which is not semilinear and therefore not a multiple context-free language [32, 23].
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
The Rocq development described in Appendix A is available at https://github.com/StergiosCha/path-grammars-rocq and is archived on Zenodo at https://doi.org/10.5281/zenodo.24788209. It consists of five files: PathGrammars.v, ExtendedPathGrammars.v, Doubling.v, StackedSlashPathGrammars.v and CrossSerial.v, written for Coq 8.18 (now Rocq).
More latest news
Read all