Automata and formal languages

Pushdown frontiers and visible projections

Every context-free language can be obtained by hiding one call/return/local tag from a visibly pushdown language. The hidden tags create a set of possible configurations after each observed prefix. That frontier has an exact derivative law, and a stationary finite representation of it can be compiled into a recognizer.

FPRD-T91 · visible projection

Context-free languages are exactly projections of visibly pushdown languages

Put S={c,r,l}S=\{\mathsf c,\mathsf r,\mathsf l\}, let Σ^=Σ×S\widehat\Sigma=\Sigma\times S, and let π(a,s)=a\pi(a,s)=a. Then

L∈CFL⟺∃A∈VPL:L=π(A). L\in\mathsf{CFL} \quad\Longleftrightarrow\quad \exists A\in\mathsf{VPL}: L=\pi(A).

For the forward direction, normalize a pushdown automaton so that each letter-reading transition pushes, pops, or leaves the stack height unchanged. Tag the letter by that action. The tag now makes the stack discipline visible, and forgetting it recovers the original word. The tagged language may be determinized before the projection. The converse follows because visibly pushdown languages are context-free and context-free languages are closed under homomorphism.

The projection is letter-to-letter and length preserving: no terminal is erased. The empty word has its unique empty tagged lift. Determinism belongs to the tagged automaton; it does not make the projected language deterministic context-free.

FPRD-T164 · FPRD-C02 resolved

Not every forgotten-action visible language is a PEG language

FPRD-T91 identifies the whole forgotten-action class, not merely one positive tier:

FA-DVPL=CFL. \mathsf{FA\text{-}DVPL}=\mathsf{CFL}.

Kim and Park now supply a languageL=CR∈LIN∖PEGL=C^R\in\mathsf{LIN}\setminus\mathsf{PEG}. Since LIN⊆CFL\mathsf{LIN}\subseteq\mathsf{CFL}, FPRD-T91 gives a deterministic visibly pushdown language whose action-forgetting projection is exactly L. Therefore

FA-DVPL⊈PEG. \mathsf{FA\text{-}DVPL}\nsubseteq\mathsf{PEG}.

The universal question recorded as FPRD-C02 has a negative answer.

This is a short composition of two source results. FPRD Lab does not claim an independent proof of the Kim-Park separation.

FPRD-T165 · directional visible lifts

The two reversal directions fail for different reasons

Apply FPRD-T91 separately to both linear languages in the Kim-Park pair. There are deterministic visible lifts with

π(AC)=C∈LIN∩PEG∖SCA, \pi(A_C)=C\in\mathsf{LIN}\cap\mathsf{PEG}\setminus\mathsf{SCA}, π(AL)=L=CR∈LIN∩SCA∖PEG. \pi(A_L)=L=C^R\in\mathsf{LIN}\cap\mathsf{SCA}\setminus\mathsf{PEG}.

The first lift is the hard calibration for stationary frontier transport: no scaffold recognizes its projection. The second is the direct counterexample to FPRD-C02: its projection is not PEG, even though a scaffold does recognize it.

There is no contradiction. The exact orientation is

X∈PEG⟺XR∈SCA⟺δstr(XR)<∞. X\in\mathsf{PEG} \quad\Longleftrightarrow\quad X^R\in\mathsf{SCA} \quad\Longleftrightarrow\quad \delta_{\mathrm{str}}(X^R)<\infty.

A stationary frontier presentation for X gives a scaffold for X and therefore a PEG forXRX^R. PEG membership of X is controlled by stationary transport on the reversed language.

The checker verifies only the logical composition and reversal orientation. It does not reverify the imported separation, its Lean artifact, or the underlying cell-probe lower bound.

FPRD-D33 · frontier model

The hidden actions generate a finite frontier after every prefix

Use a finite real-time top-rewriting machine with transitions(q,a,X,q′,γ)(q,a,X,q',\gamma). If the stack is XvXv, the transition consumesaa and replaces the stack byγv\gamma v. There are no epsilon transitions, endmarker transitions, or steps after the input ends.

For a prefix uu, define

Su(q)={z:(q0,z0)⇒u(q,z)}. S_u(q)=\{z:(q_0,z_0)\xRightarrow{u}(q,z)\}.

Each set is finite for fixed uu: every run has exactly ∣u∣|u|steps and each step chooses from one finite transition table. This finiteness does not provide a uniform online representation bound.

FPRD-T92 · checked recurrence

One left derivative gives the exact next frontier

Write X−1B={v:Xv∈B}X^{-1}B=\{v:Xv\in B\}. Splitting a run before its last transition gives the exact identity

Sua(q′)=⋃(q,a,X,q′,γ)∈Δγ(X−1Su(q)). S_{ua}(q')= \bigcup_{(q,a,X,q',\gamma)\in\Delta} \gamma\bigl(X^{-1}S_u(q)\bigr).

Conversely, any stack in a term on the right extends a run onuu by the displayed transition. Final-state acceptance is exactly

u∈L(P)⟺∃q∈F: Su(q)≠∅. u\in L(P) \quad\Longleftrightarrow\quad \exists q\in F:\ S_u(q)\ne\varnothing.

The standalone Lean development checks the executable transition system, this recurrence, the readout, the empty-word case, and concrete push, pop, local, union, and failed-top examples.

FPRD-T93 · finite-core criterion

Uniformly bounded finite-horizon fits sew into one recognizer

Fix nested finite familiesK0⊆K1⊆⋯\mathcal K_0\subseteq\mathcal K_1\subseteq\cdotsof canonically normalized scaffolding automata, with the index bounding every part of the finite source. LeteL(N)e_L(N) be the leastkk for which a machine inKk\mathcal K_k agrees withLRL^R on words of length at mostNN. Then

L∈PEL⟺sup⁡NeL(N)<∞. L\in\mathsf{PEL} \quad\Longleftrightarrow\quad \sup_N e_L(N)<\infty.

One parsing expression grammar yields one scaffold for the reversed language, so its stratum bounds every horizon. Conversely, if all horizons fit one fixed finite stratum, some machine in that stratum recurs at unbounded horizons. For any word, choose a recurring horizon at least its length; that one machine agrees withLRL^R everywhere.

Finiteness after canonical normalization is essential. The theorem is not a compactness argument for an arbitrary infinite resource class.

FPRD-T94 · stationary-cover transfer

A stationary exact cover compiles to the same language

A stationary derivative cover fixes one derivative basis, a finite set of slots, one synchronous multistack update, a validity invariant, and one readout. It must satisfy four obligations: exact initialization, preservation of the invariant, exact one-letter frontier update, and exact final-state readout. These data form one horizon-independent representation.

Induction on the input then proves that the relation represented after every word is exactly the pushdown frontier. The checked FPRD compiler preserves the executor's decisions, so the resulting scaffold recognizes exactly the same language, including at epsilon. One-slot visible-stack and two-slot parallel examples both instantiate the interface.

If the source and cover carriers are finite, the compiled object is a finite scaffolding automaton. The external scaffold-to-PEG theorem then yields a PEG for the reversed source language. The orientation matters: a cover for XX givesXR∈PELX^R\in\mathsf{PEL} through this composition.

FPRD-T112 · exact normalization

Derivative access can be made local by spending cover width

A principal term consists of a concrete stack stemvv and a basis languageBjB_j. A finite cover denotes

⟦C⟧=⋃(v,j)∈CvBj. \llbracket C\rrbracket =\bigcup_{(v,j)\in C}vB_j.

If the stem begins with the queried symbol, differentiation removes that symbol. If it begins with another symbol, the derivative is empty. If the stem is empty, a supplied finite derivative table forBjB_j replaces the term. Lean checks this case split and its extension across finite unions:

⟦deriveCover⁡(X,C)⟧=X−1⟦C⟧. \llbracket\operatorname{deriveCover}(X,C)\rrbracket =X^{-1}\llbracket C\rrbracket.

There is also an exact calibration at the other extreme. Using only the epsilon basis, any finite listed frontierF=[z1,…,zm]F=[z_1,\ldots,z_m] has a cover with one term per listed stack:

z∈⟦exactCover⁡(F)⟧⟺z∈F. z\in\llbracket\operatorname{exactCover}(F)\rrbracket \quad\Longleftrightarrow\quad z\in F.

This changes the diagnosis, not the open problem. Flattening makes derivative access local by spending width. It does not bound slot count, basis or control complexity, fresh allocation, or the cost of a stationary canonicalizer. Derivative depth alone is therefore not a representation-independent obstruction.

The universal question is closed; the structural boundary remains

The exact frontier update is settled, and any stationary cover that satisfies the local interface compiles correctly. Kim and Park's separation now proves that no such construction can work for every projected visible frontier. A visible lift of their language C is an explicit existential obstruction: its projection is outside SCA.

What remains open is intrinsic characterization. Which projected frontiers admit bounded stationary transport, and which context-free languages lie in PEG? The existing allocator tiers give sufficient conditions. The C lift supplies a hard calibration against which a representation-independent lower-bound invariant can now be tested. FPRD-T168 further shows that its tagged language needs only one persistent stack, but its accepting lifts admit no fixed finite causal-selector cover after the action tags are hidden.

Sources

No external or specialist review of the FPRD proofs is recorded.