Tag: PLRS Numeration

  • Global Carry Realization in Canonical PLRS Numeration

    Let P = e1 ⋯ eL be the primitive maximal boundary block of a canonical positive linear recurrence sequence (PLRS) numeration system. Earlier local carry theory determines individual successor depths but not which such depths can occur consecutively. We solve this global realization problem.

    For each maximal-orbit phase i and width m, the state carry words satisfy

    Wi(m) = (W0(m−1)(m − 1))ei+1 Wi+1(m−1).

    If u is a finite depth word with M = max u, then

    u is globally realizable ⇔ u ∈ Fact(W0(M+L)).

    Thus realization has an exact bounded-width criterion, although the corresponding root carry word may be exponential in that width.

    The same recursion yields a generalized ruler word with exact renormalization and a countable-alphabet substitution structure. At matched scale, phase-containment recursions connect global realization to the anti-Lyndon criterion: P is anti-Lyndon exactly when the root phase already contains every matched-scale carry factor at every depth.

    For non-anti-Lyndon boundaries we identify the exact first failure depth and distinguish immediately visible local defects from globally masked witnesses.

  • Local Dynamics and Periodic Lifts of Carry Depths in Canonical PLRS Numeration

    For a canonical positive linear recurrence numeration system with threshold-reset legality automaton and maximal boundary block

    P = p1···pL,

    we give an exact local grammar for the reset-depth sequence produced by lexicographic succession. Every positive reset depth determines its predecessor’s branch-point state and depth exactly (Theorem A); every carry-depth excursion collapses to depth 0 in at most L deterministic steps (Theorem B); and every realized excursion skeleton admits every periodic lift of its initial depth, with width increased accordingly, and with no gaps (Theorem C).

    Together these give an exact decomposition of the carry-depth sequence into a finite deterministic skeleton and an unbounded periodic lift parameter. We further show that carry-depth structure depends critically on which of two natural residual-state conventions is used: the source-word residual state is exactly depth-determined,

    σ(w) = qT(w) mod L,

    while the branch-point state is maximally mixed,

    R*t = B   for every   t ≥ 0.

    We apply this grammar to state-dependent carry-cost decoders, obtaining an exact single-edge observability criterion, exact backward resolving radii throughout the deterministic predecessor chain, including its first forced depth-zero endpoint, and a sharp characterization of the multivalued obstruction that governs that endpoint’s own predecessor.

  • Intrinsic Recognition of Canonical PLRS Legality Automata

    Paper IV showed that every presentation of a canonical positive linear recurrence sequence (PLRS) numeration system determines a threshold-reset automaton, and that this automaton minimizes
    to the threshold-reset automaton of the canonical reduction. Left open there was the converse recognition problem: given an arbitrary minimal deterministic automaton over an ordered digit
    alphabet, with no numeration system attached to it in advance, when is it the legality automaton of some canonical PLRS, and how is the coefficient vector recovered? We answer this completely.
    We give five intrinsic structural conditions on a pointed DFA — a unique absorbing rejecting sink, a cyclic threshold-reset structure with a common restart state, coincidence of the initial and
    restart states, an initial-positivity condition, and closure of the threshold orbit of the restart state — and prove that a minimal DFA satisfies them if and only if it is the legality automaton of a canonical PLRS. The coefficient vector is then recovered uniquely and constructively from the transition table. We further prove, as an independent proposition, that minimality of such an
    abstract cyclic threshold-reset automaton is equivalent to primitivity of its threshold-boundary word. Closely related threshold automata occur in Parry and Bertrand numeration, while classical work characterizes regularity of representation languages starting from a given numeration system.
    The direction here is converse and PLRS-specific: the only input is the pointed minimal DFA, from which PLRS realizability and the unique canonical coefficient vector are decided. Sharpness
    examples show that the principal structural hypotheses cannot be omitted or replaced by several natural weaker conditions.

  • Endpoint Decomposition and an Anti-Lyndon Aperiodicity Criterion for PLRS Numeration

    Canonical positive linear recurrence sequence numeration systems admit a natural deterministic threshold-reset automaton for their legality languages. Paper IV showed that, after minimization, every presentation of a fixed system yields the automaton of the canonical reduction. The present paper studies the internal transition structure of that canonical automaton. We introduce anchored deficient-block languages and prove a Generalized Endpoint Decomposition describing every live computation from an arbitrary starting state as either a forced threshold march or an anchored first reset followed by a universal restart grammar. We then identify an exact aperiodicity criterion. If

    P=c1c2···cL−1(cL−1)P = c1c2 · · · cL−1(cL − 1)

    is the primitive maximal boundary block of the canonical reduction, then the canonical threshold-
    reset automaton is aperiodic if and only if PP is lexicographically maximal among its nontrivial cyclic rotations, equivalently, if and only if PP is anti-Lyndon. The forward implication follows from a total
    order on live states induced by the rotations of P∞P ∞, under which every digit acts monotonically. For the converse, the least rotation exceeding P∞P ∞ yields an explicit word whose induced transformation has a nontrivial periodic orbit. Since the canonical automaton is minimal over its finite natural digit alphabet, this is also equivalent to star-freeness of the legality language. Exhaustive computations for all canonical reductions of order at most six with coefficients at most four agree exactly with the
    theorem and recover the previously observed cycle families as concrete manifestations of the same restart structure.

  • Automaton Minimization and Canonical Reduction for PLRS Numeration

    Abstract

    Canonical positive linear recurrence numeration systems admit multiple coefficient presentations generating the same legality language. Paper III showed that every such presentation belongs to a unique equivalence class determined by an intrinsic periodic boundary sequence and that each class possesses a distinguished canonical reduction of minimal order.
    In this paper we give an automata-theoretic interpretation of canonical reduction. To every coefficient presentation we associate a deterministic threshold-reset automaton accepting exactly its legality language. We prove that the natural automaton of every presentation minimizes to the natural automaton of the canonical reduction.
    Consequently the minimal deterministic automaton of the legality language is uniquely determined by the canonical reduction, and the canonical order is exactly the number of live Myhill–Nerode classes of the legality language.
    Thus canonical reduction is identified with automaton minimization, providing an intrinsic automata-theoretic characterization independent of recurrence order.

  • Intrinsic Boundary Sequences, Canonical Presentations, and Language Invariance in Canonical Positive Linear Recurrence Numeration

    Abstract

    Canonical positive linear recurrence numeration systems may admit multiple coefficient presentations that generate the same place-value sequence. For every place-value sequence (Hn), we define an intrinsic sequence e = (ei)i≥1 through the triangular valuation identities

    Hn+1 − 1 = ∑i=1n eiHn+1−i.

    We prove that this intrinsic sequence coincides with the periodic maximal boundary sequence associated with any coefficient presentation of (Hn). This yields an exact classification of equivalent presentations: a positive integer r is the order of a coefficient presentation if and only if r is a period of e, and the corresponding presentation is uniquely

    (e1, …, er−1, er + 1).

    In particular, the canonical reduction is recovered from the primitive period of e.

    The main structural consequence is language invariance. Although equivalent coefficient presentations generally define different recursive legality grammars and may have different breakpoint decompositions, we prove that they generate exactly the same language of legal representations. Every equivalent presentation is an iterated lift of the canonical reduction, and a general lift-invariance theorem shows that these lifts preserve the accepted language.

    Thus the place-value sequence determines the intrinsic boundary sequence, the complete family of equivalent coefficient presentations, the canonical reduction, and the associated legality language. The paper also resolves the boundary-to-canonical-reduction reconstruction question arising from the preceding carry-theoretic analysis.

  • Boundary Maps and Carry Costs in Canonical Positive Linear Recurrence Numeration Systems

    Abstract
    The companion paper established that carry depth under incrementation in canonical positive linear
    recurrence numeration systems (PLRS) converges to a geometric distribution determined by the
    Perron root of the defining recurrence. The present paper studies the arithmetic cost of those
    carries.
    A new structural theorem is proved showing that the lexicographically maximal legal words form
    the prefixes of a single infinite periodic word
    P∞,
    P =c1c2···cL−1(cL −1),
    for every canonical coefficient vector c = (c1,…,cL). Combined with the canonical successor
    decomposition established in the companion paper, this shows that every additive carry statistic is
    obtained by evaluating an explicit periodic boundary map on the carry depth.
    A general pushforward theorem is established for periodic boundary maps, reducing the limiting
    distribution of every additive carry statistic to the geometric carry-depth law. Two natural statistics
    are then studied in detail: Hamming carry cost, which counts the number of digit positions changed
    by incrementation, and digit-magnitude (ℓ1) carry cost, which records the total digit mass erased
    during the carry.
    Exact limiting distributions, rational generating functions, and reconstruction procedures are
    obtained for both statistics. The Hamming carry law determines the complete support sequence
    1
    of the maximal periodic boundary word, while the digit-magnitude law determines the complete
    infinite boundary word itself. Whether this always determines the canonical reduction of the defining
    recurrence in the sense of the companion paper is identified as an open problem. A simple identity
    derived from the characteristic equation yields the universal expectation
    E[Cℓ1] = 2
    for every canonical PLRS, extending the classical mean-two phenomenon beyond the binary setting.
    Together with the companion paper, these results separate the probabilistic geometry of carry
    propagation from its deterministic arithmetic boundary structure.

  • Canonical Reduction and Inverse Reconstruction in PLRS Numer-ation

    Abstract


    We study the inverse problem for carry propagation in canonical positive linear recurrence sequence (PLRS) numeration systems: given only the histogram of carry depths arising from incrementation, can the underlying recurrence be recovered? We develop a purely combinatorial description of carry propagation, derived entirely from the recursive legality definition and independent of any numerical valuation. The legal words of each width form a rooted ordered tree with canonical minimal and
    maximal extensions at every node; these identify the immediate lexicographic successor of any legal word, which we then show coincides with arithmetic incrementation once the valuation map
    is introduced. Carry depth is shown to correspond not to a disjoint partition of legal words, as a naive count might suggest, but to a family of nested tail classes that biject with legal prefixes via a
    maximum-cylinder construction; exact-depth counts are recovered as first differences of these tails.
    We then address reconstruction directly, and show by explicit counterexample — the coefficient vectors (2) and (1, 2), which generate an identical sequence of place values — that the histogram does not determine the defining coefficient vector uniquely. We identify the correct invariant, the canonical reduction (the presentation of least admissible order generating the observed sequence), and prove that the carry histogram determines this reduction exactly, recovering the original coefficient vector whenever it is already reduced.

    The four principal contributions are:

    (i) a fully combinatorial account of carry propagation via the tree structure of legal words;

    (ii) the prefix-cylinder tail identity governing carry-depth statistics;

    (iii) the identification and proof of the canonical-reduction phenomenon, including the non-uniqueness example; and (iv) a deterministic, finite reconstruction procedure recovering the canonical reduction from carry data.

    (iv) a deterministic, finite reconstruction procedure recovering the canonical reduction from carry data.

  • Boundary Layers and Inverse Reconstruction in Canonical Multi-Gap PLRS Numeration

    Abstract

    We study carry propagation in a family of canonical positive linear recurrence sequence (PLRS) numeration systems whose coefficient vectors consist of alternating blocks of k ones and
    prescribed zero runs. We first derive the exact combinatorial structure of maximal legal words directly from the recursive legality definition. This yields an explicit periodic maximal word, an
    exact description of the exceptional carry fibres, exact fibre offsets, and the universal identity that the mean carry length is identically two for every member of the family.
    Using the associated generating functions, we develop a complete asymptotic expansion for the variance of the carry length. The expansion naturally decomposes into primitive travelling boundary layers determined by the coefficient signature and exponentially smaller corrections
    arising from perturbations of the dominant characteristic root. The first moment is shown to be universal, while the higher-order asymptotic boundary layers contain sufficient information to reconstruct the defining coefficient signature, as proved in Section 10.
    Finally, we prove an inverse reconstruction theorem. After separating the universal root contribution from the primitive boundary layers, the coefficient signature is recovered recursively from the asymptotic expansion of the variance. This establishes that the asymptotic carry statistics uniquely determine the underlying multi-gap PLRS family.