% \subsection{Weighted bracelets without enumerating the alphabet} \label{sec:weighted-bracelet-oracle} A bracelet is a word considered up to cyclic rotation and reversal. Polynomial-time bracelet ranking and unranking are already known for an explicit alphabet: Adamson, Gusev, Potapov, and Deligkas give a ranking bound $O(q^2\ell^4)$ for alphabet size $q$ and word length $\ell$ \cite[p.~4:15, Lemma~29, Theorem~30 and the final proof of Theorem~5]{AGPD2021}. Weighted necklace indexing is also studied in Adamson's thesis~\cite[Chapter~7]{Adamson2021}. Thus weights and arbitrary-threshold ranking are not, by themselves, new features. That bound alone does not give polynomial time when letters are rooted trees and $q$ is exponential in the total number of vertices. The purpose of this appendix is to verify the precise oracle closure required here, combining the dihedral quotient, positive weights, and polynomial dependence on the bit lengths of implicit grade cardinalities. We claim neither priority for bracelet indexing nor optimality of the complexity bound. The published $q^2$ factor is not a novelty barrier: the detailed comparison below gives a shared-transfer evaluation of the retained-letter recurrence within the sparse numerical budget, conditional on its explicit algebraic interface. A source-state counterexample separates that evaluation claim from combinatorial correctness. The exact residual repair below removes the counterexamples but requires exponentially many states in the literal canonical-tail tree. A matching aggregate reformulation must therefore change that interface. We do not claim a fully corrected reimplementation of that algorithm or transfer its optimized bound. The present proof independently verifies the required interface using classical ingredients. The possible research contribution is assessed at the level of the full uniform graph application. \paragraph{Why a necklace oracle alone is insufficient.} For letters $a0$, $B_{n,\ell}=B_{n,\ell}^{\ge 0^\ell}$ is the total number of length-$\ell$, weight-$n$ bracelets. The strictly-below function is \[ R_{n,\ell}(w)=B_{n,\ell}-B_{n,\ell}^{\ge w}. \tag{WB11} \] To rank an input, encode its letters by weight and within-grade rank, take the least of its rotations and reversed rotations, and apply (WB11). Trying all $2\ell$ words is already polynomial. \paragraph{A weighted example with all three threshold types.} Let $aH_s}z^{\mathrm{wt}(a)}D_a^{\mathsf T}$. Finally the $\ell\times\ell^2$ matrix $J$ embeds a row vector in the coordinates whose first state is zero: $J_{u,(s,v)}=[s=0][u=v]$. Thus $RJ$ consists exactly of the forward reset transitions, while both matrices still enforce the reverse test. Introduce the formal length variable $t$ and define \begin{align*} B_j(z)&=JA_0^{j-1}R,\qquad B(t,z)=\sum_{j\ge1}t^jB_j(z),\\ K(t,z)&=(I-B(t,z))^{-1}=\sum_{d\ge0}t^dK_d(z). \tag{MR3} \end{align*} The block $B_j$ represents $j-1$ forward equality steps followed by one forward reset, beginning and ending with first coordinate zero. The remaining coordinate retains the reverse-window condition. Thus $K_d$ counts concatenations of these blocks of total length $d$, while $L_d$ below counts cycles with no forward reset. This is a smaller interface than storing the whole tensor matrix. The matrix determinant lemma, applied over the formal power-series ring, gives \[ \det(I-tA)=\det(I-tA_0)\det(I-B(t,z)). \] Take the formal logarithmic derivative and use $-t\,\partial_t\log\det(I-tA)=\sum_{d\ge1}t^d\operatorname{tr}(A^d)$. This trace--determinant step is classical \cite[Proposition~V.6(ii)]{FS2009}. The resulting integer recurrences are \[ K_0=I,\qquad K_d=\sum_{j=1}^dB_jK_{d-j}, \] \[ T_d=L_d+\sum_{j=1}^d j\operatorname{tr}(B_jK_{d-j}), \tag{MR4} \] where $T_d=\operatorname{tr}(A^d)$ and $L_d=\operatorname{tr}(A_0^d)$. No logarithm, determinant or division is computed by the algorithm; (MR4) uses only nonnegative integer coefficients, additions and products. The identity holds for every $d$, including $d$ not dividing $\ell$. \paragraph{All equality cycles contribute to $L_d$.} For a directed cycle $C$ of $s\mapsto e_s$, let $h_C$ be its length, $v_C$ its word of equality labels in cycle order, and $W_C=\mathrm{wt}(v_C)$. Traversing $C$ $r$ times gives a reverse factor $(D_{\operatorname{rev}v_C})^r$. By the unique-closed-path lemma, \[ \operatorname{tr}(D_{\operatorname{rev}v_C}^{\,r}) =\operatorname{tr}(D_{\operatorname{rev}v_C}) =:\epsilon_C\in\{0,1\}\qquad(r\ge1): \] both sides test the same infinite periodic word. Different starting states on $C$ cyclically permute the matrix product and leave its trace unchanged. Consequently \[ L_d(z)=\sum_{C:\,h_C\mid d} h_C\epsilon_C z^{(d/h_C)W_C}. \tag{MR5} \] Decompose the equality functional graph and evaluate each $\epsilon_C$ by applying its reversed label word to every original DFA state. The cycles have total length at most $\ell$, so this takes $O(\ell^2)$ state transitions and is below the main bound. For a small example, take the threshold $w=10$ over two unit-weight letters $0<1$. Both barriers equal $1$ and both equality destinations are state $1$. There are no forward reset transitions, yet the all-$1$ periodic word passes the threshold. The equality cycle consisting of state $1$ contributes $L_d=z^d$. Omitting cycles away from state zero would lose this entire contribution. For a complementary example with resets, take $w=01$ over the same unit-weight alphabet. Then $H=(0,1)$, $e=(1,0)$, and, through block length two, \[ B_1=z\begin{pmatrix}1&1\\0&0\end{pmatrix},\qquad B_2=0, \qquad L_1=0,\quad L_2=2z^2. \] Therefore $K_1=B_1$, $T_1=z$, and $T_2=L_2+\operatorname{tr}(B_1K_1)=3z^2$. The three admissible labelled words are exactly $01,10,11$. For the rotational Burnside sum at length two, the second term repeats a one-letter word twice, giving $([z^2]T_2+[z^2]T_1(z^2))/2=(3+1)/2=2$ rotation classes. This small calculation separates equality-only paths, reset blocks and the later symmetry quotient; none of these multiplicities is optional. \paragraph{A block has one reset row and at most $\ell$ exceptions.} Follow the equality map from $s_0=0$: $s_{r+1}=e_{s_r}$ and $b_r=H_{s_r}$. For block length $j$, set $u=b_0\cdots b_{j-2}$, $h=b_{j-1}$ and let $g$ be the partial deterministic map represented by $D_{\operatorname{rev}u}$. For $j=1$, the word $u$ is empty and $g$ is the identity map. Then \[ B_j=z^{\mathrm{wt}(u)} \left(\sum_{a>h}z^{\mathrm{wt}(a)}D_a D_{\operatorname{rev}u}\right)^{\mathsf T}. \tag{MR6} \] For an original state $s$, letters $a>\max(h,H_s)$ send it to $g(0)$, when this state is defined. There is one additional transition at the single letter $a=H_s$ if $H_s>h$ and $g(e_s)$ is defined. After transposing, application to a polynomial column vector $x$ therefore consists of \[ (B_jx)_{g(0)}\mathrel{+}= z^{\mathrm{wt}(u)}\sum_s \left(\sum_{a>\max(h,H_s)}z^{\mathrm{wt}(a)}\right)x_s \tag{MR7} \] and at most $\ell$ unit-coefficient shifts from coordinate $s$ to coordinate $g(e_s)$. Undefined destinations contribute nothing. The common-row and exceptional contributions are added if they overlap. Sort states by $H_s$. The clipped tails $F_s=\sum_{a>\max(h,H_s)}z^{\mathrm{wt}(a)}$ are nested, and their successive differences count disjoint ordinal intervals, with the final tail forming the last interval. Refining these intervals by the at most $n$ weight grades creates $O(n+\ell)$ nonempty pieces. Thus the total support of all difference polynomials and the final tail is $O(n+\ell)$. With $P_i=\sum_{r\le i}x_{s_r}$, \[ \sum_iF_{s_i}x_{s_i} =F_{s_\ell}P_\ell+ \sum_{i<\ell}(F_{s_i}-F_{s_{i+1}})P_i. \tag{MR8} \] Obtain the $P_i$ in descending order by subtraction, storing only the current prefix. One block application takes \[ O\bigl(n(n+\ell)\beta B+\ell n\beta\bigr) \tag{MR9} \] bit operations. The first term multiplies a path count by a grade-interval cardinality; the second covers the unit exceptions and array operations. The partial maps $g$, equality prefixes and all sparse block data are precomputed within the final bounds without enumerating alphabet letters. \paragraph{Compute one column at a time.} For each original state $c$, store only $K_d\mathrm{e}_c$ for $0\le d\le\ell$, where $\mathrm{e}_c$ is a coordinate vector. Apply (MR4) for this column. Each intermediate vector $B_jK_{d-j}\mathrm{e}_c$ both contributes to $K_d\mathrm{e}_c$ and, through its coordinate $c$ multiplied by $j$, to the trace correction in $T_d$. There are $O(\ell^3)$ block applications in total. Their coefficient-arithmetic cost is \[ O\bigl(\ell^3 n(n+\ell)\beta B+\ell^4n\beta\bigr). \tag{MR10} \] Under the same packed-array convention as the dense comparison, budget and index control adds $O(\ell^3 n(n+\ell)\log(n+2))$ bit operations. This is $O(n^5\log(n+2))$, which fits the final $O(n^6B^2)$ bound even when $\beta=O(\ell B)$ is smaller than $\log(n+2)$. Coefficient-offset costs depending on $B$ are absorbed by the already charged coefficient arithmetic. Storing indices does not exceed the final $O(n^4B)$ space bound. The factor $j$ in (MR4) adds only $O(\ell^3n\beta\log(\ell+1))$ bit time, which fits in (MR10) because $\log(\ell+1)\le n+\ell$ and $B\ge1$. For a fixed word and boundary start/end states, its forward reset positions are uniquely determined. Hence a coefficient of $K_d$ counts a subset of the original words, rather than all possible segmentations of those words. Although the tensor machine need not be deterministic from its starting pair alone, fixed endpoints admit at most one reverse path: the reversed word matrix before transposition is a partial deterministic map. The preceding word-count bound $\beta=O(\ell B)$ therefore still applies; prefix sums and trace factors add only polynomial factors in $\ell$. Formula (MR10) is $O(n^6B^2)$. Keeping the $\ell+1$ vectors for only one column uses $O(\ell^2(n+1)\beta)=O(n^4B)$ bits. Block preprocessing and the trace table are smaller. We next handle reflections and the scalar length totals. \paragraph{Reflections need only the original DFA.} Every reflection-fixed word $u$ satisfies $\operatorname{rev}u=\operatorname{rot}_j(u)$ for some $j$. Thus its forward and reversed cyclic windows form the same set. For these words only, the indicator in (WB3) equals $\operatorname{tr}D_u$. In particular $v a\operatorname{rev}v$ and $v\operatorname{rev}v$ are palindromes, while the reversal of $a v b\operatorname{rev}v$ is its one-position rotation. Consequently (WB8)--(WB9) may use \[ M(z)=\sum_a z^{\mathrm{wt}(a)}D_a, \qquad \mathcal S(X)=\sum_J c_Jz^{2j(J)}D_JXD_J \tag{MR11} \] in place of $A$ and $\mathcal T$, with $\ell\times\ell$ matrices. This replacement is not valid for the rotation terms of arbitrary words. For example, a necklace represented by $acb$ can pass its forward threshold while its reversed necklace $abc$ fails it. A matrix $D_J$ has at most one nonzero entry in each row. To form $D_JXD_J$, select the rows specified by the left factor and add columns as specified by the right factor. This takes $O(\ell^2n)$ additions. Scaling by $c_J$ and shifting degrees likewise uses $O(\ell^2n)$ products with a $B$-bit factor. There are $O(n+\ell)$ intervals and $O(\ell)$ required palindrome steps. The total reflection cost is therefore \[ O\bigl(\ell^3n(n+\ell)\beta B\bigr)=O(n^6B^2). \] The final left multiplication by $M$ in the two-fixed-position formula is evaluated through the same interval shifts and row selections. It fits in this bound. The working space remains $O(n^4B)$ bits. Neither reduction changes periodic words, noncanonical thresholds, wrong-weight thresholds, or the nonfaithful actions at lengths one and two. \paragraph{All length-block totals from scalar series.} Let $F(z)=\sum_{j=1}^n a_jz^j$ and $P_d(z)=F(z)^d$, with $P_0=1$. Compute $P_0,\ldots,P_n$ consecutively using multiplication by $F$. This takes $O(n^3)$ products of an $O(nB)$-bit count and a $B$-bit grade cardinality, hence $O(n^4B^2)$ bit time. The table has $O(n^2)$ integer cells and $O(n^3B)$ bits. For a length $\ell$, its unrestricted rotation sum is \[ R_\ell=\sum_{r\mid\gcd(n,\ell)}\varphi(r) [z^{n/r}]P_{\ell/r}(z). \] For $\ell=2h+1$, the fixed-point series of one reflection is $F(z)P_h(z^2)$. For $\ell=2h$, the two series are $P_h(z^2)$ and $P_2(z)P_{h-1}(z^2)$. Extracting their degree-$n$ coefficients over every length requires only $O(n^2)$ further products. The coefficients of $P_2$ have at most $2B$ bits. Totient factors and the exact Burnside divisions have smaller cost than the displayed coarse bound. This computes all length-block totals without making $n$ zero-threshold calls. If the caller needs all weight grades through $n$, reuse this same power table and extract all degrees in all the reflection series. There are $O(n^3)$ further products, again with a factor of at most $2B$ bits, so the displayed total count bound remains valid. Finally, rank needs one fixed-length threshold count after normalization and the preceding length totals. Unrank needs at most $O(nB)$ threshold counts as in (WB12), followed by the final base-letter decodings. No table of all binary-search thresholds is retained: successive queries reuse the workspace. The grade-count computation and input/output oracles are charged separately as in (MR1). \paragraph{Exponential weight grades give shorter path counts.} Suppose $a_j\le C^j$ for a fixed $C\ge1$. The number of length-$d$ words of total weight $m$ is at most \[ \binom{m-1}{d-1}C^m\le(2C)^m\qquad(1\le d\le m). \] The tensor matrices and the renewal matrices count subsets of these words for fixed endpoints, while the reflection matrices count words of their specified palindromic forms. Prefix sums and traces introduce only polynomial factors in $\ell$. Hence $\beta=O(n)$ throughout, and summing the grade bounds gives $B=O(n)$. Substituting these bounds directly in (MR10) gives $O(n^7)$ threshold time; the reflection calculation has the same bound. The scalar table uses $O(n^3)$ products of $O(n)$-bit integers, or $O(n^5)$ bit time. Apply Lemma~\ref{lem:weight-aware-unrank} to locate the next letter's weight before its ordinal within that grade. Since the selected weights sum to $n$, only $O(n)$ threshold calls are needed. This gives $O(n^8)$ numerical unrank time; output-letter decoding remains separately charged. The stored column histories use $O(n^4)$ bits. This proves the proposition. \end{proof} \paragraph{Why the interface must be uniform in the parameter.} If $B(n,p)\le g(p)(n+1)^b$ and the required base-oracle time, space, and encoding bounds have fixed polynomial exponents independent of $p$, then (MR1) has polynomial exponents independent of $p$ too. Without this uniform premise, the conclusion is only polynomiality for the given base class. For example, let $\mathcal A_m^{(p)}$ consist of all binary strings of length $m^p$, each of weight $m$. Each fixed $p$ gives polynomial base oracles and ordinal bit lengths, but unranking a one-letter bracelet of weight $n$ outputs $n^p$ bits. No bound $f(p)n^C$ with a common constant $C$ follows. The explicit interface bounds avoid that implication. They establish uniform count/rank/unrank closure under its stated premise; they do not by themselves give a small-delay generation theorem. The preceding construction and interface bounds complete the proof of Theorem~\ref{thm:weighted-bracelet-closure}. \begin{corollary}[Unicyclic component oracle] \label{cor:unicyclic-component-oracle} Unlabelled connected simple undirected unicyclic graphs, with or without a maximum-degree bound and with or without a bipartiteness restriction, admit polynomial-bit count, rank, and unrank. The polynomial exponent can be chosen independently of the degree bound, provided the rooted-tree oracles are supplied with their uniform bounds. \end{corollary} \begin{proof} The rooted-tree bracelet representation is classical and is used explicitly for unicyclic graph generation by Karim, Sawada, Alamgir, and Husnine~\cite{KSAH2013}. Delete the edges of the unique cycle. Each cycle vertex becomes the root of an attached tree, including that vertex itself. The cyclic list of these rooted trees is determined up to rotation and reversal, and the cycle length is at least three. Conversely every such bracelet reconstructs one connected simple unicyclic graph. Thus this is a bijection of isomorphism classes, preserving total vertex count. For maximum degree $\Delta\ge2$, each root has at most $\Delta-2$ children and every other vertex has at most $\Delta-1$ children. These are the capped rooted-tree alphabets already provided by the recursive multiset oracles; the root condition differs because two incident edges are reserved for the cycle. If $\Delta<2$, the class is empty. Bipartiteness is equivalent to an even cycle length, so it is enforced by keeping only even length blocks. The theorem provides the count and rank of each bracelet and reconstructs its actual rooted-tree letters on unranking. Reading the unique cycle and its attached trees from an explicit graph is polynomial. Hence the result supplies actual graph indexing oracles, rather than only a generating function. \end{proof} \subsubsection{How the explicit-alphabet predecessors can be compressed} \label{sec:bracelet-prior-compression} \paragraph{What the weighted predecessor states.} Adamson considers an explicit alphabet of $q$ symbols and length-$\ell$ necklaces whose Parikh vector $P$ satisfies $AP=C$, with $A\in\mathbb N^{m\times q}$. In his terminology, an ``$\ell$-weight Parikh vector'' has $\ell$ positions; its weighted budget is supplied separately by $AP=C$. The stated operation bounds for count, rank and unrank are, respectively, \[ O(q\ell C_*),\qquad O(q\ell^2 C_*),\qquad O(q\log q\,\ell^3 C_*),\qquad C_*=\prod_{i=1}^m C_i. \] These are Theorems~21--23 of Section~7.2, pp.~128--132 \cite{Adamson2021}. Their dynamic program ranges over the residual budget box; including zero coordinates, its size is $\prod_i(C_i+1)$. A fixed number $m$ of equations therefore does not alone make this a polynomial bound in the binary input length. For the positive scalar weight equation $\sum_a\wt(a)P_a=n$, however, $m=1$ and $\ell\le n$. This is exactly the numerical-size regime needed here, so weighted necklace indexing on an explicit alphabet is prior art. The quoted operation counts are not transferred as bit-complexity bounds. \paragraph{Which bracelet bound is being cited.} The final CPM paper has an internal discrepancy: its abstract and detailed proof on p.~4:15 give $O(q^2\ell^4)$, whereas the early statement of Theorem~5 on p.~4:5 and the conclusion on p.~4:16 give $O(q\ell^4)$ \cite{AGPD2021}. Thus the discrepancy is not confined to arXiv:2104.04324v1. We use the conservative bound supported by the detailed proof; the thesis also states it in Theorem~14, p.~96 \cite{Adamson2021}. No result here depends on choosing the better alphabet exponent. Section~7.2 of the thesis concerns weighted \emph{necklaces}; Chapter~6 concerns unweighted bracelets. Neither statement alone supplies the present implicit weighted bracelet interface. \paragraph{What can be derived from these predecessors.} Scalar weight marking adds one budget coordinate. For the bracelet recurrences, comparisons with fixed threshold letters permit grouping by equal weight and equal comparison outcomes. Paired positions receive twice the letter weight and only one factor for its choice. There is, however, a retained free letter in the enclosing-bracelet recurrence, so threshold intervals alone do not suffice. The following derivation addresses that actual obstacle rather than just comparing displayed complexity bounds. % \paragraph{Aggregating a fixed free letter.} The alphabet-size issue in the enclosing-bracelet recurrence is slightly stronger than grouping letters by their comparisons with a fixed threshold. The initializer in Adamson's thesis, Lemma~27, p.~118, compares a newly chosen letter $z$ with a letter of $v_{[1,i]}x$. That letter can be the retained free letter $x$ itself. Consequently the number of possible $z$ need not be constant as $x$ varies inside one threshold interval. Here is a sufficient elementary remedy. Partition the alphabet into intervals of constant weight, splitting at each threshold letter and immediately after it. There are $O(n+\ell)$ intervals. Fix one such interval $J$, of weight $j$ and cardinality $c$, and write $r\in\{0, \ldots,c-1\}$ for the ordinal of the retained letter $x$ inside $J$. Every comparison between $x$ and a threshold letter is now constant. A fresh letter in $J$ can be smaller than, equal to, or larger than $x$ in respectively \[ r,\qquad 1,\qquad c-1-r \] ways. Fresh letters in any other interval have a comparison with $x$ that is constant throughout that interval. Consider a finite acyclic counting recurrence with $S$ control states and depth at most $L$. Assume that its only persistent nonthreshold letter is this fixed $x$: it is never replaced by a fresh letter. For each fresh-letter step, suppose that its destination control state and admissibility depend only on the old control state, comparisons with fixed threshold letters, and the comparison with $x$. Repeated occurrences of the same newly chosen letter are emitted together; they do not constitute additional independent choices. Assume that initial and terminal tests use the same comparisons. A constant-state refinement can retain which comparison branch was taken, when needed. For every control state $s$ and remaining/accumulated weight $b\le n$, the corresponding count $F_{s,b}(r)$ is a polynomial in $r$ of degree at most the number of independent fresh-letter choices on a path to that state. Indeed the initial counts are constant, and every grouped transition multiplies them by a constant or an affine polynomial in $r$. Summation does not increase the degree. Marking $t$ occurrences of a weight-$j'$ letter shifts the weight index by $tj'$; its multiplicity is included once. Thus all the polynomials have degree at most $L$, independently of $c$. Using $y$ as the formal weight variable, the retained choice of $x$ itself is weighted once, by $y^j$ (or $y^{tj}$ if its fixed placement occupies $t$ positions); summing over $r$ then counts its possible identities once each. There is no need to expand or visit the $c$ possible values of $x$. For each polynomial $P$ use its Newton expansion \[ P(r)=\sum_{h=0}^{L}\Delta^hP(0)\binom rh, \qquad \sum_{r=0}^{c-1}P(r) =\sum_{h=0}^{L}\Delta^hP(0)\binom c{h+1}. \] The coefficients follow from evaluations at $r=0,\ldots,L$ and finite differences. When $r\ge c$, these evaluations are formal polynomial evaluations, not counts of actual choices; signed intermediate values are permitted. Alternatively one can propagate coefficient vectors. Each binomial coefficient is computed by an exact product with $O(L)$ factors and exact divisions. Its bit length is $O(L\log(c+L))$. If the underlying finite recurrence has polynomially many states and steps, and all interval cardinalities have at most $B$ bits, evaluation, differences, and summation therefore have polynomial bit complexity in $n,\ell,B$. The degree of that polynomial does not depend on $c$. In particular, a fixed free letter does not force enumeration of an exponentially large alphabet. This argument applies to the alphabet-dependent part of the published enclosing-bracelet state format $(i,x,j,s)$, whose other labels are integers or subwords of the fixed threshold. It does not certify every printed recurrence in that source, and does not reproduce its optimized $O(q^2\ell^4)$ bound. In particular, periodicity, equality conventions, and the conversion from reflection-fixed words to necklace classes must still be justified. The independent automaton/Burnside proof in the note supplies those obligations without relying on the problematic printed counting formulas. The elementary aggregation above is evidence against treating the explicit $q^2$ factor, by itself, as a novelty barrier. % \subsubsection{Comparing the same bracelet contract}\label{sec:bracelet-same-contract} \paragraph{The order and arbitrary thresholds.} Use $N$ for the target weight, $q=\sum_{j\le N}a_j$, and $B=\lceil\log_2(q+2)\rceil$, with base-oracle costs as above. Inside a fixed length block, the order in \cite{AGPD2021} is lexicographic order of the least dihedral representative, exactly as here when its alphabet receives our size-first order. The outer increasing-length order is obtained from block counts. Neither is a novelty distinction. Noncanonical or wrong-weight thresholds also admit an elementary reduction. Write $R_{N,\ell}(w)$ for the number of valid representatives strictly below $w$. If $w$ is not the minimum word, let $w^-$ be its immediate predecessor among all length-$\ell$ words, and let $v$ be the greatest necklace representative not exceeding $w^-$. Then \[ R_{N,\ell}(w)=R_{N,\ell}(v)+ \mathbf1\{v=\operatorname{can}_D(v),\ \operatorname{wt}(v)=N\}. \tag{SCB1} \] Indeed, every bracelet representative is a necklace representative, and none lies strictly between $v$ and $w$. The indicator is not an unconditional $+1$. The minimum-word case has rank zero. Sawada--Williams' \texttt{LargestNecklace} algorithm uses $O(\ell^2)$ ordinal operations: comparisons, decrements and assignments of the maximum symbol~\cite[author version, pp.~3--4, Algorithm~1]{SW2017}. It therefore takes $O(\ell^2B)$ bit time without listing the alphabet. The weight of $v$ may differ from $N$; then its endpoint indicator is zero. Threshold intervals are rebuilt at the actual letters of $v$. \paragraph{Quantitative retained-letter compilation.} The preceding polynomial aggregation can be given an explicit bound. Consider a correct layered, linear counting recurrence of depth at most $\ell$, with $S$ control states in total after removing its one retained letter $x$. Assume that $x$ is chosen once and never replaced; fresh-letter tests and initial/final state selectors use only comparisons with $x$ and fixed threshold letters. Other control labels are integers, threshold subwords or bounded flags. A letter emitted in several positions is chosen once but charged the weight of all its occurrences. There is one budget coordinate $0,\ldots,N$. Split at grade boundaries and each threshold ordinal and its successor, obtaining $I\le N+2\ell$ nonempty intervals. On a retained interval $[a,a+c)$ write $x=a+r$ formally. Choices in that interval have multiplicities $r$, $1$, and $c-1-r$ according to their comparison with $x$; choices in other intervals have a constant comparison. After a comparison branch is fixed, its destination is independent of $r$. Induction over the recurrence shows that each budget entry is a polynomial of degree at most $\ell$. The choice of $x$ itself receives its weight once, and its possible identities are summed by \[ \sum_{r=0}^{c-1}P(r) =\sum_{d=0}^{\ell}\Delta^dP(0)\binom c{d+1}. \tag{SCB2} \] For formal evaluations $r\ge c$, retain the comparison type of the interval; do not look up the out-of-interval ordinal $a+r$. Signed intermediates and exact divisions handle small intervals and binary cardinalities. Suppose each state has $O(I)$ comparison branches, with destination computation using at most $O(\ell^2)$ elementary control operations. There are \[ I\,(\ell+1)\,S\,(N+1)\,O(I\ell^2)=O(I^2SN\ell^3) \] recurrence and control operations. The factors count retained intervals, formal evaluation points, control states, weight budgets, and comparison branches with destination computation, respectively. Their intermediates have $O(\ell(B+\log(N+2)))$ bits: bound the branching by a polynomial in $I,\ell$, each absolute multiplicity by $q+\ell$, and the depth by $\ell$. Finite differences add at most $O(\ell)$ bits; the binomial terms have the same bound. Thus schoolbook arithmetic gives \[ O\!\left(I^2SN\ell^5(B+\log(N+2))^2\right) \tag{SCB3} \] bit time. Computing one evaluation at a time uses $O(SN\ell(B+\log(N+2)))$ working bits. With $S=O(\ell^4)$, the control envelope of the published enclosure table after removing $x$, these are at most $O(N^{12}(B+\log(N+2))^2)$ time and $O(N^6(B+\log(N+2)))$ bits. These conservative compiler bounds do not transfer the source's optimized explicit-alphabet exponent. The printed alphabet-dependent operations meet the comparison restriction (the sharper shared-transfer evaluation below avoids this compiler's repeated interpolation): $XW/WX$ use threshold subwords, fresh symbols are compared with $v_{[1,i]}x$, and the fixed-$x$ final selectors are constant between threshold letters, with equality as a singleton case. See \cite[pp.~4:3--4:4, 4:14--4:15]{AGPD2021} and its full version, Section~5, pp.~19--21, Lemmas~15--16. This proves the alphabet-compression step, conditional on a correct recurrence with the stated invariant. It is not a full reimplementation: the anchored state and the strictness, periodicity and reflection corrections must still be made explicit. We do not infer an obstruction or historical novelty from that limitation alone. The separate Theorem~\ref{thm:enclosure-suffix-state-lower} below does rule out a polynomial-state repair preserving the literal canonical-tail tree; a different aggregate semantics remains possible. \paragraph{A sharper shared-transfer compiler.} \begin{proposition}[Shared-transfer evaluation of the printed enclosing recurrence] \label{prop:shared-enclosing-compiler} Let $v$ have length $1\le\ell\le N$ over a size-first implicit alphabet of $q\ge1$ letters of positive weights at most $N$, and put $B=\lceil\log_2(2+q)\rceil$. The empty alphabet is handled separately. Consider a layered linear recurrence with $O(\ell)$ layers and states $(j,s)$, where each coordinate has $O(\ell)$ values. Assume the following explicit interface. \begin{enumerate} \item Every transfer $T_t$, including its barriers, equality destinations and second-coordinate map, is common to all anchors $i$ and retained letters $x$. Each barrier $h_j$ is a letter of $v$. A fresh letter $y$ is rejected when $yh_j$. The second destination is $g_t(s,y)$, possibly undefined, and is independent of $j$, the anchor $i$, and the retained letter $x$. Its value is constant on each ordinal interval cut by the letters of $v$. \item The initial vector for $(i,x)$ is \[ f_{i,x}(j,s;z)=[xs>v]z^{\mathrm{wt}(x)} \sum_{y\ge c_{i,j}(x)}z^{\mathrm{wt}(y)}, \tag{SCB4} \] where $s$ has length $\ell-1$ and, for every fixed $(i,j)$, $c_{i,j}(x)$ is either always $x$ or always one fixed letter of $v$. Any fixed prefix weight is charged later by a degree shift. \item For each anchor $i$, the desired entry is selected at one prescribed layer and state; its final selector and admissibility depend on $x$ only through comparisons with letters of $v$. All these selectors are explicitly available without enumerating the alphabet. \end{enumerate} Assume there are at most $O(\ell)$ anchors and that the destination and selector tables are defined by lexicographic searches among the $O(\ell^2)$ threshold subwords, as in the printed recurrence. Then the sum of the selected entries, with their fixed prefix weights, can be evaluated in $O(N^6B^2)$ bit time and $O(N^4B)$ bits of space, apart from the base alphabet oracles. This is a theorem about evaluating the specified recurrence; it does not identify its output with a bracelet rank. \end{proposition} \begin{proof} Write $\mathcal J$ for the $O(\ell)$ singleton/open intervals cut by the distinct letters of $v$, without splitting at weight boundaries. For each such interval, all selectors in the hypothesis are constant. There are only two nonzero profiles in the second initial coordinate: \[ [xs>v]= \begin{cases} 0,&xv_1,\\ [s>v_2\cdots v_\ell],&x=v_1. \end{cases} \tag{SCB5} \] Consequently every initial vector is a linear combination of $O(\ell)$ fixed vectors $b_{j_0,a}(j,s)=[j=j_0]p_a(s)$, where $p_0=1$ and $p_1(s)=[s>v_2\cdots v_\ell]$. The coefficients are polynomials in $z$. Linearity allows each basis vector to be advanced only once through all layers. Process one basis vector at a time and retain just two successive layers; final answers are accumulated when their requested layer occurs. For a state $s$, order the first-coordinate states by $h_j$ and form prefix sums of their current coefficient arrays. A letter $y$ that is not an equality exception receives the sum over $h_jh}z^{\mathrm{wt}(y)}X_{0,g_t(s,y)}$. Sample it at each $h_j$ and add the single equality contribution $z^{\mathrm{wt}(h_j)}X_{e_j,g_t(s,h_j)}$. This is exactly the adjoint transition at $(j,s)$ and uses the same number of interval shifts and cardinality products as the forward sweep. There are $O(\ell^2)$ basis/layer pairs. Their work is therefore $O(\ell^4N(N+\ell)B^2)$, bounded by $O(N^6B^2)$. Budget/index operations add at most $O(\ell^3N(N+\ell)\log(N+2))$, also within this bound. It remains to reconstruct the initial coefficients without iterating over $x$. For an interval $J$ and a pair $(i,j_0)$, form \[ F_{i,j_0,J}(z)=\sum_{x\in J}z^{\mathrm{wt}(x)} \sum_{y\ge c_{i,j_0}(x)}z^{\mathrm{wt}(y)}. \tag{SCB7} \] The mode is fixed by (SCB5), since $v_1$ is a singleton cut. If the lower bound is a fixed threshold letter, this is the product of two grade-count polynomials. If the lower bound is $x$, count ordered pairs by their weights $a,b$: the count is zero for $ba$, and a triangular sum within one grade for $b=a$. In the last case, if $J$ occupies offsets $L,\ldots,U-1$ in a grade of cardinality $q_a$, the count is \[ (U-L)q_a-\frac{(L+U-1)(U-L)}2. \tag{SCB8} \] All divisions are exact. This constructs $F$ in $O(N^2B^2)$ bit time; its coefficients count at most $q^2$ pairs and have $O(B)$ bits. Contract $F$ with the selected propagated basis entry, extracting the required total weight after the prefix shift. Even allowing a full schoolbook polynomial product, each contraction costs $O(N^2\beta B)$. There are $O(\ell^3)$ anchor/interval/basis contractions. Hence their total work is $O(\ell^4N^2B^2)\subseteq O(N^6B^2)$. The rolling state vectors contain $O(\ell^2N)$ coefficients, hence $O(\ell^3NB)\subseteq O(N^4B)$ bits. Construct one polynomial $F$ and apply one query at a time. Sorting threshold subwords and filling the $O(\ell^3)$ triples $(t,s,J)$ by binary search with naive $O(\ell B)$-bit word comparisons costs $O(\ell^4\log(\ell+2)B)$ bit operations. Constructing the $O(\ell^2)$ final anchor/interval selectors by naive searches takes $O(\ell^4B)$ further bit operations. Their tables use $O(\ell^3(B+\log(\ell+2)))$ bits, which fits $O(N^4B)$. These costs are below $O(N^6B^2)$. The compiler computes the tables specified by those searches, but does not silently certify their combinatorial invariant, the source's indices, or its recurrence direction. \end{proof} \paragraph{Application boundary.} The printed enclosing recurrence of Adamson--Gusev--Potapov--Deligkas has the structural form behind this compiler: its transition rule does not involve $i$ or $x$, its initializer uses the factor $[xs>v]$, and its final selectors compare $x$ only with letters of $v$. Thus the retained letter does not force the generic degree-$\ell$ interpolation cost. To turn this observation into an old-method bracelet oracle, one must still supply an unambiguous state invariant and prove that its weighted recurrence, corrected boundaries, and final selectors count each required bracelet exactly once. The present algebraic lemma establishes no obstruction to matching the sparse oracle's exponents; nor does it, by itself, establish that the full old algorithm matches. The later residual lower bound concerns a different premise: the literal tree cannot have such a polynomial-size deterministic state quotient. Any matching correction must avoid that interface, for example by changing the objects or aggregates being counted. \paragraph{What a repaired recurrence would imply.} If an explicit corrected anchored recurrence meets Proposition~\ref{prop:shared-enclosing-compiler} and counts the intended weighted enclosure classes, its evaluation matches the sparse threshold bound. Combine it with the independently verified weighted necklace counts, reflection fixed-point counts, the weak-right endpoint repair below, and (SCB1). The resulting conditional old-method oracle would have numerical threshold/rank time $O(N^6B^2)$, unrank time $O(N^7B^3)$, and $O(N^4B)$ working bits, with the same base-oracle and input/output costs separately charged. Thus the numerical exponents are not an established advantage over such a repair. The premise is substantive: the state-definition counterexample below prevents identifying the printed tables with that corrected oracle as they stand. Moreover, Theorem~\ref{thm:enclosure-suffix-state-lower} excludes repairing their literal common-child semantics with polynomially many states. This conditional implication is therefore a target for a reformulated aggregate recurrence, not an unresolved claim about adding a few match coordinates to the same suffix tree. \paragraph{A complete baseline with the same interface.} The elementary automaton/Burnside proof above gives an unconditional baseline. Its required compatibility arguments are the finite-memory $0/1$ trace indicator, the same-letter coupling in $Q_a$, and the reflection multiplicity in (WB7). This is a derivation from classical machinery, not a theorem quoted verbatim from the earlier paper. \begin{proposition}[Elementary same-contract baseline] \label{prop:bracelet-elementary-baseline} Under the hypotheses of Theorem~\ref{thm:weighted-bracelet-closure}, an arbitrary fixed-length ordinal threshold can be counted in \[ C_\Sigma(N)+O\!\left(IN\ell^5(\ell B^2+\log(N+2))\right) \subseteq C_\Sigma(N)+O(N^8B^2) \] bit time, using $O(N\ell^5B)\subseteq O(N^6B)$ working bits in addition to base-oracle workspace and external encodings. Count over all lengths, rank, and unrank have respective bit-time bounds $C_\Sigma+O(N^4B^2)$, $C_\Sigma+R_{\rm in}+O(N^8B^2)$, and $C_\Sigma+U_{\rm out}+O(N^9B^3)$. \end{proposition} \begin{proof} Each $D_a$ has at most $\ell$ nonzeros, so the $\ell^2$-square matrix $Q_a$ has at most $\ell^2$ nonzeros. Multiplying a dense polynomial matrix by $Q_a$ on either side takes $O(\ell^4N)$ coefficient additions. Apply the interval sum (WB5) successively to obtain powers through $\ell$, and apply (WB7) successively for the reflection terms. The final multiplication in (WB9) uses the same interval expansion. Together these take $O(I\ell^5N)$ coefficient operations. Save only the required diagonal coefficient sums and a constant number of current polynomial matrices. All coefficients count sums of word matrices having entries zero or one. They have $O(\ell B)$ bits, including polynomial factors from diagonal and Burnside sums. Multiplication by an interval cardinality therefore costs $O(\ell B^2)$; additions cost no more. This proves the threshold bound after additionally charging $O(\log(N+2))$ for budget and index arithmetic per coefficient operation. Its control term is at most $O(N^7\log(N+2))$, which fits the coarse $O(N^8B^2)$ bound. The stored matrices have $O(\ell^4N)$ coefficients in contiguous packed arrays, giving the stated space; a constant number of index counters also fits that bound. Totals require only scalar weighted cycle indices. Their length/weight tables use $O(N^3)$ products of an $O(NB)$-bit count by a $B$-bit grade cardinality, giving $O(N^4B^2)$ bit time for all blocks. Ranking adds input encoding and canonicalization. Unranking uses $O(\ell B)$ ordinal threshold calls and then decodes its letters. The preceding correctness proof already includes all periods, arbitrary thresholds, lengths one and two, and empty grades. Keeping a specified subset of length blocks changes none of these bounds. \end{proof} The comparison is therefore quantitative, not an alphabet-size impossibility claim: \[ \begin{array}{c|c|c} &\text{elementary baseline}&\text{sparse renewal implementation}\\\hline \text{threshold/rank numerical time}&O(N^8B^2)&O(N^6B^2)\\ \text{count numerical time}&O(N^4B^2)&O(N^4B^2)\\ \text{unrank numerical time}&O(N^9B^3)&O(N^7B^3)\\ \text{working bits}&O(N^6B)&O(N^4B) \end{array} \] Base-oracle and input/output costs are charged separately in both columns. The sparse renewal argument saves two powers of $N$ over this explicit baseline. This does not establish optimality or show that an earlier method cannot be refined similarly. The qualitative closure remains a supporting synthesis; the graph-level compatibility and the stated quantitative guarantees are the contribution to assess. \subsubsection{Notes on an older bracelet-ranking recurrence} \label{sec:bracelet-source-formula-audit} \label{sec:enclosure-residual-repair} The preceding bracelet construction does not depend on the formulas examined in this subsection. We distinguish local counting identities, the literal suffix-only state partition, and an explicitly defined property-list language. Their defects have different scopes: an error in a displayed identity does not settle the intended semantics of a different recurrence. After the local identities, we give two state witnesses, characterize periodic omissions in the finite-word property-list language, and give an exact residual repair with a restricted state lower bound. None of these arguments rules out polynomial-time bracelet indexing or an efficient aggregate repair. \paragraph{An equality boundary.} In \cite[pp.~4:2--4:5]{AGPD2021}, rank counts strictly smaller representatives and a bracelet with two necklace representatives $lv\). Prepending \(a\) to \(u_1\) is not admissible. Its only possible completions under the fixed prefix \(ab\) have the following defects, where \(\operatorname{can}_C\) denotes the least rotation: \[ \begin{array}{c|c|l} z & ab\,z\,abbc & \text{reason for rejection}\\ \hline a & abaabbc & \operatorname{can}_C(abaabbc)=aabbcab\\ b & abbabbc & \operatorname{can}_C((abbabbc)^R)=abbacbbv'\). The same three failed completions above exclude prepending \(a\) to \(bbc\). This counterexample concerns the literal suffix-only partition. The source also gives an earlier subword-length range \(t+i+1\), in tension with the later length-\(t\) suffix description. A corrected anchored state may therefore be intended. The finite examples alone do not rule it out. The residual construction below supplies an exact repair and proves a stronger, carefully limited obstruction: polynomially many deterministic states cannot preserve the literal tree of canonical-tail completions. This leaves other counting organizations and polynomial bracelet ranking outside the lower bound's scope. \paragraph{The property-list reading admits noncanonical words.} The high-level description in \cite[Section~5, p.~19]{AGPD2021full} suggests another reading: count $p\phi$, with $p=v_{[1,i]}x$ and $xv$, but $\operatorname{can}_C(abcabbc)=abbcabca$; the reflected anchor comparison is $ba>ac$. For a concrete count, use exactly the alphabet $\Sigma=\{a,b,c\}$, with $aabcb$. Nevertheless the tail has suffix $abc$, a proper prefix of $abca$, so ordinary finite-word order rejects it. This is a missing true representative under both right-endpoint conventions. It is a defect of the explicitly defined finite-word reading, not a claim that every possible interpretation of the source uses that convention. \paragraph{The classical border calculation.} Let $w=q^r$ be any nonempty canonical necklace word of length $n$, where $q$ is its primitive root and $d=|q|$. For any cut $1\le t\le n$, write $w=p\phi$ with $|p|=t$. The root $q$ is a Lyndon word. Every nonempty proper border of $q^r$ is $q^j$ for some $1\le jd(w)$, and $v$ would share its first primitive block $q$. Every noncanonical rotation $z$ then differs above $q$ within those first $d(w)$ positions, forcing $z>v$, a contradiction. Thus $w\in B_v$, proving the image equality in (PL1). This last argument is needed: a missing canonical word alone would not exclude acceptance of a different rotation of the same class. The omission requires at least three copies of a primitive block: $n\ge t+d>2d$. Periods one and two are reversal-fixed and cannot enclose a threshold. Hence no such omission is possible below length nine; the displayed ternary example attains this lower bound. At prime lengths, the only nonprimitive necklace words are constant and hence reversal-fixed, so tests restricted to prime lengths cannot exhibit these omissions. Detecting them requires a composite length of at least nine; not every fixed alphabet attains nine. The numerical criterion is classical in the sense of (PL0), and we make no historical priority claim for the language-specific application (PL1). In particular, (PL1) does not itself demonstrate an output error of the published recurrence. For the displayed nine-letter threshold, direct enumeration over $\{a,b,c\}$ gives 151 accepted words but only 141 represented classes, whereas there are 142 true enclosing classes. Ten accepted words are noncanonical and one entire class is missing. Thus even a total overcount can hide an omission. These numbers hold for both endpoint conventions. \paragraph{Changing the prefix convention repairs only the omissions.}\label{par:enclosure-prefix-compatible} Define $B_v^*$ by allowing a suffix that is a proper prefix of $p$; equivalently compare the two words only through their common length and reject a strictly smaller first mismatch. The same proof gives \[ B_v^*\cap\mathcal N=\operatorname{can}_C(B_v^*)=\mathcal E_v. \tag{PL2} \] The seven-letter noncanonical witnesses remain accepted. Thus this prefix-compatible reading is a surjective rooted-word description, not a one-word-per-bracelet count. Orbit multiplicities still require an argument and cost analysis; (PL2) does not validate the printed cell recurrence or establish an independent sparse-bound oracle. Neither (PL1) nor (PL2) changes the time or space bounds of the independent bracelet construction. They also do not separate it from every possible adaptation of the earlier algorithm: (PL2) removes this particular omission by changing one local comparison, while an efficient treatment of multiplicities remains to be supplied. \paragraph{The remaining multiplicity is not uniformly bounded.} For $w\in\mathcal E_v$, let $\mu_v^*(w)$ be the number of distinct rotations of $w$ belonging to $B_v^*$. Equation (PL2) and the rotation orbit size give the elementary bound $1\le\mu_v^*(w)\le d(w)\le n$. This counts distinct rooted words, not shift positions, and supplies no class-independent correction factor. In fact, over $aac$; all other reversed rotations start with $b$ or $d$. Thus these $r$ rotations belong to both $B_v$ and $B_v^*$, under either endpoint convention. All other rotations exceed $v$, so $\mu_v^*(w)=r=(n-1)/3$. Even a linear upper bound on the multiplicity does not by itself supply an efficient way to count classes: that requires their individual multiplicities or another valid symmetry correction. This example makes no algorithmic impossibility or novelty claim. \paragraph{An exact suffix invariant and its state cost.} The missing invariant can be repaired exactly, but not within a polynomial-size quotient of the literal suffix tree. This limitation is stronger than a need to compare fresh letters with the retained letter: it already occurs with a fixed anchor over a four-letter alphabet. It does not exclude a different counting organization. Residual equivalence and its reversed-trie minimization are classical \cite{Nerode1958}; the linear corollary uses the standard Hankel-rank factorization argument \cite{CarlylePaz1971,Balle2014}. We give the proofs to expose their exact scope, without claiming historical priority for this application. Fix a threshold $v$ of length $\ell$ and an anchor $p=v_{[1,i]}x$ with $xY$. If they are equal, the next intermediate state also stores the one pending symbol $X_j$; otherwise the established comparison persists. There are at most three states at pair boundaries and four intermediate states, so this ordered branching programme has constant width and $O(m)$ total nodes. It accepts precisely $X\le Y$. Thus the displayed comparison subfamily cannot establish an exponential bound for every variable order. This observation does not supply a small ordered branching programme for the whole enclosing-word language, where the locations of competing rotations are not fixed in advance. Nor does it preserve the source's prescribed suffix-tree interface. The phrase \emph{prescribed suffix-first order} is therefore essential to the proved scope. As usual, the $2^m$ lower bound counts distinct residual functions, including a constant accepting residual on the restricted comparison inputs; a reduced OBDD may send that case directly to a terminal rather than retain an internal node at the next variable level. \paragraph{The bound is not an exact state count.} The theorem selects $2^m$ distinguished tails from the complete anchored language. There can be other residuals at the same cut. Exact finite enumeration gives the following numbers of \emph{nonempty} residuals over all suffixes $u\in\Sigma^{m+4}$, where $\Sigma=\{a,b,c,d\}$, $p=ab$, $v=ac^{2m+5}$ and \[ \mathcal R_p(u)=\{h\in\Sigma^m: phu=\operatorname{can}_C(phu)