\paragraph{Signed extension: scope and attribution.} The signed extension below is proved under explicit alphabet-oracle hypotheses, followed by a construction of the required reversal oracles and a graph application. The general symmetry reduction is an instance of the established homomorphism/split method of Gr\"uner--Laue--Meringer (Section~2) and Gr\"uner (1999, Satz~4.0.1 and Section~4.1, pp.~65--67). Joint vertex--edge actions and edge reversals in graph substitution are also classical: Walsh's edge cycle index and Gagarin--Labelle--Leroux's pole-preserving/pole-reversing substitution distinguish these actions already at the counting level. Goldberg and Jerrum's algorithmic core-and-decoration sampler is another antecedent~\cite{GJ2000}; see Section~\mainref{sec:response-indexing} and the following subsection. The issue addressed here is an explicit finite-slot rank/unrank interface for implicit weighted alphabets, including lexicographic prefix counts. No priority claim for the group-action architecture or the graph kernel is made. \subsection{An alphabet with an involution} For each slot type $t$ let $\mathcal A_t$ be a graded alphabet with finite nonnegative-weight grades and a weight-preserving involution $\iota_t$. Its letters split into fixed letters and unordered two-element orbits. Let $\mathcal B_{t,w}^{\mathrm F}$ and $\mathcal B_{t,w}^{\mathrm P}$ denote these two collections at weight $w$. The latter contains an orbit once, not twice. We require the following numerical oracles, with their time, space, and output bit length explicitly charged. \begin{enumerate} \item Count, rank and unrank in each of $\mathcal B_{t,w}^{\mathrm F}$ and $\mathcal B_{t,w}^{\mathrm P}$. \item For an actual letter $a$, return its orbit token and a bit $\epsilon$ selecting a chosen representative $a^0$ or its mate $a^1=\iota_t(a^0)$. Fixed letters always have $\epsilon=0$. \item Decode an orbit token with its legal orientation bit into the corresponding actual letter. \end{enumerate} These assumptions are stronger than having a fast test for $a=\iota_t(a)$ or a fast procedure for applying $\iota_t$. The oracles for orbit counts and thresholds must be supplied or proved separately. \begin{proposition}[A fast involution alone is insufficient] \label{prop:involution-obstruction} Even with one slot, polynomial-bit count/rank/unrank for the original alphabet and a polynomial-time weight-preserving involution do not imply polynomial-bit counting of its involution orbits, unless $\#\mathrm P=\mathrm{FP}$. \end{proposition} \begin{proof} For an input CNF formula $\varphi$ on $m$ variables, use the letters $(x,b)$ with $x\in\{0,1\}^m$ and $b\in\{0,1\}$, all of weight $m+1$, in ordinary binary order. Their original count and indices are elementary. Define the involution to fix $(x,b)$ if $\varphi(x)$ holds, and to send it to $(x,1-b)$ otherwise. The involution is polynomial-time computable and weight preserving. Its number of orbits is \[ 2\,\#\mathrm{SAT}(\varphi) +(2^m-\#\mathrm{SAT}(\varphi)) =2^m+\#\mathrm{SAT}(\varphi). \] Thus an orbit-count algorithm of the proposed generality would compute $\#\mathrm{SAT}$. This is a direct standard counting-hardness reduction, not an independent priority claim. \end{proof} Order orbit letters first by weight, then by kind $\mathrm F<\mathrm P$, then by their grade rank. Order actual letters by the pair (orbit ordinal, orientation bit). This is a prescribed index order. It need not coincide with a pre-existing lexicographic order on actual letter encodings. Within the truncated range $0\le w\le N$, write $Q_t$ for the number of orbit letters. They may be exponentially numerous; only $O(\log Q_t)$-bit ordinal tokens are used. There are $q$ typed slots and a type-preserving signed permutation group $\Gamma\le C_2\wr S_q$. For $\gamma=(\pi,\delta)$, its action is \[ (\gamma x)_i= \iota_{t(i)}^{\delta_i}\bigl(x_{\pi^{-1}(i)}\bigr). \] Repeated signed actions are interpreted with the usual composition law of this action. The group need not act faithfully on the actual letters: flipping a fixed letter has no effect. Its order is at most $2^q q!$, which suffices for exhaustive parameter-bounded closure. \subsection{Signed weak types and exact prefix counts} A signed weak type records, separately for every type: \begin{enumerate} \item the weak order of the underlying orbit letters; \item the kind $\mathrm F$ or $\mathrm P$ of each ordered block; \item the orientation bit of each slot, with bit zero required on fixed blocks. \end{enumerate} If there are $p_t$ ordered blocks of type $t$, their labels are $1,\ldots,p_t$. A slot is represented by its block number and orientation. The actual orbit values are chosen later in strictly increasing order. The number of templates is at most \[ 4^q q^q. \] Some counted templates are impossible; retaining and then assigning zero count to them is harmless. \begin{lemma}[Signed fibres have no residual quotient] \label{lem:signed-fibre} For every admissible assignment of increasing orbit values to a signed weak type, comparison with a signed group image depends only on the signed weak type. A canonical signed weak type together with its increasing orbit values specifies exactly one canonical tuple. Its stabilizer fixes that tuple. \end{lemma} \begin{proof} At the first differing slot, compare orbit ordinals first. Within one type their relative order is exactly the order of the packed block numbers. If the orbit is the same, compare the orientation bits. The group permutes orbit occurrences and toggles orientation bits on pair blocks; on fixed blocks it leaves the legal bit zero. Thus the comparison agrees with the comparison of finite templates, independently of the actual increasing orbit values. Replacing each block number by its chosen orbit value is injective. It commutes with the signed group action, provided a fixed block's bit is always normalized to zero. A stabilizer element preserves each block occurrence together with its resulting legal bit, and therefore fixes the actual letter at every position. Hence there is no additional quotient by the stabilizer and no division by its order. Conversely, every tuple determines exactly its signed type and its increasing orbit values. \end{proof} The types must again be canonicalized \emph{jointly}. In particular, independently sorting the vertex decorations and the edge decorations would discard the coupling imposed by a kernel automorphism. Retained canonical signed types may carry an ordinal interval $I_b=[\ell_b,u_b)$ for each ordered orbit block $b$. Its required kind is already part of the type. This includes omitting specified initial exceptional orbit letters, such as the empty word. More general interval unions are possible with a separately charged bound on their number; they are not needed below. \begin{lemma}[Signed interval prefix oracle] \label{lem:signed-prefix} The canonical tuples of total weight $N$ satisfying a fixed lexicographic prefix and one strict next-letter threshold can be counted in $2^{O(q\log(q+1))}\poly(N+1)$ bit time, assuming polynomial-bit orbit oracles and restriction data, with bit lengths and cost exponents independent of $q$ and parameter dependence bounded by $2^{O(q\log(q+1))}$. More generally their actual costs and bit lengths are charged explicitly, as in the following theorem. \end{lemma} \begin{proof} Enumerate the canonical signed types. A fixed slot letter specifies an orbit singleton and an orientation. Reject a type if that orientation is incompatible; otherwise intersect the corresponding block's interval with the singleton. For a strict next-letter threshold $(a,e_0)$, where $a$ is an orbit ordinal, a slot of the current type has a known orientation $e$. Its allowed orbit values are precisely \[ [0,a+1)\quad\hbox{if }ey$ is rejected. In state $L$, every pair is accepted. The central letter of an odd word has no comparison effect. At each position, intersect its interval with each weight grade. For a pair with weights $a,b$, the resulting grade-rank intervals are $[u,v)$ and $[r,s)$. The total number of pairs is $(v-u)(s-r)$. If $ab$, none is increasing. For $a=b$, equality contributes \[ \max(0,\min(v,s)-\max(u,r)). \] The number of increasing pairs $x0$. The connected case is included. There are no tree or unicyclic background components in this statement. \begin{lemma}[Classical positive-excess multikernel] \label{lem:undirected-kernel} Every graph in this class has an intrinsic multikernel with minimum degree at least three, at most $2k$ vertices and at most $3k$ edges. Loops count twice towards degree. Its isomorphism class, with rooted-tree vertex decorations and ordered rooted-tree sequences along its edges, determines the original graph up to the joint vertex--edge action, including edge reversals. \end{lemma} \begin{proof} Repeatedly remove degree-one vertices, retaining each removed rooted tree as a decoration at its eventual attachment. In a connected positive-excess component the resulting 2-core is nonempty and cannot be an all-degree-two cycle: leaf deletion preserves $m-n$, whereas such a cycle has excess zero. Suppress maximal paths whose internal vertices have degree two. Each such vertex carries its own attached rooted tree. The remaining vertices have degree at least three; paths returning to their starting vertex become loops, and distinct paths may become parallel edges. The 2-core and its maximal degree-two paths are intrinsic. No all-degree-two component is lost under this operation. If the final multikernel has $v$ vertices and $a$ edges, then $a-v=k$ and $2a\ge3v$, whence $v\le2k$ and $a\le3k$. This holds after summing over positive-excess components as well. Reversing a path reverses its sequence of rooted-tree decorations; an isomorphism may simultaneously permute vertices, parallel edges and path directions. Conversely, every such decoration isomorphism expands to an isomorphism of the original graph. \end{proof} The following two conditions are precisely what make an expansion of a multikernel simple. \begin{enumerate} \item A nonloop parallel-edge bundle contains at most one empty edge sequence. Empty means the direct edge between its endpoints. \item A loop edge has at least two sequence letters. Zero letters would create a loop in the original graph; one letter would traverse the same undirected edge twice, giving a parallel pair rather than a simple cycle. Two or more letters give a simple cycle of length at least three. \end{enumerate} All path-internal and off-core vertices are fresh and disjoint, so there are no additional collisions between expansions. Loop and nonloop edges are separate invariant slot types. \paragraph{The group includes only incidence-compatible flips.} Choose a reference orientation of every kernel edge. A kernel automorphism consists of a vertex permutation and a permutation of its individual edge slots, preserving unordered incidences. For a nonloop edge, the induced orientation bit is forced by whether the vertex permutation sends its chosen first endpoint to the chosen first or second endpoint of the image edge. It is \emph{not} an independent flip. A loop has two coincident endpoints and allows either bit independently. These data give the signed permutation group used in the theorem. Quotienting every nonloop word separately by reversal would identify expansions that need not be isomorphic; the orientation bits in the signed tuple retain exactly this missing information. \begin{lemma}[A useful minimum-size filter] If a multikernel has $v$ vertices, $l$ loop edges and nonloop parallel bundles of multiplicities $b_1,\ldots,b_s$, its smallest simple expansion has \[ n_{\min}=v+2l+\sum_{j=1}^s(b_j-1) \] vertices. At that size it has exactly one expansion up to isomorphism. \end{lemma} \begin{proof} Every vertex decoration contains its root. Each loop requires two internal vertices. In a bundle of $b_j$ nonloop edges, at most one can have no internal vertex, so at least $b_j-1$ are needed. All these lower bounds are attained simultaneously by singleton vertex trees, two-singleton loop words, and one empty word plus $b_j-1$ singleton words in every nonloop bundle. Choosing which individual parallel edge receives the empty word is immaterial under the kernel's edge-slot permutations. There are no other choices at the lower bound. \end{proof} \begin{theorem}[Indexing positive-excess undirected graphs] \label{thm:undirected-index} Graphs on $n$ vertices in which every component has positive excess, with total excess $k>0$, admit count/rank/unrank in $2^{O(k\log(k+1))}\poly(n+1)$ bit time and space. The order first fixes a canonical multikernel and then uses the global lexicographic order of its canonical signed decoration vector. The same statement holds for connected graphs of excess $k$. The polynomial exponent is independent of $k$. \end{theorem} \begin{proof} Enumerate the multikernels with at most $2k$ vertices and $3k$ edges and minimum degree at least three, retaining only kernels with $|E(K)|-|V(K)|=k$, one representative per isomorphism class and, in the connected case, only connected ones. The exact-excess test is necessary: the two-vertex, three-edge kernel satisfies the size bounds for $k=2$, but expands to excess-one graphs. The bounds alone do not select the required catalogue. There are $2^{O(k\log(k+1))}$ labelled candidates: distribute at most $3k$ edges among $O(k^2)$ unordered endpoint pairs with repetition, and sum over the possible vertex numbers. Brute-force vertex and edge permutations and edge orientations have the same parameter bound and provide the signed group. No sophisticated canonization result is needed for this finite catalogue claim. A vertex slot uses the rooted-tree alphabet. A nonloop edge slot uses all rooted-tree words. A loop slot uses rooted-tree words of letter length at least two. Rooted trees have the polynomial-bit oracles established in Appendices~\ref{sec:indexing-composition} and~\ref{sec:restricted-indexing}; their orientation is trivial. Lemma~\ref{lem:reversal-oracle} supplies the fixed and paired reversal-orbit oracles for both edge types. The total number of slots is at most $5k$. For each nonloop parallel bundle, simplicity forbids assigning the unique empty-word orbit to two of its edges. In a fixed signed weak type, if its first nonloop edge block contains two such edges, exclude the empty orbit from that block's interval. Every other block is already strictly greater than it. Positive equal words remain allowed. Loop-edge words are handled by their separate alphabet, so no weight-only surrogate for the length restriction is used. The signed theorem now indexes precisely the admissible decorations, and Lemma~\ref{lem:undirected-kernel} identifies their orbits with the required graph isomorphism classes. Sum counts over the finite kernel catalogue to rank/unrank globally. For ranking an actual graph, extract its decorated kernel and choose an isomorphism to the canonical representative in that catalogue. Transport both vertex decorations and oriented edge words along this isomorphism, reversing words when the chosen edge orientations disagree. Two choices of transport differ by an element of the signed kernel group, so the tuple minimization in Theorem~\ref{thm:signed-index} makes the returned rank independent of this choice. Enumerating the finite kernel maps has only the stated parameter cost. All expansions and extractions have polynomial cost in the explicit graph size; their parameter dependence is absorbed in the stated bound. \end{proof} \paragraph{A small symmetry example.} A one-vertex multikernel with two loops has excess one. Both loop sequences must have length at least two. The group can exchange the two loops and independently reverse each sequence. Counting two ordered sequences and dividing by $2!\,2^2$ would be wrong when a sequence is palindromic or the two sequence orbits agree. The signed weak types instead distinguish fixed and paired sequence orbits and whether their orbit values are equal; every stabilizer is handled without division. \paragraph{What this application does not assert.} The multikernel decomposition and its vertex/edge symmetries are classical. This theorem is a quantitative indexing composition. Its statement alone does not include tree or unicyclic backgrounds. Appendix~\ref{sec:undirected-background-index} supplies that extension, using explicit free-tree, weighted-bracelet and multiset indexing oracles. The parameter is the sum of positive component excesses, equivalently net excess plus the number of tree components. A tree contributes $-1$ to $m-n$, so fixing net excess alone would allow trees to cancel arbitrarily large positive core excess. The following obstruction concerns that different parameter, not the proved background extension. It also gives no small-delay generation or constant-time updating of adjacency lists. The dependence on $n$ is polynomial in bit operations, not in a unit-cost model for exponentially large counts. \begin{proposition}[Fixed net excess with arbitrary backgrounds contains GI] \label{prop:net-excess-gi} For every fixed integer $k\ge0$, isomorphism of simple undirected graphs satisfying $m-n=k$, with isolated vertices allowed, is at least as hard as general graph isomorphism under polynomial-time reductions. Consequently a polynomial-time isomorphism-class rank algorithm for this unrestricted fixed-$k$ class would give a polynomial-time algorithm for general graph isomorphism. \end{proposition} \begin{proof} Take two GI inputs with the same number $r$ of vertices and the same number of edges; unequal values already certify nonisomorphism. For each input $G$, form its join $J=G\vee K_h$ with $h=r+2k+4$. Write $n_J,m_J$ for its order and size, and adjoin $m_J-n_J-k\ge0$ isolated vertices. The resulting graph $H$ has net excess $k$ and polynomial size. Both inputs receive the same padding. An isomorphism of the padded graphs restricts to an isomorphism of their unique nontrivial components $J$. The join has at least $h$ universal vertices. Removing any $h$ of them leaves a graph isomorphic to $G$, because all universal vertices are interchangeable; this remains true if $G$ already had universal vertices. Thus the original inputs are isomorphic exactly when their padded outputs are. An isomorphism-class rank at their common output size distinguishes precisely these two cases. This is a direct reduction, not a claimed new GI hardness framework. It says nothing about counting alone, and the positive-component-excess theorem is unaffected. \end{proof} \begin{corollary}[An input maximum-degree bound] The undirected indexing theorem remains valid with a prescribed maximum degree $D$, with polynomial exponent independent of both $k$ and $D$. The cap is supplied in the natural range $0\le D\le n-1$ or as an unbounded flag. Arbitrarily longer binary encodings require their input-reading cost in addition; their values may then be truncated to $n-1$. \end{corollary} \begin{proof} If $D<3$ there are no positive-excess components. Otherwise discard kernels with a vertex degree greater than $D$, counting loops twice. Use rooted trees whose nonroot vertices have at most $D-1$ children. At a kernel vertex of degree $d$, allow at most $D-d$ children at the decoration root. At a path-internal vertex, allow at most $D-2$ children at the decoration root. These conditions are exactly the original graph's maximum-degree condition. The kernel group preserves $d$, so its vertex slots split into invariant types. Rooted-tree count/rank/unrank with separate root and nonroot child caps follows from the multiset-tail construction with one extra child-count coordinate, ranging only from zero to $n$. It has polynomial bit cost uniformly in the caps; the cap itself is not an additional dimension. Reversal preserves the common path-letter alphabet. The signed theorem therefore applies with the same $O(k)$ slots and a polynomial alphabet-oracle cost. No enumeration over a vector of per-type weight budgets is introduced. \end{proof} \begin{corollary}[Bipartite positive-excess graphs] Counting, ranking and unranking remain possible in FPT polynomial bit time for bipartite graphs in the stated positive-component-excess class, optionally with the maximum-degree restriction. One index order is kernel first, then an edge-parity-pattern orbit, then its canonical decoration vector. \end{corollary} \begin{proof} If edge $e$ receives a word of $\ell_e$ letters, its expanded path has $\ell_e+1$ edges. Put $\lambda_e=(\ell_e+1)\bmod2$. The expansion is bipartite exactly when the kernel vertices admit bits $c_v$ satisfying \[ c_u+c_v=\lambda_e\pmod2 \] for every edge $e=uv$, including loops. All attached trees are bipartite and extend the chosen root colour uniquely. We test existence of these bits, not the number of their assignments. Thus we do not multiply by the two choices per connected component. Enumerate the at most $2^{3k}$ edge-parity patterns, retain those satisfying these equations, and choose one representative of each kernel-group orbit. For a fixed representative, use its stabilizer as the signed slot group. Edge slots now have invariant types specifying loop/nonloop status and prescribed word-length parity. The word-reversal oracle merely sums the allowed lengths of that parity; its polynomial bound is unchanged. The minimum loop length and the parallel-empty restrictions still apply. The standard homomorphism/split argument proves this is a disjoint orbit decomposition: transport an input parity pattern to its chosen representative, then rank the transported decoration under that pattern's stabilizer. Different transports differ by a stabilizer element and give the same rank. The additional pattern and stabilizer work has parameter-only cost $2^{O(k\log(k+1))}$. \end{proof}