arXiv:2609.03643cs.FLSep 2026

Manuscript Offprint

arXiv:2609.03643

Relative Prime Factorization and Finite-State Presentations under Fixed Finite-Monoid Observation

Takayuki Kuriyama

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Let L⊆Σ∗L \subseteq \Sigma^* and fix a morphism h:Σ∗→Mh : \Sigma^* \to M into a finite monoid. We study exact factorization and canonical presentation in the relative syntactic congruence θL,h:=≡L∩ker⁡h\theta_{L,h} := \equiv_L \cap \ker h.

Our main result separates unique factorization from finite direct presentation. We construct an explicit, exhaustively computer-checked 36-element quotient in which every live non-unit relative class has a unique exact prime factorization, while the valid prime-return rules contain the infinite family

[ab]→[a][baaa]m[b](m≥0).[ab] \to [a][baaa]^m[b] \qquad (m \geq 0).

Hence unique factorization does not imply the finite relative presentation property (FRP), even for a finite quotient. The witness uses the trivial language Σ+\Sigma^+, showing that the obstruction is already a finite-monoid phenomenon. We then lift the same defect into the nonregular context-free language

Lwrap={cnwdn:n≥0,  w∈{a,b}+}.L^{\mathrm{wrap}} = \{c^n w d^n : n \geq 0, \; w \in \{a, b\}^+\}.

For a finite observer extending the 36-element one, this pair has an infinite relative quotient, exactly 52 relative primes, global exact unique factorization, FSRP, and failure of FRP. Thus the finite-state separation is not an artifact of a finite quotient or of a disjoint-alphabet embedding.

We isolate the obstruction as tail under-saturation and introduce the finite-state relative presentation property (FSRP), in which the canonical valid right-hand-side languages are represented by their finite residual controllers. We prove FRP ⊆\subseteq FSRP and give a structural decomposition of direct-rule infinitude. For hh-substitutable context-free languages with finite relative prime spectrum, every correct prime-return language is context-free; the unresolved step is whether factor-minimalization can force a nonregular valid-return language. In particular, we are not aware of any finite-prime ¬\negFSRP example.

On a rigid branch, prime-target left-division determinism (PTLD) restores Clark-style cancellation phenomena and implies unique exact factorization, tail exactness, tail determinism, and a quadratic valid-rule bound. A five-prime nonregular deterministic context-free example with a finite group observer satisfies PTLD while lying outside every fixed k,ℓk, \ell-substitutable class of Yoshinaka. Finally, for fixed hh we give a strong positive-data learner for the canonical PTLD presentation with polynomial-time hypothesis updates and an explicit finite characteristic sample, and a more general limit reconstruction of the canonical FSRP controller from any weakly behaviorally correct CFG-valued positive-data learner.

1 Introduction

Distributional learning of context-free languages is based on the idea that substrings that occur in the same environments can be treated alike. Clark and Eyraud formalized this through syntactic distributions and substitutability, while Yoshinaka refined the comparison relation by bounded left and right contexts [1, 2]. The fixed finite-monoid framework replaces bounded windows by a specified finite algebraic observation h:Σ∗→Mh : \Sigma^* \to M: two strings are compared only when they have the same hh-type, and observed overlap then forces equality of full two-sided distributions.

The present paper studies a different but closely related question. Once the relative syntactic congruence θL,h=≡L∩ker⁡h\theta_{L,h} = \equiv_L \cap \ker h has been fixed, what intrinsic multiplicative structure do its classes possess, and when does that structure admit a finite canonical grammar presentation?

Clark's strong-learning construction for substitutable languages introduced prime syntactic congruence classes and valid productions. In that setting, every nonzero nonunit class has a unique prime factorization and only finitely many valid productions occur when the prime spectrum is finite [3]. The relative setting is more delicate. The finite observation hh refines syntactic classes and destroys some of the cancellation phenomena used in Clark's proof. Exact factorization may become nonunique, and even a finite relative quotient need not imply a finite direct valid-rule basis.

The answer begins with a separation. Relative unique prime factorization (UF) need not produce a finite direct relative-prime presentation (FRP), even when the relative quotient itself is finite. The failure is not factorization ambiguity: in our 36-element witness every live class has exactly one exact prime factorization, while valid prime-return paths have unbounded under-saturated tails. A useful feature of the separation is that it is already visible at the finite-monoid level. The target language of the flagship witness is deliberately chosen to be the trivial language Σ+\Sigma^+. Consequently its nonempty syntactic structure contributes no complexity: on nonempty words the relative congruence is simply the kernel of the observer. Thus the failure is caused by the gap between exact fiber products and multiplication in a finite observer quotient, not by a complicated context-free target language. A matching-wrapper construction later shows that the same under-saturation mechanism persists intrinsically inside a nonregular context-free language with infinite relative quotient: the wrapper contributes the unbounded syntactic geometry, while the middle 36-element dynamics still forces infinitely many valid prime returns. Finite-state relative presentation (FSRP) preserves these infinite structural families through finite residual controllers. Thus the central line of the paper is

UF≇FRP⟶under−saturation⟶FSRP.\mathrm{UF} \not\cong \mathrm{FRP} \quad \longrightarrow \quad \mathrm{under-saturation} \quad \longrightarrow \quad \mathrm{FSRP}.

Three levels must therefore be distinguished:

(i) exact prime factorization, where “exact” means equality of sets of strings, not merely equality in a quotient;

(ii) correct and valid prime returns, which concern only multiplication in the relative quotient;

(iii) finite-state presentability, which allows an infinite direct rule family to be represented by a canonical finite-state controller.

This separation is also consonant with the syntactic-concept viewpoint, where CFG nonterminals and productions are interpreted through sets of strings and inclusion/product structure rather than only individual quotient elements [4].

Main contributions. The four principal results are as follows.

  1. An explicit, exhaustively computer-checked 36-element quotient has fifteen relative primes and unique exact factorization for all 35 live non-unit classes, yet it admits the infinite valid family [ab]→[a][baaa]m[b][ab] \to [a][baaa]^m[b]. Hence UF≇FRP\mathrm{UF} \not\cong \mathrm{FRP}, and a separate finite FRP/non-UF witness shows that UF\mathrm{UF} and FRP\mathrm{FRP} are incomparable.

  2. FRP is strictly contained in FSRP. Beyond the finite 36-element witness, the nonregular context-free language Lwrap={cnwdn:n≥0,w∈{a,b}+}L^{\text{wrap}} = \{c^n w d^n : n \geq 0, w \in \{a, b\}^+\} has infinite relative quotient, exactly 52 relative primes, global exact UF, FSRP, and not FRP. Thus finite-state compression is genuinely needed even when the ambient relative structure is infinite. It remains open whether an hh-substitutable context-free pair with finite prime spectrum can fail FSRP itself.

  3. The saturation-defect decomposition isolates the source of direct-rule infinitude. Saturated valid tails have a finite quantitative bound; every failure of FRP localizes to an infinite family of under-saturated tails in one semantic residual class.

  4. PTLD—uniqueness of right division into prime observer targets—restores Clark-style path rigidity. It implies UF, valid-tail exactness, valid-tail determinism, and the q2q^2 direct-rule bound, while remaining strictly weaker than factor cancellation.

Two consequences complete the picture. First, L0={anbn:n≥0}∗L_0 = \{a^n b^n : n \geq 0\}^* shows that PTLD is not necessary, whereas a five-prime nonregular deterministic context-free language with a C2×C2C_2 \times C_2 observer satisfies PTLD but is not k,ℓk, \ell-substitutable for any finite k,ℓk, \ell. Thus fixed finite-monoid typing goes strictly beyond the entire bounded-context hierarchy, not merely beyond ordinary substitutability. Second, for each fixed hh the PTLD branch admits strong reconstruction of the direct canonical grammar with polynomial-time hypothesis updates and an explicit finite characteristic sample. On the lexically anchored PTLD subbranch the cut-separation radius vanishes, yielding polynomial characteristic data in explicit canonical grammar size; the same five-prime separation witness belongs to this subbranch. Arbitrary compact CFG size cannot control canonical thickness polynomially, so transfer to external grammar representations requires additional restrictions. The FSRP branch admits computable strong reconstruction of the canonical residual controller from any weakly behaviorally correct CFG-valued positive-data learner. Prime existence, finite residual splitting, and minimality of the valid basis provide the structural infrastructure for these results rather than separate headline claims.

References (15)