---
title: Relational Complexity in Mathematics
url: https://www.emergentmind.com/topics/relational-complexity-rc
type: topic
---

# Relational Complexity in Mathematics

Relational complexity (RC) is a family of closely related arity parameters that quantify how much local relational information is needed before global behavior becomes determined. In permutation group theory, RC is the least $k$ for which $k$-subtuple orbit data determines orbit equivalence of all longer tuples; in the model theory of relational structures, it is the minimal arity of invariant relations needed to make a structure ultrahomogeneous; and in recent work on relational reasoning benchmarks, it is the minimum number of independent entities or operands that must be simultaneously bound to apply a relation [2107.14208] [1309.4266] [2604.12176]. Across these settings, RC measures a transition from partial compatibility to full reconstruction.

## 1. Permutation-group formulation

Let $G \leq \mathrm{Sym}(\Omega)$ be a permutation group of degree $n=|\Omega|$. A sequence $A=(\omega_1,\dots,\omega_k)$ of points in $\Omega$ is a base for $G$ if the pointwise stabiliser $G_{\omega_1,\dots,\omega_k}$ is trivial. The minimum length of a base is $b(G)$. A base is minimal if no proper subsequence is itself a base; the maximum size of a minimal base is denoted $B(G)$. A base $A=(\omega_1,\dots,\omega_k)$ is irredundant if
$$
G > G_{\omega_1} > G_{\omega_1,\omega_2} > \cdots > G_{\omega_1,\dots,\omega_k}=1,
$$
and the maximum size of an irredundant base is $I(G)$. The height $H(G)$ is the size of the largest set $\Delta \subseteq \Omega$ such that stabilisers shrink on adjoining any new point. These invariants satisfy
$$
b(G) \leq B(G) \leq H(G) \leq I(G) \leq b(G)\cdot \log_2 n.
$$

For integers $\ell \geq k \geq 1$, two $\ell$-tuples $A=(a_1,\dots,a_\ell)$ and $E=(e_1,\dots,e_\ell)$ in $\Omega^\ell$ are called $k$-subtuple-complete, written $A \approx_k E$, if for every subset of indices $\{i_1,\dots,i_k\}$ there exists $g \in G$ with
$$
(a_{i_1}^g,\dots,a_{i_k}^g)=(e_{i_1},\dots,e_{i_k}).
$$
The relational complexity $\mathrm{RC}(G)$ is the smallest $k$ such that for all $\ell \geq k$ and all $A,E \in \Omega^\ell$, the implication
$$
A \approx_k E \;\Rightarrow\; A^g=E \text{ for some } g\in G
$$
holds. Equivalently, $\mathrm{RC}(G)$ is the smallest $k$ such that the $G$-orbits on $\Omega^k$ separate all orbits on $\Omega^\ell$ for every $\ell \geq k$. The standard comparison with base-type invariants is
$$
\mathrm{RC}(G)\leq H(G)+1\leq I(G)+1
$$
[2107.14208].

This formulation makes RC an orbit-reconstruction invariant. It asks when consistency on all $k$-coordinate projections forces global compatibility. The scarcity of exact values is a recurring feature of the subject: several papers emphasize that very few precise values of relational complexity are known.

## 2. Logarithmic bounds for primitive groups

A central result for finite primitive groups is due to Kelsey and Roney-Dougal. If $G$ is a primitive subgroup of $S_n$ that is not of large-base type, then
$$
I(G) < 5\log_2 n,
$$
and hence
$$
\mathrm{RC}(G)\leq I(G)+1 < 5\log_2 n +1.
$$
Here “large-base” refers to the exceptional product-action and $A_k$-on-$k$-sets families in Liebeck’s classification. The same work shows that the maximal size of a minimal base and the height are both at most $5\log_2 n$, and that a base of size at most $5\log_2 n$ can be computed in polynomial time [2107.14208].

The proof proceeds through the O’Nan–Scott classification. In the almost simple case, detailed linear-algebraic chain-length arguments handle actions of $\mathrm{PSL}_d(q)$ and $\mathrm{PGL}_d(q)$ on subspaces. In product-action type $\mathrm{PA}$, wreath-product chain-length arguments reduce the problem to the underlying primitive action. The remaining primitive types are handled using earlier work of Gill–Lodá–Spiga. A key general lemma is that if $G$ is transitive then
$$
I(G)\leq \log_2 |G|-1,
$$
and also
$$
I(G)\leq (b(G)-1)\log_2 n+1.
$$

The logarithmic bound is significant because it is the first universal logarithmic bound on $I(G)$ and $\mathrm{RC}(G)$ in the non-large-base case, and is stated to be best possible up to the constant factor. It also has algorithmic consequences. The base-finding procedure repeatedly chooses a point that reduces the current stabiliser by at least a factor of $2$, using orbit sizes and Schreier–Sims, and terminates after at most $5\log_2 n$ steps.

Concrete families illustrate the scale of the bound. For $G=\mathrm{PGL}_d(q)$ acting on points, $n=(q^d-1)/(q-1)$, $b(G)=2$, and the chain-length argument gives
$$
I(G)=2(d-1)+1,
$$
so $\mathrm{RC}(G)\leq 2(d-1)+2$. For $G=\mathrm{PSL}_d(q)$ acting on $k$-subspaces with $k\geq 2$, one has
$$
I(G)\leq (k+1)d-2k+1
\quad\text{and}\quad
\mathrm{RC}(G)\leq (k+1)d-2k+2,
$$
which, for large $d$, lies well below $5\log_2$ of the orbit size.

## 3. Exact values for linear groups on subspaces

Freedman, Kelsey, and Roney-Dougal determine exact relational complexities for broad classes of linear groups acting on projective $1$-spaces, and give general bounds for finite semilinear groups and for $m$-space actions. Let $V=F^n$, let $\Omega_1=\mathrm{PG}_1(V)$, and let $H$ be almost simple with
$$
\mathrm{PSL}_n(F)\trianglelefteq H \leq \mathrm{PGL}_n(F).
$$
For $n\geq 3$, they prove:
$$
\mathrm{RC}(\mathrm{PGL}_n(F),\Omega_1)=
\begin{cases}
n & \text{if } |F|\leq 3,\\
n+2 & \text{if } |F|\geq 4,
\end{cases}
$$
and, if $\mathrm{PSL}_n(F)\trianglelefteq H<\mathrm{PGL}_n(F)$,
$$
\mathrm{RC}(H,\Omega_1)=
\begin{cases}
2n-1 & \text{if } n=3,\\
2n-2 & \text{if } n\geq 4.
\end{cases}
$$
These are among the few exact formulas presently available for primitive almost simple actions [2309.16111].

The proof strategy has two complementary parts. For upper bounds, tuples of length at least $2n-1$ are reduced to a normal form whose first $n$ entries are the coordinate lines $\langle e_i\rangle$ and whose remaining entries have support size $2$ or $3$; combinatorial arguments on supports then show that sufficiently strong local equivalence implies orbital equivalence. For lower bounds, explicit witness tuples $X,Y$ are constructed such that $X$ and $Y$ are $(k-1)$-equivalent but are not in the same $H$-orbit. In the determinant-sensitive case, the obstruction is that every small subtuple can be matched by a determinant-one matrix, but no single element of $H$ carries the full tuple $X$ to $Y$.

For finite fields, let $\mathrm{PSL}_n(q)\leq H\leq \mathrm{P}\Gamma\mathrm{L}_n(q)$, set $e=|H:H\cap \mathrm{PGL}_n(q)|$, and let $\omega(e)$ be the number of distinct prime divisors of $e$. Then, if $H\not\leq \mathrm{PGL}_n(q)$ and $n\geq 3$,
$$
n+2 \leq \mathrm{RC}(H,\Omega_1)\leq 2n-1+\omega(e),
$$
with stronger lower bounds
$$
\mathrm{RC}(H,\Omega_1)\geq
\begin{cases}
n+3 & \text{if } \mathrm{PGL}_n(q)<H,\\
2n-2 & \text{if } H\leq \mathrm{P}\Gamma\mathrm{L}_n(q)\neq \mathrm{PGL}_n(q).
\end{cases}
$$
For $m$-spaces, with $\Omega_m=\mathrm{PG}_m(V)$ and $2\leq m\leq \lfloor n/2\rfloor$,
$$
mn-m^2+1 \leq \mathrm{RC}(H,\Omega_m)\leq (m+1)n-2m+2+\omega(e).
$$

Several small-parameter examples are explicit. One recovers Cherlin’s result $\mathrm{RC}(\mathrm{GL}_n(2),F_2^n\setminus\{0\})=n$, and hence $\mathrm{RC}(\mathrm{PGL}_n(2),\Omega_1)=n$. Theorem A also gives $\mathrm{RC}(\mathrm{PGL}_n(3),\Omega_1)=n$. GAP computations reported in the paper include
$$
\mathrm{RC}(\mathrm{P}_2(3^5),\Omega_1)=5,\quad
\mathrm{RC}(\mathrm{P}_4(9),\Omega_1)=8,\quad
\mathrm{RC}(\mathrm{P}_3(2^6),\Omega_1)=6.
$$
A further corollary is that there are infinitely many primitive non-large-base groups whose height minus relational complexity grows unboundedly.

## 4. Diagonal-type primitive groups

A primitive group of diagonal type has socle $T^k$ with $T$ a nonabelian simple group and $k\geq 2$, acting on a set $\Omega$ of size $|T|^{k-1}$. One concrete realization is
$$
W_0=T^k\rtimes (\mathrm{Out}(T)\times S_k)\leq \mathrm{Sym}(\Omega),
$$
with $\Omega \cong T^k/D_0$ and
$$
T^k \leq G \leq W_0.
$$
The action is primitive exactly when either $k=2$ or the top $S_k$-factor acts primitively on $\{1,\dots,k\}$ [2605.16032].

For this family, Huang and Roney-Dougal prove three qualitative facts. First, if $G$ is primitive of diagonal type then
$$
\mathrm{RC}(G)\geq 4.
$$
Thus no diagonal-type primitive group is binary, and none has relational complexity $3$. The lower bound is proved by constructing two $4$-tuples $I,J\in \Omega^4$ that are $3$-subtuple-complete but lie in different $G$-orbits. For $k\geq 3$, the construction uses
$$
\alpha=D,\quad
\beta=D(x,1,\dots,1),\quad
\gamma=D(y,1,\dots,1),\quad
\delta_1=D(xy^{-1},1,\dots,1),\quad
\delta_2=D(y^{-1}x,1,\dots,1),
$$
with $x,y$ a generating pair of $T$.

Second, the lower bound is sharp for infinitely many examples. For $T=\mathrm{PSL}_2(2^f)$ with $f\geq 2$ and $k=2$, earlier work gives
$$
I(G)=b(G)=3.
$$
Hence $\mathrm{RC}(G)\leq I(G)+1=4$, and combining this with the general lower bound yields $\mathrm{RC}(G)=4$ for infinitely many primitive diagonal groups.

Third, relational complexity is unbounded in this family. For any $m\geq 3$, if $T=A_{m+2}$ and $k\geq 3$, then
$$
\mathrm{RC}(G)\geq m.
$$
The argument constructs two $m$-tuples that agree on any choice of $m-1$ coordinates via suitable stabiliser elements but belong to distinct orbits globally.

The same paper relates RC to greedy base algorithms. If $\mathcal G(G)$ denotes the largest base returned by the greedy algorithm that successively chooses a point in a largest orbit of the current stabiliser, then every greedy base is irredundant, so $\mathcal G(G)\leq I(G)$. For diagonal-type groups the paper determines the size of every greedy base produced in this way and proves Cameron’s conjecture for the family by establishing
$$
\mathcal G(G)\leq \frac{4}{3}\,b(G).
$$

## 5. Relational complexity of relational structures

In the structural setting, let $\mathbf A=(A,(R_i:i\in I))$ be a relational structure with fixed signature $\Delta=(\delta_i:i\in I)$, and let $\mathrm{Aut}(\mathbf A)$ be its automorphism group. A $k$-ary relation $\rho\subseteq A^k$ is an invariant of $\mathrm{Aut}(\mathbf A)$ if it is preserved by every automorphism. Writing $\mathrm{Inv}_{\leq k}(\mathbf A)$ for the collection of invariant relations of arity at most $k$, one forms the expansion
$$
\mathbf A_k^+ = \bigl(A,(R_i:i\in I),\mathrm{Inv}_{\leq k}(\mathbf A)\bigr).
$$
The relational complexity of $\mathbf A$ is
$$
\mathrm{rc}(\mathbf A)=\min\{\,k\geq 0:\mathbf A_k^+\text{ is ultrahomogeneous}\,\},
$$
with $\mathrm{rc}(\mathbf A)=\infty$ if no finite $k$ suffices. The related lift complexity $\mathrm{lc}(\mathbf A)$ is the minimum possible maximal arity of additional relations in an ultrahomogeneous lift of $\mathbf A$, and always satisfies
$$
\mathrm{lc}(\mathbf A)\leq \mathrm{rc}(\mathbf A).
$$
This notion was introduced as a measure of ultrahomogeneity of a relational structure and was explicitly motivated by the original group-theoretic definition [1309.4266].

Several basic properties are immediate or elementary. Relational complexity and lift complexity are closed under taking complements and monotone under adding invariant relations. For finite $\mathbf A$,
$$
\mathrm{lc}(\mathbf A)\leq 1
\quad\text{and}\quad
\mathrm{rc}(\mathbf A)\leq |A|-1.
$$
For disjoint unions of connected components, $\mathrm{lc}$ is governed by the maximum of the component complexities together with a unary correction term.

Graphs provide a large class of examples. A graph $G$ has $\mathrm{rc}(G)=0$ exactly when it is ultrahomogeneous. By Gardiner’s theorem, the finite homogeneous graphs are disjoint unions of cliques $rK_s$, their complements, $C_5$, and the line graph $L(K_{3,3})$. If $\mathrm{rc}(G)=1$, then there is a finite partition of the vertex set into parts so that each induced subgraph is homogeneous and each bipartite graph between two parts is a homogeneous $2$-edge-coloured bipartite graph. The cycle $C_6$ has $\mathrm{rc}(C_6)=1$ by adjoining a binary “red edge” relation between vertices at graph distance $2$.

For complexity $2$, the paper highlights three important families: metrically ultrahomogeneous graphs, finite trees, and cographs. At the opposite end, finite graphs of arbitrarily large relational complexity exist. Johnson graphs satisfy
$$
\mathrm{rc}(J(n,k))\leq 2\lfloor \log_2 k\rfloor,
$$
with equality for large $n$, while Kneser graphs satisfy
$$
\mathrm{rc}(KG(n,k))=2\lfloor \log_2 k\rfloor.
$$
In particular, the Petersen graph has $\mathrm{rc}=3$.

A particularly strong theorem concerns universal structures defined by forbidden homomorphisms. If $\mathcal F$ is a finite minimal family of finite connected structures and $\mathbf U$ is the canonical universal, $\omega$-categorical, existentially complete structure for $\mathrm{Forb}_h(\mathcal F)$, then if the largest minimal $g$-separating $g$-cut in $\mathcal F$ has size $n$,
$$
\mathrm{rc}(\mathbf U)=\mathrm{lc}(\mathbf U)=n.
$$
Examples include the universal bipartite graph, with $\mathrm{rc}=\mathrm{lc}=2$ when $\mathcal F$ is a single odd cycle; cographs, with $\mathrm{rc}=\mathrm{lc}=1$ when $\mathcal F=\{P_3\}$; and the universal $\mathrm{Forb}_h(\mathrm{Petersen})$ structure, with $\mathrm{rc}=\mathrm{lc}=4$.

## 6. Task-agnostic RC in relational reasoning benchmarks

Recent machine-learning work uses the same term in a task-agnostic sense. In “Evaluating Relational Reasoning in LLMs with REL,” relational complexity is defined as the minimal number of independent sources of variation that must be bound in parallel to carry out an inference, equivalently the arity of the relation:
$$
\mathrm{RC}(\mathcal R)=\min\{\,r\mid \mathcal R \text{ can be applied to } (x_1,\dots,x_r)\,\}.
$$
The paper distinguishes this from operand complexity (OC), which measures the difficulty of identifying or manipulating each filler once the arity is fixed. Two tasks can therefore have the same RC but different OC [2604.12176].

The REL framework operationalizes this idea in three domains. REL-A studies algebraic relational reasoning through RPMs and RPTs. REL-B studies biological reasoning through homoplasy detection in phylogenetic settings and epistatic structure inference using Walsh–Hadamard coefficients
$$
W_b(S)=\sum_{T\subseteq S}(-1)^{|S|-|T|}f_b(\mathbf 1_T).
$$
REL-C studies chemical reasoning through constitutional isomer classification, maximum common substructure, completion of partial isomer families, and global constraint-satisfaction tasks. One evaluation metric used for maximum common substructure is
$$
\mathrm{IsSubstructure}
=\tfrac12\bigl(S_{pred\subseteq true}+S_{true\subseteq pred}\bigr).
$$

A central methodological claim is that RC provides a principled axis along which reasoning difficulty can be varied while controlling for confounders such as input size, vocabulary, surface representation, and distractor sampling. The empirical finding is that across all domains and evaluation regimes, performance degrades sharply and almost monotonically with increasing RC, even when other factors are held fixed. Representative examples reported in the paper include the collapse of GPT-5.2 accuracy on algebraic tasks A3 and A4 from above $90\%$ at $n=3$ to near chance $(12.5\%)$ at $n=30$, the fall in biological homoplasy-detection accuracy from $35\%$ at $N_{ht}=4$ to $1\%$ at $N_{ht}=25$, and the decrease in chemistry task completion from $65.7\%$ on C1 to $38.1\%$ on C2 and $26.0\%$ on C3.

The reported interventions are longer contexts, in-context examples, best-of-$N$, majority voting, structured prompts, and tool use such as RDKit. These yield only marginal gains on high-RC instances and do not eliminate the monotonic failure pattern. The paper therefore treats higher-arity relational binding as a distinct failure mode rather than a mere prompt-length or token-budget effect.

## 7. Open problems and unsettled points

Several major questions remain open across the literature. In primitive permutation group theory, no primitive example of relational complexity $3$ is known. Diagonal-type groups exclude $\mathrm{RC}=3$ altogether, and it remains open whether an almost simple primitive group can have $\mathrm{RC}=3$ [2605.16032]. In the non-large-base setting, stated future directions include sharpening the constant $5$, classifying cases of equality, and exploring lower bounds for other families of almost simple groups [2107.14208].

For linear groups, a natural open problem is to determine relational complexity for other classical groups—unitary, symplectic, and orthogonal groups—in their subspace actions, and to refine the constant factors in the $m$-space bounds [2309.16111]. In the structural theory of graphs and relational structures, the growth of
$$
f(N)=\max\{\mathrm{rc}(G):|V(G)|=N\}
$$
and the classification of structures with $\mathrm{rc}=1$ or $\mathrm{rc}=2$ are explicit open problems [1309.4266]. In recent benchmark work, future directions include extending controlled-RC evaluations to graph algorithms, multi-agent planning, and clinical decision-making [2604.12176].

A persistent source of confusion is that the term “relational complexity” is not attached to a single formal object across all fields. In finite permutation groups it is an orbit-determination invariant; in model theory it is the minimal arity of invariant relations needed for ultrahomogeneity; and in recent reasoning benchmarks it is an arity-of-binding parameter. The common thread is nonetheless stable: RC quantifies how much simultaneous relational coordination is required before partial local agreement can no longer diverge from the global configuration.

Source: https://www.emergentmind.com/topics/relational-complexity-rc