Preprint
Article

This version is not peer-reviewed.

Symmetry-Reduced Enumeration and Canonical Forms for Grid-Based Density Clustering Under the Hyperoctahedral Group

Submitted:

13 August 2026

Posted:

14 August 2026

You are already at the latest version

Abstract
Grid-based density clustering methods—FlowGrid, FLOPTICS, and grid-accelerated DBSCAN and OPTICS—partition a d-dimensional feature space into an md array of bins and group the non-empty bins by density reachability. They leave a symmetry unexploited: relabelling and reflecting the feature axes permutes the bins while preserving density. We formalise this as an action of the hyperoctahedral group Bd = C2 \( \wr \) Sd of order 2dd! on bin-occupancy functions. We prove that the action preserves the Chebyshev bin-adjacency underlying grid reachability (Theorem 1); that grid density clustering is Bd-equivariant (Theorem 2); that configurations up to symmetry are counted by a Burnside average over Bd (Theorem 3), with an explicit parity-split closed form for the octahedral case at every resolution, which we have not found recorded elsewhere (Theorem 4 and Corollary 2); and that a canonical-form algorithm computes a unique representative per orbit in O (2dd! md) time (Theorem 5). We are explicit about scope: a generic dataset has a trivial stabiliser, so there is no per-run gain; the benefit is canonical indexing, deduplication of symmetry-closed libraries, and caching when the same measurement recurs under a different axis convention. The group specialises to the D4 and Oh symmetries of the DR Code. Symmetry enters twice: as the group acting on the grid, and as the line between symmetric instances and the generic asymmetric ones. All theorems and enumeration formulae are confirmed computationally.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

Clustering is the unsupervised partition of a dataset into groups of similar points; density-based clustering defines those groups as connected regions of high density separated by sparse ones. DBSCAN [1] and its ordering-based refinement OPTICS [2] are the canonical representatives, widely used because they find clusters of arbitrary shape without fixing their number in advance. Their principal cost is the neighbourhood query, and a standard remedy is to impose a regular grid on the feature space, aggregate points into axis-aligned bins, and run the density logic on bins rather than on individual points. FlowGrid [3] and FLOPTICS [4,5,6] are recent members of this grid-based density family; FLOPTICS, in particular, was introduced for the automated gating of flow-cytometry data—a setting in which panels typically measure on the order of ten to forty channels, though gating is usually performed on low-dimensional projections of two to four channels at a time, precisely the regime where B d { 8 , 48 , 384 } is small. Axis relabelling is not a hypothetical symmetry here: the order in which channels are written to a data file, and the orientation conventions of a given instrument or compensation step, are recording choices rather than biological facts, so two laboratories analysing the same sample may present grids differing exactly by an element of B d . FLOPTICS clusters bins produced by an equal-width partition of each measured channel, and belongs to a family of automated gating methods that includes FLOCK [7], flowPeaks [8], and FlowSOM [9].
A grid is a highly symmetric object. Permuting the d feature axes and independently reflecting any axis sends bins to bins and leaves every notion of grid adjacency intact. The collection of these operations is a finite group—the hyperoctahedral group B d = C 2 S d of order 2 d d ! , classically the symmetry group of the d -cube and of the integer lattice Z d , and the natural symmetry acting on functions over a product space of the kind studied in m d [10]; the underlying integer-lattice geometry is standard [11]. Although grid-based clustering algorithms operate directly on this symmetric object, they treat the axes as ordered and oriented, so the symmetry is present in the problem but absent from its analysis. The purpose of this paper is to make the symmetry explicit and to derive its exact consequences for the enumeration, canonicalisation, and reproducibility of grid-clustering instances.
Our motivation is concrete and recent. In a companion study of the DR Code—a two-dimensional barcode whose 3 × 3 block layout admits XOR-based strip recovery [12]—the authors showed [13] that the recoverable layouts form the orbit space of an order-72 group and that passing to orbit representatives compresses the layout catalogue and yields a canonical-form deduplication scheme. The geometric part of that group is exactly D 4 , the symmetry group of the square. A companion study extends the code to a 3 × 3 × 3 logical cube, where the corresponding symmetry group is C 3 × C 3 × C 3 O h of order 1 , 296 and the geometric factor is the full octahedral group O h of the cube [14]. Both are instances of the hyperoctahedral family: D 4 = B 2 and O h = B 3 . The present paper takes the natural next step by removing the barcode-specific recoverability constraint and studying the pure grid symmetry B d in the setting where the grid hosts a clustering instance rather than a constrained code. In doing so we move from a finite constrained catalogue to the unconstrained—and unbounded—space of bin-occupancy functions, which changes both the enumeration problem and the meaning of a canonical form.
We are careful about what symmetry buys. A generic occupancy function has trivial stabiliser, so its orbit has full size and no bins are forced to coincide; we therefore make no per-run speedup claim. The orbit structure is instead useful across instances—canonical indexing, deduplication of symmetry-closed libraries, and caching across analyses that present the same measurement under a different axis convention—and we quantify these benefits.
A second motivation is reproducibility. Grid-based clustering pipelines are increasingly deployed as standardised tools—FLOPTICS, for instance, is intended as a reproducible alternative to subjective manual gating—and reproducibility requires that the output not depend on incidental choices such as the order in which feature channels happen to be listed or the sign convention of an axis. Equivariance under B d is the exact statement that these choices are incidental: two operators who list the channels in different orders, or orient an axis oppositely, obtain clusterings differing by precisely the corresponding relabelling. A canonical axis order removes this degree of freedom and makes the pipeline deterministic with respect to axis presentation. This is a modest but genuine guarantee, and it falls out of the same group action that governs the enumeration and caching results.
Two questions organise what follows. (Q1) In what precise sense is grid-based density clustering independent of how the feature axes happen to be ordered and oriented, and what is the group that expresses this? (Q2) Given that group, how many genuinely distinct clustering instances are there on a grid, and can each be given a canonical name cheaply enough to be useful? Q1 is answered by the equivariance theorem, Q2 by the enumeration and canonical-form results.
The contributions of this paper are the following. (C1) We formalise the action of B d on bin-occupancy functions and prove that it preserves the Chebyshev bin-adjacency that underlies grid density reachability (Section 4, Theorem 1). (C2) We prove that grid-based density clustering is B d -equivariant: relabelling the axes relabels the clusters and nothing more (Section 5, Theorem 2). (C3) We give a Burnside/cycle-index count of bin-occupancy configurations up to B d , specialise the classical signed-cycle-type computation of the cycle index of B d to the grid m d ; the resulting closed form for the octahedral case, valid at every resolution and split by the parity of the resolution, is our main enumerative contribution and we have not found it recorded elsewhere. The dihedral case ( d = 2 ) is derived the same way as a worked illustration, and we verify all of it against exhaustive orbit enumeration (Section 6, Theorems 3 and 4, Corollary 2). (C4) We present a canonical-form algorithm (Algorithm 1), prove its correctness and O 2 d d ! m d complexity, and delimit its honest range of usefulness (Section 7, Theorem 5). Throughout, two supporting propositions record the orbit-size structure (Proposition 1) and the asymptotic orbit count (Proposition 2), and a fully worked 2 × 2 micro-example makes every ingredient checkable by hand. Section 2 reviews related work, Section 3 fixes notation, Section 8 discusses scope and applications, and Section 9 concludes. In total we prove five theorems, one lemma, two propositions and four corollaries, and give two algorithms. Every quantitative claim in the paper was checked computationally using the open-source scripts released with the paper—exhaustively on the relevant finite structures wherever they are small enough to enumerate, and by large randomised trials elsewhere.

3. Preliminaries

For convenience, Table 3 collects the notation used throughout.
Fix a dimension d 1 and a per-axis resolution m 2 . The grid is the set of bins
Γ = m d = { 0 , 1 , , m 1 } d , Γ = m d .
Two bins u , v Γ are adjacent, written u v , if they differ and are within Chebyshev distance one, i.e. u v and m a x k u k v k 1 . This is the king-move adjacency used by grid-based density clustering to decide when two occupied bins belong to the same dense region.
An occupancy function is a map w : Γ A into a finite alphabet A of size q = A ; w b records the point count of bin b , optionally quantised into q density levels, with 0 denoting an empty bin. The set of occupancy functions is A Γ , of size q m d .
It is convenient to record two special cases immediately. At d = 2 the group B 2 = C 2 2 S 2 has order 8 and is the dihedral group D 4 of the square: the two axis reflections and the axis swap generate the four rotations and four reflections of a square grid. At d = 3 the group B 3 = C 2 3 S 3 has order 48 and is the full octahedral group O h of the cube. These are exactly the geometric symmetry groups appearing in the 2D and 3D DR Code, which is the sense in which the hyperoctahedral action generalises that setting to arbitrary dimension.
We also fix the cycle-index notation used in Section 6. For a permutation σ of a finite set X write its cycle type as the formal monomial k 1 a k j k σ , where j k σ is the number of k -cycles of σ . The cycle index of a group H acting on X is Z H X a 1 , a 2 , = 1 H σ H k a k j k σ . Setting every a k = q evaluates the cycle index to 1 H σ q c σ with c σ = k j k σ the total number of cycles; by Theorem 3 this is the number of q -colourings of X up to H .
The hyperoctahedral group is
B d = C 2 S d = C 2 d S d , B d = 2 d d ! ,
realised as signed permutations. We write an element as a pair g = π , ε with π S d a permutation of axes and ε { + 1 , 1 } d a per-axis reflection sign. Composition follows the wreath-product rule: for g 1 = π 1 , ε 1 and g 2 = π 2 , ε 2 one has g 1 g 2 = π 1 π 2 , ε with ε i = ε 2 , i ε 1 , π 2 i , and the identity is i d , + 1 , , + 1 . We use two standard facts about a finite group H acting on a set: the orbit of a point x is H x = { h x : h H } , its stabiliser is H x = { h : h x = x } , and the orbit–stabiliser theorem gives H x = H / H x ; and the number of orbits is the Burnside average of fixed-point counts. Both are applied below to H = B d acting on occupancy functions.

4. The Group Action on Grid Bins

We first make B d act on bins, then on occupancy functions, and verify the action respects grid adjacency—the property that makes it compatible with density reachability. The three generating operations are shown schematically in Figure 2.
Definition 1 (action on bins). For  g = π , ε B d  and a bin  x = x 0 , , x d 1 Γ  , define  g x = y  by
y π i = x i , ε i = + 1 , m 1 x i , ε i = 1 , i = 0 , , d 1 .
Thus g permutes the axes by π and reflects the selected axes. The induced action on occupancy functions is by push-forward, g w b = w g 1 b .
Theorem 1 (well-defined adjacency-preserving action). The map of Definition 1 is a left action of  B d  on  Γ  by bijections, and it preserves adjacency:  u v g u g v  for every  g B d  . Consequently the push-forward is a left action of  B d  on  A Γ  , and it preserves the bin-adjacency graph on which grid density reachability is defined. 
Proof. Each single-axis reflection x i m 1 x i is an involution of { 0 , , m 1 } , and axis permutation by π is a bijection of coordinate positions; their combination is therefore a bijection of Γ , with inverse π , ε 1 = π 1 , ε ' where ε ' π i = ε i . The identity i d , + 1 , , + 1 acts as the identity map, and a direct computation shows g 1 g 2 x = g 1 g 2 x , so the map is a left action. For adjacency, write δ k = u k v k . Axis permutation only relabels the coordinates, so it permutes the multiset { δ 0 , , δ d 1 } and leaves its maximum unchanged. A reflection on axis i replaces u i , v i by m 1 u i , m 1 v i , whose absolute difference is again δ i . Hence m a x k δ k is invariant and u v g u g v , so u v g u g v . The push-forward inherits the action axioms from the action on bins, and because adjacency is preserved, the bin-adjacency graph is mapped isomorphically to itself.
We verified Theorem 1 exhaustively: for d { 2 , 3 , 4 } and several resolutions m , all B d elements act as bijections of Γ , the wreath-product composition rule agrees with the composition of the corresponding bin-maps on every bin, and every adjacent pair maps to an adjacent pair. At d = 2 the group has order 8 and coincides with D 4 ; at d = 3 it has order 48 and coincides with O h —precisely the geometric groups of the 2D and 3D DR Code (Table 4).
To make the action concrete, take d = 2 and m = 3 , and index the nine bins 0 , , 8 in row-major order so that bin i , j receives index 3 i + j . The axis swap π = 0 1 with trivial signs sends i , j j , i ; as a permutation of bins it is the transposition pattern fixing the diagonal { 0 , 4 , 8 } and swapping 1 3 , 2 6 , 5 7 , i.e. a matrix transpose. The reflection of axis 0 with trivial permutation sends i , j 2 i , j , exchanging the top and bottom rows. Composing the eight signed permutations of B 2 reproduces precisely the eight symmetries of the square acting on the 3 × 3 board, confirming B 2 D 4 at the level of the bin permutation representation. The same construction at d = 3 , m = 3 enumerates the 48 bin permutations of O h on the 27 -cell cube.

5. Equivariance of Grid Density Clustering

We now show that clustering commutes with the group action, after fixing the model precisely.
Definition 2 (grid density clustering).Fix a density threshold τ A . A bin b Γ is dense for the occupancy function w if w b τ ; write D τ w = { b Γ : w b τ } for the set of dense bins. The grid density clustering of w is
C w = connected   components   of   the   graph   D τ w , ,
a partition of  D τ w  into clusters, where   is the Chebyshev adjacency ofSection 3. This is the grid-based, single-threshold specialisation of density clustering that FlowGrid applies directly and that an OPTICS-based method such as FLOPTICS yields when clusters are extracted at a fixed reachability level; it is determined by the pair (which bins are dense, which dense bins are adjacent) and by nothing else. The intermediate reachability ordering produced by OPTICS is not itself claimed to be canonical: it may depend on processing order and tie-breaking, whereas the extracted clustering treated here does not. 
With Definition 2 in place, the equivariance statement is immediate to formulate.
Theorem 2 (equivariance).For every g B d and every occupancy function w ,
C g w = g C w ,
where g acts on a partition by acting on each of its bins. In particular the number of clusters and the multiset of cluster sizes are B d -invariant, and the cluster containing bin b is mapped by g to the cluster containing g b . 
Proof. A bin b is dense for g w iff g w b = w g 1 b τ , i.e. iff g 1 b is dense for w ; thus the dense set of g w is the g -image of the dense set of w . By Theorem 1 the map b g b is an adjacency graph isomorphism, and a graph isomorphism carries connected components to connected components bijectively. Therefore the components of the dense set of g w are exactly the g -images of the components of the dense set of w , which is the claimed identity C g w = g C w . The stated invariants follow because a bijection preserves cardinalities.
Corollary 1 (invariance of clustering summaries).Every function of a clustering that depends only on the multiset of cluster sizes—the number of clusters, the largest cluster size, the number of clusters exceeding a given size, and any index or entropy computed from the size distribution—is a B d  -invariant of the occupancy function, hence constant on orbits and tabulable per orbit rather than per instance. 
Proof. By Theorem 2 the clustering of g w is the image of the clustering of w under the bijection b g b . A bijection preserves the multiset of block sizes, so any function of that multiset agrees on w and g w for every g B d , i.e. is constant on the orbit.
Equivariance is the precise sense in which the ordering and orientation of the feature axes are irrelevant to the clustering: relabelling the axes relabels the output and changes nothing else. This has an immediate practical reading. A pipeline that fixes a canonical axis order (Section 7) produces identical clusters regardless of the order in which channels were originally recorded, removing a spurious source of run-to-run variation. We verified Theorem 2 on 6 , 000 (occupancy, group-element, threshold) triples— d = 2 with m { 3 , 4 , 5 } and d = 3 with m { 3 , 4 } , using randomised thresholds: in every case the partition of g w equalled the g -image of the partition of w . Figure 3 depicts the commuting square that the theorem asserts.

6. Enumeration of Bin-Occupancy Classes

Because clustering is B d -equivariant, two occupancy functions in the same orbit are indistinguishable up to axis relabelling and yield the same clustering up to that relabelling. It is therefore natural to count occupancy functions up to B d . Let N d , m , q denote the number of orbits of B d on A Γ with A = q .
Theorem 3 (Burnside enumeration).The number of bin-occupancy configurations on the m d grid up to B d is
N d , m , q = 1 B d g B d q c g = 1 2 d d ! g B d q c g ,
where c g is the number of cycles of g acting as a permutation of the m d bins. Equivalently, N d , m , q = Z B d Γ q , q , , q , the cycle index of the bin-permutation representation of B d evaluated with every variable set to q . 
Proof. The group B d acts on the finite set A Γ of colourings of Γ by q colours through the push-forward. By the Cauchy–Frobenius–Burnside lemma the number of orbits equals the average number of fixed colourings, N = 1 B d g F i x g . A colouring w is fixed by g iff it is constant on each cycle of g ’s action on Γ ; the number of such colourings is q c g , one free colour choice per cycle. Summing gives the stated formula, and rewriting the cycle-count distribution as a cycle-index polynomial yields the evaluated cycle index.
The building blocks of c g are elementary and let the practitioner evaluate the sum without enumerating all bins. On a single axis of length m , a non-reflected axis contributes the identity permutation ( m fixed points) while a reflected axis contributes m / 2 transpositions and m m o d 2 fixed points; the cell-cycle structure of a signed axis permutation is the product of these one-dimensional structures composed with the axis permutation π , exactly as in the wreath-product cycle index of B d . We confirmed the one-dimensional reflection count for m = 2 , , 6 and, more importantly, verified that the Burnside formula agrees with brute-force orbit counting in every small case: for instance N 2 , 3 , 2 = 102 , N 2 , 2 , 3 = 21 , N 3 , 2 , 2 = 22 , and N 2 , 3 , 3 = 2862 , each matching a direct orbit enumeration. Table 5 lists representative values, and Figure 4 contrasts the orbit count with the raw count q m d , showing the expected reduction by a factor approaching B d as the configurations become generic.
The cycle index via signed cycle types. The Burnside sum of Theorem 3 is governed by the cycle count c g , and c g depends only on the signed cycle type of g : the multiset of pairs l , s , one per cycle of the axis permutation π , where l is the cycle length and s { + 1 , 1 } is the product of the reflection signs around that cycle. That the induced cycle structure of a signed permutation is determined by this data is classical: the cycle index of B d was first obtained by Harrison and High [33] and given in a simpler form by Chen [34], who computes the induced cycle structure on the vertex set of the hypercube Q d = { 0 , 1 } d from the signed cycle decomposition. What we need here is the same computation for the grid m d with arbitrary resolution m ; the case m = 2 recovers the classical hypercube-vertex setting. We record the specialisation for completeness, since the m -dependence is what drives the enumeration below.
Lemma 1 (the block map and its cycle-length multiset). Let a cycle of  π  have length  l  and net sign  s  . On the corresponding factor  m l  it induces the map
T a 0 , , a l 1 = b 0 , , b l 1 , b i + 1 m o d l = a i , followed   by   b 0 m 1 b 0   if   s = 1 .
Then T is a permutation of m l of order l when s = + 1 and 2 l when s = 1 ; write L l , s , m for its multiset of cycle lengths. Every cycle length divides the order of T , and the multiplicities are recovered from the fixed-point counts by Möbius inversion,
# { cycles   of   length   exactly   k } = 1 k e k μ k / e | F i x T e | .
For  s = + 1  these counts are  | F i x T k | = m g c d k , l  , so the total number of cycles is  1 / l k l φ k m l / k  . For  s = 1  the wrap-edge reflection makes the counts depend on the parity of  m  , and  L l , 1 , m  is obtained from the same inversion. Explicitly,  T k  fixes a point exactly when the point is constant along the orbits of the  k  -fold shift and, when  k / g c d ( k , l )  is odd, additionally reflection-symmetric in each such orbit, so  F i x T k = m g c d ( k , l )  when  k / g c d ( k , l )  is even, and  m m o d 2 g c d ( k , l )  otherwise; the cycle multiplicities of  L l , 1 , m  then follow by the same Möbius inversion. For  l = 1  this gives the familiar pair  F i x T = m m o d 2  and  F i x T 2 = m  . 
Proof of Lemma 1.  T is a composition of a slot rotation with (for s = 1 ) an involution of one coordinate, hence a permutation of the finite set m l . For s = + 1 , T l is the identity and no smaller power is, so o r d T = l ; a point is fixed by T k exactly when it is constant along the orbits of the shift by k , of which there are g c d k , l , giving | F i x T k | = m g c d k , l , and the total cycle count is the classical necklace count 1 / l k l φ k m l / k . For s = 1 , T l applies the reflection a m 1 a to every coordinate—an involution with m m o d 2 fixed points—and T 2 l = i d , so o r d T = 2 l and the fixed-point counts, hence the cycle lengths, depend on the parity of m . In both cases the cycle lengths divide o r d T and the stated Möbius inversion is the standard recovery of exact-period counts from fixed-point counts.
Theorem 4 (cycle index of B d on the grid m d  ). For g B d with signed cycle type { l 1 , s 1 , , l r , s r }  , let L j = L l j , s j , m be the cycle-length multiset of the block map of Lemma 1. Then the number of cycles of g on the full grid m d is
c g = a 1 , , a r L 1 × × L r a 1 a 2 a r l c m a 1 , , a r ,
the product-action count taken over one cycle chosen from each block. Consequently N d , m , q = 1 / 2 d d ! g B d q c g is, for fixed d , a quasi-polynomial in m of degree d in the exponent with period dividing 2 . 
Proof. Distinct π -cycles act on disjoint coordinate blocks, so g is the direct product of the block maps and the grid factorises as m d = j m l j . For a direct product of permutations, one cycle chosen from each factor with lengths a 1 , , a r generates on their joint support exactly j a j / l c m a 1 , , a r cycles—the orbit count of the diagonal generator of Z a 1 × × Z a r —and summing over all tuples gives c g . The s = + 1 block count is the necklace formula stated in Lemma 1; the s = 1 block introduces a reflection on the wrap edge whose effect depends on the parity of m , so the exponents are quasi-polynomials of period 2 , with leading term m d from the identity.
The formula is the evaluation at a k = q of the cycle-index polynomial Z B d Γ of the bin permutation representation. Read representation-theoretically, q c g counts the g -fixed colourings, so N d , m , q is the dimension of the space of B d -invariant functions on A Γ —the invariant-theoretic quantity whose graded analogue is computed by a Molien series. We do not pursue the graded version, but it is the natural route to refinements such as counting occupancy classes by the number of occupied bins.
The formula specialises the classical hypercube computation of [33,34] to arbitrary m , and we verified it exhaustively: for all g B 2 and all g B 3 and every resolution m 4 , the product-action formula reproduces the directly counted c g in all 168 cases.
Worked cycle index at  d = 2  . We derive N 2 , m , q in closed form to illustrate the cycle-index computation. The group B 2 = D 4 has eight elements acting on the m 2 bins: the identity e ; the two axis reflections r x , r y ; their product r x r y (the 180 rotation); the axis swap s (matrix transpose); and the three remaining signed swaps s r x , s r y , s r x r y (the ± 90 rotations and the anti-diagonal reflection). Counting cycles on the m × m board:
  • e fixes all m 2 bins, contributing q m 2 .
  • Each axis reflection acts independently on each of the m lines parallel to it, splitting the m bins of every such line into m / 2 transpositions together with m m o d 2 fixed bins, i.e. m / 2 cycles per line, giving c = m m / 2 ; the two such elements contribute 2 q m m / 2 .
  • The 180 rotation fixes the centre bin when m is odd and pairs the rest, giving c = m 2 / 2 , contributing q m 2 / 2 .
  • The transpose s fixes the m diagonal bins and pairs the m 2 off-diagonal transposed pairs, giving c = m + m 2 = m + 1 2 ; likewise the anti-diagonal reflection. These two contribute 2 q m + 1 2 .
  • The two 90 rotations have 4 -cycles off the centre and one fixed centre when m is odd, giving c = m 2 / 4 ; they contribute 2 q m 2 / 4 .
Hence
N 2 , m , q = 1 8 q m 2 + 2 q m m / 2 + q m 2 / 2 + 2 q m + 1 2 + 2 q m 2 / 4 .
For m = 3 , q = 2 this evaluates to 1 / 8 2 9 + 2 2 6 + 2 5 + 2 2 6 + 2 2 3 = 1 / 8 512 + 128 + 32 + 128 + 16 = 102 , matching the exhaustive orbit count. For m = 3 , q = 3 it gives 2862 , and for m = 4 , q = 2 it gives 8548 ; both agree with direct enumeration (Table 5). At q = 2 the formula counts binary square arrays up to the symmetries of the square; the resulting sequence is recorded as A054247 in the OEIS [37], and our expression reproduces every term listed there. We have not found a tabulation for general alphabet size, but we claim no novelty for the two-dimensional case: it is included as a worked illustration of the cycle-index computation.
A fully worked micro-example (  d = 2  ,  m = 2  ). The smallest non-trivial case can be checked entirely by hand and illustrates every ingredient. Here Γ has 2 2 = 4 bins, B 2 = D 4 has 8 elements, and with binary occupancy q = 2 there are 2 4 = 16 raw patterns. Burnside gives N 2 , 2 , 2 = 6 , and the six orbits are listed in Table 6 together with their sizes and stabiliser orders. The orbit sizes 1 , 4 , 4 , 2 , 4 , 1 sum to 16 , and each satisfies the orbit–stabiliser relation | o r b i t | | s t a b | = 8 : for example the two-bins-on-a-diagonal pattern has stabiliser of order 4 (the diagonal is fixed setwise by the identity, the two reflections across the diagonals, and the 180 rotation) and hence an orbit of size 2 .
The relation orbits | o r b i t | = q m d visible in the table is a special case of the orbit-counting decomposition, and provides an independent arithmetic check on any Burnside computation.
Two further structural facts are worth recording. First, for fixed m the count N d , m , q is a polynomial in q of degree m d whose coefficients are non-negative rationals summing appropriately; for instance N 2 , 2 , q = 1 / 8 q 4 + 2 q 3 + 3 q 2 + 2 q and N 2 , 3 , q = 1 / 8 q 9 + 4 q 6 + q 5 + 2 q 3 , which is the generating function of occupancy classes graded by alphabet size. Second, the orbit sizes are not uniform: at d = 2 , m = 2 , q = 2 the six orbits split as two of size 1 , one of size 2 , and three of size 4 , whereas by m = 3 the orbit-size distribution is 8 orbits of size 1 , 8 of size 2 , 50 of size 4 and 36 of size 8 , so 66 of the 102 orbits still have non-trivial stabiliser—a proportion that, by Proposition 2, tends to zero as q or m grows. The small grids are thus the exception in which symmetry is abundant; the generic large-grid instance sits in a full-size orbit.
Figure 5 shows these distributions directly.
Proposition 1 (orbit sizes divide the group order). For every occupancy function  w  , the orbit  B d w  has size  B d / S t a b w  , a divisor of  2 d d !  ; in particular every orbit size divides  2 d d !  , and the generic orbit (trivial stabiliser) has the full size  2 d d !  . 
Proof. This is the orbit–stabiliser theorem applied to B d acting on A Γ : the map g S t a b w g w is a bijection from left cosets of S t a b w onto the orbit, so | B d w | = B d : S t a b w = B d / S t a b w , which divides B d = 2 d d ! by Lagrange’s theorem. When S t a b w is trivial the orbit attains the full size.
Corollary 2 (closed form at d = 3  , the octahedral case).Applying Theorem 4 to B 3 = O h  —whose 48 elements fall into ten conjugacy classes (identity, face and edge reflections, ± 90 and 180 face rotations, 120 vertex rotations, the central inversion, and their compositions)—yields an explicit closed form for every resolution, split by the parity of m  . For m even,
N 3 , m , q = 1 48 q m 3 + 13 q m 3 / 2 + 6 q m 3 / 2 + m 2 / 2 + 12 q m 3 / 4 + 8 q m 3 / 3 + 2 m / 3 + 8 q m 3 / 6 + m / 3 ,
and for m odd,
N 3 , m , q = 1 48 q m 3 + 9 q m 3 / 2 + m 2 / 2 + 9 q m 3 / 2 + m / 2 + q m 3 / 2 + 1 / 2 + 6 q m 3 / 4 + 3 m / 4 + 6 q m 3 / 4 + m / 4 + 1 / 2 + 8 q m 3 / 3 + 2 m / 3 + 8 q m 3 / 6 + m / 3 + 1 / 2 .
Setting m = 3 gives N 3 , 3 , 2 = 2 , 852 , 288 and N 3 , 3 , 3 = 158 , 942 , 078 , 604 ; setting m = 2 gives N 3 , 2 , 2 = 22 . All three, and the values up to m = 5 , q = 3 (a 58 -digit integer), were confirmed against independent orbit enumeration. Two remarks place this formula. First, at m = 2 the grid is the vertex set of the cube and the count reduces to the classical enumeration of q -colourings of the cube vertices under O h , giving N 3 , 2 , 2 = 22 ; that case is standard. Second, for m 3 —the regime that matters for clustering grids—we are not aware of a published closed form, and the parity split above appears not to have been recorded, though the ingredients are entirely classical. Unlike its two-dimensional counterpart, the sequence of values it produces returns no match in the OEIS [37] (searched 28 July 2026), whereas the two-dimensional sequence is recorded there as A054247. We therefore present it as an explicit specialisation rather than a new enumerative technique. In general, as the resolution m or the alphabet q grows, the identity term q m d dominates the Burnside sum and
N d , m , q = q m d 2 d d ! 1 + o 1 ,
so the number of distinct configurations approaches the raw count divided by the full group order B d = 2 d d ! . We state this precisely.
Proposition 2 (asymptotic orbit count). For fixed  d  , as  q  (or as  m  with  q 2  ),  N d , m , q = q m d 2 d d ! 1 + o 1  . 
Proof. The identity element contributes q m d to the Burnside sum, while every non-identity g has c g m d 1 (it moves at least one bin, merging at least two of them into a common cycle). More sharply, every non-identity element satisfies c g c 2 d , m with c 2 d , m the largest non-identity cycle count identified below, so the total non-identity contribution is at most 2 d d ! 1 q c 2 d , m , which is an O 1 / q fraction of the identity term whenever m d c 2 d , m 1 . Both limiting regimes now follow. For fixed m , the ratio is O 1 / q and vanishes as q . For fixed q 2 , the gap m d c 2 d , m is itself unbounded in m : the largest non-identity cycle count is attained by a single axis transposition, which fixes the m d 1 bins whose two transposed coordinates agree and pairs up the rest, giving c 2 d , m = m d + m d 1 / 2 and hence a gap of m d m d 1 / 2 , which tends to infinity with m for every fixed d 2 . Consequently q ( m d c 2 ) tends to zero as well. Dividing by B d gives the claim.   ■
Remark 1 (the second-order term). The correction can be made completely explicit. Write c 2 d , m for the largest cycle count attained by a non-identity element and μ d , m for the number of elements attaining it. Then the two-term expansion reads
N d , m , q = 1 2 d d ! q m d + μ q c 2 d , m + O ( q c 3 d , m ) ,
and the relative error is therefore
N d , m , q q m d / B d 1 = μ d , m q m d c 2 d , m 1 + O 1 / q .
At d = 2 we have c 2 2 , m = m + 1 2 , so the decay exponent is m 2 m + 1 2 = m 2 ; the value is attained by the two diagonal reflections for every m , joined by the two axis reflections when m is odd, giving μ = 2 for m even and μ = 4 for m odd. At d = 3 we have c 2 3 , m = 1 / 2 m 3 + m 2 and decay exponent 1 / 2 m 3 m 2 ; here the value is attained by the six diagonal mirror planes—the three pure axis transpositions together with the three that also flip the two swapped signs—for every m , joined by the three face reflections when m is odd, giving μ = 6 for m even and μ = 9 for m odd. Numerically, at d = 2 , m = 5 , q = 8 the neglected terms contribute a relative 3.7 × 10 9 against the predicted 4 8 10 = 3.7 × 10 9 , and at d = 3 , m = 5 , q = 8 a predicted 9 8 50 = 6.3 × 10 45 .
This asymptotic is the precise statement that “almost all” occupancy functions have trivial stabiliser and therefore full-size orbits—the same fact that, read from the algorithmic side, tells us there is no per-instance bin collapse to exploit on generic data (Section 7). Figure 4 shows the finite- m approach to this ratio.
The case d = 2 , m = 3 , q = 2 is a useful anchor: there are 102 distinct empty/non-empty bin patterns on a 3 × 3 grid up to B 2 = D 4 . This is the clustering-grid counterpart of the DR Code’s orbit counts on the same 3 × 3 board, with the recoverability constraint removed and the alphabet reduced to “empty vs. occupied”.

7. Canonical Form and Complexity

Enumeration counts orbits; applications need a way to name them. We give a canonical form—a function constant on orbits and injective across them—together with its cost.
Definition 3 (canonical form). Order A Γ lexicographically by reading bin values in a fixed bin order. For an occupancy function w define
c a n o n w = m i n g B d g w ,
the lexicographically smallest function in the orbit of w , and let r e p w B d be a group element attaining the minimum.
Algorithm 1 makes the computation in Definition 3 explicit. It enumerates the B d signed permutations, applies each to the occupancy function, and keeps the lexicographically smallest image together with the group element that produced it.
Algorithm 1: Canonical form of an occupancy function under B d
Input: occupancy function w : Γ A on the grid Γ = m d
Output: canonical form w = c a n o n w and a witness g B d with g w = w
1. w ; g
2. for each signed permutation g = π , ε B d  do
3.    compute the push-forward u g w (relabel all m d bins)
4.    if  w =  or  u < l e x w  then  w u ; g g
5. return  w , g
The loop runs exactly B d = 2 d d ! times; each iteration relabels m d bins and performs one lexicographic comparison of length m d , so the total cost is O 2 d d ! m d time and O m d working space, as stated in Theorem 5. Because the group is enumerated in full, the algorithm is deterministic and its worst case coincides with its every case; there is no data-dependent search. Two complementary remarks bound this cost from below and from above in the typical case. For the lower bound, any correct canonical form must inspect essentially the whole grid: at d = 2 , m = 3 , q = 2 , flipping any single one of the nine bins changes the canonical form; the same holds on any grid, since altering one bin changes the multiset of occupancy values, which is an orbit invariant. Consequently no algorithm can decide the canonical representative after reading o m d bins, and the m d factor in Theorem 5 is unavoidable—only the group factor 2 d d ! is specific to our method. For the typical case, the lexicographic comparison in step 4 aborts at the first differing bin, which on random occupancy data happens after O 1 bins; measured over random instances the total work falls to a little over half of the naive bound that charges a full-length comparison to every group element (0.51–0.64 across the parameter range we tested), with the B d push-forwards, not the comparisons, dominating.
Theorem 5 (canonical form: correctness and complexity).The map c a n o n satisfies c a n o n g w = c a n o n w for all g B d , and c a n o n w = c a n o n w ' if and only if w ' lies in the orbit of w . It can be computed in O 2 d d ! m d time and O m d working space by evaluating the B d push-forwards and retaining the lexicographic minimum. The number of distinct canonical forms over all occupancy functions equals N d , m , q of Theorem 3. 
Proof. For invariance, the orbit of g w equals the orbit of w , so the minimum over the orbit is the same function; hence c a n o n g w = c a n o n w . For separation, if c a n o n w = c a n o n w ' then w and w ' share an orbit element and therefore share an orbit; conversely if they share an orbit they share its unique lexicographic minimum. The algorithm iterates over the B d = 2 d d ! group elements; each push-forward relabels m d bins and the lexicographic comparison is linear in m d , giving O 2 d d ! m d time, while only the current best function and the candidate are stored, giving O m d space. Since c a n o n is constant on orbits and distinct across them, the number of images equals the number of orbits, which is N d , m , q by Theorem 3.
Two consequences are worth stating separately, since they are what a downstream system actually uses.
Corollary 3 (uniqueness of the normal form).Each B d -orbit contains exactly one occupancy function that is its own canonical form, namely w = c a n o n w for any w in the orbit; and c a n o n w = w . Hence c a n o n is a well-defined normal form: it selects one and only one representative per orbit, and applying it twice changes nothing. 
Proof. Existence: for w in the orbit, w = c a n o n w lies in the orbit (it is g w for some g B d ) and is the lexicographic minimum of that orbit. Idempotence: since w lies in the same orbit, c a n o n w is the minimum of the same finite totally ordered set, so c a n o n w = w . Uniqueness: if u in the orbit satisfies c a n o n u = u then u is the minimum of the orbit, and a totally ordered finite set has exactly one minimum, so u = w .
Corollary 4 (orbit membership test).For occupancy functions w , w ' on the same grid, w ' B d w if and only if c a n o n w = c a n o n w '  . The test therefore costs O 2 d d ! m d time in general, and only O m d  —a single key comparison—when canonical forms have already been computed and stored, as they are in the indexing and caching applications ofSection 8.
Proof. If w ' = g w then the two orbits coincide and hence so do their lexicographic minima. Conversely, equal canonical forms mean w and w ' share an orbit member, and orbits are either equal or disjoint, so the orbits coincide and w ' B d w . The cost is that of two applications of Algorithm 1 plus one comparison of length m d , which is O 2 d d ! m d ; when the canonical forms are cached, only the comparison remains.
We verified Corollary 4 directly: over 600 random pairs at d { 2 , 3 } , the canonical-form test agreed with an exhaustive search over all g B d in every case.
Two features distinguish this canonical form from general graph or molecule canonicalisation: the group is fixed and explicit, so the loop length 2 d d ! depends only on the ambient dimension and no search over an unknown automorphism group is needed; and the cost is modest in the low dimensions where grid clustering is used— B 2 = 8 , B 3 = 48 , B 4 = 384 . Table 7 lists the group size and resulting cost in the low dimensions relevant to grid clustering. We verified correctness computationally—exhaustively over all binary occupancy functions of the smallest grid, and on random instances for d { 2 , 3 } : applying any g before canonicalising never changed the result, and functions sharing a canonical form always shared an orbit.
A worked  3 × 3  example. Consider d = 2 , m = 3 , binary occupancy q = 2 (empty/occupied). There are 2 9 = 512 raw occupancy patterns and, by the formula above, 102 orbits under B 2 = D 4 . Take the pattern with occupied bins { 0 , 0 , 0 , 1 , 1 , 0 } (an L-shaped corner cluster). Its D 4 -orbit consists of this corner L pointed into each of the four corners of the board, four distinct patterns in all: the pattern is fixed by the reflection across the main diagonal through its occupied corner, which swaps 0 , 1 1 , 0 and fixes 0 , 0 , so its stabiliser has order 2 and its orbit has size 8 / 2 = 4 by the orbit–stabiliser theorem. The canonical representative is the lexicographically smallest of the four; because empty bins carry the smallest alphabet value, the minimum is the image that pushes the occupied bins as late as possible in the bin order, namely the L occupying the opposite corner, and every one of the four input patterns canonicalises to it. A downstream index that keys clustering results by this canonical corner stores and computes the result once rather than four times. A generic (asymmetric) occupancy pattern would instead have trivial stabiliser and a full orbit of size 8 ; the corner L is one of the 66 of the 102 orbits with non-trivial stabiliser recorded in Section 6, which is precisely why its orbit is smaller. This is the mechanism of Theorem 5 in miniature, and it is exactly what a B d -closed augmentation of a benchmark suite triggers at scale.
The three-dimensional case is equally concrete. On the 2 × 2 × 2 cube ( d = 3 , m = 2 ) under B 3 = O h , a single occupied corner has orbit size 8 (the eight cube corners) and stabiliser of order 6 —the subgroup S 3 permuting the three axes that meet at that corner. Two occupied corners sharing an edge form an orbit of size 12 with stabiliser of order 4 , and a fully occupied face (four corners) has orbit size 6 with stabiliser of order 8 . These are exactly the vertex, edge, and face orbits of the cube, recovered here as occupancy classes; canonicalising any member of each orbit returns the same lexicographically minimal representative.
Scope of the benefit. The canonical form does not accelerate a single clustering run: on a generic occupancy function the stabiliser is trivial, the orbit has full size 2 d d ! , and there is nothing to collapse within one instance. We measured the fraction of random occupancy functions with a non-trivial stabiliser and found it falls rapidly toward zero as the grid and alphabet grow: at d = 3 , m = 3 , q = 4 it was already 0 % over the sampled instances (Figure 6a). The orbit structure pays off, instead, across collections of instances. In a benchmark library closed under B d —for example a synthetic suite augmented by axis permutations and reflections, a common way to test rotation/reflection invariance—canonicalising removes the redundant members: a library of 400 instances built as full orbits of 50 seeds collapses to exactly 50 canonical instances, an 8.00 × reduction equal to the average orbit size, drawn as the dashed reference line in Figure 6b. That factor is a construction, not an observation: the library was built from complete orbits, so it verifies that the bound of Definition 4 is attained and nothing more. The complementary question—whether symmetry-equivalent instances arise by chance in a workload that was not built that way—we settled by measurement, and the answer is essentially no. Over 20,000 independently drawn occupancy functions we compared the number of distinct functions with the number of distinct canonical forms, so as to isolate what canonicalisation adds beyond hashing the occupancy function itself. The additional factor was 5.02 at d = 2, m = 3, q = 2 and 2.25 at m = 4, but it fell to 1.002 at m = 5, 1.000 at m = 6, 1.004 at d = 3, m = 3, q = 2, and 1.000 at both d = 2, m = 4, q = 4 and d = 3, m = 3, q = 4 (Figure 6b). The early values are an artefact of a workload larger than the instance space: at d = 2, m = 3, q = 2 the 20,000 draws saturate all 512 patterns, which collapse to the 102 orbits of Table 5. Once the space is large relative to the workload—which is the case at every resolution of practical interest—symmetry-based deduplication adds nothing to ordinary hashing. It pays only on workloads that are deliberately symmetry-closed, or that re-present the same measurement under a different axis convention. The same mechanism lets a pipeline that meets the same measurement again under a different axis convention reuse a cached clustering keyed by canonical form rather than recompute it. These are deduplication, indexing, and caching gains, and we claim only them.

8. Discussion

What the symmetry framework provides. The theorems combine into one practical statement: because clustering is equivariant (Theorem 2), instances equal up to axis relabelling are interchangeable, so replacing each by its canonical form (Theorem 5) is lossless, that representative is unique per orbit (Corollary 3), and the number of canonical instances is known in advance (Theorem 3). A pipeline can therefore store, index, and cache instances by canonical form with no effect on the result beyond a fixed relabelling of axes. Table 8 summarises where the framework helps and where it does not.
Figure 7 places the construction in a concrete workflow.
Definition 4 (symmetry-closed library). A finite collection L of occupancy functions is B d  -closed if g w L for all w L , g B d ; equivalently L is a union of orbits. Its canonical reduction  c a n o n L = { c a n o n w : w L } holds exactly one member per orbit, so the deduplication factor L / c a n o n L equals the average orbit size of L and is at most 2 d d ! .
Algorithm 2 states the deduplication and caching procedure that Definition 4 supports.
Algorithm 2: Canonical deduplication and result caching
Input: a stream or library L of occupancy functions; a clustering routine C
Output: the clustering of every w L , with C evaluated once per orbit
1. initialise an empty table T keyed by canonical forms
2. for each w L  do
3.   w , g Algorithm 1 applied to w
4.    if  w T  then  T w C w
5.    report C w = g 1 T w
6. return  T
Step 5 is exactly Theorem 2, and Corollary 1 guarantees that any size-based summary of the cached clustering is already the correct value for w : the stored clustering of the canonical form is transported back to w by the inverse of the witness element, with no recomputation. The number of calls to C equals the number of distinct orbits met, so on a B d -closed library the saving is the average orbit size, and on a library with no symmetric repeats it is nil—the guarantee is one-sided. The table T stores one key of m d symbols and one clustering per orbit, so its memory is c a n o n L O m d , a factor of the average orbit size smaller than storing results per instance.
Benchmark deduplication. Synthetic suites are frequently built to test invariance by including, for each base dataset, its images under axis permutations and reflections; lifted to the bin grid, such a suite is closed under (a subgroup of) B d . Indexing it by canonical form collapses each orbit to one representative, reducing storage and clustering runs by the average orbit size, up to B d . Our controlled run realised this exactly: 400 instances built as full B 2 -orbits of 50 seeds reduced to 50 canonical instances, an 8.00 × saving (the dashed line of Figure 6b). That suite was constructed to be orbit-closed, so the figure confirms that the bound is attained rather than measuring how often symmetry occurs unbidden; on independently drawn instances it does not (Section 7). Re-analysis under a different axis convention. A measurement re-analysed after its channels are exported in a different order, or with an axis orientation reversed by a different instrument or compensation convention, presents a grid that coincides with one already seen up to axis relabelling. Keying a result cache by canonical form lets the pipeline reuse a previously computed clustering whenever a new grid is B d -equivalent to one already seen, converting repeated work into a single canonical computation plus an O 2 d d ! m d lookup key. Deciding whether a newly arriving grid has been seen before is exactly the orbit membership test of Corollary 4, which is a single key lookup once canonical forms are stored. Instance registries. When clustering results are archived for audit or comparison—common in regulated settings such as clinical flow cytometry—the canonical form provides a stable, presentation-independent key under which equivalent instances are recognised as identical, preventing the same analysis from being logged as several distinct records merely because its axes were listed differently.
up   to   B d × In each scenario the canonical form is computed once per instance at cost O 2 d d ! m d , a small constant multiple of the cost of reading the grid in the dimensions of practical interest. The saving is realised whenever instances recur up to symmetry and is zero when they do not, so the method never harms and helps exactly to the extent that symmetry is present in the workload. In practice the decision is easy to make in advance: apply canonicalisation whenever the workload is generated by augmentation, or by repeated presentation of the same measurement under differing axis conventions (where symmetric repeats are guaranteed), and skip it for one-off analyses of a single dataset (where Proposition 2 says there will be nothing to collapse). A break-even rule makes this quantitative: canonicalising one instance costs O 2 d d ! m d , which is a small constant number of grid passes, so a cached pipeline becomes cheaper as soon as the number of symmetry-equivalent revisits exceeds that constant. In a B d -closed library the deduplication factor equals the average orbit size, bounded by 2 d d ! ; the controlled run reported in Section 7 attains the full factor 8.00 at d = 2 .
Symmetry, partial symmetry, and symmetry breaking. It is worth stating plainly where the symmetry of this paper lives and how data destroys it. The grid Γ = m d is fully B d -symmetric as a combinatorial object: every signed axis permutation is an automorphism of its adjacency graph. An occupancy function w placed on that grid generally breaks this symmetry, and its stabiliser S t a b w B d measures exactly how much survives. The possible residual symmetries are therefore the subgroups of B d , and the stabiliser is the precise invariant recording which one a given dataset realises. At d = 2 the lattice is small enough to write down: B 2 = D 4 has ten subgroups—the trivial group, five of order 2 (four reflections and the 180 rotation), three of order 4 (the cyclic rotation group and two Klein four-groups), and D 4 itself—so any two-dimensional occupancy pattern falls into one of at most ten symmetry types, and the orbit-size distribution reported above is a coarsening of that classification. Not every subgroup is realisable on every grid: on the 3 × 3 binary grid only nine of the ten occur, the cyclic rotation group C 4 being unattainable as an exact stabiliser because any pattern invariant under the 90 rotation is constant on the corner, edge and centre orbits and hence also reflection-invariant; all ten occur once m 4 .
Figure 8 displays this lattice.
This is symmetry breaking in the ordinary group-theoretic sense, and it is the reason our claims are stated the way they are. Fully symmetric instances (stabiliser B d , such as the empty or uniformly full grid) are combinatorially exceptional; partially symmetric instances (stabiliser a proper non-trivial subgroup) are common only on small grids; and generic instances break the symmetry completely, giving S t a b w = { e } and a full-size orbit. Proposition 2 quantifies the last statement asymptotically. The practical consequence is the asymmetry noted in the abstract: the symmetry of the grid is what makes enumeration and canonical naming possible, while the asymmetry of the data is what removes any per-instance shortcut. Both halves are needed to state the contribution honestly, and both are properties of the same group action.
Limitations. Three boundaries delimit the contribution. First and most important, the benefit is across instances, not within one: a single generic dataset has trivial stabiliser, so canonicalisation neither reduces its bins nor speeds its clustering, and we make no such claim. Second, the analysis concerns the grid of bins, not the raw points; methods whose clusters depend on sub-bin geometry beyond bin occupancy and bin adjacency fall outside the model, though the large grid-based family we target does not. Third, the group is the pure geometric grid symmetry B d ; if an application also identifies feature axes by an external relation (a domain symmetry beyond axis relabelling), the relevant group is a supergroup of B d and the enumeration and canonical form must be recomputed for it, exactly as the DR Code augments D 4 by its combinatorial C 3 × C 3 factor.
Verification methodology. Every quantitative assertion in this paper was checked computationally, exhaustively wherever the relevant finite structure is small enough to enumerate and by large randomised trials otherwise. Theorem 1 was verified for d { 2 , 3 , 4 } and m 4 (bijectivity and adjacency preservation on every pair; the group-composition identity was verified separately over all element pairs); Theorem 2 on 6 , 000 random (occupancy, group-element, threshold) triples— d = 2 with m { 3 , 4 , 5 } and d = 3 with m { 3 , 4 } ; Theorem 3 by evaluating the Burnside sum against an independent brute-force orbit enumeration for six parameter triples small enough to enumerate directly, namely 2 , 2 , 2 , 2 , 2 , 3 , 2 , 3 , 2 , 2 , 3 , 3 , 2 , 4 , 2 and 3 , 2 , 2 , with exact agreement (e.g. N 2 , 3 , 2 = 102 , N 3 , 2 , 2 = 22 ); and Theorem 5 by confirming that pre-applying a group element never changes the canonical form and that two functions share a canonical form exactly when they share an orbit. The trivial-stabiliser limitation was quantified by sampling (Figure 6a), and the deduplication that canonicalisation adds over plain hashing was measured on 20,000 independently drawn occupancy functions across eight parameter settings (Figure 6b). These are computational certifications of finite mathematical statements rather than experiments on data. All checks ran in Python 3.12 using only the standard library, complete in under a minute on a commodity laptop, and are reproduced by the open-source script (see Data Availability); the randomised checks are large enough to be seed-independent and the enumeration checks are exhaustive.
Relation to the DR Code programme. This paper completes a natural arc. The 2D DR Code identified D 4 as the geometric symmetry of a constrained 3 × 3 grid; the 3D DR Code raises it to O h on a 3 × 3 × 3 cube [14]; the present work identifies both as B 2 and B 3 and treats the general B d acting on an unconstrained clustering grid. The methodological through-line—orbit decomposition, Burnside enumeration, canonical-form deduplication—is shared, but the object is different: an unbounded space of occupancy functions rather than a finite catalogue of recoverable layouts, and a purely geometric group rather than one fused with a code-specific constraint. The DR Code constraint itself places its layouts among Latin squares [38] and, more generally, frequency (F-)squares [39]; the clustering grid carries no such row/column constraint, which is precisely why the relevant group here is the pure geometric symmetry B d .

9. Conclusions

We have given a symmetry analysis of grid-based density clustering built on the hyperoctahedral group B d = C 2 S d of order 2 d d ! . We proved that B d acts on bin-occupancy functions by adjacency-preserving bijections (Theorem 1), that grid density clustering is B d -equivariant (Theorem 2), that bin-occupancy configurations up to B d are counted by a Burnside average, for which we specialised the classical cycle index of B d to the grid and gave explicit closed forms in two and three dimensions—the three-dimensional formula being a parity-split expression, valid at every resolution, that we have not found recorded elsewhere (Theorems 3 and 4, Corollary 2), and that a fixed-group canonical form computes orbit representatives in O 2 d d ! m d time with correctness guaranteed by construction (Theorem 5). We were explicit that the payoff is canonical indexing, deduplication of symmetry-closed libraries, and cross-run caching, not a per-instance speedup, and we quantified each. The framework specialises to the D 4 and O h symmetries of the 2D and 3D DR Code, of which it is the unconstrained generalisation. Four extensions follow naturally. When an application identifies feature axes through an external relation, the relevant symmetry is a supergroup of B d and Section 6 and Section 7 carry over once that group is substituted. The occupancy alphabet can be made weighted or continuous; equivariance is unaffected, but the enumeration must then be replaced by an integral or by orbit counting on a quotient—an open combinatorial question. For very high-dimensional grids an approximate canonical form based on hashed bin representations would extend the method to regimes where 2 d d ! is itself large. Finally, a principled canonical choice of the density threshold τ would make a clustering pipeline presentation-independent end to end. Beyond the specific setting, the broader point is a reproducibility one. Automated gating and other grid-clustering pipelines are increasingly used in regulated and clinical contexts, where an analysis is expected to be reproducible from its recorded inputs; an analysis whose output depends on the incidental order in which channels were written is not. Canonical axis handling removes that dependence at negligible cost and makes symmetry-equivalent analyses recognisable as the same analysis. All results reported here were confirmed computationally—by exhaustive enumeration on the relevant finite structures where that is feasible, and by large randomised trials elsewhere.

Author Contributions

Conceptualization, W.S. and T.C.; methodology, W.S. and T.C.; formal analysis, T.C.; software (computational verification), T.C.; writing—original draft preparation, T.C.; writing—review and editing, W.S. and T.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Mahasarakham University.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

No new data were created in this study. The verification scripts that reproduce the numerical results reported in this paper—the group action and adjacency checks (Theorem 1), the equivariance test (Theorem 2), the Burnside-versus-orbit enumeration (Theorem 3), the general cycle-index formula (Theorem 4), the canonical-form separation (Theorem 5), the group-composition and inverse identities, the sampled stabiliser fractions of Figure 6a, the constructed library deduplication of Section 7 and the independent-instance deduplication measurement of Figure 6b, the measured canonicalisation cost, the closed forms for N 2 , m , q
and N 3 , m , q
, and the worked micro-example—are released as open-source Python under a permissive licence at https://github.com/thawatchai2799/DR_Code_Clustering_20260728_0828. The scripts require only Python 3.9+ and the standard library, and run in under a minute.::::

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

The authors thank the Faculty of Informatics, Mahasarakham University, for its continued support.

References

Chen, W.Y.C.; Guo, P.L. Equivalence classes of full-dimensional 0 / 1
  1. Ester, M.; Kriegel, H.-P.; Sander, J.; Xu, X. A density-based algorithm for discovering clusters in large spatial databases with noise. In Proceedings of the 2nd International Conference on Knowledge Discovery and Data Mining (KDD), Portland, OR, USA, 2–4 August 1996; pp. 226–231. [Google Scholar]
  2. Ankerst, M.; Breunig, M.M.; Kriegel, H.-P.; Sander, J. OPTICS: Ordering points to identify the clustering structure. In Proceedings of the ACM SIGMOD International Conference on Management of Data, Philadelphia, PA, USA, 1–3 June 1999; pp. 49–60. [Google Scholar] [CrossRef]
  3. Ye, X.; Ho, J.W.K. Ultrafast clustering of single-cell flow cytometry data using FlowGrid. BMC Syst. Biol. 2019, 13 (Suppl. 2), 35. [Google Scholar] [CrossRef] [PubMed]
  4. Sriphum, W.; Wills, G.; Green, N. FLOPTICS: A novel automated gating technique for flow cytometry data. In Proceedings of the 5th International Conference on Complexity, Future Information Systems and Risk (COMPLEXIS 2020); SciTePress: Setúbal, Portugal, 2020; pp. 96–102. [Google Scholar] [CrossRef]
  5. Sriphum, W.; Wills, G.B.; Green, N.G. FLOPTICS: A novel automated gating technique for flow cytometry data. Int. J. Organ. Collect. Intell. 2022, 12, 1–21. [Google Scholar] [CrossRef]
  6. Sriphum, W. FLOPTICS: A Novel Automated Gating Technique for Flow Cytometry Data. Doctoral Thesis, ePrints ID 477000. University of Southampton, Southampton, UK, January 2023; p. 174 pp. [Google Scholar]
  7. Qian, Y.; Wei, C.; Eun-Hyung Lee, F.; Campbell, J.; Halliley, J.; Lee, J.A.; Cai, J.; Kong, Y.M.; Sadat, E.; Thomson, E.; et al. Elucidation of seventeen human peripheral blood B-cell subsets and quantification of the tetanus response using a density-based method for the automated identification of cell populations in multidimensional flow cytometry data. Cytom. Part B Clin. Cytom. 2010, 78B (Suppl. 1), S69–S82. [Google Scholar] [CrossRef] [PubMed]
  8. Ge, Y.; Sealfon, S.C. flowPeaks: A fast unsupervised clustering for flow cytometry data via K-means and density peak finding. Bioinformatics 2012, 28, 2052–2058. [Google Scholar] [CrossRef] [PubMed]
  9. Van Gassen, S.; Callebaut, B.; Van Helden, M.J.; Lambrecht, B.N.; Demeester, P.; Dhaene, T.; Saeys, Y. FlowSOM: Using self-organizing maps for visualization and interpretation of cytometry data. Cytom. Part A 2015, 87, 636–645. [Google Scholar] [CrossRef] [PubMed]
  10. Bourgain, J.; Kahn, J.; Kalai, G.; Katznelson, Y.; Linial, N. The influence of variables in product spaces. Isr. J. Math. 1992, 77, 55–64. [Google Scholar] [CrossRef]
  11. Schrijver, A. Theory of Linear and Integer Programming; Wiley: Chichester, UK, 1986. [Google Scholar]
  12. Sriphum, W. DR Code: The two dimensions barcode supporting high rate data recovery. In Proceedings of the IEEE 16th International Conference on Computational Science and Engineering (CSE), Sydney, Australia, 3–5 December 2013; pp. 1214–1219. [Google Scholar] [CrossRef]
  13. Sriphum, W.; Chomsiri, T. On the equivalence classes of recoverable patterns in DR Code: A group-theoretic analysis with applications to storage optimization. Symmetry 2026, 18, 1255. [Google Scholar] [CrossRef]
  14. Code. Manuscr. Submitt. Publ. 2026. [CrossRef] [PubMed]
  15. Campello, R.J.G.B.; Moulavi, D.; Sander, J. Density-based clustering based on hierarchical density estimates. In Advances in Knowledge Discovery and Data Mining (PAKDD); Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2013; Volume 7819, pp. 160–172. [Google Scholar] [CrossRef]
  16. Hahsler, M.; Piekenbrock, M.; Doran, D. dbscan: Fast density-based clustering with R. J. Stat. Softw. 2019, 91, 1–30. [Google Scholar] [CrossRef]
  17. Sander, J.; Ester, M.; Kriegel, H.-P.; Xu, X. Density-based clustering in spatial databases: The algorithm GDBSCAN and its applications. Data Min. Knowl. Discov. 1998, 2, 169–194. [Google Scholar] [CrossRef]
  18. Kriegel, H.-P.; Kröger, P.; Sander, J.; Zimek, A. Density-based clustering. WIREs Data Min. Knowl. Discov. 2011, 1, 231–240. [Google Scholar] [CrossRef]
  19. Björner, A.; Brenti, F. Combinatorics of Coxeter Groups. In Graduate Texts in Mathematics; Springer: New York, NY, USA, 2005; Volume 231. [Google Scholar] [CrossRef]
  20. Humphreys, J.E. Reflection Groups and Coxeter Groups; Cambridge Studies in Advanced Mathematics: Cambridge, UK; Cambridge University Press, 1990; Volume 29. [Google Scholar] [CrossRef]
  21. Kerber, A. Applied Finite Group Actions. In Algorithms and Combinatorics, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 1999; Volume 19. [Google Scholar] [CrossRef]
  22. Burnside, W. Theory of Groups of Finite Order, 2nd ed.; Cambridge University Press: Cambridge, UK, 1911. [Google Scholar]
  23. Cameron, P.J. Permutation Groups. In London Mathematical Society Student Texts; Cambridge University Press: Cambridge, UK, 1999; Volume 45. [Google Scholar] [CrossRef]
  24. Pólya, G.; Read, R.C. Combinatorial Enumeration of Groups, Graphs, and Chemical Compounds; Springer: New York, NY, USA, 1987. [Google Scholar] [CrossRef]
  25. Redfield, J.H. The theory of group-reduced distributions. Am. J. Math. 1927, 49, 433–455. [Google Scholar] [CrossRef]
  26. Stanley, R.P. Enumerative Combinatorics. In Cambridge Studies in Advanced Mathematics, 2nd ed.; Cambridge University Press: Cambridge, UK, 2011. [Google Scholar] [CrossRef]
  27. Harary, F.; Palmer, E.M. Graphical Enumeration; Academic Press: New York, NY, USA, 1973. [Google Scholar]
  28. Torney, D.C. Equivalence classes of matchings and lattice-square designs. Discret. Appl. Math. 2004, 145, 335–340. [Google Scholar] [CrossRef]
  29. Leroux, P.; Rassart, E.; Robitaille, A. Enumeration of symmetry classes of convex polyominoes in the square lattice. Adv. Appl. Math. 1998, 21, 343–380. [Google Scholar] [CrossRef]
  30. -polytopes with many vertices. Discret. Comput. Geom. 2014, 52, 630–662. [CrossRef]
  31. McKay, B.D.; Piperno, A. Practical graph isomorphism, II. J. Symb. Comput. 2014, 60, 94–112. [Google Scholar] [CrossRef]
  32. Weininger, D. SMILES, a chemical language and information system. 1. Introduction to methodology and encoding rules. J. Chem. Inf. Comput. Sci. 1988, 28, 31–36. [Google Scholar] [CrossRef]
  33. Harrison, M.A.; High, R.G. On the cycle index of a product of permutation groups. J. Comb. Theory 1968, 4, 277–299. [Google Scholar] [CrossRef]
  34. Chen, W.Y.C. Induced cycle structures of the hyperoctahedral group. SIAM J. Discret. Math. 1993, 6, 353–362. [Google Scholar] [CrossRef]
  35. Cohen, T.S.; Welling, M. Group equivariant convolutional networks. In Proceedings of the 33rd International Conference on Machine Learning (ICML), New York, NY, USA, 20–22 June 2016; PMLR Volume 48, pp. 2990–2999. [Google Scholar]
  36. Bronstein, M.M.; Bruna, J.; Cohen, T.; Veličković, P. Geometric deep learning: Grids, groups, graphs, geodesics, and gauges. arXiv 2021, arXiv:2104.13478. [Google Scholar]
  37. OEIS Foundation Inc. The On-Line Encyclopedia of Integer Sequences, Sequence A054247: Number of n × n binary matrices under action of the dihedral group of the square. Available online: https://oeis.org (accessed on 28 July 2026).
  38. McKay, B.D.; Wanless, I.M. On the number of Latin squares. Ann. Comb. 2005, 9, 335–344. [Google Scholar] [CrossRef]
  39. Hedayat, A.; Seiden, E. F-square and orthogonal F-squares design: A generalization of Latin square and orthogonal Latin squares design. Ann. Math. Stat. 1970, 41, 2035–2044. [Google Scholar] [CrossRef]
Figure 1. Illustrative example of the grid-based density-clustering pipeline that our theory analyses, shown for a three-cluster synthetic dataset (redrawn schematically; not an experimental result). (a) The OPTICS reachability plot orders the occupied bins so that clusters appear as valleys separated by peaks; (b) the feature space is partitioned into an axis-aligned grid and only non-empty bins are retained and clustered by density and grid adjacency; (c) the original point cloud with its three clusters. The pipeline of FLOPTICS [4,5,6] follows exactly this scheme, and it is the grid of panel (b)—its bins and their adjacency—on which the hyperoctahedral symmetry of this paper acts.
Figure 1. Illustrative example of the grid-based density-clustering pipeline that our theory analyses, shown for a three-cluster synthetic dataset (redrawn schematically; not an experimental result). (a) The OPTICS reachability plot orders the occupied bins so that clusters appear as valleys separated by peaks; (b) the feature space is partitioned into an axis-aligned grid and only non-empty bins are retained and clustered by density and grid adjacency; (c) the original point cloud with its three clusters. The pipeline of FLOPTICS [4,5,6] follows exactly this scheme, and it is the grid of panel (b)—its bins and their adjacency—on which the hyperoctahedral symmetry of this paper acts.
Preprints 228163 g001
Figure 2. Generators of the hyperoctahedral group B d = C 2 S d acting on the grid of bins, illustrated on the 3 × 3 board with bins numbered in row-major order; colour travels with the bin, so each panel shows where a given bin moves. (a) The original grid m d ; (b) an axis permutation ( π S d ), here the transpose; (c) an axis reflection (a sign in C 2 ). At d = 2 these generate D 4 .
Figure 2. Generators of the hyperoctahedral group B d = C 2 S d acting on the grid of bins, illustrated on the 3 × 3 board with bins numbered in row-major order; colour travels with the bin, so each panel shows where a given bin moves. (a) The original grid m d ; (b) an axis permutation ( π S d ), here the transpose; (c) an axis reflection (a sign in C 2 ). At d = 2 these generate D 4 .
Preprints 228163 g002
Figure 3. The equivariance of Theorem 2 as a commuting square: clustering C commutes with the group action, C g w = g C w .
Figure 3. The equivariance of Theorem 2 as a commuting square: clustering C commutes with the group action, C g w = g C w .
Preprints 228163 g003
Figure 4. Growth of the Burnside orbit count  N 2 , m , q  (solid) against the raw count  q m 2  (dotted), log scale. As  m  grows the ratio of raw count to orbit count, shown in the inset, approaches  B 2 = 8 .
Figure 4. Growth of the Burnside orbit count  N 2 , m , q  (solid) against the raw count  q m 2  (dotted), log scale. As  m  grows the ratio of raw count to orbit count, shown in the inset, approaches  B 2 = 8 .
Preprints 228163 g004
Figure 5. Orbit-size distribution of  B d  acting on binary occupancy functions. (a) At  d = 2  ,  m = 3  the  102  orbits split as  8  of size  1  ,  8  of size  2  ,  50  of size  4  and  36  of size  8  ; (b) at  d = 3  ,  m = 2  the  22  orbits are spread over sizes  1  to  24  . As the grid and alphabet grow, the full-size orbits (  B d  ) come to dominate, which is the finite-grid shadow of Proposition 2. 
Figure 5. Orbit-size distribution of  B d  acting on binary occupancy functions. (a) At  d = 2  ,  m = 3  the  102  orbits split as  8  of size  1  ,  8  of size  2  ,  50  of size  4  and  36  of size  8  ; (b) at  d = 3  ,  m = 2  the  22  orbits are spread over sizes  1  to  24  . As the grid and alphabet grow, the full-size orbits (  B d  ) come to dominate, which is the finite-grid shadow of Proposition 2. 
Preprints 228163 g005
Figure 6. (a) Fraction of random occupancy functions with non-trivial stabiliser, which falls toward zero as the alphabet q grows—generic instances have full-size orbits. (b) What canonicalisation adds over hashing the occupancy function itself, measured on 20,000 independently drawn instances. The additional deduplication factor falls to 1.00 once the instance space is large relative to the workload, so the bound of 8.00 attained by a deliberately closed library (dashed) is not approached by chance. 
Figure 6. (a) Fraction of random occupancy functions with non-trivial stabiliser, which falls toward zero as the alphabet q grows—generic instances have full-size orbits. (b) What canonicalisation adds over hashing the occupancy function itself, measured on 20,000 independently drawn instances. The additional deduplication factor falls to 1.00 once the instance space is large relative to the workload, so the bound of 8.00 attained by a deliberately closed library (dashed) is not approached by chance. 
Preprints 228163 g006
Figure 7. Where the canonical form sits in a grid-clustering pipeline. Points are binned into an occupancy function, the occupancy function is canonicalised, and the canonical form is used as a cache or index key; by Theorem 2 the clustering computed on the canonical form transfers back to the original grid by relabelling alone. 
Figure 7. Where the canonical form sits in a grid-clustering pipeline. Points are binned into an occupancy function, the occupancy function is canonicalised, and the canonical form is used as a cache or index key; by Theorem 2 the clustering computed on the canonical form transfers back to the original grid by relabelling alone. 
Preprints 228163 g007
Figure 8. The subgroup lattice of  B 2 = D 4  : the ten subgroups of  D 4  , ordered by inclusion, which are the candidate stabilisers of a two-dimensional occupancy pattern. The trivial subgroup at the bottom is the generic case (full-size orbit); the whole group at the top corresponds to fully symmetric patterns such as the empty or uniformly full grid. 
Figure 8. The subgroup lattice of  B 2 = D 4  : the ten subgroups of  D 4  , ordered by inclusion, which are the candidate stabilisers of a two-dimensional occupancy pattern. The trivial subgroup at the bottom is the generic case (full-size orbit); the whole group at the top corresponds to fully symmetric patterns such as the empty or uniformly full grid. 
Preprints 228163 g008
Table 1. Grid-based and density-based clustering methods to which the analysis applies. In every case the output is a function of bin occupancy and grid adjacency alone, which is what the B d -model keeps.
Table 1. Grid-based and density-based clustering methods to which the analysis applies. In every case the output is a function of bin occupancy and grid adjacency alone, which is what the B d -model keeps.
Method Density rule Grid Retained by our model
DBSCAN [1] ε -neighbourhood, minPts optional (index) occupancy + adjacency after binning
OPTICS [2] reachability ordering optional (index) occupancy + adjacency after binning
HDBSCAN [15] hierarchy of density levels optional occupancy + adjacency per level
GDBSCAN [17] generalised neighbourhood space partition occupancy + adjacency
FlowGrid [3] bin counts and bin adjacency equal-width, explicit exactly the model
FLOPTICS [4,5,6] OPTICS over non-empty bins equal-width, explicit the model, at a fixed extraction level
Table 2. The present work in relation to prior applications of lattice and hyperoctahedral symmetry.
Table 2. The present work in relation to prior applications of lattice and hyperoctahedral symmetry.
Work Object acted on Group Purpose
Cycle index of B n [33,34] hypercube vertices { 0 , 1 } n B n classical cycle-index formulas
Lattice-square designs [28] field-element words hyperoctahedral × dihedral count non-isomorphic designs
Polyomino classes [29] square-lattice polyominoes C 4 , D 4 count congruence/rotation classes
0 / 1 -polytopes [30] cube vertices B n classify by vertex count
Canonical labelling [31,32] graphs / molecules full automorphism group isomorphism, deduplication
2D DR Code [12,13] 3 × 3 recoverable layouts C 3 × C 3 D 4 compress a finite catalogue
3D DR Code [14] 3 × 3 × 3 recoverable layouts C 3 × C 3 × C 3 O h compress a finite catalogue
This work bin-occupancy functions on m d B d = C 2 S d canonical indexing, equivariance
Table 3. Summary of notation.
Table 3. Summary of notation.
Symbol Meaning
d number of feature axes (grid dimension)
m per-axis resolution (bins per axis)
Γ = m d grid of bins, Γ = m d
u v Chebyshev (king-move) bin adjacency
A , q = A occupancy alphabet and its size
w : Γ A occupancy function
B d = C 2 S d hyperoctahedral group, order 2 d d !
g = π , ε signed permutation (axes π , signs ε )
C w clustering (partition of dense bins)
τ density threshold
c g number of cycles of g on the m d bins
N d , m , q number of occupancy classes up to B d
c a n o n w lexicographically minimal orbit representative
Table 4. The hyperoctahedral group B d in low dimensions and its identification with the geometric symmetry groups of the DR Code.
Table 4. The hyperoctahedral group B d in low dimensions and its identification with the geometric symmetry groups of the DR Code.
Dimension d Group B d = C 2 S d Order 2 d d ! Geometric name DR Code grid
1 C 2 2 reflection
2 C 2 S 2 8 dihedral   D 4 (square) 3 × 3 (2D DR Code)
3 C 2 S 3 48 octahedral   O h (cube) 3 × 3 × 3 (3D DR Code)
4 C 2 S 4 384 hyperoctahedral   B 4
5 C 2 S 5 3,840 hyperoctahedral   B 5
Table 5. Number of bin-occupancy configurations up to B d , N d , m , q , computed by the Burnside formula of Theorem 3 and confirmed by exhaustive orbit enumeration where the raw space is enumerable. The raw column is q m d .
Table 5. Number of bin-occupancy configurations up to B d , N d , m , q , computed by the Burnside formula of Theorem 3 and confirmed by exhaustive orbit enumeration where the raw space is enumerable. The raw column is q m d .
d m q Raw q m d Orbits N d , m , q Ratio
2 3 2 512 102 5.02
2 3 3 19,683 2,862 6.88
2 4 2 65,536 8,548 7.67
3 2 2 256 22 11.64
3 3 2 134,217,728 2,852,288 47.06
3 3 3 7.6 × 10 12 158,942,078,604 47.98
Table 6. The six orbits of B 2 = D 4 acting on binary occupancy functions of the 2 × 2 grid (patterns written row-major). Orbit sizes sum to 16 = 2 4 ; the number of orbits is N 2 , 2 , 2 = 6 .
Table 6. The six orbits of B 2 = D 4 acting on binary occupancy functions of the 2 × 2 grid (patterns written row-major). Orbit sizes sum to 16 = 2 4 ; the number of orbits is N 2 , 2 , 2 = 6 .
Canonical pattern Occupied bins Geometric type Orbit size Stabiliser order
0000 0 empty grid 1 8
0001 1 single corner bin 4 2
0011 2 two bins on an edge 4 2
0110 2 two bins on a diagonal 2 4
0111 3 L-tromino 4 2
1111 4 full grid 1 8
Table 7. Cost of the canonical-form algorithm (Theorem 5) in the low dimensions relevant to grid clustering. The group size is independent of the data.
Table 7. Cost of the canonical-form algorithm (Theorem 5) in the low dimensions relevant to grid clustering. The group size is independent of the data.
Dimension d B d = 2 d d ! Push-forwards per instance Time Space
2 8 8 O 8 m 2 O m 2
3 48 48 O 48 m 3 O m 3
4 384 384 O 384 m 4 O m 4
general 2 d d ! 2 d d ! O 2 d d ! m d O m d
Table 8. Where the symmetry framework helps and where it does not. “Symmetry-closed” means the workload contains complete B d -orbits of instances.
Table 8. Where the symmetry framework helps and where it does not. “Symmetry-closed” means the workload contains complete B d -orbits of instances.
Setting Symmetry present? Benefit Mechanism
Single generic dataset No (trivial stabiliser) none orbit has full size; nothing to collapse
Axis-augmented benchmark suite Yes (closed) up   to   B d × fewer runs/storage canonical-form deduplication
Re-analysis, different axis order Partial reuse of cached results canonical-form cache key
Instance registry / audit log Presentation-only stable equivalence key canonical form as identifier
Reproducible axis handling Always deterministic output canonical axis order (Theorem 2)
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.