\subsection{A complete graph index: from four vertices to rank 27 and back} \label{sec:e6-complete-example} The earlier examples isolate individual mechanisms. Here we follow one graph through the complete directed indexing construction, including the counts of preceding kernels. All ranks in this example start at zero. The indexed class consists of \emph{all} weakly connected simple digraphs on four vertices with branching excess one; loops and sinks are permitted. It has 82 isomorphism classes. The example does not restrict the class to graphs having the chosen kernel. \paragraph{The order, fixed before selecting the graph.} Use the following permissible instance of the order in Theorem~\mainref{thm:response-indexing} (see also Theorem~\ref{thm:graph-explicit-cost} in this companion). For every kernel in the excess-one catalogue, minimize its row-major adjacency multiplicity array over vertex permutations. Order kernels first by vertex count and then by this array. This rule is independent of the target size; kernels whose size-four decoration count is zero simply have empty index blocks. Use the vertex slots in their canonical array order, followed by arc slots in ordered-endpoint order, with consecutive slots for parallel arcs. The final slot is the background, here necessarily empty. Within each kernel block, minimize the entire typed decoration vector under the kernel automorphism group and use ordinary slot-lex order. In particular, joint weak types are used for counting; they are not outer blocks of this order. Let $T_1$ be the singleton rooted tree and $T_2$ the rooted tree with one child. Introduce four sequence letters: \[ \epsilon=(),\qquad A=(T_1),\qquad B=(T_1,T_1),\qquad C=(T_2). \] Their weights are $0,1,2,2$, and their size-first sequence order is $\epsilon=Stealth,every node/.style={circle,draw,inner sep=2pt}] \node (b) at (0,0) {$b$}; \node (x) at (1.5,0) {$x$}; \node (a) at (3,0) {$a$}; \node (y) at (1.5,1.1) {$y$}; \draw[->] (b)--(x); \draw[->] (x)--(a); \draw[->] (y)--(x); \draw[->] (b) to[bend right=30] (a); \end{tikzpicture}\\[2mm] \small The input graph, with $y$ outside the forward closure. \end{minipage}\hfill \begin{minipage}[t]{.43\textwidth}\centering \begin{tikzpicture}[>=Stealth,every node/.style={circle,draw,inner sep=2pt}] \node (b) at (0,0) {$b$}; \node (a) at (2.7,0) {$a$}; \draw[->] (b) to[bend left=30] node[above,draw=none,shape=rectangle] {$C=(T_2)$} (a); \draw[->] (b) to[bend right=30] node[below,draw=none,shape=rectangle] {$\epsilon$} (a); \end{tikzpicture}\\[2mm] \small Each kernel vertex carries $T_1$; the arcs carry $C,\epsilon$. \end{minipage} \caption{The suppressed vertex $x$ and its incoming leaf $y$ become one tree letter in an arc sequence. The drawings place $b$ on the left, but the canonical vertex-slot order is $(a,b)$.} \label{fig:e6-complete-example} \end{figure} The canonical kernel matrix, in vertex order $(a,b)$, is \[ K=\begin{pmatrix}0&0\\2&0\end{pmatrix}. \] The vertices cannot be exchanged: one is a sink and the other has outdegree two. The two parallel arc slots can be exchanged, so $\Gamma_K\cong S_2$ fixes the vertex and background slots and swaps the two arc slots. If path extraction happens to list the subdivided path first, it produces \[ (T_1,T_1;C,\epsilon;\varnothing). \] Minimization under $\Gamma_K$ gives the canonical vector \begin{equation} \boldsymbol{v}=(T_1,T_1;\epsilon,C;\varnothing). \label{eq:e6-example-vector} \end{equation} Here $\varnothing$ denotes the empty background, a letter of weight zero in its own type; it is not the sequence letter $\epsilon$. The weights in \eqref{eq:e6-example-vector} sum to $1+1+0+2+0=4$. \paragraph{Counting preceding kernels.} Only two admissible kernels precede $K$ in the declared catalogue: \[ K_0=(2),\qquad K_1=\begin{pmatrix}0&0\\1&1\end{pmatrix}. \] For a one-vertex kernel, excess one forces two loops. For a two-vertex matrix earlier than $(0,0,2,0)$, its first row must be zero and its second row must sum to two. The possibility $(0,2)$ leaves the first vertex unreachable from the branch vertex and is excluded; $(1,1)$ gives $K_1$. There are no other preceding kernels. These two counts can be checked without listing their expanded graphs. Write \[ T(z)=z+z^2+2z^3+O(z^4),\qquad S(z)=\frac{1}{1-T(z)}=1+z+2z^2+5z^3+O(z^4). \] An unordered pair of sequence letters, other than two empty letters, has generating function \[ P(z)=\frac{S(z)^2+S(z^2)}{2}-1 =z+3z^2+7z^3+O(z^4). \] The subtraction enforces simplicity for parallel arcs. Kernel $K_0$ has one vertex decoration and an unordered pair of loop decorations, whereas $K_1$ has two distinguished vertices and two distinguished arcs. Consequently their size-four counts are \[ [z^4]T(z)P(z)=7+3+2=12,\qquad [z^4]T(z)^2S(z)^2=5+4+5=14. \] Thus the global offset of the $K$ block is $12+14=26$. For $K$ itself, $[z^4]T(z)^2P(z)=3+2=5$. \paragraph{The five canonical vectors and the prefix queries.} The entire $K$ block is small enough to display. The background slot is empty in every row and is omitted from this table only. \begin{center} \begin{tabular}{@{}cccc@{}} \toprule Local rank & Vertex slots $(a,b)$ & Arc slots & Global rank \\ \midrule 0 & $(T_1,T_1)$ & $(\epsilon,B)$ & 26 \\ 1 & $(T_1,T_1)$ & $(\epsilon,C)$ & 27 \\ 2 & $(T_1,T_1)$ & $(A,A)$ & 28 \\ 3 & $(T_1,T_2)$ & $(\epsilon,A)$ & 29 \\ 4 & $(T_2,T_1)$ & $(\epsilon,A)$ & 30 \\ \bottomrule \end{tabular} \end{center} Each row has total weight four and at most one empty parallel path. The $(A,A)$ row is one orbit fixed by the arc swap. Hence dividing the number of all assignments by two would give an incorrect count. For a prefix $p$, let $F(p)$ count the canonical size-four vectors in this kernel block extending $p$. An additional condition $x_j