\appendix \section{Finite calculations}\label{app:finite} This appendix gives the inputs and tests for the two enumerations. Digraphs are specified up to isomorphism and predicates up to coordinate permutation. The accompanying source archive includes the verifier \texttt{anc/verify.py}, the three AHM boundary lists in \texttt{anc/data/ahm-bounds.json}, and all 29 matrix certificates under \texttt{anc/data/certificates/}. To reproduce the finite counts and check each obstruction, follow \texttt{anc/README.txt}. The parameters below also specify how to regenerate the matrix clauses. \subsection{The five-ary cases} Interpret a five-bit word $a$ as an integer $b(a)$ and encode a predicate by $\sum_{a\in A}2^{b(a)}$. Write $r(A)$ for the least such integer over all coordinate permutations. Starting with each maximal unknown from \cite[Appendix B.2]{AHM}, take the union of each compatible permuted minimal unknown with every subset of the difference between them. Retain distinct values of $r(A)$. To test for a non-unate polymorphism, the grouping argument in Section~\ref{sec:five} prescribes four values of a five-ary table. Order the four context groups by $00,01,10,11$. Including the distinguished coordinate in front gives \[ f(00011)=0,\quad f(10011)=1,\quad f(00101)=1,\quad f(10101)=0 . \] These fix four distinct complementary pairs. Of the sixteen pairs $\{x,\bar x\}$, one further pair is fixed by idempotence, leaving $2^{11}$ tables. For each $A$, discard a table if some five columns from $A$ give five output zeros. Exactly 135 predicates admit no surviving table. For these 135 one can recover a failed block size without SAT search. After reversing the orientation of either block if necessary, a unate $(t,t+1)$-block table increases in each weight. This follows because a permutation within a block interchanges any two coordinates, hence all essential coordinates in it have the same direction. For weight $i$ in the first block, write $h_i$ for the least second weight giving a one, using $t+2$ if none does. Enumerate \[ t+2\ge h_0\ge\cdots\ge h_t\ge0,\qquad h_i+h_{t-i}=t+2 . \] The second condition expresses foldedness. Undo each of the four block orientations, retaining the resulting grids $F$ with $F(0,0)=0$. Write $sA$ for all coordinatewise sums of $s$ tuples of $A$ in the integers. A grid survives precisely when \[ \forall u\in tA,\ v\in(t+1)A,\qquad \bigvee_{j=1}^5 F(u_j,v_j)=1 . \] It suffices to apply this test to the 11 minimal predicates in the 135-class set. Each larger predicate imposes at least the constraints of the smaller predicate it contains. The first $t$ at which no grid survives is listed in Table~\ref{tab:unate}. \begin{table}[htbp] \centering \caption{First missing block sizes among the minimal unate cases.}\label{tab:unate} \begin{tabular}{cl} \toprule $t$ & Minimal representatives $r(A)$\\ \midrule 3 & $72384$\\ 4 & $71304,\ 136896,\ 398984$\\ 6 & $202912,\ 406656,\ 1447968$\\ 7 & $201800$\\ 8 & $399520,\ 1448064,\ 18374664$\\ \bottomrule \end{tabular} \end{table} The cyclic representative is $38695488$. For the other 53, the containment test is as follows. Decode each integer in Table~\ref{tab:bases} into a set of five-bit words and take its 120 coordinate permutations. Each of the 53 predicates contains at least one of the resulting sets. \begin{table}[htbp] \centering \caption{The 24 five-ary predicates with a certified digraph obstruction. $P$ consists of two internally disjoint paths of lengths three and four from $u$ to $v$, with reverse arcs added to the first and last arcs of the shorter path. The last column gives the number of vertex layers in the matrix search.}\label{tab:bases} \begin{tabular}{l>{\raggedright\arraybackslash}p{0.54\linewidth}r} \toprule Digraph & Predicate representatives $r(A)$ & Layers\\ \midrule $P$ & $18506816,\ 19417312,\ 36459136$ & 1\\ $\Theta(2,2,7)$ & $464512$ & 1\\ $\Theta(3,1,4)$ & $71904,\ 75976,\ 603264,\ 730240$ & 1\\ $\Theta(3,1,6)$ & $92296,\ 219264,\ 485504,\ 726656,\ 747648,$ $923264,\ 1584768,\ 1715328,\ 1729664$ & 1\\ $\Theta(3,2,5)$ & $397960,\ 406592,\ 465024$ & 1\\ $\Theta(5,3,8)$ & $223360,\ 407680$ & 6\\ $\Theta(11,6,16)$ & $923776$ & 25\\ $\Theta(19,2,7)$ & $202368$ & 18\\ \bottomrule \end{tabular} \end{table} In the graph $P$ of Table~\ref{tab:bases}, the two reverse arcs give $u$ an incoming arc and $v$ an outgoing arc, so the graph is smooth. Going along the long path and backwards along the short one gives a closed walk of algebraic length one. For each theta graph in Tables~\ref{tab:sparse} and~\ref{tab:bases}, the two cycle lengths $c+a$ and $c+b$ are coprime. \subsection{Generating and checking the matrix clauses} For a small graph start with all words of the form $\alpha\circ s$ or $\alpha\circ t$. A legal matrix can use any of these words independently in each row, subject to the single condition that each column belongs to $A$. For the larger graphs even this list of row candidates is inconveniently long. We use the following restriction. It leaves at most ten independent bits per row in all our calculations. Take $h$ copies of $V$, where $h$ is the layer count in Table~\ref{tab:bases} (use $h=1$ for Table~\ref{tab:sparse}). For each arc $u\to v$ identify $(v,i)$ with $(u,i+1)$ for $0\le i