FPRD-T160: Distance-two normal form for scaffolding automata
Contents
1. Statement
Let a finite scaffolding automaton have node degree , distance , working-alphabet size , and control states. For , define
Theorem. The machine has an equivalent distance-two scaffolding automaton with resource tuple
The compiled machine creates exactly one physical node for each original node, uses the same node labels and finite control, and preserves acceptance after every prefix.
In transport-spectrum notation,
Together with FPRD-T159, this classifies the distance coordinate completely:
Every scaffold-recognizable nonregular language has minimum possible distance exactly two.
2. Shortcut closure
Let
The compiled node has one port for each . If a compiled node represents an original node , its shortcut invariant is
Missing original paths remain missing. The labels are unchanged.
The native radius-two view of a shortcut-closed node observes each shortcut endpoint with one further layer. It distinguishes the nonmissing base from a missing endpoint, which the native radius-one frontier can conflate, and thus determines the original native radius- view. The compiled transition can recover exactly the original transition’s next control, label, and direct port descriptors.
3. Installing the new shortcuts in two hops
Fix one word . Symbolically follow from the new original node.
While the chosen direct port is SELF, the symbolic walk remains at the new node. If all of is consumed this way, the compiled shortcut is SELF. If a chosen port is missing, is missing.
Otherwise the walk first leaves the new node through an old-root descriptor , where . Let be the unconsumed suffix of . Then . Old nodes cannot point forward to the new node, so the rest of the walk stays entirely inside the old scaffold. Its endpoint is reached in the compiled scaffold by:
- the empty old-root path if ;
- one shortcut hop if and ;
- one shortcut hop if and ;
- two shortcut hops if both words are nonempty.
Thus every new shortcut descriptor has compiled length at most two. This argument covers repeated SELF choices, empty old-root descriptors, cycles inside old nodes, and paths that become missing.
Induction on the input length proves that the shortcut invariant holds at every node, that the compiled radius-two view reconstructs the original radius- view, and that both machines have identical control and acceptance.
4. Structural consequences
The distance parameter has only two semantic regimes:
- At distance at most one, the readable cone is constant and the language is regular.
- At distance two, shortcut closure can realize every finite scaffold distance. Persistent recognition has already reached its full power.
Higher distance can still be useful as a succinctness resource. Replacing distance by distance two can increase degree from to . The theorem removes distance as an expressiveness hierarchy, not as a description-size or Pareto tradeoff.
For stationary transport spectra, every nonempty spectrum contains a tuple on the slice . Positive constructions may therefore target distance two without loss of recognition power. Lower bounds cannot separate a language from scaffolding automata by requiring distance three or more.
5. Research boundary
The degree bound is sufficient and can contain redundant shortcuts. It is not claimed Pareto-optimal. The construction preserves one node per input symbol, the original labels, and the original control, but trades descriptor distance for port degree.
The scaffolding-automaton model is due to Loff, Moreira, and Reis. Shortcut closure is a standard pointer-machine idea. A targeted search did not locate this exact distance-two normalization for scaffolding automata. No novelty or priority claim is made without specialist review.
6. Reference
Bruno Loff, Nelma Moreira, and Rogerio Reis, The computational power of parsing expression grammars, arXiv:1902.08272.