Relational Complexity in Mathematics
- Relational Complexity is a measure that quantifies the minimum number of independent relations required to reconstruct global configurations from local subtuple data.
- It is formulated through permutation groups, with methods including base invariants and logarithmic bounds for primitive groups, demonstrating both theoretical depth and algorithmic relevance.
- RC guides the study of ultrahomogeneity in model theory and informs relational reasoning benchmarks in AI, impacting applications in graph theory and algebraic inference.
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 for which -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 (Kelsey et al., 2021, Hartman et al., 2013, Fesser et al., 14 Apr 2026). Across these settings, RC measures a transition from partial compatibility to full reconstruction.
1. Permutation-group formulation
Let be a permutation group of degree . A sequence of points in is a base for if the pointwise stabiliser is trivial. The minimum length of a base is . A base is minimal if no proper subsequence is itself a base; the maximum size of a minimal base is denoted . A base 0 is irredundant if
1
and the maximum size of an irredundant base is 2. The height 3 is the size of the largest set 4 such that stabilisers shrink on adjoining any new point. These invariants satisfy
5
For integers 6, two 7-tuples 8 and 9 in 0 are called 1-subtuple-complete, written 2, if for every subset of indices 3 there exists 4 with
5
The relational complexity 6 is the smallest 7 such that for all 8 and all 9, the implication
0
holds. Equivalently, 1 is the smallest 2 such that the 3-orbits on 4 separate all orbits on 5 for every 6. The standard comparison with base-type invariants is
7
This formulation makes RC an orbit-reconstruction invariant. It asks when consistency on all 8-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 9 is a primitive subgroup of 0 that is not of large-base type, then
1
and hence
2
Here “large-base” refers to the exceptional product-action and 3-on-4-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, and that a base of size at most 6 can be computed in polynomial time (Kelsey et al., 2021).
The proof proceeds through the O’Nan–Scott classification. In the almost simple case, detailed linear-algebraic chain-length arguments handle actions of 7 and 8 on subspaces. In product-action type 9, 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 0 is transitive then
1
and also
2
The logarithmic bound is significant because it is the first universal logarithmic bound on 3 and 4 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 5, using orbit sizes and Schreier–Sims, and terminates after at most 6 steps.
Concrete families illustrate the scale of the bound. For 7 acting on points, 8, 9, and the chain-length argument gives
0
so 1. For 2 acting on 3-subspaces with 4, one has
5
which, for large 6, lies well below 7 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 8-spaces, and give general bounds for finite semilinear groups and for 9-space actions. Let 0, let 1, and let 2 be almost simple with
3
For 4, they prove:
5
and, if 6,
7
These are among the few exact formulas presently available for primitive almost simple actions (Freedman et al., 2023).
The proof strategy has two complementary parts. For upper bounds, tuples of length at least 8 are reduced to a normal form whose first 9 entries are the coordinate lines 0 and whose remaining entries have support size 1 or 2; combinatorial arguments on supports then show that sufficiently strong local equivalence implies orbital equivalence. For lower bounds, explicit witness tuples 3 are constructed such that 4 and 5 are 6-equivalent but are not in the same 7-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 8 carries the full tuple 9 to 0.
For finite fields, let 1, set 2, and let 3 be the number of distinct prime divisors of 4. Then, if 5 and 6,
7
with stronger lower bounds
8
For 9-spaces, with 00 and 01,
02
Several small-parameter examples are explicit. One recovers Cherlin’s result 03, and hence 04. Theorem A also gives 05. GAP computations reported in the paper include
06
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 07 with 08 a nonabelian simple group and 09, acting on a set 10 of size 11. One concrete realization is
12
with 13 and
14
The action is primitive exactly when either 15 or the top 16-factor acts primitively on 17 (Huang et al., 15 May 2026).
For this family, Huang and Roney-Dougal prove three qualitative facts. First, if 18 is primitive of diagonal type then
19
Thus no diagonal-type primitive group is binary, and none has relational complexity 20. The lower bound is proved by constructing two 21-tuples 22 that are 23-subtuple-complete but lie in different 24-orbits. For 25, the construction uses
26
with 27 a generating pair of 28.
Second, the lower bound is sharp for infinitely many examples. For 29 with 30 and 31, earlier work gives
32
Hence 33, and combining this with the general lower bound yields 34 for infinitely many primitive diagonal groups.
Third, relational complexity is unbounded in this family. For any 35, if 36 and 37, then
38
The argument constructs two 39-tuples that agree on any choice of 40 coordinates via suitable stabiliser elements but belong to distinct orbits globally.
The same paper relates RC to greedy base algorithms. If 41 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 42. 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
43
5. Relational complexity of relational structures
In the structural setting, let 44 be a relational structure with fixed signature 45, and let 46 be its automorphism group. A 47-ary relation 48 is an invariant of 49 if it is preserved by every automorphism. Writing 50 for the collection of invariant relations of arity at most 51, one forms the expansion
52
The relational complexity of 53 is
54
with 55 if no finite 56 suffices. The related lift complexity 57 is the minimum possible maximal arity of additional relations in an ultrahomogeneous lift of 58, and always satisfies
59
This notion was introduced as a measure of ultrahomogeneity of a relational structure and was explicitly motivated by the original group-theoretic definition (Hartman et al., 2013).
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 60,
61
For disjoint unions of connected components, 62 is governed by the maximum of the component complexities together with a unary correction term.
Graphs provide a large class of examples. A graph 63 has 64 exactly when it is ultrahomogeneous. By Gardiner’s theorem, the finite homogeneous graphs are disjoint unions of cliques 65, their complements, 66, and the line graph 67. If 68, 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 69-edge-coloured bipartite graph. The cycle 70 has 71 by adjoining a binary “red edge” relation between vertices at graph distance 72.
For complexity 73, 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
74
with equality for large 75, while Kneser graphs satisfy
76
In particular, the Petersen graph has 77.
A particularly strong theorem concerns universal structures defined by forbidden homomorphisms. If 78 is a finite minimal family of finite connected structures and 79 is the canonical universal, 80-categorical, existentially complete structure for 81, then if the largest minimal 82-separating 83-cut in 84 has size 85,
86
Examples include the universal bipartite graph, with 87 when 88 is a single odd cycle; cographs, with 89 when 90; and the universal 91 structure, with 92.
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:
93
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 (Fesser et al., 14 Apr 2026).
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
94
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
95
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 96 at 97 to near chance 98 at 99, the fall in biological homoplasy-detection accuracy from 00 at 01 to 02 at 03, and the decrease in chemistry task completion from 04 on C1 to 05 on C2 and 06 on C3.
The reported interventions are longer contexts, in-context examples, best-of-07, 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 08 is known. Diagonal-type groups exclude 09 altogether, and it remains open whether an almost simple primitive group can have 10 (Huang et al., 15 May 2026). In the non-large-base setting, stated future directions include sharpening the constant 11, classifying cases of equality, and exploring lower bounds for other families of almost simple groups (Kelsey et al., 2021).
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 12-space bounds (Freedman et al., 2023). In the structural theory of graphs and relational structures, the growth of
13
and the classification of structures with 14 or 15 are explicit open problems (Hartman et al., 2013). In recent benchmark work, future directions include extending controlled-RC evaluations to graph algorithms, multi-agent planning, and clinical decision-making (Fesser et al., 14 Apr 2026).
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.