\subsection{Actual adjacency maintenance through rotation orbits} \label{sec:rotation-adjacency-cat} This section gives a further composition of established primitives and a charging argument developed here. The maintained output is an array of outgoing targets on a fixed set of \(n\) vertex labels. The labels need not be canonical, and the visiting operation exposes the current array; copying or printing all \(n\) entries at every visit costs \(\Theta(n)\) per output. No historical priority claim is made. The generic CAT framework of Mart\'inez and Molinero already addresses mapping patterns and nested cycles~\cite{MM2003,MM2004,MMGeneric2003}. The thesis explicitly envisages maintaining a conventional representation through the iterator data~\cite[pp.~131--132]{Molinero2005}. Thus maintaining an actual graph is not a previously absent goal. The result below is a synthesis with a complete ordinary-word and mutable-array contract: physical repeated copies, forest rebuilds, product carries, initialization and final exhaustion are all charged. The source comparison has not established historical priority for this simultaneous contract. In particular, the old nested and copyable iterators must not be ruled out merely because their descriptions also use ranks or counting tables. The cost model changed between source versions. The 2003 generic report excludes count-table preprocessing and first-object construction from its iteration cost~\cite[Section~2.2]{MMGeneric2003}. The later thesis includes an explicit first-object term in total cost, while retaining unit-cost nonrecursive steps and excluding \texttt{Count}-table costs \cite[pp.~137--138]{Molinero2005}. Matching all the physical update, word-storage and full-gap guarantees here would still require a separate implementation accounting. We do not claim that such an adaptation of the older framework is impossible or necessarily difficult. We use the linear-delay, linear-space fixed-content necklace iterator proved earlier in this work. Its initialization, each successor, and its termination test take \(O(K)\) time for content of length \(K\). We also use the rooted-tree iterator of Beyer and Hedetniemi on \(m+1\) vertices~\cite{BH1980}: deleting its auxiliary root enumerates all unordered rooted forests of total size \(m\). Its published amortized bound is stronger than the bound needed here. For clarity, its \emph{worst-case} \(O(m)\) successor bound follows directly from the level-sequence rule reproduced in~\cite[Section~3, p.~541]{WROM1986}: two backward scans locate the pivot and the source block, and one forward pass overwrites a suffix by periodic copies of that block. Each scan or pass visits at most \(m+1\) cells. Initialization and the final-star termination test are linear as well. The construction below does not assume constant amortized time for either the necklace or rooted-tree iterator. \paragraph{The string primitive and its exact scope.} We use the factor-stack implementation in the proof of Badkobeh--Bannai--I--K\"oppl's Theorem~3~\cite[Theorem~3, p.~9]{BBIK2026}, not just its statement about factor counts. It supplies \(O(p)\) interval insertions and deletions for a primitive Lyndon word of length \(p\); the update mechanism is recalled in the proof below. Both Lyndon trees are constructible in linear time; the left-tree construction works in the letter-comparison model~\cite{BC2022}. We only apply the primitive-Lyndon case. The more expensive update bound for the bijective Burrows--Wheeler transform itself is irrelevant: that transform pays for factor lengths, whereas our representation changes only factor boundaries. The result already appears as Theorem~4.1 in the 24 June 2024 preprint of the SPIRE 2024 paper \cite{BBK2024}; here we use the detailed proof in the journal extension published on 3 July 2026. \subsubsection{A weighted word and its mutable graph} Let \(\mathcal T\) be the alphabet of unlabelled rooted trees, the weight of a letter being its number of vertices. Throughout this section, \(K\) counts tree occurrences in a word, \(m\) is their total vertex weight, \(p\) is the number of distinct rotations of one necklace, and \(r\) is the repetition exponent assigned to a component. These four quantities play different roles in the charging arguments. Put \[ T(z)=\sum_{m\ge1}t_m z^m,\qquad A(z)=\frac1{1-T(z)}=\sum_{m\ge0}a_m z^m. \] Thus \(a_m\) counts ordered forests, including \(a_0=1\). Choose a deterministic total order on the tree types present in any one content. For a word \(w\), its Chen--Fox--Lyndon factorization is the nonincreasing sequence of Lyndon words whose concatenation is \(w\). Turn each factor into a directed cycle of its rooted-tree letters, with every nonroot tree vertex pointing towards its parent. The resulting connected components have primitive cyclic sequences of rooted trees. Conversely, choose the least rotation of each primitive cycle word and concatenate these Lyndon representatives in nonincreasing order. These maps are inverse. They preserve the multiset of letters. Consequently the order on the alphabet may be chosen separately for each content, provided that it remains fixed throughout that content. This freedom avoids comparisons of large rooted-tree objects during the string operations. The tree types of one forest receive integer names once, in \(O(m)\) time, by scanning its canonical equal-root blocks. One can alternatively use one global tree order. For a positive integer \(r\), replace each factor \(L\) by the single cycle whose cyclic tree word is \(L^r\). We call this the expanded row with index \(r\). Its total size is \(rm\). The integer \(r\) records the maximal repetition exponent of every component in that row, because \(L\) is primitive. \begin{lemma}[A rotation block]\label{lem:rotation-block-adjacency} Let \(w=L^q\) be a least-rotation necklace representative of length \(K\), where \(L\) is primitive and \(p=|L|\), so that \(K=qp\). For any fixed \(r\ge1\), the expanded graphs associated with the \(p\) distinct rotations of \(w\) can be maintained in \(O(rK)\) total time after the internal rooted-tree arcs have been initialized. The space is \(O(rK)\) words in addition to the internal tree storage, and each individual transition costs \(O(rK)\). \end{lemma} \begin{proof} Compute \(p\) and \(L\) by a linear-time period algorithm. The word \(L\) is Lyndon. For \(00. \] Singularity analysis, including uniqueness of the dominant singularity, therefore yields \[ t_m\sim\frac{b}{2\sqrt\pi}\rho^{-m}m^{-3/2}, \qquad a_m\sim\frac1{b\sqrt\pi}\rho^{-m}m^{-1/2}. \] The second estimate follows by applying the same transfer to \(A(z)=1/(1-T(z))\). Thus \[ \frac{m t_{m+1}}{a_m}\longrightarrow\frac{b^2}{2\rho}, \qquad m t_{m+1}=O(a_m). \tag{RA4}\label{eq:rotation-forest-charge} \] This proof invokes the classical rooted-tree asymptotic theorem \cite{Otter1948}; it does not claim a new elementary proof of~\eqref{eq:rotation-forest-charge}. Finitely many small \(m\) are included by increasing the constant. \begin{lemma}[Complete expanded row]\label{lem:rotation-expanded-row} For fixed \(m\ge1\) and \(r\ge1\), all \(a_m\) expanded row graphs can be visited exactly once with their actual target arrays maintained, in \(O(r a_m)\) total time, \(O(rm)\) words, and \(O(rm)\) full delay. Initialization, reset, and final termination each cost \(O(rm)\). \end{lemma} \begin{proof} Enumerate the unordered rooted forests of weight \(m\), using the auxiliary-root tree iterator. For each forest, allocate immutable physical tree blocks, classify its equal root types, and initialize all \(r\) copies of its internal parent arcs in \(O(rm)\) time. Enumerate the necklaces of its root multiset with the \(O(K)\)-delay fixed-content iterator. For each necklace, assign occurrence pointers and run Lemma~\ref{lem:rotation-block-adjacency}. Rotation classes partition all words of this content; the contents partition all words of weight \(m\). The CFL bijection proves uniqueness of the row graphs, also when the alphabet order varies between contents. Including initialization and termination of every inner iterator, the total work is \[ O\bigl(rm t_{m+1}+rS_m\bigr)=O(r a_m) \] by \eqref{eq:rotation-necklace-charge}--\eqref{eq:rotation-forest-charge}. A forest transition, a necklace transition, or a cut update costs at most \(O(rm)\). Every forest contains a necklace, and every necklace contains a rotation, so transitions between these blocks do not skip a chain of empty output blocks. The same bound applies before the first and after the last output. Only one forest, one necklace, its two Lyndon trees and factor stacks, and the actual expanded graph are stored. Their total size is \(O(rm)\). A reset rebuilds just that state in \(O(rm)\). The empty row \(m=0\) is the unique empty graph. \end{proof} \subsubsection{All components and all repetition exponents} There is one remaining amortization issue. Row $r$ costs $O(r a_m)$, not $O(a_m)$ with a common constant independent of $r$. A bare appeal to closure of CAT under products would therefore miss a replication factor. Equations~\eqref{eq:rotation-partition-ratio}--\eqref{eq:rotation-global-charge} below pay for that factor over the outer partition choices; the per-gap proof separately sums the physical row sizes $rm_r$. Total time and worst-case delay use different charges. Every nonempty cyclic tree word is uniquely a power \(L^r\) of a primitive necklace. Group the graph components by \(r\), and apply the inverse CFL bijection inside each group. This gives a tuple of tree words \((W_1,W_2,\ldots)\) with \[ \sum_{r\ge1}r\,\mathrm{wt}(W_r)=n. \tag{RA5}\label{eq:rotation-size-partition} \] This classical multiset-of-cycles/word decomposition is the combinatorial content of \[ \sum_{n\ge0}F_nz^n =\prod_{r\ge1}A(z^r) =\prod_{r\ge1}\frac1{1-T(z^r)}; \] see \cite{DK1982,Steinhardt2010}. The preceding rotation construction changes how these words are visited and how their graphs are maintained. For completeness we give the global product charging argument. The first six ordered-forest counts are \[ a_0,a_1,\ldots,a_5=1,1,2,5,13,35. \] By \eqref{eq:rotation-supermult}, with \(\beta=35^{1/5}>2\), there is an absolute \(c>0\) such that \[ a_j\ge c\beta^j\quad(j\ge0). \tag{RA6}\label{eq:rotation-exponential-growth} \] An outer partition is a sequence \(\mathbf{m}=(m_1,m_2,\ldots)\) with \(\sum r m_r=n\). Put \(P(\mathbf{m})=\prod_r a_{m_r}\). Equation~\eqref{eq:rotation-supermult} implies \[ \frac{P(\mathbf{m})}{a_n} \le \prod_{r\ge2}\frac1{a_{(r-1)m_r}}. \tag{RA7}\label{eq:rotation-partition-ratio} \] For \(r\ge2\), define \[ B_r=\sum_{j\ge0}\frac1{a_{(r-1)j}}. \] Equation~\eqref{eq:rotation-exponential-growth} implies \(B_r-1=O(\beta^{-(r-1)})\), and hence \(B:=\prod_{r\ge2}B_r<\infty\). For prescribed \(m_r\), \(r\ge2\), the remaining \(m_1\) is forced whenever feasible. Extending~\eqref{eq:rotation-partition-ratio} to all choices of those coordinates gives \[ a_n\le F_n\le B a_n. \tag{RA8}\label{eq:rotation-count-comparison} \] More importantly, mark one nonempty row. The contribution of \(r=1\) is at most \(F_n\); that of all \(r\ge2\) is bounded by \[ a_n B\sum_{r\ge2}\frac r{B_r} \sum_{j\ge1}\frac1{a_{(r-1)j}}=O(a_n), \tag{RA9}\label{eq:rotation-marked-row-charge} \] since the final series converges geometrically. Consequently \[ \sum_{\mathbf{m}:\,\sum r m_r=n} P(\mathbf{m})\sum_{r:m_r>0} r = O(F_n). \tag{RA10}\label{eq:rotation-global-charge} \] All these inequalities concern counting only; the algorithm stores no large counting integers. \begin{theorem}[Actual-adjacency CAT for all functional digraphs] \label{thm:rotation-all-functional-cat} Using Theorem~\ref{thm:necklace-linear}, or its published-tool alternative described there, all unlabelled functional digraphs on \(n\ge1\) vertices can be generated with the actual outgoing-target array maintained in \(O(n+F_n)\) total word-RAM time and \(O(n)\) words. No connectedness restriction is imposed; \(F_n\) counts all classes. At each visit the targets are present in the same ordinary mutable length-\(n\) array. Initialization, each gap between visits, and final termination take \(O(n)\) worst-case time. Word size \(\Theta(\log(n+2))\) suffices. The empty graph at \(n=0\) is a separate constant-time one-output case. \end{theorem} \begin{proof} Enumerate the integer partitions in~\eqref{eq:rotation-size-partition}. For one outer partition, take the ordinary nested Cartesian product of its expanded row iterators. Reserve a disjoint segment of \(rm_r\) physical vertex labels for row \(r\), and add the segment offset to every local outgoing target. The actual global target array is the union of these disjoint row arrays. Initialize or rebuild all segments in \(O(n)\) time at an outer-partition boundary. A complete pass through row \(r\), including its reset and end detection, costs \(O(r a_{m_r})\) by Lemma~\ref{lem:rotation-expanded-row}. If it is repeated for each choice of the slower factors, its total contribution is at most \(O(rP(\mathbf{m}))\): the omitted faster-factor counts are all at least one. Summing over nonempty rows and then outer partitions is \(O(F_n)\) by~\eqref{eq:rotation-global-charge}. Outer-partition setup costs \(O(np(n))\), where \(p(n)\) is the partition number. The elementary bound \(p(n)\le2^{n-1}\), together with \eqref{eq:rotation-exponential-growth} and \(\beta>2\), gives \(np(n)=O(a_n)=O(F_n)\). Initialization at \(n=0\), and fixed small values, are handled directly. For a single product successor, every failed factor is ended and reset at most once, and one factor is advanced successfully. By the full row-delay bounds its cost is \[ O\left(\sum_r rm_r\right)=O(n). \] The terminal product pass and outer partition successor have the same bound. Every partition defines a nonempty product, because every \(a_m\) is positive. Thus no empty blocks invalidate the bound at outer transitions, at the first visit, or after the final visit. The row states occupy \(O(\sum_r rm_r)=O(n)\) words, as does the maintained target array. Each stored value is an index, tree depth, symbol name, pointer, or counter bounded by a polynomial in \(n\). The construction uses no rank oracle, no exponentially large table, and no unbounded-precision arithmetic during generation. \end{proof} \paragraph{What is and is not asserted.} The theorem pays for finding the changed arcs as well as writing them. It does not separately establish CAT for the connected class or for additional restrictions. Rotation cuts change the number of CFL factors, and hence the number of components; filtering connected visits has no full-delay guarantee from this proof alone. It does not require comparison of newly changing long Lyndon factors: the two static Lyndon trees locate all factor events in a rotation block. It provides constant amortized work for a mutable array interface; serializing a fresh length-\(n\) copy at every output remains linear per output. The visiting order differs from the DPT order and from the composition order of the earlier CFL-code generator. It is not a constant-change Gray code: a transition may change \(O(n)\) targets. The claim is a composition and analysis of the stated primitives. \paragraph{A published CAT backend also suffices for total work.} For the total-time bound alone, the fixed-content primitive can instead be Sawada's published CAT iterator~\cite{Sawada2003}. Choose the alphabet order of each content so that a most frequent letter is largest. An explicit resumable stack implementation uses \(O(K)\) words and \(O(K+N_F)\) work for that content, where \(N_F\) is its number of necklaces. Over the forest contents, this cost is absorbed by \(O(m t_{m+1}+S_m)=O(a_m)\); the rotation initialization and sweep costs are unchanged. Thus actual-adjacency CAT does not depend on the new linear-delay necklace primitive. The additional \(O(n)\) worst-case full-delay guarantee requires a linear-delay necklace interface: a total CAT bound alone does not control an individual gap. The elementary implementation used here supplies that interface. It is not its only possible source: combining the Sawada--Williams successor with Kociumaka's constant-fragment minimal-rotation queries is a separate deduction from published ingredients \cite{SW2021,Koc2016}. Neither deduction should be confused with an earlier paper explicitly stating the present graph-generation theorem. Thus the primitive's elementary implementation and its precise memory interface are separate questions from the graph theorem's provenance. The classical word--cycle correspondence, rooted-tree asymptotics, and the 2024 all-rotation factorization result already supply its principal ingredients. What is verified here is their particular composition, including the replication charge and full-delay accounting. A failure to locate this exact combination is not a proof that it is the first one. \subsubsection{An alternative implementation of the factor events} The same factor events can be implemented without materializing both binary trees. A linear integer-alphabet suffix-array construction gives suffix ranks, and a monotone stack gives the next smaller suffix positions. The identity \[ \text{longest Lyndon prefix length at }i=\operatorname{nss}(i)-i \] is \cite[Lemma 8]{BCEN2022}. It locates the successive pieces when the first suffix factor is refined. The prefix side uses the longest Lyndon suffix table of \cite{BC2022}, merging the previous prefix factors into the newly determined final factor. These are implementations of the same right/left factor-stack events used in Lemma~\ref{lem:rotation-block-adjacency}, not new string theorems. For a complete sweep including the unvisited closing transition back to the initial wiring, the core makes exactly \(K+4p-3\) root-assignment callbacks: \(K\) initialization assignments, \(p-1\) suffix refinements, \(p\) new singleton-prefix closures, and two assignments for each of the \(p-1\) prefix merges. A callback carries an explicit closing-arc flag, so the integrator can direct that arc to the next physical copy when \(r>1\). It must not infer the flag from the numeric order of physical vertex identifiers, since occurrence pools need not follow the current word order.