Manuscript Offprint
arXiv:2611.06470How many sorted projections determine n points in k dimensions?
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
How many sorted projections determine points in ?
Christopher Gorham Lester*
Raymond Hau Sørensen
Cavendish Laboratory, Department of Physics, University of Cambridge, UK
4 November 2026
Abstract
Let be directions in , where . A multiset of points of projects to the multisets of numbers , or equivalently to the sorted lists of these numbers. How many directions are needed for these projections to determine every multiset of points? Two simple bounds are known in every dimension: more than directions are always needed, and directions in general position always suffice. In the plane much more is known: Matoušek, Prívetivý and Škovroň showed that almost every choice of directions suffices. Whether anything similar holds in higher dimensions was left open by Dym, Wellershoff, Tsoukanis, Levy and Balan. We observe that two lemmas of Hair and Sahai, proved for list recovery of random linear codes, answer that question, and by tightening their argument we show that in every dimension almost every choice of directions suffices. For this beats the linear bound once is larger than about 100: for example, 144 directions suffice for multisets of 1000 points in the plane, and an exact computation lowers this to 133. Letting some of the random blocks in their argument fail removes a factor : almost every choice of directions suffices, uniformly in and . We also show that directions never determine three points, so that the logarithmic lower bound is not tight; that every directions in the plane fail on some pair of multisets of size , improving the bound of Matoušek, Prívetivý and Škovroň; and that for each and , either almost every choice of directions works or almost none does.
1.1 The problem
For a nonzero vector and a finite multiset of points of , the projection of on is the multiset of real numbers
For a list of nonzero vectors, the directions, let
where and sort lists a multiset of numbers in increasing order. Only the line through a direction matters, since is scaled by .
We say that separates multisets of size if is injective on them, that is, if any two multisets of points with the same projection on every are equal. We want to know two things: how many directions are needed to achieve this injectivity, and how should those directions be chosen. We denote the answer to the first question by , i.e.:
*Corresponding author.
and we assume throughout this paper, as is trivial.¹ The answers to these questions are of interest in two areas that interest us:
Sorting-based embeddings. In machine learning, is used to present an unordered set of vectors to an algorithm that expects a vector of fixed length; it is the map of [BHS25, DWTLB26], the directions being the columns of the matrix . It does not depend on the order in which the points are listed, and it is piecewise linear. When it is injective it is bi-Lipschitz [BHS25, Theorem 1.2], whereas no invariant map that is differentiable at a multiset with a repeated point can be [CIM24, Theorem 21]. It costs about operations to evaluate, so few directions mean a fast embedding.
Discrete tomography. In the plane, records how many points of lie on each line orthogonal to . This is the discrete -ray of in the direction , and is the question of Matoušek, Privětiřý and Škovroň [MPŠ08], how many X-rays determine every set of points, asked for multisets, which they also treat.
The difficulty is the order of the quantifiers. For a fixed multiset , random directions determine with probability one if they are independent and each is orthogonal to any given nonzero vector with probability zero, as when each is uniform on the unit sphere [TFD24]; and a suitable fixed list of directions determines almost every multiset [BHS25, Proposition 3.7]. But probability one is not enough! We ask for one list of directions that works for every multiset of size in -dimensions at once. Failure on a measure zero set of points is not permissible if you want injectivity, and this is what makes the problem much harder.
1.2 What is already known
-
A logarithmic lower bound. Every list of directions fails when [DWTLB26, Theorem 5]; for it is Proposition 4 of Bianchi and Longinetti [BL90], and [MPŠ08] note that the construction has been rediscovered several times. So . For this is , which the linear bound attains; Balan and Tsoukanis [BT23] had shown that , by reduction to real phase retrieval.
-
A linear upper bound. Every list of directions in general position (any of them linearly independent, Definition A.1) separates multisets of size . For this is due to Rényi [Rén52]. In every dimension it was proved by Holler, Schlüter and Wirth [HSW24, Proposition 48 and Corollary 49], and found again in [DWTLB26, Theorem 4].
-
The plane. Matoušek, Privětiřý and Škovroň [MPŠ08] showed that almost every list of directions in the plane separates multisets of size up to , for an absolute constant . So , with constants that they do not make explicit. A weaker form of their argument is explicit [MPŠ08, Proposition 3.1 and Lemma 2.3]: almost every list of directions in the plane separates multisets of size , which beats the linear bound from . In the other direction they constructed, for every list of directions, two different multisets of size with the same projections.
-
Codes. In a paper on list recovery of random linear codes over finite fields, Hair and Sahai [HS26] carried the method of [MPŠ08] to dimensions. They state only orders of growth, but two of their lemmas are exactly what our problem needs.
Dym et al. asked whether the planar bound extends to higher dimensions: “it remains unclear whether similar bounds hold when ” [DWTLB26, Remark 6] (their is our ). The lemmas of [HS26] settle this, as we explain below.
¹There is only one direction in dimensions, and it separates multisets of every size, so for all .
(a) Known before this paper

(b) Known now

Figure 1: Bounds on the number of directions that separate multisets of points in , for (thin and light to thick and dark): (a) before this paper and (b) now; this paper's bounds are blue. Every list of fewer directions than the lower curve fails [DWTLB26, Theorem 5] (for , [BL90] and [MP08]), in (b) for also by Theorem 1.2. The upper curve is the smallest known upper bound: the linear bound , for every list in general position [Rén52, HSW24]; for almost every list, in (a) for the bound of [MP08, Proposition 3.1], and in (b) of Theorem 1.1, with the closed form dotted (on this range the smaller of and , Remark 5.5). Better lower bounds for ([MP08] and Theorem 1.3) and the solved cases with are in Figures 2 and 3, and Table S1 gives numbers. Drawn by plot_bounds.py in the accompanying code.




Figure 2: The best bounds on known before this paper, for , including those for single values of . lies in the shaded range between the upper and lower bounds (black). Each half of the shading has the colour of the bound credited on its side, named in the legend, and where the two meet a label names the reference credited with . The credits follow fixed rules from a database of what each reference states (bounds.toml in the accompanying code): a bound goes to the earliest reference that states it. The figures show only results that come with a proof a reader can check; findings made in floating point are acknowledged in the text instead (Remark 3.1 and the provenance note).


Figure 3: As Figure 2, with the results of this paper. Three points is Theorem 1.2, The plane is Theorem 1.3, and is from Theorem 1.1. Values that others found in floating point and we verified exactly (Remark 3.1) are credited to this paper.
1.3 What we will show
We prove an upper bound on the number of directions needed (Theorem 1.1), two lower bounds (Theorems 1.2 and 1.3), and a zero-one law that compares almost every list of directions with particular lists (Theorem 1.4).
The upper bound. We say that a property holds for almost every list of directions if the lists that fail it form a set of Lebesgue measure zero in , so that directions drawn at random with a density, on or on the unit sphere, have it with probability one. Appendix A defines this and the other conditions that we put on the directions, says which result uses which, and compares ways of drawing directions at random.
Theorem 1.1 (Few directions suffice). Let and . For and , write
and for , write with and . Define
Then
where
If (and in particular if is at least , , or ), then almost every list (Definition A.4) of directions in separates multisets of size . Hence, by Remark 5.5, .
The proof tightens an argument of Hair and Sahai [HS26, Lemmas 5–7], who carried the random-colour method of [MPŠ08] to dimensions for list recovery of random linear codes. Their lemmas apply to sorted projections with almost no work, and as their proof is written they give the bound (Section 5). That observation, which brings their work to sorting embeddings, is ours, but is built entirely on their work. For and , for example, , and their own final inequality, evaluated exactly with nothing else changed, gives (equation (3)). Their proof gives away constant factors in four places, and keeping them (Lemma 5.2) is our contribution to the upper bound: it gives . Dividing the colours into blocks instead of and asking only that at least of the blocks succeed (Lemma 5.4) gives the equal-block bound when the blocks have equal size , and the balanced-block bound when the colours are shared among the blocks as evenly as possible ( or per block), lowering to , with larger savings as grows (for and , , , and ; Table S2). Taking in also gives a simple high-dimensional bound that removes the term and scales as when is large relative to (Remark 5.5). For fixed the theorem matches the planar result of [MPŠ08], and so answers the question of [DWTLB26].
For small the linear bound is smaller, and it holds for every list in general position, not only for almost every list. The theorem improves on it for all when , (74 for ) when and (88 for and ) when ; beyond that, is the smallest upper bound we know, and a short computation gives it exactly. The bound of the theorem is the smallest we know in closed form for moderate ; for a quick bound without iteration, use (Remark 5.5), which is unless exceeds about . It is only slightly larger, 144 instead of 134 for and , and it improves on the linear bound from and 98 respectively. Figure 1 shows the best bounds known before this paper and now, Figures 2 and 3 add the solved small cases for , and Tables S1 and S2, at the end of the paper, give the bounds as numbers.
Theorem 1.1 fixes and before choosing the directions. In an application the size of the multisets may not be known in advance, or may grow, and one would like to draw the directions once and simply use more of them for larger multisets, without redrawing those already in use. This is possible: with probability one, a single random sequence has the property that, for every , its first directions separate multisets of size whenever (and in particular whenever ; Corollary 6.1). Nor does it hurt to fix the first directions to be the coordinate axes and draw only the others (Corollary 6.2).
Lower bounds. For these it is convenient to count from the other side. For a list of directions let be the smallest size of two different multisets with the same projection on every direction of (or if there are none). Then separates multisets of size exactly when (Lemma 2.1).
Theorem 1.2 (Three points). Let . Every list of directions in has : it does not separate multisets of size three. Consequently:
(a)
(b) if for some integer , then , one more than the logarithmic lower bound.
For the first statement is in [MP08]. Exact certificates (Remark 3.1) give and , so the lower bound in (a) is attained there. Dym et al. [DWTLB26, Section 4] had found such a list for in floating point; the one they print for does not separate.
Theorem 1.3 (The plane). Write with . Every list of directions in has , where . Hence no list of directions in the plane separates multisets of size , and .
This improves the bound of [MP 08]. It combines their product construction with a four-direction example of Bianchi and Longinetti [BL90]. Their own nine-direction example ( ) can replace two groups of four and one of one, which lowers to for . That raises the lower bound on by one for about 1% of n and changes no entry of Table S1, so we keep the simpler statement, and the figures use it.
Almost every list behaves alike. Theorem 1.1 speaks of almost every list. The next theorem shows that, for given k, m and n, almost every list behaves in the same way, and says which particular lists are sure to behave like them.
Theorem 1.4 (A zero-one law). Fix , and . Either almost every list of directions in separates multisets of size , or almost every list does not. Every list whose coordinates are algebraically independent (Definition A.5) behaves like almost every list.
In the plane, Matoušek, Príventivý and Škovroň note that their bound holds for every list with algebraically independent coordinates [MPŠ08, Section 5, footnote 4]. By the first statement, a list that separates with fewer directions than almost every list needs, if one exists, cannot be found by drawing directions at random with a density (Table 1). We do not know whether such lists exist.
1.4 Method
The proof of Theorem 1.1 follows the strategy of [MPŠ08], which Hair and Sahai [HS26] carried to dimensions in another setting. Suppose that fails, so that there are two different multisets and of size at most , with no point in common, that have the same projection on every direction. For each direction , pairing each point of with a point of that has the same projection on gives a perfect matching between and . The union of these matchings, with the edges of the -th matching given colour , is the matching graph of the pair. Each edge of colour is a linear equation satisfied by the points.
-
Rigidity (Section 4). Suppose that, on some set of at least two vertices, the matching graph has spanning trees that use pairwise disjoint sets of colours. Then the coordinates of the directions satisfy a polynomial equation that is not identically zero [HS26, Lemma 7]. So for almost every this never happens.
-
Graph theory (Section 5). Every edge-coloured multigraph on vertices whose colour classes are perfect matchings contains such a pattern once it has enough colours. The randomised argument of [HS26, Lemma 6] needs about colours as written; with the constants that it gives away kept, about (Lemma 5.2).
For both steps are in [MPŠ08].
The lower bounds are constructions. If and fail on pairs of sizes and , then the concatenated list fails on a pair of size [MPŠ08, Lemma 4.1]. Theorem 1.2 comes from a cancellation in the resulting “hypercube” construction, and Theorem 1.3 from the example of [BL90]. Theorem 1.4 is a standard argument applied to an exact test of [BHS25].
Organisation. Section 2 collects the facts we use about pairs with equal projections. Section 3 proves Theorems 1.2 and 1.3, Sections 4 and 5 prove Theorem 1.1, and Section 6 proves Theorem 1.4 and its consequences. Section 7 lists open questions, and Appendix A collects the conditions that the results put on the directions. The computations are in the accompanying code, which is in the ancillary files of this paper’s arXiv submission.
2 Preliminaries
Fix and a list of directions. Two different multisets of the same size with for every in form a confusable pair of size , and is the smallest size of a confusable pair. We write for the sum of multisets (multiplicities add) and for their common part.
Lemma 2.1 (Padding and cancelling). If is a confusable pair, then so is for every multiset , and so is with . Consequently separates multisets of size if and only if , and a smallest confusable pair has no point in common.
Proof. Projection respects sums, , and multisets of numbers can be cancelled.
Signed multisets. It is easier to work with the difference of a confusable pair. A signed multiset is a function with finite support; we write for the function that is 1 at and 0 elsewhere, and . For a direction , let for . We say that is silent for if for every in . For multisets, says exactly that and have the same projection on .
Lemma 2.2. If contains at least one direction, then
Proof. A confusable pair of size gives the silent with . Conversely, if is silent, its total charge is for a direction of , so its positive and negative parts are multisets of size , and they form a confusable pair.
The convolution of signed multisets is , so that .
Lemma 2.3. For signed multisets and a direction :
(i) , so is silent for every direction for which or is silent;
(ii)
(iii) if and then .
Proof. (i) and (ii) are immediate from the definition. For (iii), choose such that is injective on the supports of and , and let maximise on them. Then arises only as , so .
Lemma 2.4 (Product lemma [MP08, Lemma 4.1]). For any lists , , the concatenated list has .
Proof. Take silent , for , with and (Lemma 2.2). By Lemma 2.3, is nonzero, silent for , and has norm at most .
[MP08] state this for ; the proof works in every dimension. For a vector , the dipole is silent for exactly the directions orthogonal to . Every directions are orthogonal to some , so a list of at most directions has , and Lemma 2.4 gives the following.
Lemma 2.5 (The hypercube [DWTLB26, Theorem 5]). Every list of directions in has .
The corresponding silent signed multiset is , with , orthogonal to the -th group of directions, and : the vertices of a parallelepiped, coloured by parity. The lengths of the are free, which Section 3 exploits.
Lemma 2.6 (One point at a time [HSW24, Proposition 48 and Corollary 49]). If is in general position (Definition A.1), then . So directions in general position separate multisets of size .
Proof. Let be a smallest confusable pair, and fix . For each direction some has . Since (Lemma 2.1), each serves only the directions orthogonal to , of which there are at most (Lemma A.2(c)). So .
Witnesses. Several proofs below show that a property holds for generic lists of directions (Definition A.4) by finding a polynomial that vanishes at every list that fails, and a witness: one list, however special, at which the polynomial is not zero. Dym and Gortler turned this idea into a count, the finite witness theorem [DG24, Theorem 2.7], which Amir et al. [AGARD23] use for multisets and Dym et al. [DWTLB26, Theorem 7] for sorted projections; we use it in Remark 6.3.
3 Lower bounds
Adding directions can only destroy confusable pairs, so whenever is part of .
Proof of Theorem 1.2. Split into two groups of directions and one more direction , and choose nonzero and .
If and are parallel, the dipole is silent for and ; with orthogonal to , the signed multiset is nonzero, silent for and of norm at most 4, so .
Otherwise the plane spanned by , meets in some . If then , and gives ; likewise if . If , put and , so that , and let
It is nonzero and silent for (Lemma 2.3). Of the eight terms in its expansion, and cancel, so and .
(a) By the above, and since fewer directions can only do worse, ; Lemma 2.6 gives . (b) Here , so the logarithmic lower bound (Lemma 2.5) allows lists of directions. Such a list splits into directions, with , and groups of , with . By Lemma 2.4 it has , so it fails, and at least one more direction is needed.
For the third factor of is the triangle of [MPŠ08, Section 4]. The proof uses the freedom in the lengths of the noted after Lemma 2.5: with directions the third dipole can be moved into the plane of the first two.
Remark 3.1 (Small cases by computer). Whether a given list separates multisets of size can be decided by a finite computation [BHS25, Proposition 3.8] (see Section 6), in exact arithmetic when the directions are rational. It shows that separates multisets of size 3 in , and that does so in . So and . In the plane, separates multisets of size 4, and adding gives size 5; with Theorem 1.3 below this gives and . For sets rather than multisets, [BL90, Propositions 1 and 2] already show that any directions in the plane that are not affinely rational (not mapped by a linear map to directions at rational multiples of ) determine every set of at most points. These checks use locate_exact.py in the accompanying code, which runs the test in integer arithmetic.
Dym et al. [DWTLB26, Section 4] found lists that separate in the cases , and with a floating-point version of the test, and the lists they print pass the exact test too. They also report a list for , but the list as printed does not separate: three of its directions, , and , lie in one plane, so the construction of Theorem 1.2 fools it. Presumably an entry was rounded for display. They also observed that random lists of directions fail for , which Theorem 1.2 proves for every list and every .
For , general position is not enough at . The list , is in general position but does not separate multisets of size 3: it splits into the pairs and , whose common normals and
(1, 1, -1) are linearly dependent, and that is all the construction above needs. Such lists exist in every dimension : take linearly independent and choose directions orthogonal to , orthogonal to and 2 orthogonal to . The construction above fools every such list. For almost every such choice (Definition A.4) the list is in general position, because any of the directions include two from different groups, and choosing those two, each in its own hyperplane, outside , and the others as a basis of , gives a basis of ; so no determinant vanishes identically. For , by contrast, where general position means pairwise non-parallel (Lemma A.2), Lemma 2.6 shows that four pairwise non-parallel directions always separate multisets of size 3.
The plane. The construction of Theorem 1.2 never does better than about in the plane, and the best construction of [MPŞ08], with 9 directions, gives . Four directions do better.
Lemma 3.2 (Bianchi and Longinetti [BL90, p. 234 and Fig. 2]). Every list of 4 directions in the plane has .
Proof. If two directions are parallel there are at most three different directions, and by Theorem 1.2. Otherwise, since the projection of on is the projection of on , an invertible linear map lets us assume that the directions are , , and with . Let
With , the projections of the points, in the order listed, are
| direction | X | Y |
|---|---|---|
| (1,0) | 0, | 0, |
| (0,1) | 0, | |
| (1,1) | 0, | |
| 0, |
and in each row the two lists are rearrangements of each other. The multisets differ, because while the points of with first coordinate are and, if .
[BL90] give this example for sets, to show that their Proposition 3 needs its hypothesis (here and ). That proposition says that directions that are not affinely rational determine every set of points; it is the only result of [BL90] that [MPŞ08] cite, as a lower bound for sets.
Proof of Theorem 1.3. Split into groups. A group of four directions has (Lemma 3.2), one of three has (Theorem 1.2), one of two has (Lemma 2.5), and one of one has , so by Lemma 2.4 is at most half the product of the factors 10, 6, 4 and 2 of the groups. Take groups of four, together with one group of one if , two groups of three in place of one group of four if , and one group of three if . This gives ; this grouping is the best among groups of one to four directions. As , , so if separates multisets of size then and .
4 Rigidity
Throughout this section and the next, is a confusable pair for a list , of some size , with no point in common (for instance a smallest one, Lemma 2.1). We treat its points as separate vertices, even when two points of coincide.
Definition 4.1 (Matching graph). For each the multisets and are equal, so there is a perfect matching between the vertices of and those of with for every pair ; we fix one. The matching graph of the pair has these 2s vertices and, for each , the edges of in colour .
So every colour class is a perfect matching, and every vertex has exactly one edge of each colour. An edge of colour forces , but not conversely: when several points have the same projection on , the matching we fix may pair them differently.
Definition 4.2 (Pinning pattern [HS26, Definition 8]). A pinning pattern in an edge-coloured multigraph is a set of at least two vertices together with spanning trees of , made of edges with both ends in , such that no colour is used by two different trees.
A tree may use several colours, and must do so unless , because a colour class is a matching. Hair and Sahai call this a tree certificate; for it is the pair of colour-disjoint spanning trees of [MP, Section 2.2]. Figure 4 shows an example. Section 5 also needs a pinning pattern with trees, defined in the same way with spanning trees in place of .
Lemma 4.3 (Rigidity [HS26, Lemma 7]). If the matching graph of a confusable pair with no point in common contains a pinning pattern, then the coordinates of the directions satisfy , where is a polynomial with integer coefficients, depending only on the coloured graph and the pattern, that is not identically zero.
Proof. Let the pattern be on , fix , and treat the positions of the other vertices of as unknowns, with . The tree edges give linear equations , one for each edge of colour in one of the trees, in unknowns. Write them as and put .
For a witness, set every direction used by equal to ; this is consistent because no direction is used by two trees. Then the equations of say that the ends of each of its edges have equal -th coordinates. As spans and , all the -th coordinates vanish. This holds for every , so is the only solution, and there, so is not identically zero.
For the true directions, the true points, translated so that is at the origin, solve . This solution is not 0, because an edge of at joins two different points. So .
For this is [MP, Lemmas 2.1–2.3]. Hair and Sahai prove it as stated, for linear forms over any field, by the same evaluation.
Corollary 4.4. Fix and . For generic lists of directions, and so for almost every list (Definition A.4), no confusable pair of size at most with no point in common has a matching graph that contains a pinning pattern.
Proof. Such a matching graph is one of finitely many coloured graphs on at most vertices with colours, and a pinning pattern in it is one of finitely many choices. Each choice gives a polynomial that is not identically zero (Lemma 4.3), and lies in its zero set. So every list that fails is a zero of the product of these finitely many polynomials, which has integer coefficients and is not identically zero; its zero set has measure zero (Lemma A.6).
5 Many matchings contain a pinning pattern
Theorem 1.1 needs, besides Corollary 4.4, a supply of pinning patterns: a matching graph with enough colours always contains one. Hair and Sahai prove such a lemma for list recovery of random linear codes. We state it in the form that their proof gives, and then tighten it.

(a) a pinning pattern on W
(b) why it pins W
Figure 4: A pinning pattern for , drawn as an abstract coloured graph (the positions of the vertices mean nothing). (a) A matching graph on six points, from (filled) and from (open), for four directions. The edges of colour , a perfect matching, have the colour and line style of in the key. So every point has exactly one edge of each colour, and edges that meet at a point always have different colours. On the shaded set , the tree is drawn with wiggles and uses colours 1 and 2; the tree is drawn with springs and uses colours 3 and 4. Each tree needs two colours: colour 1 pairs into and , and colour 2 joins the two pairs, and likewise for colours 3 and 4; since edges that meet have different colours, the two colours of each tree alternate along it. The trees share vertices, and even the pairs and , but no colour. Straight edges are used by neither tree. (b) Why such a pattern pins , as in the proof of Lemma 4.3. With at the origin, the six tree edges give a square system in the coordinates of ; the row of an edge of colour carries the first coordinate of in the columns and its second in the columns. Shown is at the useless but legal directions , (a witness, in the sense of Section 2), which are consistent because no colour is in both trees. The rows of lose their entries and those of their entries, so is block-diagonal, and each block, a spanning tree taken outward from , is triangular with determinant . So is 1 here, and is not identically zero. (For these trees, .)
Lemma 5.1 ([HS26, Lemma 6]). Let be the number of vertices, be the number of spanning trees required, and let be the matching density factor. The number of colours per tree is given by
Let be a loopless edge-coloured multigraph on vertices in which every colour class is a matching with at least edges. If has at least colours, then it contains a pinning pattern with trees.
Hair and Sahai state the lemma with a constant that they do not evaluate; the form above is what their proof uses, padded so that its order of growth is plain. Their proof takes for a set of vertices that maximises , where counts the edges with both ends in . By maximality, every split of into and with is crossed by at least different colours, since a matching puts at most edges across it. They then choose disjoint random sets of colours each. By their Lemma 5, a version of the random-colour argument of [MP08, Section 3.2], each set connects with probability at least . So with positive probability all of them do, and a spanning tree of each gives the pattern. Applied to matching graphs, with , and , it shows, as in the proof of Theorem 1.1 below, that almost every list of directions separates multisets of size . Their proof needs only , and is a simple choice of that satisfies it with room to spare. Using that inequality as it stands, with nothing else changed, gives the smaller bound
which we count as theirs (Remark 5.3). Beyond that, the proof gives away constant factors in four places. Keeping them gives the following lemma, in which the four changes are marked (i)–(iv).
Lemma 5.2 (Hair and Sahai's lemma, tightened). Let be the number of vertices, be the number of spanning trees required, let be the matching density factor, and let the integer be the number of colours per tree, so that the total number of colours is .
Let be a loopless edge-coloured multigraph on vertices with at least colours, in which every colour class is a matching with at least edges. If
then contains a pinning pattern with trees.
Proof. Discarding colours, we may assume that has exactly colours. As in the proof of Lemma 5.1, choose a set of vertices that maximises over all sets of at least two vertices, and let be the maximum. Then . Let .
Cuts. Let with . By the choice of , and , so at least edges join to . A matching has at most of these edges, so at least
colours cross the cut. For the inequality, put ; then decreases in , so it is at least its value at . (i) Hair and Sahai drop the second term, which leaves .
One more colour. Let be the colours in a uniformly random order, let be the number of components of , and let , so that . Fix and , and suppose that ; probabilities and expectations below are conditional on . Call a component small if it has at most vertices. None of crosses a component, so for a small component at least of the remaining colours cross it, and crosses it with probability at least . (ii) Hair and Sahai replace by here. So the number of small components that crosses has
For the last step: if every component is small, Jensen's inequality gives
Otherwise exactly one of the components has more than w/2 vertices, so there are x-1 small components with s<w/2 vertices in total, hence
The inequality is justified, since the two agree at and the derivative of the difference, , is positive on . (iii) Hair and Sahai have here.
Adding lowers the number of components by some : in the multigraph on the current components formed by the edges of colour , the components counted by are not isolated, and nonisolated vertices lie in at most nontrivial components. Since
the preceding estimates give
This holds trivially when x = 1.
T colours. The factors in (4) are positive, because (a matching on vertices has at most edges), for , and . Taking expectations and iterating with yields
If is disconnected, then . Thus Markov's inequality gives
as . Without (i)-(iii), the product is ; Hair and Sahai bound it by and then choose with room to spare.
d trees. Split the order into consecutive blocks of colours. Each block, in its order, is distributed like , so by (4) and the union bound, with positive probability every block connects . Spanning trees of the blocks then form the pattern. (iv) Hair and Sahai ask each block to connect with probability at least ; the union bound needs only that the failure probabilities add up to less than 1.
Proof of Theorem 1.1 for and . Let , and let be a list of directions outside the set of measure zero of Corollary 4.4. Suppose that does not separate multisets of size . Then a smallest confusable pair has some size and no point in common (Lemma 2.1).
If , its two points are joined by an edge of every colour, and any colours give a pinning pattern on these two points, with one edge per tree. If , its matching graph has vertices and colours, and each colour class is a perfect matching, with edges. Lemma 5.2 applies with , and the of (1a) (its is , at most ours, and it may discard colours): the left side of (4) increases with , since and each factor do, and it is below 1 at by the choice of . In both cases the matching graph contains a pinning pattern, which Corollary 4.4 rules out.
For the bound on , let , and put , so that . It is enough to show that this satisfies the condition that defines , for then . By , it does if
Now
The first step is . For the second, with , and . The third is with . With the bound on , S is at least , and for .
Finally, the closed form is , and since almost every list of that many directions separates, certainly some list does.
Remark 5.3 (Where the saving comes from). For and , Hair and Sahai's lemmas as their proof writes them give , and their final inequality evaluated exactly gives (equation (3)). We count both as theirs, carried over to sorted projections. Our change (iv) then gives 374, (ii) gives 270, and (i) with (iii) gives , so our changes save a factor of about 3.4. Letting some blocks fail (Lemma 5.4) then gives . The closed form gives 144.
Allowing some blocks to fail: and . In Lemma 5.2, the colours are partitioned into blocks of colours each, and the union bound requires every one of the blocks to connect . More generally, we can partition colours into disjoint blocks of lengths and ask only that at least of them connect , allowing up to blocks to fail. This gives the stronger bounds and of Theorem 1.1.
Lemma 5.4 (Allowing blocks to fail). Let , , and . Let and let be integers with and for each . Let be a loopless edge-coloured multigraph on vertices with at least colours, in which every colour class is a matching with at least edges. If
then G contains a pinning pattern with d trees.
Proof. Discarding excess colours, we may assume that has colours, and choose of size as in the proof of Lemma 5.2 before ordering the colours. Split a uniformly random ordering of the colours into consecutive blocks of lengths . For each , since , we have and , so every factor in (5) is positive. Each block of colours has the same marginal distribution as the first colours , regardless of its place in the ordering, so by the single-block estimate in the proof of Lemma 5.2 the -th block fails to connect with probability at most the -th term of (5).
Let be the number of blocks that fail to connect . By linearity of expectation and (5), . Since takes integer values, with positive probability , so at least blocks connect . Spanning trees of of those blocks form a pinning pattern with trees.
Proof of Theorem 1.1 for and . In (1b), setting recovers the definition (1a) of , so . In (1c), restricting to multiples of (so and ) recovers (1b), so .
Now let , and choose with . Write with , and take blocks of length and blocks of length ; since , every block has length at most . As above, for any confusable pair of size with no point in common, if then any colours give a pinning pattern, and if then and , so Lemma 5.4 (with , , after discarding colours) supplies a pinning pattern on , which Corollary 4.4 rules out for generic lists.
Tables S1 and S2 in the appendix compare , and numerically across n and k.
Remark 5.5 (High-dimensional bound). By and , we have , so a block of length has failure probability at most . Taking , and block length gives , so . This yields the closed-form high-dimensional bound
for which . Unlike and , this bound has no factor—it gives uniformly in k and n—and so scales better when the dimension k is large and n is small.
6 Almost every list behaves alike
An exact test. The following test is a reformulation of [BHS25, Proposition 3.8], which treats lists that begin with the coordinate axes. Write two multisets of size as and . They have the same projection on exactly when, for some permutation of , for every . For each list of permutations these are linear equations in the unknown points; let be the space of their solutions. For a permutation , let be the subspace on which for every , so that . Then separates multisets of size exactly when every lies in the union of the subspaces . A vector space that lies in a finite union of subspaces lies in one of them, so the condition is that each lies in some , which is a computation of ranks. For rational directions it can be done in exact arithmetic. Relabelling lets us take to be the identity, which leaves lists , so the test is practical only for small and (Remark 3.1). It is the test used numerically in [DWTLB26, Section 4].
Proof of Theorem 1.4. Fix . The space is the kernel of a matrix whose entries are or a coordinate of a direction. Let be the largest rank of over all lists . A list where it is attained is a witness (Section 2) that some minor is a polynomial in that is not identically zero, so the rank is on a set of full measure. For in , exactly when adding the equations of to does not raise its rank, that is, when every minor of the enlarged matrix vanishes. If, for some , these minors all vanish identically, then lies in for every in . Otherwise, for each one of them is a nonzero polynomial, and off the union of their zero sets lies in no . So the lists for which lies in some form a set of full measure or a set of measure zero. The lists that separate multisets of size are the intersection of these sets over the finitely many , so they too form a set of full measure or of measure zero.
All these polynomials have integer coefficients. At a list whose coordinates are algebraically independent, such a polynomial vanishes only if it is identically zero, so such a list is a witness for all of them at once. So such a list lies in every , and, for each , lies in some exactly when this holds for almost every list. So it separates multisets of size exactly when almost every list does.
Corollary 6.1 (One random sequence serves every ). Let be random directions such that, for every , the list is drawn as in (ii) or (iii) of Table 1; for example, independent directions with independent standard normal coordinates, or uniform on the unit sphere. With probability one, for every and every (and in particular every ), the list separates multisets of size .
Proof. For each of the countably many pairs , the first directions fail with probability zero, by Theorem 1.1, which holds for generic lists, and Lemma A.7(c). A countable union of events of probability zero has probability zero.
It can be convenient to fix some of the directions, for example to make the first of them the coordinate axes, so that begins with the sorted coordinates of the points, as in Remark 3.1 and [DWTLB26, Section 4]. That is harmless.
Corollary 6.2 (The axes may be among the directions). Fix , and . The list separates multisets of size for almost every choice of (Definition A.4) if and only if almost every list of directions does. In particular it does so when (or ).
Proof. For an invertible matrix , a list separates multisets of size exactly when does, because the projection of on is the projection of on . The map is a diffeomorphism from onto the set of lists whose first directions are linearly independent, which has full measure. The preimage of the set of lists that fail is , where is the set of for which fails. By Fubini's theorem has measure zero exactly when does.
The two corollaries combine: by the same countable union, with probability one the axes followed by one random sequence serve every n.
Remark 6.3 (Compression). The map has outputs, whereas a multiset of points in has only coordinates. Applying a further linear map after can reduce the outputs to , whatever is, and almost any such map will do: if separates multisets of size , then for almost every linear map (Definition A.4) the map is still injective on multisets of size . This is the argument of [DWTLB26, Theorem 10], which is stated for directions in general position but uses that hypothesis only to know that is injective. In outline: for fixed orders of the points of and of in each sorted list,
is a linear function of the points that vanishes when they are all equal, so it takes values in one of finitely many subspaces of dimension at most . Almost every is injective on each of them, and then forces , hence . This is the finite witness theorem (Section 2) in its linear form, with the rows of as the witnesses; [DWTLB26] prove their Theorem 10 with it. The compressed map is then bi-Lipschitz too [BTW24, Theorem 1], and [BHS25, Theorem 1.2] already has a version with outputs.
7 Open questions
For fixed , Theorem 1.1 and the lower bounds differ by a factor of order ; for the of Table S1 the factor is between 8 and 16.
-
Is ? For fixed , this asks whether the largest that some list of directions separates grows exponentially with . The bounds of [MPŠ08] leave this open even for .
-
How many colours force a pinning pattern? Let be the largest number of colours of an edge-coloured bipartite multigraph on vertices, with every colour class a perfect matching, that contains no pinning pattern. By the proof of Theorem 1.1, almost every list of directions separates multisets of size once for every , so would answer the first question, even for almost every list. For , [MPŠ08, Section 3.4] show that, under the cut condition of their Lemma 3.7, choosing the colours of the trees at random can fail even with about colours, although the graphs of their example do contain the trees. An exhaustive search, in the accompanying code, gives , whereas for and Lemma 5.2 needs 24 colours.
-
Every list of four directions in the plane fails on multisets of size five (Lemma 3.2), and this gives the rate of Theorem 1.3. Does every list of five directions fail on multisets of size eight, or every list of six on multisets of size fifteen? By Lemma 2.4, either would give a smaller rate.
-
Is for every ? It holds for (Theorem 1.2 and Remark 3.1). And what is ? Theorem 1.2 and the linear bound give .
-
Is there ever a list that separates multisets of size although almost every list of the same length does not? By Theorem 1.4, its coordinates would be algebraically dependent. For given and , whether almost every list separates can be decided by running the test of Section 6 with indeterminates as coordinates.
-
Is there a simple explicit list of directions that separates multisets of size ? By Theorems 1.1 and 1.4, a list of directions with algebraically independent coordinates does, but, as [MPŠ08, Section 5] remark for , such a list is hardly simple. Their work was motivated by a question of Holub: how large must be for functions to be determined by the multisets of their values at ? In our terms this concerns the directions in the plane, and for them neither their methods nor ours improve on the linear bound.
-
How large is the distortion of , the ratio of its upper and lower Lipschitz constants, when has only directions? With about directions drawn uniformly from the unit sphere it is up to logarithmic factors, and for every list it is at least of order [DWTLB26, Section 3]. Can the compression of Remark 6.3 use a linear map with few nonzero entries in each row? A dense one costs more to apply than itself.
Acknowledgements
CGL wishes to thank Peterhouse, not only for providing financial support for the work undertaken, but also for providing an environment that has fostered many positive discussions that have influenced this work. Notably, contributions from Patrick Kennedy-Hunt (on simplicial encoders) and Ian Wright (on polynomial encoders) were instrumental in shaping our interest in bi-Lipschitz encoding methods.
CGL also wishes to acknowledge Tom Ruane (then a Durham undergraduate) for productive correspondence over the summer of 2025.
Statement on AI use
This work has a long gestation beginning in 2019.² Prior to 2025, no LLM made any significant contribution to this work at all. Between 2025 and 21 October 2026, LLMs were used as tools to assist with simple code refactoring tasks under complete direction. From 21 October 2026 until submission to the arXiv, substantial use was made of Anthropic’s Claude Opus 5.5 to assist in the drafting of this paper and to provide both criticism of and refinements to arguments and methods it contains—although the authors have checked every statement and take responsibility for the work. This sudden switch was a direct consequence of reading the statement regarding AI use in [HS26], which itself followed our discovery that results in [HS26] had rendered obsolete many of the things we had hoped to write about as extensions to [DWTLB26] and [MPŞ08]. Separately, some OpenAI models were used to assist with the discovery of relevant literature.
A Conditions on the directions
The results of this paper put conditions of three kinds on a list of directions in : properties of the one list , statements about almost all lists, and ways of drawing at random. This appendix defines them, compares them (Figure 5), and records which result uses which (Table 2). Directions are nonzero vectors, and every property in this paper depends only on the lines through them, since is scaled by ; so each condition below is unchanged when a direction is replaced by a nonzero multiple of itself. Two directions are parallel if one is a multiple of the other.
General position.
Definition A.1 (General position). A list of directions in is in general position if every of are linearly independent.
Lemma A.2. For a list of directions in the following are equivalent:
(a) is in general position;
(b) every of are linearly independent;
(c) every nonzero vector of is orthogonal to at most of .
In particular the directions of a list in general position are pairwise non-parallel, and for the converse holds.
²Arguably this work’s beginnings pre-date CGL’s work in 2020 on permutation invariant encodings [GHL21, LHG22]. Observations of deficiencies in those encoding strategies led to CGL’s increased interest in projection sort encoders in late 2023, and the subsequent creation of https://github.com/kesterlester/Echinocoder/ in February 2024. A fruitful association with a summer student (Tom Ruane) followed in 2025, and RS was recruited as an MPhil student in early June 2026 for an October 2026 start.
Proof. Since , any of the directions are among some of them, and part of an independent set is independent; so (a) implies (b), and (a) is the case of (b). And vectors of are linearly dependent exactly when they lie in a hyperplane through the origin, that is, when some nonzero vector is orthogonal to all of them; so (a) and (c) are equivalent. The last statement is (b) with , which for is (a).
The condition matters. For fewer than directions, (a) and (c) would hold for every list, for instance for in , while (b) would ask that all of them be linearly independent; we never use the term for fewer than directions. In terms of the lines through the directions, (b) says that the corresponding points of the projective space are in general position in the usual sense: for , no of them lie in a projective subspace of dimension . This is not general position of as points of : and are different points but the same direction. Definition A.1 is the hypothesis of [HSW24, Proposition 48], which concerns unit vectors, and it is the full spark condition of [DWTLB26], which is defined for matrices with at least as many columns as rows. Their proof of [DWTLB26, Theorem 4], like that of Lemma 2.6, uses it in the form (c).
Whether a given list is in general position can be decided by computing its determinants of directions, in exact arithmetic when the directions are rational. Explicit lists in general position are easy to write down: the directions with distinct numbers , since any of them form a Vandermonde matrix. For and these are the directions of Holub's question (Section 7). General position is exactly what the linear bound needs, and that bound cannot be lowered for it:
Remark A.3 (The linear bound is tight for general position). For all and there is a list of directions in general position that does not separate multisets of size . For , take the directions at angles , , and let and be the vertices of a regular -gon centred at the origin and of its rotation by . The reflection in the line of each direction maps onto and preserves , so and have the same projection on ; this is the example of [BL90, Fig. 1] and [MP08, Section 1]. For , write , let be these planar directions, and put and . Then and have the same projection on every direction in each of the hyperplanes . Choose directions in each . Any of the directions include two from different hyperplanes and , and their determinant, as a polynomial in the parameters and of the chosen directions, is not identically zero, as a witness shows: it is when those two are and and the others are . So the parameters for which one of these determinants vanishes form a set of measure zero, and any other choice gives a list in general position. Dropping directions keeps a list in general position, if at least remain, and keeps it failing, so the same holds for every length with .
What “almost every” and “generic” mean.
Definition A.4 (Almost every; generic). Fix and . A property of lists of directions in holds for almost every list if the lists that fail it form a set of Lebesgue measure zero in . It holds for generic lists if the lists that fail it lie in the zero set of a polynomial in the coordinates, with integer coefficients, that is not identically zero. When some directions are fixed, as in Corollary 6.2, or confined to given subspaces, as in Remarks 3.1 and A.3, “almost every” refers to Lebesgue measure on the parameters that remain free; for the linear maps of Remark 6.3, to Lebesgue measure on their entries.
Definition A.5 (Algebraically independent). Real numbers are algebraically independent if no polynomial with integer coefficients that is not identically zero vanishes at them.
Lemma A.6. If a property holds for generic lists of directions, then
(a) it holds for almost every list;
(b) it holds on a dense open set of lists;
(c) it holds for every list whose mk coordinates are algebraically independent.
Proof. Let be the polynomial of Definition A.4. (a) The zero set of a polynomial that is not identically zero has measure zero, by induction on the number of variables. Write as a polynomial in the last variable whose coefficients are polynomials in the others; one of them, say, is not identically zero. By induction vanishes only on a set of measure zero, and wherever , has finitely many roots in the last variable. So by Fubini's theorem the zero set of has measure zero. (b) The zero set of is closed, and by (a) it contains no open set. (c) does not vanish at such a list.
None of these implications can be reversed, and (b) and (c) describe different sets. The property that the first coordinate of is irrational holds for almost every list, but on no open set. The lists with algebraically independent coordinates have full measure, but they contain no open set, since lists with rational coordinates are dense. Corollary 4.4, and with it Theorem 1.1, is proved in the generic form, and so is Theorem 1.4: for given , and , either generic lists separate multisets of size , or the lists that separate lie in the zero set of a polynomial with integer coefficients that is not identically zero. The second statement of Theorem 1.4 rests on this form, and it is how [MPŠ08, Theorem 1.1] state their bound.
Random directions. Table 1 lists four ways of drawing a list at random.
| The list of directions is drawn | general position | generic lists | almost every list | |
|---|---|---|---|---|
| (i) | with independent directions, each from a distribution that gives no mass to hyperplanes through the origin | yes | if | — |
| (ii) | with a density on , or with the unit vectors having a density on the product of unit spheres | yes | yes | yes |
| (iii) | with independent coordinates, none of which takes any single value with positive probability | yes | yes | — |
| (iv) | with rounded coordinates, or from a finite set of lists | — | — | — |
Table 1: Ways of drawing random directions, and what holds with probability one (Lemma A.7). “Yes” under “generic lists” or “almost every list” means that every property of the paper that holds for generic lists, or for almost every list, then holds with probability one. A dash means that nothing is guaranteed. Independent standard normal coordinates satisfy (i)–(iii); independent directions uniform on the unit sphere satisfy (i) and (ii); independent directions uniform on a small circle of the unit sphere of satisfy only (i).
Lemma A.7 (Random directions). Let be a property of lists of directions that depends only on the lines through them, as every property in this paper does, and let be drawn in one of the ways (i)–(iii) of Table 1.
(a) If , then is in general position with probability one.
(b) If holds for almost every list and is drawn as in (ii), then has with probability one.
(c) If holds for generic lists and is drawn as in (ii) or (iii), then has with probability one. The same holds if is drawn as in (i) and , provided that the polynomial of Definition A.4 is homogeneous in each direction separately.
Proof. (b) The lists that fail form a set of measure zero that contains, with each list, every list obtained by rescaling its directions. A density on gives probability zero. In polar coordinates , Lebesgue measure on is the product of the measures , where is surface measure on the unit sphere, so meets the product of the spheres in a set of surface measure zero, and a density there gives it probability zero too.
(c) Under (ii) this follows from (b) and Lemma A.6(a). Under (iii), it follows from the induction in the proof of Lemma A.6(a), with “measure zero” replaced by “probability zero”: a polynomial in one variable that is not identically zero has finitely many roots, and the last coordinate takes each of them with probability zero. Under (i) with , the same induction runs over the directions instead of the coordinates: for given values of the other directions, a polynomial that is homogeneous in and not identically zero vanishes only on finitely many lines through the origin, and misses them with probability one.
(a) Under (i), let of the directions be linearly independent. They lie in some hyperplane through the origin, and a further direction, drawn independently, lies in it with probability zero. So any given directions are independent with probability one, and there are finitely many choices of of them. Under (ii) and (iii), general position holds for generic lists, since a list that is not in general position is a zero of the product of all the determinants of of its directions; so (a) follows from (c).
All the polynomials of Sections 4 and 6 are homogeneous in each direction, because each row of the matrices there is linear in a single direction, so Lemma A.7(c) applies to Theorems 1.1 and 1.4. For , drawing the directions as in (i) is not enough for this argument. A polynomial of Lemma 4.3 can have degree more than one in a single direction, one for each edge of that colour in the trees, and a distribution can give no mass to hyperplanes through the origin and yet be carried by a quadric cone, as the uniform distribution on a small circle of the unit sphere is. We do not know whether Theorem 1.1 holds for directions drawn in this way. Rounded coordinates, as in (iv), satisfy none of (i)–(iii); for instance, two rounded directions are parallel with positive probability.
Which result uses which. Table 2 summarises, and Figure 5 shows how the conditions and the lists that separate fit together.
| Result | Condition on the directions |
|---|---|
| Theorems 1.2 and 1.3, Lemmas 2.1–2.5 and 3.2 | none: they hold for every list |
| Lemma 2.6 (the linear bound) | general position (Definition A.1) |
| Corollary 4.4 and Theorem 1.1 | generic lists, and so almost every list (Definition A.4) |
| Theorem 1.4 | generic lists, and lists with algebraically independent coordinates (Definition A.5) |
| Corollary 6.1 | random, drawn as in (ii) or (iii) of Table 1 |
| Corollary 6.2 | the axes fixed, and almost every choice of the other directions |
| Remarks 3.1 and A.3 | general position, and almost every list within a family |
| Remark 6.3 | a list that separates, and almost every linear map |
Table 2: The conditions that each result puts on the directions.

(a)

(b)
Figure 5: The conditions of this appendix on a list of directions in , drawn as sets for (for the two outer ovals coincide), and the set of lists that separate multisets of size , shaded. (a) When , contains every list with algebraically independent coordinates (Theorem 1.1 and Lemma A.6), but not every list in general position (Remark A.3). (b) When , contains every list in general position (Lemma 2.6). When a shorter list separates, also contains lists with two parallel directions (repeat a direction of the shorter list), so reaches outside the outer oval. Areas mean nothing: every set drawn has full measure, so the sets differ only by sets of measure zero.
Supplementary tables
| every list fails below | 10 | 14 | 18 | 26 | 38 |
| succeed from, before this paper | 101 | 1001 | 10001 | 45854* | 147481* |
| , from [HS26] as written | 364 | 558 | 764 | 1198 | 1890 |
| , equation (3) | 288 | 458 | 638 | 1024 | 1646 |
| , equation (2) | 90 | 144 | 203 | 329 | 533 |
| , equation (1a) | 82 | 134 | 190 | 310 | 508 |
| , equation (1b) | 82 | 134 | 190 | 310 | 508 |
| , equation (1c) | 82 | 133 | 189 | 310 | 507 |
| every list fails below | 16 | 22 | 29 | 42 | 62 |
| succeed from, before this paper | 201 | 2001 | 20001 | ||
| , from [HS26] as written | 597 | 912 | 1242 | 1938 | 3045 |
| , equation (3) | 483 | 759 | 1053 | 1677 | 2679 |
| , equation (2) | 170 | 270 | 377 | 605 | 975 |
| , equation (1a) | 162 | 258 | 363 | 588 | 951 |
| , equation (1b) | 162 | 258 | 363 | 588 | 951 |
| , equation (1c) | 160 | 258 | 363 | 587 | 951 |
Table S1: Numbers of directions for separating multisets of points in and , as in Figure 1. Every list of fewer directions than the first row fails: for by Theorem 1.3, and at equally by the constructions of [MP08] (their product lemma applied to their examples with three and nine directions); for by Theorem 1.2 and the logarithmic bound (before Theorem 1.2, one fewer, except at ). The second row is the smallest number of directions from which lists were known to succeed before this paper: the linear bound , for every list in general position [Rén52, HSW24], or, for the starred entries, the bound of [MP08, Proposition 3.1] with the constant that they state, for almost every list. The remaining rows are for almost every list: Hair and Sahai's lemmas as their proof writes them (Section 5), , which is their final inequality evaluated exactly (equation (3)), and the four bounds of Theorem 1.1. is the smallest known upper bound, and the smallest known in closed form for these . Printed, with the credits, by boundsdb.py --table in the accompanying code; flatbound.py checks the rows for and by a direct search.
| 2 | 82 | 82 | 82 | |
| 3 | 162 | 162 | 160 | |
| 8 | 640 | 630 | 622 | |
| 10 | 860 | 814 | 812 | |
| 20 | 2040 | 1752 | 1751 | |
| 2 | 134 | 134 | 133 | |
| 3 | 258 | 258 | 258 | |
| 8 | 1008 | 990 | 990 | |
| 10 | 1340 | 1287 | 1286 | |
| 20 | 3160 | 2800 | 2785 | |
| 2 | 190 | 190 | 189 | |
| 3 | 363 | 363 | 363 | |
| 8 | 1392 | 1386 | 1383 | |
| 10 | 1850 | 1793 | 1791 | |
| 20 | 4320 | 3887 | 3879 | |
| 2 | 310 | 310 | 310 | |
| 3 | 588 | 588 | 587 | |
| 8 | 2208 | 2208 | 2206 | |
| 10 | 2920 | 2871 | 2865 | |
| 20 | 6780 | 6210 | 6200 |
Table S2: Numerical comparison of the bound (equation (1a)), in which all blocks must connect , the equal-block bound (equation (1b)), and the balanced-block bound (equation (1c)) of Theorem 1.1, for and . Allowing blocks and requiring only of them to connect reduces the number of directions needed, with larger savings as the dimension grows. Computed by flatbound.py in the accompanying code.
References
[AGARD23] T. Amir, S. J. Gortler, I. Avni, R. Ravina and N. Dym, Neural injective functions for multisets, measures and graphs via a finite witness theorem, in: Advances in Neural Information Processing Systems 36 (NeurIPS 2023), 42516–42551.
[BHS25] R. Balan, N. Haghani and M. Singh, Permutation invariant representations with applications to graph deep learning, Appl. Comput. Harmon. Anal. 79 (2025) 101798, doi:10.1016/j.acha.2025.101798; arXiv:2203.07546.
[BL90] G. Bianchi and M. Longinetti, Reconstructing plane sets from projections, Discrete Comput. Geom. 5 (1990) 223–242.
[BT23] R. Balan and E. Tsoukanis, Relationships between the phase retrieval problem and permutation invariant embeddings, in: 2023 International Conference on Sampling Theory and Applications (SampTA); arXiv:2306.13111.
[BTW24] R. Balan, E. Tsoukanis and M. Wellershoff, Stability of sorting based embeddings, arXiv:2410.05446 (2024).
[CIM24] J. Cahill, J. W. Iverson and D. G. Mixon, Towards a bilipschitz invariant theory, Appl. Comput. Harmon. Anal. 72 (2024) 101669.
[DG24] N. Dym and S. J. Gortler, Low-dimensional invariant embeddings for universal geometric learning, Found. Comput. Math. 25 (2024) 375–415, doi:10.1007/s10208-024-09641-2; arXiv:2205.02956.
[DWTLB26] N. Dym, M. Wellershoff, E. Tsoukanis, D. Levy and R. Balan, Quantitative bounds for sorting-based permutation-invariant embeddings, IEEE Trans. Inf. Theory 72(6) (2026) 4297–4311, doi:10.1109/TIT.2026.3679460; arXiv:2510.22186v2. Theorem and remark numbers refer to v2; in v1 (October 2025) Theorems 4, 5 and 10 and Remark 6 are Theorems 3, 4 and 9 and Remark 5.
[GHL21] B. Gripaios, W. Haddadin and C. G. Lester, Lorentz- and permutation-invariants of particles, J. Phys. A: Math. Theor. 54 (2021) 155201, doi:10.1088/1751-8121/abe58c; arXiv:2003.05487 (part I) and arXiv:2007.05746 (part II).
[HS26] I. M. Hair and A. Sahai, List recovery for random low-rate linear codes, arXiv:2605.30101 (2026).
[HSW24] M. Holler, A. Schlüter and B. Wirth, Dimension reduction, exact recovery, and error estimates for sparse reconstruction in phase space, Appl. Comput. Harmon. Anal. 70 (2024) 101631; arXiv:2112.09743. In arXiv v1 (December 2021), Proposition 48 and Corollary 49 are Proposition 56 and Corollary 57.
[LHG22] C. G. Lester, W. Haddadin and B. Gripaios, Lorentz and permutation invariants of particles III: Constraining nonstandard sources of parity violation, Int. J. Mod. Phys. A 37(16) (2022) 2250093, doi:10.1142/S0217751X22500932; arXiv:2008.05206.
[MPŠ08] J. Matoušek, A. Přivětivý and P. Škovroň, How many points can be reconstructed from k projections?, SIAM J. Discrete Math. 22 (2008) 1605–1623.
[Rén52] A. Rényi, On projections of probability distributions, Acta Math. Acad. Sci. Hungar. 3 (1952) 131–142.
[TFD24] E. Tanguy, R. Flamary and J. Delon, Reconstructing discrete measures from projections. Consequences on the empirical sliced Wasserstein distance, C. R. Math. Acad. Sci. Paris 362 (2024) 1121–1129.