Rational series
Relative degree for rational series
Relative degree asks how long a rational series is forced to stay inside an initial -corridor before a -transition can become nonzero. A finite reachable continuation space turns that infinite-language condition into exact linear algebra.
FPRD-RS-D01 · definition
Problem and input model
The posted problem fixes the binary alphabet . Let be represented by rational matrices and vectors
Write and . A relative degree is an integer such that
The algorithm below takes the linear representation itself as input. Converting another description of a rational series into that representation is a separate computational cost.
No shorter prefix may stop or turn through , while the boundary word must be visible. If degree zero is permitted, support containment is vacuous and only remains.
Worked example
The dimension bound can be sharp
Take
This is the characteristic series of : the first enters an accepting state, and both letters then preserve it. Its relative degree is . The representation has , so the strict bound cannot be improved uniformly.
FPRD-RS-L01 · lemma
A finite safe-row criterion
Compute the reachable column space
It is the least subspace containing and invariant under every letter matrix. Define the safe row space
This is a finite summary of all continuations. Every possible suffix contributes a column in ; a row belongs to exactly when stopping there and every continuation after taking are all invisible.
Lemma. The support condition holds exactly when for every .
Proof. For a row , the equation excludes the word . The condition excludes every word whose first deviation at that position is , because every remaining suffix contributes a vector in . These are precisely the forbidden words under the two-letter convention of the problem. The same argument read backwards proves the converse. ∎
FPRD-RS-T01 · theorem
The relative degree is below the dimension
Theorem. If a -dimensional representation has a relative degree, then .
Proof. Put . The lemma gives , whereas implies . If a first linear dependence occurred at an index , the-stable Krylov span generated by would contain every later row, including . All its generators lie in the linear space , a contradiction. Thus are independent and . ∎
FPRD-RS-T02 · algorithm
A polynomial-time decision procedure
- Compute a column basis of by invariant-space saturation.
- Initialize and mark every earlier row safe.
- For , return exactly when all earlier rows were safe and .
- Before advancing to , update safety by testing and .
The lemma proves the support test and the dimension theorem proves that the search is complete. Exact rational linear algebra gives deterministic polynomial time in the bit size of the supplied representation.
Uniqueness
Two different degrees cannot satisfy the definition. If , the support condition for forces , contradicting the witness condition for .
Reported finite corroboration
The originating run artifact reports 100,000 exact-arithmetic random representations of dimensions one through four, with no mismatch between the algorithm and direct residual-zeroness tests. The checker and certificate are absent from the available durable and public record. This is therefore a reported computational finding, not reproducible evidence used to mature the theorem. The proof above carries the result.
FPRD-RS-C03 · exhaustive finite certificate
A reproducible replacement for the missing experiment
A new exact checker enumerates every one- and two-dimensional representation whose entries lie in. For each representation it compares the Krylov algorithm with a separate definition-level oracle that tests every candidate and every suffix word of length below .
| Dimension | Representations | Degree 0 | Degree 1 |
|---|---|---|---|
| 1 | 81 | 24 | — |
| 2 | 531,441 | 290,304 | 5,568 |
Across all 531,522 representations there are no mismatches and no nonunique candidate sets. This is a complete result only for the displayed finite domain; the proof remains responsible for arbitrary dimension and rational input.
Scope and sources
- The alphabet is exactly , as in the posted problem.
- The polynomial-time claim is for an explicit rational linear representation.
- The representation dimension is a positive integer; minimality is not assumed.
- The convention here allows degree zero.
The binary hypothesis is essential to the displayed formula for. Over, take,,, and. Then the -only safety test passes below degree one and, but. For a larger alphabet, the definition of must include one annihilation condition for every letter other than .
Problem source. Relative degree for rational series, contributed by Lorenzo Clemente to Automata Exchange on 1 July 2025. The standard equivalence between rational series, recognizable series, linear representations, and weighted automata is described by Jean Berstel and Christophe Reutenauer in Noncommutative Rational Series with Applications, Chapter 1, Cambridge University Press (2010), pp. 3–28, DOI 10.1017/CBO9780511760860.002. The FPRD derivation is preserved in fprd-automata-exchange-run-003-relative-degree-rational-series-2026-08-25.md.