Manuscript Offprint
arXiv:2610.11744The Ball and the Box: Two Geometries of Computation in Superposition
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Two Geometries of Computation in Superposition
Xiaoyu Li
University of New South Wales
Jiaojiao Jiang
University of New South Wales
Lequan Lin
University of Sydney
Junbin Gao
University of Sydney
Dai Shi
University of Cambridge
Andi Han
University of Sydney
ABSTRACT
Neural representations can encode more features than they have dimensions, a phenomenon known as superposition. We study the dimension needed to compute Boolean gates from such representations. For a single threshold layer with a Gaussian random dictionary and uniformly random sparse Boolean inputs, we derive sharp dimension thresholds under two error criteria. A vanishing expected error count can require more dimensions than correctness of every output with high probability. Shared reads explain the gap: rare realizations can produce many errors at once. The expected-count threshold has ball geometry, while joint reliability has box geometry when a gate is evaluated on every feature tuple. Optimizing shared readout weights and biases gives explicit thresholds for conjunction, disjunction, and majority. For pairwise conjunction, the analysis also describes the transition near the threshold, in agreement with exact simulations.
Keywords: computation in superposition, sparse feature representations, threshold circuits, Gaussian extreme values, sharp thresholds, reliability, mechanistic interpretability
CONTENTS
1 Introduction 2
2 Model and criteria 3
3 The exact read law 5
4 Counting errors: the ball 6
5 Reliability: the supremum and the box 7
6 Threshold gates 9
7 The critical window 11
8 Extensions 12
9 Exact simulations 13
10 Discussion 14
AI Use Statement 14
References 14
Appendix
A Guide to the appendix ..... 18
B Read-vector reductions and the supremum ..... 19
C Proofs for the ball ..... 22
D Proofs for the box ..... 24
E Proofs for threshold gates ..... 27
F The critical window ..... 29
G Extensions of the model ..... 32
H Statements and proofs for Section 8 ..... 33
I Window formulas and the expected-count gap ..... 39
J Further comparisons and experiments ..... 40
K Finite checks ..... 43
L Experimental protocol and additional results ..... 44
M Applications, implications and open problems ..... 47
Pairwise conjunction gives a concrete example. Store binary features in a Gaussian dictionary and read all products with probes . There are two choices: require the expected number of wrong outputs to vanish, or require every output to be correct with probability tending to one. The bias can be fixed at the midpoint or optimized. These choices give four sharp thresholds (Table 1). When , the constants are 16, 8, 4 and 2 in units of . When , all four thresholds equal to first order.
Reliability retains dependence between gate errors. Group gates by their active-input pattern . A gate in this class has weights and margin ; it fails when its interference crosses the margin. Counting errors uses only the law of each gate. Its answer is unchanged if the interference vectors are independent Gaussian points, whose extreme projections have the support function of a ball of radius . Reliability uses the actual joint law. In the family of all gates, every interference vector is assembled from the same active and inactive feature reads. Their extremes form a box (Figure 1), with half-sides and according to the input state. In either case, a class costs
where for the ball and for the box. The box lies inside the ball to first order. The Cauchy–Schwarz inequality between their support functions explains why the expected count can require more dimensions than reliability. Optimizing the bias produces a separate reduction by assigning more margin to classes with larger extremes.
Results The exact read law gives a common probabilistic reduction (Theorem 3.1). Expected-count thresholds depend on class sizes; reliability depends on Gaussian suprema (Theorems 4.1 and 5.1). The optimized count is a second-order cone program with a converse over all gate-local readouts (Theorem 4.2). For the universal family, the box program has a converse over common representations, even if chosen after observing the reads (Theorem 5.4). Symmetric threshold gates have closed forms (Theorem 6.1). Pairwise conjunction has explicit Gumbel–Poisson windows, tested by exact simulation (Theorem 7.1).
Previous work Superposition explains polysemantic neurons in models of sparse features (Olah et al., 2020; Elhage et al., 2022). Hänni et al. (2024) and Adler and Shavit (2024) study neural computation with superposed hidden activations. Here we ask which Boolean functions a single threshold layer can read from one stored code. Newgas (2025) studies learned universal-AND circuits; Bhagat et al. (2026) distinguish compressed computation from computation in superposition. Garg et al. (2026) distinguish linear storage from threshold accessibility, and
Table 1. Sharp first-order thresholds for pairwise conjunction, with and . Second lines give the limit when . All entries are to first order when .
| Midpoint bias | Optimized bias | |
|---|---|---|
| Count errors, (ball) | ~ | ~ |
| Forbid errors, (box) | ~ | ~ |
Ivanitskiy et al. (2026) analyze feature recovery from superposition. Our comparison with recovery uses the same dictionary, input law and error criterion.
Sharp thresholds also appear in compressed sensing and support recovery (Candès and Tao, 2006; Donoho, 2006; Donoho and Tanner, 2009; Fletcher et al., 2009; Wainwright, 2009). Sparse superposition codes supply the Gaussian conditioning identity used here (Barron and Joseph, 2011; Joseph and Barron, 2014); vector-symbolic architectures also store superposed random vectors (Plate, 1995; Thomas et al., 2021). Different error criteria change capacity constants in associative memories (McEliece et al., 1987). The present geometry identifies that difference for threshold gate families. The proofs use Gaussian concentration and comparison (Borell, 1975; Tsirel'son et al., 1976; Slepian, 1962) and Gaussian extreme-value theory (Leadbetter et al., 1983; Resnick, 1987). The gap between the expected and typical error counts is an annealed–quenched distinction (Derrida, 1981).
2 Model and criteria
Let have independent columns . Independently choose uniformly among the -subsets of . Write , and
The feature read is . Throughout, and ; other restrictions are stated where needed.
Gates and classes A gate is an ordered tuple of distinct features and a nonconstant threshold function . Its target is . A family has common arity and function . Finitely many types can be treated separately. The class of a gate is its input pattern , and contains the gates of that class. With falling factorials and ,
The universal family contains all tuples. Its class sizes are deterministic: . For symmetric gates, unordered subsets change these counts only by constant factors and leave first-order thresholds unchanged.

counting errors: the ball
forbidding errors: the box
Figure 1. Two geometries for the one-active class of pairwise conjunction. Left: independent vectors have the extreme projections of a disc of radius , where . Right: shared active and inactive reads form a grid in . A gate fails beyond the line normal to at distance . The expected count must clear the disc; reliability must clear the rectangle. Here ; points are illustrative.
Readouts and margins Gate outputs . A gate-local rule chooses from its own columns and independent randomness, before drawing the input. Rules may differ between gates. They can use their own column lengths and angles, but cannot use the support or other columns. A canonical rule uses and a common bias . The pair represents when
Write Rep(g) for these representations and for the error direction. Pairwise conjunction with has clean scores 0, 1, 2 and margins .
Error criteria Let X count wrong outputs on a draw of . We study
The first implies the second by Markov’s inequality. The converse can fail: one rare draw can produce many errors. A sharp threshold has a multiplicative transition for every fixed . Below it, failure means for the count and for reliability.
Levels and prices Set
For class , let . Eventually , and for the universal family . Finite-size calculations use and ; .
Definition 2.1 (Ball, box and prices). For a class let and
with support functions and . For define the ball price and the box price
and the optimal values and .
Both prices are invariant under positive rescaling of . The box corners have norm , so the box lies inside the ball to first order for the universal family.
3 The exact read law
All canonical gates use the same read vector . Conditioning on gives an exact law, the noiseless case of the lemmas for sparse superposition codes in Barron and Joseph (2011, Lemma 1) and Joseph and Barron (2014, Lemma 3). By symmetry fix , and write for and for .
Theorem 3.1 (Exact conditional law). Let , and be mutually independent. Write and . Then, jointly in and ,
The identity holds for all .
Proof. Condition on . Gaussian conditioning gives for , where is independent of and jointly Gaussian with . Hence . Given , the vector is centered Gaussian with covariance , which is the covariance of . The inactive columns are independent of , so given the reads are independent variables, independent of the active ones. The conditional law depends on only through , and ; since , this is (8).
The active sample is centered at its own mean and shifted by ; the inactive sample is independent. Both share the scale . Without conditioning on , the reads are not jointly Gaussian: , and for . We use the conditional representation throughout.
Put on and off . A gate of class has score . Let , with . For a fixed representation, the whole network is correct almost surely exactly when every class satisfies , where (proposition B.1). Counting errors instead uses the following marginal law.
Proposition 3.2 (Exact one-gate law). Let . The score of a canonical gate of class has the law of
where and are independent. Consequently with .
The proof is in Appendix B. For pairwise conjunction, gives , . Thus each class error probability is a one-dimensional chi-square integral of a normal tail.
4 Counting errors: the ball
Linearity of expectation removes dependence between gates. At the exponential scale, a class with margin contributes errors. The class size sets the Gaussian tail level.
Theorem 4.1 (Ball law). Let be a gate family of fixed arity with for every , and let be any sequence of representations for the canonical rule. For each fixed ,
Proof sketch. Concentrate in (9) in a window proportional to the margin. This keeps the bound uniform when margins shrink. Gaussian upper tails control every class above the threshold; Mills' lower bound gives divergence in a binding class below it. See Appendix C.
Optimizing the price also gives a converse over all local readouts.
Theorem 4.2 (Weighted margin law). Let be as in Theorem 4.1, and let
Fix . If , the canonical rule with a minimizing representation has . If , every gate-local readout rule satisfies
Proof sketch. Normalize a local probe to unit length. Conditional on its own columns and class z, its interference is . On a high-probability Gram-matrix event, its clean weights have norm at most . The program forces a small margin in some class; a Gaussian lower tail then bounds that gate's error. Summing these marginal bounds needs no independence between errors. Bounded uses a separate two-class argument (Appendix C).
For computation, maximize over with and
Then . This second-order cone program has variables and linear constraints. It maximizes margin relative to class size: a less numerous class can tolerate a smaller margin. Every class remains a constraint.
5 Reliability: the supremum and the box
Reliability depends on the largest interference in each class. Let be independent of , and define
with .
Theorem 5.1 (Supremum law). Let be any gate family of fixed arity , let be fixed, and assume . Define the random threshold
Then for each fixed ,
In particular, when is deterministic it is the sharp reliability threshold among sequences with ; for the universal family Theorem 5.4 removes this restriction.
Proof sketch. The class maximum is in , so Gaussian concentration controls its deviation from (Borell, 1975; Tsirel'son et al., 1976). The terms from and vanish relative to fixed margins when . The two threshold inequalities then give success or failure (Appendix B).
Corollary 5.2 (Counting is the union bound). In the setting of Theorem 5.1, , so
and for the universal family the right side is . If the tuples in are pairwise disjoint and , then : without shared features, the reliability price of the class equals its ball price.
For nonnegative weights, shared features raise covariances and can lower the expected supremum (Sudakov, 1971; Fernique, 1975). Disjoint gates attain the ball price. A family with private partner sets shows when sharing first reduces the price.
Proposition 5.3 (Partial sharing). Consider pairwise gates with , and suppose that on the support the gates of the one-active class are the pairs with and , where the partner sets , are disjoint sets of inactive features. Then, with ,
Equivalently, for , the ball of the class cut by the slab of its shared coordinate.
The maximum is , where is the largest of independent partner reads. For , both coordinates can split the extreme-value budget evenly. For , the active coordinate saturates at and the partner contributes . The expressions agree at ; disjoint partner sets require . The proof is in Appendix D.2.
The universal family Every tuple is available, so the largest class projection is a rearranged sum of extreme feature reads (lemma B.2). Each position contributes its weight magnitude times the level of its active or inactive pool. The finitely many relevant order statistics approximate these levels uniformly over weights. This gives the box law.
Theorem 5.4 (Box law). Let with and .
(i) For every sequence and fixed : if , and if .
(ii) If , then with probability tending to one no common representation makes the canonical network correct: , where is the error count of the rule on the same draw.
(iii) uniformly in .
In particular is the sharp reliability threshold over common representations, and it is attained by any sequence of near-minimizers of .
Proof sketch. On one event of probability tending to one, all upper and lower order statistics needed by any gate are within a factor of their levels. The box identity then gives the support function uniformly over all representations. The common-scale and centering errors are smaller, so correctness reduces to the box-margin inequalities (Appendix D).
The representation in part (ii) may depend on the reads and is shared by all gates. Extending the reliability converse to all gate-local rules is an open problem.
Corollary 5.5 (Counting overprices reliability). For the universal family, every representation and every class,
with equality if and only if is parallel to . Hence and , and the ball price of a class exceeds its box price by the factor .
Mixed active and inactive classes create the gap: their side lengths need not align with the weights.
For pairwise conjunction, the one-active class gives a concrete calculation. Its weights are and its size is , so the ball support is , whereas the box support is . Dividing both by the same margin gives the ratio between the two class prices. This ratio equals one at and tends to two as . The largest inactive read is reused by every active partner. Counting each pair separately charges for opportunities; reliability uses the two shared pools.
Optimizing the box Write
(13)
For fixed , the constraints form a convex polyhedral cone. Introduce , require , and use linear feasibility with bisection on . This computes (proposition B.3). For symmetric threshold gates, permutation averaging makes equal weights optimal in both programs.
6 Threshold gates
For , let . This includes conjunction , disjunction , majority and feature recovery . Equal weights are optimal, leaving only the bias. Set for .
Theorem 6.1 (Threshold gates). Let with and . Only the classes with and active inputs can bind; both bind at the optimized biases, and the class binds at the midpoint. The following are sharp thresholds.
(a) Forbidding errors, optimized: . It is attained by with the half-slack bias , which leaves equal slack to the two binding classes (the levels in place of give the same threshold), and below it no common representation succeeds.
(b) Forbidding errors, midpoint , : .
(c) Counting errors, midpoint: .
(d) Counting errors, optimized: . It is attained by with , and below it every gate-local rule has .
Proof sketch. With equal weights, class has score , box support and ball support . Add the constraints for , to optimize the bias. Classes farther from the boundary gain enough clean margin to stay slack. The converses follow from Theorems 4.2 and 5.4; details are in Appendix E.
At first order, start with the two clean scores beside the decision boundary. They are and , so their margins are and and sum to one. Moving the bias transfers margin from one class to the other. To minimize the largest support-to-margin ratio, assign the margins in proportion to the two supports. For the ball, these are and ; for the box, they are and . Adding the two inequalities gives the dimension, and balancing them gives the bias.
For pairwise conjunction this gives Table 1. The half-slack bias assigns more margin to negative classes because their inactive inputs have larger extremes.
Corollary 6.2 (One point, four limits). If , all four thresholds of Theorem 6.1 equal . If , in units of they tend to , , and . For conjunction these are , so counting overprices reliability by a factor tending to at both biases. For disjunction the midpoint prices and coincide for every .
Corollary 6.3 (Computation versus recovery). For feature recovery the two criteria share the threshold , attained by ; below it the probes fail with every common bias, and every gate-local recovery rule has a diverging expected number of errors. A decoder that recovers every feature by such threshold probes and then applies exact Boolean conjunctions therefore needs this dimension, while direct canonical -way conjunction needs . Their ratio decreases from at to as .
The ratio comes from the readout architecture. A common conjunction bias must separate the smallest active reads from the largest active reads plus one inactive read. It therefore pays for active levels; recovery pays for one. At , recovery needs dimensions and direct pairwise conjunction needs . The midpoint pairwise rule needs for reliability and for the expected count.
Other decoders have different requirements. The Lasso recovers support from about measurements (Wainwright, 2009), and minimization recovers a typical nonnegative sparse vector from about noiseless Gaussian measurements (Donoho and Tanner, 2009). In the skewed regime both match to first order; when , the latter is . The constants here describe one threshold layer reading a fixed random code. Further comparisons, including asymmetric comparator gates, are in Appendix J.
7 The critical window
Near the threshold, a few extreme reads decide success. Their fluctuations have scales and in units of . For pairwise conjunction, define the quantile centers
(14)
and for independent standard Gumbel variables .
Theorem 7.1 (Window profiles). Let be the universal family of pairwise conjunctions, and . Uniformly on compact sets of :
(i) the midpoint rule at has ;
(ii) at , the best deterministic common bias has
where is the distribution function of for independent unit exponentials , and the half-slack bias of Theorem 6.1(a) has .
Proof sketch. The midpoint rule is controlled by the largest active and inactive reads. The optimized bias must also protect the two smallest active reads. Gaussian upper and lower extremes become independent, giving Gumbel variables and the first two points of a unit Poisson process. The bias divides the available slack between these constraints. Common-scale and centering errors vanish in the window units (Appendix F).
The two factors in the optimized profile have separate roles. The one-active negative class is protected when the sum of the largest active read and the largest inactive read stays below the bias; this gives . The positive class is protected when the sum of the two smallest active reads stays above it; this gives . Increasing the bias helps the first event and hurts the second. The variable y allocates the window slack between them. The half-slack rule splits it equally; the supremum chooses the allocation that maximizes the product.
The optimized window is narrower by . The half-slack bias is optimal to first order; a bias tuned to a finite-size success target can improve its limiting profile. The profiles have explicit integral forms:
and with . For , , where is the modified Bessel function; as , . At the centers, the midpoint profile is and the half-slack profile is , with .
At the midpoint, the number of inactive features that cause an error has a mixed Poisson limit. Along its intensity is . Thus , while and . Rare large active reads make many gates fail together. The full argument is retained in Appendix I.
(a) Bias choice

(b) Gate type
(c) Reliability
(d) Mean error count
Figure 2. Bias, gate type and the separation of reliability from expected errors, all at . (a) Three pairwise biases and feature recovery on shared draws at . (b) Four gates with the half-slack bias at . Here , with in (a) and each gate's own in (b). (c,d) The midpoint pairwise rule at , , , normalized by of (14). Points and bands in (a–c): 4096 exact draws per cell and pointwise 95% Wilson intervals. Dashed curves in (c): from Theorem 7.1(i). Panel (d): quadrature of proposition 3.2; dotted lines mark the first-order ball centers.
8 Extensions
Three variations show how the dimension requirement depends on the model: supports chosen from the dictionary, non-Gaussian entries and multilayer computation. The proofs, circuit statements and encoding constructions are in Appendix H.
8.1 Adversarial supports
If the support can depend on the dictionary, the class cloud need not be a product of two samples. An adversary can select columns that align with one probe. The resulting interference grows linearly in , rather than as .
Proposition 8.1 (Uniform correctness). Let and , and use canonical pairwise probes with bias 3/2. There are absolute constants such that the network is correct for every support of size at most with probability tending to one if , and fails on some support of size with probability tending to one if and .
Related bounds for uniform feature recovery appear in (Garg et al., 2026; Ivanitskiy et al., 2026); random and worst-case supports also differ for sparse regression (Candès and Plan, 2009). The detailed comparisons are in Appendix G.
8.2 Other entry laws
The ball uses one-gate tails. For the midpoint pairwise network, their leading exponent is universal. Let the entries of be independent with a fixed centered, unit-variance, sub-Gaussian law, and let be the probability that a midpoint pairwise read with one active input exceeds 3/2.
Theorem 8.2 (Universality of the one-gate exponent). If and , then
with constants depending on the entry law. Consequently the midpoint pairwise network has once .
Exponential tilting of coordinate rows proves the result. Appendix H.2 gives the next term and sparse-entry extensions. The reliability law uses the Gaussian joint identity; its universality remains open.
8.3 Composition and unrestricted encodings
A later layer must store the outputs it reads: pairwise conjunction has active outputs. For a Gaussian stream in which each active output is written once, Theorem H.5 gives the sufficient budget . Here counts reads, is the largest stream activity before a read, and is the smallest squared clean margin of a unit-norm read. The proof applies a union bound to an ideal execution.
Without the linear dictionary, order dimensions suffice for all pairwise conjunctions. In the skewed regime they are also necessary for polynomially many threshold units, by sign-pattern counting (Cover, 1965) (proposition H.6). The coefficients of give a -dimensional nonlinear code, with large coefficients and small normalized margins (Barvinok, 2010, Theorem 15.2) (proposition H.7). Thus the scale describes accessibility from a random linear dictionary.
9 Exact simulations
The exact law samples a network without constructing . Draw , active Gaussians and the few inactive order statistics required by lemma B.2. These order statistics can be sampled exactly by sequential uniform tail draws and transformed by . Each draw costs , independent of and .
Each simulation point uses 4096 independent draws and pointwise 95% Wilson intervals. Expected counts use quadrature of proposition 3.2 with exact unordered class sizes: rare draws can dominate the mean. The protocol and complete results are in Appendices J and L.
Bias and gate type At , and , the half-slack pairwise rule (Figure 2(a)) succeeds on 3984 of 4096 draws. The count-optimal bias succeeds on 3912, and the midpoint on 2. At the quantile center, the half-slack success frequencies for are 0.143, 0.139, 0.155; the predicted limits are 0.155, 0.154, 0.154. For , , and at , the transitions cluster near their box centers (Figure 2(b)). At , success is at most 3.8% at ratio 0.9 and between 82.7% and 97.9% at 1.2. The curves steepen as grows (Figure J.3).
Separation of the criteria Fix and use the midpoint pairwise rule at (Figure 2(c,d)). At the quantile box center, success frequencies 0.295, 0.324, 0.340 agree with profile values 0.298, 0.326, 0.346. The expected count crosses one at about 1.23, 1.45, 1.67 times , tracking the first-order ball positions 1.11, 1.36, 1.60. At and , all 4096 draws are correct, yet quadrature gives . Here the network is correct on every sampled draw while its expected error count remains large. The exact sampler reaches these dictionary sizes by sampling extremes rather than constructing the dictionary.
10 Discussion
Expected error counts use marginal tails and give a ball. Joint reliability uses shared reads through a Gaussian supremum; for the universal family, its geometry is a box.
The converse for reliability leaves a question about the readout class: can gate-local probes adapted to their own Gram matrices improve on common representations? Structured gate families raise a related geometric problem. The disjoint and partial-sharing examples suggest looking for sharp supremum constants; generic chaining gives the order (Talagrand, 2014), while a variational description may resemble the generalized random energy model (Derrida, 1985). Reliability for non-Gaussian, correlated or learned dictionaries is another question. For general gates, a window law would require the relevant extreme order statistics. For circuits, a box law would also need to track the dependence created by earlier writes; the present composition bound controls reads by a union bound.
AI Use Statement
The original research ideas and initial manuscript draft were developed by the authors. AI tools were used to assist with checking mathematical details and the correctness of arguments, filling in routine proof steps, coding assistance, and language polishing. The authors take full responsibility for the content and correctness of the final manuscript.
References
Micah Adler and Nir Shavit. On the complexity of neural computation in superposition. arXiv:2409.15318, 2024. URL https://arxiv.org/abs/2409.15318.
Richard Arratia, Larry Goldstein, and Louis Gordon. Two moments suffice for Poisson approximations: The Chen–Stein method. The Annals of Probability, 17(1):9–25, 1989. doi: 10.1214/aop/1176991491.
A. D. Barbour, Lars Holst, and Svante Janson. Poisson Approximation, volume 2 of Oxford Studies in Probability. Oxford University Press, Oxford, 1992. doi: 10.1093/oso/9780198522355.001.0001.
Andrew R. Barron and Antony Joseph. Analysis of fast sparse superposition codes. In 2011 IEEE International Symposium on Information Theory Proceedings, pages 1772–1776, 2011. doi: 10.1109/ISIT.2011.6033853.
Alexander Barvinok. MATH 669: Combinatorics of polytopes, 2010. URL https://sites.lsa.umich.edu/barvinok/wp-content/uploads/sites/1434/2025/05/polynotes669.pdf. Winter 2010 lecture notes, University of Michigan, Theorem 15.2.
Jai Bhagat, Sara Molas-Medina, Giorgi Giglemiani, and Stefan Heimersheim. Compressed computation is (probably) not computation in superposition. arXiv:2606.14673, 2026. URL https://arxiv.org/abs/2606.14673.
Christer Borell. The Brunn–Minkowski inequality in Gauss space. Inventions Mathematicae, 30(2): 207–216, 1975. doi: 10.1007/BF01425510.
Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press, Oxford, 2013. doi: 10.1093/acprof:oso/9780199535255.001.0001.
R. Creighton Buck. Partition of space. The American Mathematical Monthly, 50(9):541–544, 1943. doi:10.1080/00029890.1943.11991447.
Emmanuel J. Candès and Yaniv Plan. Near-ideal model selection by minimization. The Annals of Statistics, 37(5A):2145–2177, 2009. doi: 10.1214/08-AOS653.
Emmanuel J. Candès and Terence Tao. Near-optimal signal recovery from random projections: Universal encoding strategies? IEEE Transactions on Information Theory, 52(12):5406–5425, 2006. doi: 10.1109/TIT.2006.885507.
Thomas M. Cover. Geometrical and statistical properties of systems of linear inequalities with applications in pattern recognition. IEEE Transactions on Electronic Computers, EC-14(3):326–334, 1965. doi: 10.1109/PGEC.1965.264137.
Bernard Derrida. Random-energy model: An exactly solvable model of disordered systems. Physical Review B, 24(5):2613–2626, 1981. doi: 10.1103/PhysRevB.24.2613.
Bernard Derrida. A generalization of the Random Energy Model which includes correlations between energies. Journal de Physique Lettres, 46(9):401–407, 1985. doi: 10.1051/jphyslet:01985004609040100.
David L. Donoho. Compressed sensing. IEEE Transactions on Information Theory, 52(4):1289–1306, 2006. doi: 10.1109/TIT.2006.871582.
David L. Donoho and Jared Tanner. Counting faces of randomly projected polytopes when the projection radically lowers dimension. Journal of the American Mathematical Society, 22(1):1–53, 2009. doi:10.1090/S0894-0347-08-00600-0.
Hanna Döring, Sabine Jansen, and Kristina Schubert. The method of cumulants for the normal approximation. Probability Surveys, 19:185–270, 2022. doi: 10.1214/22-PS7. arXiv:2102.01459.
Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, and Christopher Olah. Toy models of superposition. Transformer Circuits Thread (Anthropic), 2022. URL https://transformer-circuits.pub/2022/toy_model/index.html. arXiv:2209.10652.
William S. Evans and Leonard J. Schulman. Signal propagation and noisy circuits. IEEE Transactions on Information Theory, 45(7):2367–2373, 1999. doi: 10.1109/18.796377.
Xavier Fernique. Régularité des trajectoires des fonctions aléatoires gaussiennes. In École d'Été de Probabilités de Saint-Flour IV—1974, volume 480 of Lecture Notes in Mathematics, pages 1–96. Springer, Berlin, 1975. doi: 10.1007/BFb0080190.
Alyson K. Fletcher, Sundeep Rangan, and Vivek K. Goyal. Necessary and sufficient conditions for sparsity pattern recovery. IEEE Transactions on Information Theory, 55(12):5758–5772, 2009. doi:10.1109/TIT.2009.2032726.
Nikhil Garg, Jon Kleinberg, and Kenny Peng. How many features can a language model store under the linear representation hypothesis? In Steve Hanneke and Tor Lattimore, editors, Proceedings of Thirty Ninth Conference on Learning Theory, volume 336 of Proceedings of Machine Learning Research, pages 5358–5376. PMLR, 2026. URL https://proceedings.mlr.press/v336/garg26a.html.
Kaarel Hänni, Jake Mendel, Dmitry Vaintrob, and Lawrence Chan. Mathematical models of computation in superposition. ICML 2024 Mechanistic Interpretability Workshop; arXiv:2408.05451, 2024. URL https://arxiv.org/abs/2408.05451.
Johan Håstad. On the size of weights for threshold gates. SIAM Journal on Discrete Mathematics, 7(3): 484–492, 1994. doi: 10.1137/S0895480192235878.
Michael I. Ivanitskiy, John Jasper, Emily J. King, and Dustin G. Mixon. Towards a mathematical theory of superposition. arXiv:2608.27540, 2026. URL https://arxiv.org/abs/2608.27540.
Antony Joseph and Andrew R. Barron. Fast sparse superposition codes have near exponential error probability for . IEEE Transactions on Information Theory, 60(2):919–942, 2014. doi:10.1109/TIT.2013.2289865.
Béatrice Laurent and Pascal Massart. Adaptive estimation of a quadratic functional by model selection. The Annals of Statistics, 28(5):1302–1338, 2000. doi: 10.1214/aos/1015957395.
M. R. Leadbetter, Georg Lindgren, and Holger Rootzén. Extremes and Related Properties of Random Sequences and Processes. Springer Series in Statistics. Springer-Verlag, New York, 1983. doi: 10.1007/978-1-4612-5449-2.
Robert J. McEliece, Edward C. Posner, Eugene R. Rodemich, and Santosh S. Venkatesh. The capacity of the Hopfield associative memory. IEEE Transactions on Information Theory, 33(4):461–482, 1987. doi:10.1109/TIT.1987.1057328.
Saburo Muroga. Threshold Logic and Its Applications. Wiley-Interscience, New York, 1971. ISBN 978-0-471-62530-8.
Adam Newgas. Compressed computation: Dense circuits in a toy model of the universal-AND problem. arXiv:2507.09816, 2025. URL https://arxiv.org/abs/2507.09816.
Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and Shan Carter. Zoom in: An introduction to circuits. Distill, 5(3), 2020. doi: 10.23915/distill.00024.001.
Valentin V. Petrov. Sums of Independent Random Variables, volume 82 of Ergebnisse der Mathematik und ihrer Grenzgebiete. Springer-Verlag, Berlin, 1975. doi: 10.1007/978-3-642-65809-9.
Tony A. Plate. Holographic reduced representations. IEEE Transactions on Neural Networks, 6(3):623–641, 1995. doi: 10.1109/72.377968.
Sidney I. Resnick. Extreme Values, Regular Variation, and Point Processes, volume 4 of Applied Probability. Springer-Verlag, New York, 1987.
Dai Shi, Xiaoyu Li, Andi Han, and José Miguel Hernández-Lobato. Feature superposition in neural networks: From theory to practice. arXiv:2609.06862, 2026. URL https://arxiv.org/abs/2609.06862.
David Slepian. The one-sided barrier problem for Gaussian noise. Bell System Technical Journal, 41(2): 463–501, 1962. doi: 10.1002/j.1538-7305.1962.tb02419.x.
Vladimir N. Sudakov. Gaussian random processes and measures of solid angles in Hilbert space. Soviet Mathematics Doklady, 12:412–415, 1971.
Michel Talagrand. Upper and Lower Bounds for Stochastic Processes: Modern Methods and Classical Problems, volume 60 of Ergebnisse der Mathematik und ihrer Grenzgebiete. 3. Folge. Springer, Berlin, 2014. doi:10.1007/978-3-642-54075-2.
Anthony Thomas, Sanjoy Dasgupta, and Tajana Rosing. A theoretical perspective on hyperdimensional computing. Journal of Artificial Intelligence Research, 72:215–249, 2021. doi: 10.1613/jair.1.12664.
Boris S. Tsirel'son, Ildar A. Ibragimov, and Vladimir N. Sudakov. Norms of Gaussian sample functions. In Proceedings of the Third Japan–USSR Symposium on Probability Theory, volume 550 of Lecture Notes in Mathematics, pages 20–41. Springer, Berlin, 1976. doi: 10.1007/BFb0077482.
Roman Vershynin. High-Dimensional Probability: An Introduction with Applications in Data Science. Cambridge University Press, Cambridge, 2018. doi: 10.1017/9781108231596.
John von Neumann. Probabilistic logics and the synthesis of reliable organisms from unreliable components. In Claude E. Shannon and John McCarthy, editors, Automata Studies, number 34 in Annals of Mathematics Studies, pages 43–98. Princeton University Press, 1956. doi: 10.1515/9781400882618-003.
Martin J. Wainwright. Sharp thresholds for high-dimensional and noisy sparsity recovery using -constrained quadratic programming (Lasso). IEEE Transactions on Information Theory, 55(5):2183–2202, 2009. doi: 10.1109/TIT.2009.2016018.
Robert O. Winder. Partitions of N-space by hyperplanes. SIAM Journal on Applied Mathematics, 14(4): 811–818, 1966. doi: 10.1137/0114068.
Appendix
The Ball and the Box
A Guide to the appendix
The article keeps the main threshold statements and the proof of the exact read law. The appendix gives the read-vector reductions, the supremum proof, the box identity and its optimization program (Appendix B); the remaining ball, box, gate and window proofs (Appendices C to F); and the full extensions of the model (Appendices G and H). Additional window formulas, comparisons and experimental results are in Appendices I and J. Appendix K records finite computational checks; Appendix L gives the frozen experimental protocol. Appendix M turns the thresholds into design rules for width, capacity, sizing and evaluation, and states open problems. The notation table and dependency map provide a reading guide.

Figure A.1. Dependency map. An arrow points from a result to one that builds on it. Blue: expected errors (the ball); orange: reliability (the supremum and the box); grey: the exact law and its reduction. Small italic text names the classical tool each proof adds.
Table A.1. Notation.
| Symbol | Meaning |
| dictionary, independent columns | |
| active set (uniform -subset), input, sparsity, number of inactive features | |
| stored vector and feature reads; (inactive reads) | |
| , independent Gaussian samples of sizes and , (Theorem 3.1) | |
| deterministic interference scale | |
| on and off ; interference vector of a tuple | |
| gate (tuple and threshold function), arity, gate family, universal family | |
| class (input pattern), gates of class , expected class size (3) | |
| weights and common bias of the canonical rule; representations of | |
| class margin (4); error direction | |
| number of wrong outputs | |
| levels , their vector for class , ratio | |
| ball radius of class ; in Section 6 for classes with active inputs | |
| ball and box of Definition 2.1; support function of a set | |
| ball and box prices (7) and their optimal values | |
| expected supremum of the class process (12); reliability threshold of Theorem 5.1 | |
| threshold gate firing when at least of inputs are active | |
| quantile levels and | |
| window profiles of Theorem 7.1 | |
| standard Gumbel and unit exponential variables of Theorem 7.1 | |
| number of partners, partner set and level of proposition 5.3 | |
| number of reads, stream activity and margin rate of Theorem H.5 |
B Read-vector reductions and the supremum
The following statements and proofs give the reductions used in Sections 3 and 5.
B.1 Reliability as a support function
Proposition B.1 (Reliability as a support function). For the canonical rule with and any gate family, let and
with . For every realization, , and for a fixed representation the two outer events differ by an event of probability zero.
Proof. A gate of class is correct when , that is, when , and it may also be correct when its score equals ; this gives the two inclusions. For a fixed representation such ties have probability zero: given the score is Gaussian, and when its conditional variance vanishes the score equals , which has a density if and equals otherwise, because . Take the maximum over the class and intersect over the finitely many classes.
B.2 Proof of the exact one-gate law
Proof. The coordinates of are independent pairs of centered Gaussians with variances and and covariance . Hence with independent of , and . Given , the last term is centered Gaussian with variance . Put . The formula for is linearity of expectation over gates, each gate contributing its class error probability with weight .
B.3 Proof of the supremum law
Proof. Work on the representation of Theorem 3.1 and let collect on and off ; it is and independent of . For a tuple of class , , so with . The map is -Lipschitz, because the coordinates of are distinct coordinates of . By Gaussian concentration (Borell, 1975; Tsirel'son et al., 1976),
Moreover and with . Because is fixed and , every margin satisfies . Choose with and slowly, so that with probability tending to one , and, by (B.1), for all .
On every class has , and then
for all large , because and . On some class has , so and (B.1) with gives with probability tending to one. For this class
since . There are classes, so both statements follow.
B.4 The box identity
For the universal family the maximizing tuple can be written down. Group the positions of a class-z gate by the pool they draw from for the active features, for the inactive ones) and by the sign of their weight in the direction .
Lemma B.2 (Box identity). Let and assume that each pool has at least as many features as the class has positions with . For every , , and ,
where and count the positions with and , respectively , are their absolute weights in decreasing order, and are the values , in pool , in decreasing order.
Proof. For any admissible tuple, split into the four groups. Within a group the features are distinct members of one pool, so by the rearrangement inequality the group sum is at most the displayed sum of products of decreasing weights with decreasing values of . The bound is attained by placing, in each pool, the largest values on the positions with and the smallest on those with ; these features are distinct because the pool has at least elements, which is the assumption.
Each group sum involves at most extreme order statistics of one Gaussian sample, and each of these is . Hence the maximal projection of the class is to first order: the cloud fills the box. Because the relative error comes from finitely many order statistics that do not depend on , the approximation is uniform over all representations at once.
B.5 Computing the box program
Proposition B.3 (Computing the box). For each the set of with for all is a convex polyhedral cone, so is the largest for which this cone contains a point with for all ; after introducing this is a linear feasibility problem, and is found by bisection. If is symmetric, both and are attained at when is nondecreasing, as for , and at when is nonincreasing; every symmetric threshold function is one of the two.
Proof. Each constraint says that a linear function minus times a convex piecewise-linear function is nonnegative, which defines a convex polyhedral set; homogeneity makes it a cone. If is symmetric, permuting the coordinates of permutes the classes and preserves the constraint system of both programs, so averaging a feasible point over all permutations gives a feasible point with equal weights. Its margins are averages of margins over permutation orbits, hence positive, so its common weight is nonzero, with if is nondecreasing and if is nonincreasing; rescale to .
B.6 Partial sharing
For nonnegative weights, two gates of the same class that share a feature have positively correlated interference, and every additional shared feature raises the correlation. By the
Sudakov–Fernique inequality (Sudakov, 1971; Fernique, 1975) the expected supremum of a class can only fall below that of independent gates with the same variances, which is the ball. The universal family is the opposite extreme to disjoint gates: every tuple of features is a gate, and the supremum splits into a sum of independent maxima, one for each position. Between the two extremes the supremum depends on how much sharing there is, and a simple family already shows where the supremum leaves the ball.
The partial-sharing statement is given in proposition 5.3.
Proof sketch (details in Appendix D.2). The class supremum is with , a maximum of independent copies of a Gaussian plus a maximum of Gaussians. When , many active features have moderately large reads, and among them one finds a partner with an equally large read: the two coordinates split the budget evenly, as in the ball. When the shared coordinate saturates at and the partner adds .
Sharing therefore lowers the price of a class only once every active feature has more partners than there are active features. The two formulas agree at . Disjoint partner sets require ; continued formally to , where partner sets overlap as in the universal family, the second formula becomes the box value of Theorem 5.4(iii). Partner sets drawn at random, as in a random regular graph of gates, satisfy the disjointness hypothesis with probability tending to one when .
C Proofs for the ball
Throughout, is the standard normal tail, and we use the two Mills bounds
and the chi-square bounds of Laurent and Massart (2000): for and ,
For a representation of , the bias lies strictly between the largest rejected and the smallest accepted clean value, and every clean value has modulus at most ; hence
C.1 Proof of Theorem 4.1
Fix a class and abbreviate , and . Since , we have . By proposition 3.2 and , a gate of class errs exactly when with independent of , so
It suffices to prove each claim along a subsequence of an arbitrary subsequence.
Upper bound. Let , so that for every . Put , which is at most by (C.3). On we have and , so the argument of in (C.4) is at least
By (C.1) this part contributes at most for large . By (C.2) the complement has probability at most
Hence for every class, and because there are classes.
Lower bound. Let and pass to a subsequence along which one class attains the maximum in ; then . Pass to a further subsequence along which either or stays bounded.
If , put . By (C.3), , and , so . On this event and , so the argument of is at most , with . The lower Mills bound gives , and .
If stays bounded, consider first subsequences with . By Chebyshev's inequality ; on this event and for , so the argument of is at most , which is bounded. Hence is bounded below and . If instead stays bounded, then is bounded below, and on that event the argument of is at most by (C.3); again is bounded below. In every case .
C.2 Proof of Theorem 4.2
The program. Write . A fixed nonconstant threshold function has a representation with positive margins, which gives . Conversely, by (C.3) every representation with has margins at most , so ; thus . In the cone form (11) the bias may be restricted to and to a bounded interval, so the feasible set is compact and the maximum is attained; at a maximizer all margins are positive. This minimizer of (10) has , and the first claim is Theorem 4.1.
Converse. Fix a gate with tuple and condition on and on the independent randomness of its rule; these determine . Write for the probability that has class , which is the same for every gate of the family. If the output is constant and the gate errs with probability at least . Otherwise rescale so that , which does not change the output, and put . Given the class , the set is a uniform -subset of the other features, whose columns are independent of and ; hence the score is with given , and the class. Only the marginal law of the class of one gate enters, so no exchangeability of the rules and no independence between gates is needed.
Pass to subsequences along which either or stays bounded, and consider first . Let and let . Gram concentration for a fixed number of Gaussian columns (Vershynin, 2018, Theorem 4.6.1) gives . On , ; put , so .
If does not represent , some class has , and since is symmetric the gate errs in that class with conditional probability at least ; its error probability is at least . Otherwise, by the definition of some class has , hence . For the squared margin-to-noise ratio of this class is
uniformly in the rule and in the class. By (C.1) its conditional error probability is at least (and at least a constant if the ratio stays bounded), so the gate errs with probability at least . In both cases, on ,
Integrating over , whose probability tends to one uniformly in when , and summing over the gates gives . No event simultaneous over all gates is used.
It remains to treat subsequences along which stays bounded. Let ; since , Markov's inequality gives . Because is nonconstant, some edge of the cube joins a class with to a class with , differing in one position . With and , on we have . Put . If , class errs with conditional probability . If , class errs when its noise exceeds , which has probability at least . Hence each gate errs with probability at least , and .
Remark C.1 (Adapting to the local Gram matrix). A gate-local rule may use the dual frame , whose clean weights equal exactly. By Theorem 4.2 this cannot lower the first-order expected-error threshold below , and by Theorem 4.1 the canonical rule already attains it: the Gram fluctuations of a canonical probe are absorbed exactly by the chi-square variable of proposition 3.2.
D Proofs for the box
D.1 Extremes of a Gaussian sample
Lemma D.1. Let be independent standard Gaussians, , and fix . The largest values divided by converge to 1 in probability, and so do the smallest values divided by . Their expectations, divided by , also converge to 1.
Proof. Fix and put . By (C.1), , so by a union bound no value exceeds with probability tending to one. Also , so the number of values above is binomial with a diverging mean and is at least with probability tending to one. Apply the same argument to . For the expectations, each of these order statistics is at most in modulus, and by the maximal inequality (Boucheron et al., 2013, Section 2.5) and the Gaussian Poincaré inequality for the 1-Lipschitz function ; so the ratios are bounded in and hence uniformly integrable.
D.2 Proof of proposition 5.3
Let be the value claimed in the proposition, that is, if and if . In both cases . Since and has the law of , we may take ; the class supremum is then with and , and ; the variables , are independent, and each is the maximum of independent standard Gaussians. For and put
The exponent. On , , and on , . Hence if and if . If then and ; if then and . So in both cases. For , substituting and using gives , hence . Maximizing over the set of proposition 5.3 gives the same two cases, so .
Upper bound. Fix , let , and . If , then and , or and for some , or . With and for , and ,
because and . Both terms tend to zero, so .
Lower bound. If , let maximize . By lemma D.1, with probability tending to one, and is independent of and at least with probability tending to one because ; hence . If , let and let count the with and , a binomial variable with success probability . Since , and ,
so , and on , .
Expectations. , the second maximum over the kD partner reads, so the bound in the proof of lemma D.1 gives . By Cauchy-Schwarz, and are at most times the square roots of and , which tend to zero. Hence for every .
D.3 Proof of Theorem 5.4
Work in the representation of Theorem 3.1 and let collect Z on S and W off S. By proposition B.1, for every realization and every representation the strict criterion
where , implies , and implies (D.1) with < replaced by . The success statements use the first implication and the failure statements only the second, so no almost-sure qualification over the uncountably many representations is needed. By lemma B.2 applied to and , is a sum over the positions of times one of the largest values of or of in the pool of that position, the values being assigned by rearrangement. Both pools have at least elements for large , so lemma B.2 applies to every class.
Fix and let be the event on which (i) the largest and the smallest values of lie within a factor of , and those of within a factor of ; (ii) ; (iii) ; and (iv) . By lemma D.1, (i) and (ii) hold with probability tending to one. For (iii), Chebyshev's inequality gives , for every . Condition (iv) holds with probability tending to one when ; we return to bounded at the end.
On , for every and every class, (i) gives . Since eventually, , so by (ii) and by (iii) . With (iv), the non-strict form of (D.1) implies for all , and it is implied by for all , since then the left side is at most and the right side at least . These two implications hold simultaneously for all representations, because does not depend on .
(i) If , every class has , which exceeds once is small; so on . Here (see below), so (iv) is available. If , some class has , so on .
(ii) If , every representation has , so the previous argument applies to all of them at once on .
(iii) By lemma B.2, is a combination of expectations of the largest values of in the two pools with coefficients , and lemma D.1 gives uniformly in . Small dimensions. Because is nonconstant, some edge of the cube joins a class with to a class with ; they differ in one position , so and . Since for every class, the first identity gives
for every representation; in particular in the first half of (i). Adding the two non-strict criteria for and shows that success requires , with . On the event (i)–(ii), , so success requires . Along subsequences with bounded this has probability tending to zero, simultaneously for all representations, which completes the failure statements in (i) and (ii) without (iv).
Remark D.2 (What the converse covers). The event does not depend on , and on it every common representation fails. The converse in Theorem 5.4(ii) therefore covers any common representation, including one chosen after observing and , for instance the sample-adaptive bias recorded as an oracle in Appendix L. It does not cover rules in which different gates use different weights; for those, Theorem 4.2 bounds only the expected count from below, and no lower bound on their reliability threshold is known.
E Proofs for threshold gates
E.1 Proof of Theorem 6.1
By proposition B.3 it suffices, for the optimized thresholds, to consider ; for the midpoint thresholds by definition. With , all classes with active inputs have clean score , box support and ball support with , where . A bias represents if and only if , and then the margins are for and for . Since , both and decrease in . Only the classes and bind. For with , and , so . For , and , so . Since and , the first maximum is : the classes below never exceed the ratio of class . For the ball the same argument uses , so because ; the classes above satisfy . These strict factors absorb the difference between and .
(a) Equalizing gives and the common value ; any other bias increases one of the two ratios. Hence exactly. For the half-slack bias put ; one checks . If , then , so both binding classes, and by the first step all classes, satisfy for some and all large ; that is, , and Theorem 5.4(i) applies. The same argument applies with in place of . The converse is Theorem 5.4(ii).
(b) At both binding margins equal and , so , and Theorem 5.4(i) gives the threshold.
(c) At the midpoint the binding ball ratio is , so and Theorem 4.1 gives the threshold.
(d) Equalizing gives and . Theorem 4.1 at this bias and Theorem 4.2 give achievability and the gate-local converse.
For every equals and every equals , which gives the first statement of corollary 6.2; dividing (a)–(d) by and letting gives the second. For corollary 6.3, gives , and the ratio has derivative of the sign of in .
E.2 Unweighted margins of symmetric gates
For a representation write and , the unweighted margin rate; its supremum over representations is the price of when all classes are equally numerous. For , the representation , has and . It is optimal: for each position choose a pattern of weight that excludes ; turning on changes the output, so , and . Thus conjunction, disjunction and majority have the same unweighted rate ; their weighted prices differ because their class sizes differ.
E.3 Comparators
The comparator at threshold is . Its unweighted rate depends on , because selects a Boolean function and different functions have different best representations.
Binary weights realize every threshold. With , . The subset sums of distinct powers of two are all integers , so the bias has , and
This is the rate of a representation, not of the gate: the dictator is the function of one input, with , and for the hardest thresholds the best representation is not binary.
The hardest thresholds have Fibonacci weights. Let and . The alternating threshold and its Boolean dual attain
The representation has minimum margin one and . The following induction proves its optimality and that no other comparator threshold has a smaller optimal rate.
Every comparator has a bounded Fibonacci representation. Trailing zero bits of make the lowest inputs irrelevant, so assume the lowest bit of is one. Starting from the least significant one bit, the comparator is a nested monotone chain , , where is AND for a one bit of and OR for a zero bit. Let be the minimum accepted weighted sum of the prefix, the maximum rejected sum, and the sum of the prefix weights; maintain and write , . Start with , . An AND step sets , after which and ; an OR step sets , after which and . These identities follow from the two values of : AND has and
, and OR has and . In the coordinates , each step is or , and the new weight is the unchanged coordinate. By induction the two sorted coordinates after steps are at most ; before the th weight is assigned there have been updates, so that weight is at most . The bias has margin , giving rate at least for every threshold; discarded irrelevant inputs only decrease the norm.
No representation beats the alternating chain. Take any representation of an alternating chain with minimum margin . Every input is essential and monotone, so fixing the other inputs across an output-changing edge shows that its weight is at least . Fixing the higher inputs to their pass-through values, each prefix inherits a separating threshold with gap at least . With as above, an AND step forces and while ; an OR step forces and while . Let be the driver or used at step . Alternation gives , and for , and simultaneous induction yields and . Hence , which is the reverse bound in (E.2). The binary rate is therefore only achievable, and it overstates the dimension cost of the hardest comparators by a factor ; the base is the square of the golden ratio.
These constructions belong to the classical theme of weight geometry in threshold logic (Muroga, 1971; Håstad, 1994); here they show that for an asymmetric gate the choice of representation, not only of the bias, enters the price. Exhaustive finite checks are recorded in Appendix K.
F The critical window
Throughout this section is the universal family of pairwise conjunctions, , and . We use the representation of Theorem 3.1, write for the centered active reads, and use the quantile levels and with . By Mills' ratio, as ; applied to and this gives and .
F.1 Normalization
For independent standard Gaussians, Mills' ratio gives the classical normalization of maxima (Leadbetter et al., 1983):
so and , independent standard Gumbel variables. On either window of Theorem 7.1, , and the exact representation contributes only negligible perturbations in units of :
The centers (14) use the scale of the Gaussian part of a read; using the variance of an active read instead changes them by in these units. Since
, all these errors vanish without any restriction on , even when .
F.2 The midpoint profile
The one-active class succeeds when , that is, when
At with , the right side equals by (F.1). Multiplying the slack by , the success event of this class becomes
For its probability tends to ; for the second fluctuation vanishes and the limit is the Gumbel distribution function. The convergence is uniform on compact -intervals, because the limits are continuous and the errors in (F.1) do not depend on .
The two other classes do not enter. The smallest both-active score is , while the midpoint balance is ; so the extra slack of this class, in units of , is of order , which tends to infinity because when , and trivially otherwise. The largest zero-active score is . This proves Theorem 7.1(i).
The change of variables gives . At the identity gives the Bessel form, dominated convergence gives the Gumbel limit as , and minimizing shows as for fixed .
F.3 Conditional firing counts
Given the active columns, the inactive reads are independent variables. Let be the number of inactive features that form at least one wrong one-active gate at the midpoint. Then, with ,
An inactive feature can create several gate errors, so and in general .
Proposition F.1 (Poisson approximation). Along window sequences with and ,
and .
Proof. The bound is the binomial–Poisson estimate of Le Cam type (Arratia et al., 1989; Barbour et al., 1992). By the computation of the previous subsection, , so . Since is tight and , in probability, and bounded convergence gives the limit of the expectation.
The limit intensity has infinite mean for , which is the statement used at the end of Section 7.
F.4 Two-sided extremes
Standardize the active extremes by : let , and let the two smallest be and with .
Lemma F.2 (Asymptotic independence of the two tails). Jointly, , where is standard Gumbel, are unit exponentials, and the three are independent; are the first two points of a unit Poisson process. In particular , whose distribution function is
with right tail as .
Proof. For the independent Gaussians of Theorem 3.1, partition the upper and lower tails into finitely many disjoint extreme-level intervals. An observation belongs to at most one interval, and the interval probabilities are by Mills' ratio. The joint probability generating function of the counts is , so the upper and lower point processes converge jointly to independent Poisson processes with intensity . Their first upper point and first two lower points have the stated laws. The perturbations (F.1) are on both extreme scales, so the convergence transfers to , and uniformly on bounded -intervals. Conditionally on , the event has probability for and one otherwise, which integrates to (F.2). Finally ; the first three terms are , and splitting the integral at shows that it is . Finite-sample upper and lower extremes can be dependent; only their limits are independent.
F.5 The optimal common bias
At the optimal bias two classes bind, and their extremes come from opposite tails of the same active sample; lemma F.2 decouples them.
Proof of Theorem 7.1(ii). Use the slack coordinates
for the one-active and both-active classes. For bounded , lemma F.2 and the previous subsections give the joint success limit : the upper active extreme and the bottom pair are independent in the limit, and the inactive sample is independent of both. Their total slack is at . The zero-active class is negligible by lemma F.3. Maximizing over the deterministic bias is therefore the optimization over . To pass the supremum through the limit, first restrict to a compact interval: if the one-active class fails with probability tending to one, and if with bounded total slack the both-active class does. Tightness of the limiting extremes makes these bounds uniform, and on compact intervals the continuous joint distribution functions converge uniformly.
Lemma F.3 (The zero-active class stays slack). On the optimal window, for biases with bounded slack coordinates, , where are the two largest inactive reads.
Proof. At the center, and , so uniformly on compact windows. The two largest inactive reads sum to . The gap is of order in units of , also when .
The half-slack bias of Theorem 6.1(a) is , which gives and hence ; this need not equal the supremum. With in place of the split becomes , which tends to when ; that bias has the same first-order threshold but not this profile. The optimal window is narrower than the midpoint window by for every . The profile concerns a deterministic common bias; it does not optimize gate-specific weights, and it does not determine the law of the full count , which would require the number of active features attached to each firing inactive feature.
G Extensions of the model
The box law has three ingredients: the support is random and independent of the dictionary, the dictionary is Gaussian, and one layer of gates reads a stored input. We change each in turn, and then drop the linear dictionary altogether. Proofs and the precise statements of Section 8.3 are in Appendix H.
G.1 Adversarial supports
If the support may be chosen after the dictionary, the cloud of a class is no longer a product of two samples: an adversary can place inactive columns that all align with one probe, and the interference grows linearly in instead of as .
The statement is in proposition 8.1.
For recovery by one threshold layer, Garg et al. (2026, Theorem 12) prove the analogous bound for arbitrary linear encoders when , and for Gaussian dictionaries Ivanitskiy et al. (2026, Theorem 8 and Proposition 6) place the largest sparsity that is recoverable on every support between the orders and . The factor between typical and uniform correctness is the price of letting the support depend on the dictionary; random and worst-case supports differ in the same way for sparse regression (Candès and Plan, 2009).
G.2 Other entry laws
The ball needs only one-gate tails, and for the midpoint pairwise network these are universal. Let the entries of be independent with a fixed centered, unit-variance, sub-Gaussian law, and let be the probability that a midpoint pairwise read with one active input exceeds 3/2.
The statement is in Theorem 8.2.
The proof tilts independent coordinate rows exponentially. Appendix H.2 also computes the next term, with , in which the entry law enters through its skewness and excess kurtosis, and treats sparse Rademacher entries. The theorem concerns the midpoint pairwise network. The box is different: it rests on the exact joint law of Theorem 3.1, which has no counterpart for general entries, and whether the reliability threshold is universal is open (Section 10).
G.3 Composition and unrestricted encodings
Writing outputs for a later layer costs dimensions of its own: pairwise conjunction has active outputs. For feedforward threshold circuits in which every wire has its own Gaussian direction and every active output is written once into a shared stream, Theorem H.5 shows that suffices, where is the number of reads, the largest number of active directions in the stream before a read and the smallest squared clean margin of a unit-norm read. Its proof is a union bound over an ideal execution, that is, a ball argument. Without the linear dictionary, order dimensions suffice for all pairwise conjunctions and, when , are necessary for polynomially many threshold units: counting sign patterns (Cover, 1965) gives for units correct on a fraction of supports (proposition H.6), and the coefficients of , the polynomial behind the neighborliness of cyclic polytopes (Barvinok, 2010, Theorem 15.2), form a 2k-dimensional code with large coefficients and small normalized margins (proposition H.7). The scale of this paper therefore belongs to accessible computation from a random linear dictionary rather than to the task itself.
H Statements and proofs for Section 8
H.1 Uniform correctness
Proof of proposition 8.1. For the upper bound, chi-square tail bounds and a union bound give with probability tending to one for fixed small , since . Conditionally on one column and its norm bound, the inner product with another column is Gaussian, so a second union bound gives . For any support of size at most , the score of any gate differs from its clean value 0, 1 or 2 by at most . Choosing and then large makes this less than on one dictionary event that controls every support and every gate.
For the lower bound fix the gate (1,2) and let . As , and in probability. Conditionally on these two columns, the alignments , are independent variables. At the level in standard units, Mills' bound makes the expected number of exceedances among the alignments much larger than , and Chernoff's inequality makes fewer than exceedances unlikely. Let the support consist of feature 1 and the best aligned features other than feature 2. The gate (1,2) then has one active input and score at least
Since , a sufficiently small makes this exceed with probability tending to one when . The support is allowed to depend on the dictionary because the claim is uniform over supports.
The upper bound is an existence statement for the canonical network and the lower bound concerns canonical probes; neither is a statement about all decoders.
H.2 Other entry laws
Let the columns be , where all entries of all are independent with a fixed centered, variance-one, sub-Gaussian law , and write and for the skewness and excess kurtosis of ; in this subsection and denote entries, not the active sample of Theorem 3.1. Examples are Gaussian , Rademacher and uniform on . Constants written may depend on . Let be the probability that a midpoint pairwise read with one active and one inactive input exceeds ; it includes the fluctuation of the signal, not only the centered interference.
Proposition H.1 (Second-order term). For a fixed law and , put . Then
In particular when , and , with equality for Rademacher entries.
The correction dominates the remainder when . Even for Gaussian entries : the term corrects the Gaussian tail of a read, and the entry law enters only through and , the skewness appearing squared by invariance under a global sign change of the entries.
Corollary H.2 (Sparse entries). Let with and an independent Rademacher sign , where . If and , then . If also , then .
At the first condition corresponds to expected nonzeros per column, and the second to ; both are sufficient conditions, not sparsity thresholds.
An independent-row proof Let be independent with law , , and
The one-active score is with independent copies , and . Write .
Lemma H.3 (Row cumulants and tilting). For a fixed law , uniformly on for any fixed ,
The rate at displacement 1/2 is
If solves and , then
with .
Proof. The variables , and have uniformly bounded sub-Gaussian norms, so has a uniform exponential moment near zero; this also bounds its tilted absolute third moment uniformly for . Expanding with , and gives
The fifth cumulant is , since odd moments of through order five are and the remaining terms contain at most four copies of . The exponential-moment bound controls the Taylor remainder from order six by on this interval, with the same bounds for the derivatives. Since , the saddle point is , and substituting into costs only , which gives .
Under the tilted measure with density , let be the centered sum divided by . The Berry–Esseen theorem gives Kolmogorov distance from a standard Gaussian. The function has total variation at most two, so
this applies to lattice laws as well, with the strict threshold. Since , the relative Berry–Esseen error is . This is the exponential-tilting argument behind the Cramér–Petrov theory (Petrov, 1975; Döring et al., 2022).
Proof of Theorem 8.2. By lemma H.3, the leading terms give the exponent. For proposition H.1, use , and ; the extra 64/1024 turns into . Pearson's moment inequality , from the positive semidefiniteness of the covariance matrix of , gives . For the expected count of the midpoint network, the both-active lower tail has the same leading exponent and the zero-active upper tail has exponent by the same row argument; union bounds over and gates give the sufficient dimension .
Proof of corollary H.2. For the sparse law the row moment generating function has the exact finite form
with of probabilities , , . For every exponential or hyperbolic argument is , and Taylor expansion inside the braces and then over the nine cases gives, uniformly, and . The leading comes from and ; the remaining quadratic term is . Hence and . The standardized tilted third absolute moment is : , and , divided by with . The Berry–Esseen step therefore has relative error , and
which proves the first claim; comparison with Mills' formula gives and the second.
These results concern one gate and hence the ball. They do not extend the reliability thresholds of Theorem 5.4 or the window profiles to non-Gaussian dictionaries, because the exact law of Theorem 3.1 is Gaussian. For correlated columns, isotropy and marginal coherence tails alone do not provide the joint moment control used here, and below the sparse expansion no longer applies.
H.3 Composition
Reading a superposed output vector Let , and the set of active pairs. Draw independent output directions for the gates, independent of the input dictionary, and let be the ideal output stream. The set is independent of the output dictionary, although its indicators are dependent across gates.
Proposition H.4 (Output channel). Suppose , , and . The matched-filter reads have a vanishing expected number of errors if
. Optimizing their common bias gives the expected-error threshold
and below every assignment of local output probes has a diverging expected number of read errors.
Proof. Condition on the input. For an inactive wire, is independent of , and the read has mean zero and variance . For an active wire, has variance , the extra term coming from the random self-norm. An inactive coordinate row has the law of AS with and independent, and an active row the law of with ; their moment generating functions are and . Expanding the centered logarithms at displacement gives the rate , and the tilting argument of lemma H.3 gives the matching lower bound. At the midpoint both displacements are , and summing over the reads gives the first claim. At a free bias the constraints are and , and balancing them gives and . For the local converse, each wire is active with probability . Normalize its probe and condition on its own direction; the clean signals are 0 and , of modulus at most on a high-probability norm event, and the other active directions stay independent Gaussians given any input, with projection variance for local state . The two-class argument of Appendix C applies with expected class counts and , using only one-wire marginals.
For pairwise conjunction , so the output stage can dominate the input dimension even though it reads one wire at a time. The hypotheses hold at the output threshold, for example, when ; they must be imposed separately when combining with the input thresholds of the main text.
Comparison with an ideal execution Suppose an input stage produces bits and writes . Let be the event that some input-stage gate is wrong and the event that some read of the ideal stream is wrong. Deterministically,
because outside the actual stream equals . An input budget with failure probability and an output budget with therefore compose with failure at most , without conditioning on earlier success and without independence of the two events. In particular the box threshold of Theorem 5.4 composes with proposition H.4.
The fresh-write circuit class Fix a feedforward Boolean threshold circuit and an input, independent of all dictionaries. Each input wire and each gate output has its own independent direction , and every active output is written once into the shared stream. A gate of arity reads previously written wires with and bias , where the coefficients represent its clean threshold function, are fixed before the dictionary is drawn, satisfy , and have margin . Let be the number of reads, the initial activity and the largest number of active directions in the ideal stream before a read; without erasure is the input activity plus all earlier ideal active writes. Put .
Theorem H.5 (Write budget). Assume , and . For fixed , if , every gate of the circuit is evaluated correctly with probability at least . If a fixed schedule exactly erases wires that are no longer needed, K may be replaced by the peak number of live active wires.
Proof of Theorem H.5. Let the ideal stream before layer contain the true values of all earlier gates. Given the input, its active set is deterministic and independent of the dictionary. For gate , condition on its at most queried directions; the ideal interference from the other active wires is exactly Gaussian with variance at most . On the local Gram event the probe norm is and the clean score differs from by , uniformly because the arity is bounded. Since , the Gaussian tail is at most . Choose ; Gram concentration bounds the bad event by , and makes even its union over all reads negligible. Let be a wrong read of the ideal stream. Outside , induction over layers shows that the actual and ideal streams agree before every read, so actual failure is contained in the union, and summing the marginal bounds gives . Under exact erasure by a fixed schedule the live active set at each ideal read is still determined by the input and the schedule and has at most elements, and the induction preserves equality through erasure, because the subtracted actual and ideal contributions agree whenever all earlier reads do.
The theorem counts every read. Replacing Q by the number of near-boundary gates is valid only if the remaining gates have a separately controlled sum of error probabilities. Non-local reads, error correction, reuse of directions, learned correlations and growing arity need further analysis. The connection to reliable computation from unreliable components (von Neumann, 1956; Evans and Schulman, 1999) is at the level of composing error bounds; here the errors come from shared geometry rather than independent faults.
H.4 Unrestricted encodings
Let be the k-subsets of , , and for let the target be the indicator vector of its pairs; distinct supports have distinct targets. Let be any map on some .
Proposition H.6 (Counting floor). Let be any map from the k-subsets of to , read by T affine threshold units followed by arbitrary Boolean processing. If the outputs of all pairwise conjunctions are correct on a fraction of supports, then . For polynomial T and this is .
Proposition H.7 (A 2k-dimensional code). Encode a support S by the 2k nonleading coefficients of . Then is an affine threshold of the code for every pair, so all pairwise conjunctions on k-sparse inputs have sign-rank at most .
Proof of proposition H.6. If affine threshold units followed by arbitrary Boolean processing are correct on , their sign vectors are distinct on . On the finite set , ties can be removed without changing any output by moving each bias slightly upward, less than the smallest positive slack. Distinct sign vectors then occupy distinct open cells of an arrangement of affine hyperplanes in , whose number satisfies with , hence (Buck, 1943; Cover, 1965; Winder, 1966). For , with , , so the sum is at most ; for use . Hence , and gives the bound.
The guarantee concerns whole output vectors and cannot be replaced by a small average fraction of wrong gates: changing one support element changes only pairs. The same count covers hidden ReLU layers of widths followed by threshold units: after removing ties, each layer is affine on every region cut out by the earlier activation patterns, so and . Constant depth and polynomial width still need dimensions in the skewed regime.
Proof of proposition H.7. Write and . At an integer , if and otherwise, so . For fixed the right side is an affine threshold of the 2k coefficients, the leading terms being absorbed into the bias; lifting the bias adds one coordinate, so the sign matrix has sign-rank at most .
With proposition H.6, dimensions are necessary and sufficient for arbitrary encodings with one threshold per pair in the skewed regime. The code is nonlinear in the input bits, its coefficients are large and its normalized margins small. Unrestricted readout complexity alone would make dimension vacuous, since a single real number can encode a finite binary input to arbitrary precision; both the encoding and the readout must be specified when a dimension lower bound is interpreted.
Window formulas and the expected-count gap
The profiles are explicit: , with for the modified Bessel function and as ; and with . The optimized window is narrower than the midpoint window by the factor . The half-slack bias is optimal to first order, but its profile is in general smaller than the supremum; a bias tuned to a target finite-size success level allocates the slack differently. At the centers the limits are for the midpoint and for the half-slack bias, with ; Section 9 compares both with simulation.

Figure J.1. The four first-order thresholds of pairwise conjunction and the threshold of feature recovery, in units of , as functions of . All four conjunction thresholds equal when ; they separate toward 16, 8, 4 and 2 (dotted). The vertical lines mark the regimes of the simulations in Section 9.
The Markov gap inside the window Conditionally on the active reads, the inactive reads are independent, so the number of inactive features that create at least one wrong one-active gate is binomial, and it is asymptotically Poisson with a random intensity (Appendix F). At the midpoint, inside the window and along sequences with , converges in law to . Hence
while
and by Fatou's lemma the expected number of firing inactive features, and with it EX, tends to infinity throughout the window. The limiting intensity is heavy-tailed: an unusually large active read lets an unusually large number of inactive features fire together. A typical draw has no error with probability , while the mean is carried by rare draws. This is the second-order form of the gap between the ball and the box.
J Further comparisons and experiments
J.1 The four pairwise thresholds
J.2 Comparison with other decoders
The ratio reflects the architecture rather than the task. A common bias for r-way conjunction must separate the sum of the r smallest active reads from the sum of the r - 1 largest active reads and the largest inactive read, so its box support contains active levels, whereas that of recovery contains one. For , where , recovery needs dimensions and direct pairwise conjunction ; the midpoint pairwise network needs to be reliable and for a vanishing expected count. Decoders that are not a single threshold layer can do better. The Lasso recovers the support from about measurements.
(a) four readouts, ,

(b) half-slack bias,
Figure J.2. Pairwise conjunction, 4096 exact draws per point, pointwise 95% Wilson bands. (a) Three deterministic biases and feature recovery evaluated on the same draws; the count-optimal and half-slack curves nearly coincide, and recovery switches on near ratio 0.39, left of the plotted range. (b) The half-slack bias of Theorem 6.1(a) as grows; dashed curves are the profiles of Theorem 7.1(ii) at the slack .
(Wainwright, 2009), and minimization recovers a typical nonnegative -sparse vector from about noiseless Gaussian measurements (Donoho and Tanner, 2009). When both are to first order, the optimized reliability threshold of direct pairwise conjunction; when the second is , far below . The constants of this paper are therefore those of one layer of threshold readouts of a fixed random code.
For asymmetric gates the weights matter as well as the bias: at the alternating threshold of the comparator the optimal weights are Fibonacci numbers, and when all classes count equally binary weights overstate the price by a factor exponential in (Appendix E).
J.3 Additional experimental figures
The first two panels of Figure 2 show the comparisons. The figures below add the other activities, window profiles and bias rules.
J.4 Full campaign results
The bias matters before the limit The first campaign (Figure J.2) evaluates three deterministic biases for pairwise conjunction on shared draws, together with feature recovery, at with and at with , with 13 dimensions per case and 4096 draws per cell. At , and , the half-slack bias of Theorem 6.1(a) succeeds on 3984 of 4096 draws, the bias optimized for counting on 3912, and the midpoint on 2. At the smallest dimension of the grid feature recovery succeeds on 4056 draws and every conjunction rule on none, as corollary 6.3 predicts. At the quantile center the three cases with succeed with frequencies 0.143, 0.139 and 0.155, and Theorem 7.1(ii) predicts , 0.154 and 0.154 for the half-slack bias, with ; the dashed

Figure J.3. Reliability of four threshold gates at with the half-slack bias of Theorem 6.1(a) for , and with the midpoint bias and the sample-adaptive oracle bias for . The horizontal axis is the dimension in units of the quantile box center of each gate. Dashed line: that center; dotted line: the midpoint box threshold of Theorem 6.1(b) in the same units.
curves in Figure J.2(b) are the whole predicted profiles, and Table L.4 adds the case and an independent replication.
The box beyond conjunction The second campaign tests Theorem 6.1(a) for AND₂, AND₃, OR₂ and MAJ₃ at (Figure J.3). In units of the quantile box center , all four gates show the same picture at : success is at most 3.8% at 0.9, between 15.6% and 30.7% at 1, and between 82.7% and 97.9% at 1.2, and the curves steepen with . The oracle, which chooses the bias after seeing the reads, reaches 50% success between 0.98 and 1.03 times the center, 2% to 7% earlier in dimension than the half-slack rule and consistent with Theorem 5.4(ii). The midpoint rule of each gate switches on near its own box threshold, marked by a dotted line; for AND₂ it succeeds on none of the 4096 draws at 1.2.
Separation of the two thresholds The third campaign fixes the midpoint pairwise network at and increases from 4 to 16 to 64, so that (Figure 2). Reliability switches on at the box: at the center the success frequencies 0.295, 0.324 and 0.340 match the limits , 0.326 and 0.346 of Theorem 7.1(i). The expected number of wrong outputs crosses one at about 1.23, 1.45 and 1.67 times the center of (14), tracking the first-order ball positions and with offsets and that shrink as grows. At and all 4096 draws are correct, while . Values of this large are a mathematical stress test of the first-order theory, reachable because the exact law never builds the dictionary.
K Finite checks
The checks below test identities, closed forms and implementations on finite instances. The code-and-data archive contains the scripts and outputs.
The box identity The script check_box_identity.py draws 400 random instances with , pools of sizes between and , Gaussian reads and Gaussian weights (every third instance with nonnegative weights). For every class and both error directions it enumerates all ordered tuples of distinct features and compares the maximum of with the rearrangement formula of lemma B.2. All 3720 class-direction pairs agree to within .
The two programs The script check_programs.py solves the ball program (11), with the radii in units , , as a second-order cone program, and the box program of proposition B.3 by bisection over linear programs, in both cases over all representations without imposing symmetry. For every with and every , the optimal values agree with (a) and (d) of Theorem 6.1, and the midpoint prices with (b) and (c), to relative accuracy . The optimal box weights returned by the solver are equal across positions up to solver tolerance. At all four values equal in these units.
The reduced sampler The script check_thr_direct.py compares the exact reduced sampler with direct simulation: for each draw it generates a Gaussian dictionary, forms , and enumerates every -subset. For the largest negative and the smallest positive score, the two-sample Kolmogorov–Smirnov statistics over 4000 draws per method are as follows.
| Gate, | largest negative | smallest positive | ||
|---|---|---|---|---|
| recovery, |
For pairwise conjunction the frozen campaign of Appendix L used an independent direct-matrix implementation at with 12000 draws per method: the Kolmogorov–Smirnov distances for the largest active read, the sum of the two smallest active reads, the largest inactive read and the largest negative score are and . A separate enumeration confirms the all-pairs success identity of proposition B.1 and lemma B.2 at five biases.
Algebra The script verify_algebra_v2.py checks all 1013 nonconstant comparator thresholds of arities 1 to 9 against their 348502 truth-table entries: the unit-gap construction, the Fibonacci bound on every weight, and attainment by the alternating threshold. It evaluates the polynomial code of proposition H.7 in integer arithmetic on 2427 supports .
, checking 106658 pair outputs, and verifies the row cumulants and the coefficient of proposition H.1 symbolically.
L Experimental protocol and additional results
L.1 Sampling
Each draw samples and standard Gaussians, forms the active reads of (8), and sorts them. For the inactive sample only its smallest and largest values are needed ( for pairwise conjunction, in general). Writing each inactive value through its distribution function, the smallest of uniforms is ; conditionally on the smallest values, the other points are uniform above the th, and their largest values follow by the same rule on the shorter interval. The uniforms are mapped through in the upper-tail parametrization, using expm1 and logarithms to keep precision when is as large as . Success is checked by proposition B.1 and lemma B.2 with the strictness of the readout; ties have probability zero. A draw costs time and memory, independent of and , while direct simulation needs memory.
Expected error counts are computed by one-dimensional quadrature of proposition 3.2, with the exact class sizes of the unordered family, integrating over in the logarithmic domain between chi-square quantiles of probability with relative tolerance . For pairwise conjunction this reproduces the frozen values of the first campaign, for example 6.7416 and 0.32739 at ratios 1.2 and 1.35 below.
L.2 Campaign E1: pairwise conjunction (frozen 22 September 2026)
The grid uses with and with , the dimension ratios relative to , rounded to integers, and 4096 draws per cell: 52 cells and 212992 independent draws. Seed 20260922 generates one SeedSequence per cell. The three biases, fixed before sampling, are the midpoint 3/2, the bias optimized for counting with and , and the half-slack bias of Theorem 6.1(a); feature recovery uses . All rules share the draws of a cell. The sample-adaptive event that the largest negative score lies below the smallest positive score is stored as a feasibility bound and is not counted as a rule. No cell or draw was excluded. The run used Python 3.11.3, NumPy 1.26.4 and SciPy 1.16.3 on one CPU node with one BLAS thread, 81 seconds of CPU time and about 221 MiB of memory; runner and configuration hashes match the recorded run.
Estimating the mean is harder than estimating reliability The mean count is carried by rare draws, so Monte Carlo estimates of it can mislead even when their standard errors are small. At , and ratio 1.35, the Rao–Blackwellized sample mean of X is 0.063 with standard error 0.011, while quadrature of the exact one-gate law gives 0.327 (Table L.1). The main text therefore reports quadrature values of EX and uses simulation only for .


Figure L.1. All four cases of campaign E1. Each point uses 4096 independent draws; bands are pointwise 95% Wilson intervals. The three bias rules and feature recovery share each cell's draws.
L.3 Campaigns E2 and E3 (frozen 27 September 2026)
The configuration box-v1 . json was written before any run. Campaign E2 covers AND₂, AND₃, OR₂ and MAJ₃ with k = 64, 256, 1024 and m = k⁴, the same 13 dimension ratios relative to the quantile box center k((2t - 1)̂λ₁ + (2r - 2t + 1)̂λ₀)², and 4096 draws per cell; the rules are the half-slack bias t - 1/2 + 1/2σ_d(̂λ₀ - ̂λ₁), the midpoint t - 1/2, and the oracle, which succeeds on a draw when some common bias separates its largest negative score from its smallest positive score; by Theorem 5.4(ii) even this sample-adaptive rule fails below the box threshold. Campaign E3 fixes the midpoint AND₂ network at k = 1024 with m = k⁴, k¹⁶, k⁶⁴ and 11 ratios relative to 4k(̂λ₁ + ̂λ₀)². Seed 20260927 generates one SeedSequence per cell. The run used Python 3.13.9, NumPy 1.26.4 and SciPy 1.16.3 on a laptop CPU and took 188 seconds; all per-draw extremes are stored.
L.4 Window profiles at the center
Table L.4 compares the success frequencies at the quantile centers with the limits of Theorem 7.1, evaluated at : for the half-slack bias, whose slack splits evenly, and for the midpoint. The pairwise rows of campaign E2 use the same rule as E1 with independent
Table L.1. The half-slack bias at , (campaign E1). Mean error is the Rao-Blackwellized sample mean over the inactive reads with its Monte Carlo standard error; the last column is the quadrature of proposition 3.2. Rare draws carry the mean, so the sample mean and its standard error can both be misleading, as at ratio 1.35.
| Ratio | MC mean | MC s.e. | Quadrature | ||
|---|---|---|---|---|---|
| 0.60 | 164032 | 0.0000 [0.0000, 0.0009] | 2.462e+06 | 4.199e+05 | 2.485e+06 |
| 1.00 | 273387 | 0.1548 [0.1440, 0.1662] | 312.3 | 127.7 | 427.3 |
| 1.20 | 328064 | 0.8252 [0.8133, 0.8365] | 10.46 | 8.232 | 6.742 |
| 1.35 | 369072 | 0.9727 [0.9672, 0.9772] | 0.06288 | 0.01097 | 0.3274 |
| 1.50 | 410081 | 0.9976 [0.9955, 0.9987] | 0.002693 | 0.0008277 | 0.0178 |
| 1.75 | 478427 | 0.9995 [0.9982, 0.9999] | 0.0004904 | 0.0003452 | 0.0002069 |
| 2.00 | 546774 | 1.0000 [0.9991, 1.0000] | 1.202e-07 | 1.188e-07 | 4.052e-06 |
Table L.2. Campaign E2 at , : success frequency of the half-slack rule (out of 4096) and of the oracle at selected dimension ratios to the quantile box center.
| Ratio | 0.8 | 0.9 | 1 | 1.1 | 1.2 | 1.35 | 1.5 |
|---|---|---|---|---|---|---|---|
| , half-slack | 0 | 21 | 668 | 2262 | 3387 | 3980 | 4081 |
| , oracle | 1 | 141 | 1573 | 3305 | 3952 | 4092 | 4096 |
| , half-slack | 1 | 154 | 1258 | 2919 | 3758 | 4065 | 4093 |
| , oracle | 11 | 571 | 2456 | 3788 | 4077 | 4095 | 4096 |
| , half-slack | 0 | 0 | 640 | 3298 | 4009 | 4092 | 4096 |
| , oracle | 0 | 0 | 1308 | 3944 | 4094 | 4096 | 4096 |
| , half-slack | 0 | 0 | 738 | 3167 | 4011 | 4095 | 4096 |
| , oracle | 0 | 2 | 1602 | 3865 | 4094 | 4096 | 4096 |
Table L.3. Campaign E3, the midpoint pairwise network at : success frequency (out of 4096) and exact expected number of wrong outputs at selected dimension ratios to .
| Ratio | ||||||
|---|---|---|---|---|---|---|
| succ. | EX | succ. | EX | succ. | EX | |
| 0.9 | 33 | 0 | 0 | |||
| 1 | 1208 | 422 | 1327 | 1392 | ||
| 1.1 | 3191 | 30.9 | 3896 | 4091 | ||
| 1.2 | 3922 | 2.26 | 4089 | 4096 | ||
| 1.35 | 4084 | 0.0453 | 4096 | 4096 | ||
| 1.5 | 4095 | 4096 | 0.0225 | 4096 | ||
| 1.75 | 4096 | 4096 | 4096 | |||
| 2 | 4096 | 4096 | 4096 | |||
seeds. At all six limits lie inside the 95% intervals; at and 256 the frequencies lie between 0.006 and 0.015 below the limits, a finite-size lag that disappears by .
Table L.4. Success frequency at the quantile center (dimension ratio 1, 4096 draws) against the limit of Theorem 7.1.
| Campaign, rule | Limit | Simulation [95% interval] | |||
|---|---|---|---|---|---|
| E1, half-slack | 64 | 2.458 | 0.155 | 0.143 [0.133, 0.154] | |
| E1, half-slack | 256 | 2.342 | 0.154 | 0.139 [0.129, 0.150] | |
| E1, half-slack | 1024 | 2.275 | 0.154 | 0.155 [0.144, 0.166] | |
| E1, half-slack | 1024 | 1.538 | 0.147 | 0.149 [0.139, 0.160] | |
| E2, half-slack | 64 | 2.458 | 0.155 | 0.149 [0.138, 0.160] | |
| E2, half-slack | 256 | 2.342 | 0.154 | 0.141 [0.131, 0.152] | |
| E2, half-slack | 1024 | 2.275 | 0.154 | 0.163 [0.152, 0.175] | |
| E3, midpoint | 1024 | 2.275 | 0.298 | 0.295 [0.281, 0.309] | |
| E3, midpoint | 1024 | 4.730 | 0.326 | 0.324 [0.310, 0.338] | |
| E3, midpoint | 1024 | 9.570 | 0.346 | 0.340 [0.325, 0.354] |
M Applications, implications and open problems
A threshold in this paper answers a design question: how wide must a shared stored vector be before a family of logical reads becomes dependable? The answer depends on what “dependable” means, on the bias, and on what else the vector carries. This section turns the results into five rules that make these dependencies explicit. Appendix M.1 orders the error criteria by the width they need. Appendix M.2 inverts the thresholds into a feature capacity at fixed width. Appendix M.3 converts the window profiles into the width for a prescribed success probability. Appendix M.4 checks every gate of a universal layer on any realized representation from a few extreme reads. Appendix M.5 separates the part of a threshold paid for activity from the part paid for the read family. Appendices M.6 and M.7 draw the consequences for evaluation and for claims about superposition, and Appendix M.8 states open problems. The corollaries and propositions below are proved from the results of the paper. Numbers new to this section are computed by check_sizing_rule.py from the window profiles and the frozen campaigns of Appendix L, without new sampling; the others are quoted from Appendices J and L.
M.1 Which failure, which width
A layer of gates can be judged by the fraction of wrong outputs, by the expected number of wrong outputs, by the probability that some output is wrong, or by correctness on every input. The four criteria protect different objects: a typical gate, an additive loss, a typical input and every input. The widths they require differ by more than constants, and the first criterion carries no logarithm at all.
Corollary M.1 (Average accuracy carries no logarithm). Let be any gate family of fixed arity , let be fixed, and use the canonical rule. Then if and only if . No further condition on and no condition on the structure of is needed.
Proof. A fixed gate has class with probability , so is a convex combination of the class error probabilities. By (C.4), with .
and . If , then in probability, and because and are fixed. Hence in probability, for every class by bounded convergence, and so does the convex combination. If instead along a subsequence, then on the bound (C.3) gives a numerator at most and a denominator at least , so once . The probability of this event is positive for every and tends to one, so it is at least some . Thus for every class, and the convex combination stays bounded away from zero.
The average is dominated by the most numerous class. For sparse inputs that class has no active input, and its gates fail only when a Gaussian interference of scale crosses a fixed margin; no extreme value enters. Campaign E1 shows the size of this blind spot. At , and the quantile box centre, the half-slack network has a wrong output on 85% of draws and an expected count of 427, while the expected fraction of wrong outputs is . At 0.6 times the centre no draw is correct, and the fraction is . The zero-active class contains all but about a fraction of the gates, and at the centre it contributes expected errors.
Table M.1. Four error criteria for the universal family of pairwise conjunctions when , in order of the width they require. The first row is a condition on , the middle rows are sharp first-order thresholds, and the last row is sharp up to constants. With optimized biases, the reliability threshold holds against every common representation and the expected-count threshold against every gate-local rule.
| Criterion | Protects | Midpoint bias | Optimized bias | Source |
|---|---|---|---|---|
| a typical gate | (any fixed bias) | Corollary M.1 | ||
| a typical input | Theorem 6.1(a,b) | |||
| the total additive loss | Theorem 6.1(c,d) | |||
| correct on every support | every input, chosen after | — | Proposition 8.1 |
Table M.1 is a specification checklist. A sentence such as “the layer computes every pairwise conjunction in superposition at width ” becomes checkable once it names a row. At width of order the first row holds, the last row fails, and the middle rows are decided by constants that range over a factor of eight. The row follows from how the outputs are consumed. A batch of answers that is discarded after one error needs the second row. A cost that accrues per wrong answer needs the third. Inputs that may be chosen with knowledge of the dictionary need the fourth, and for midpoint probes the widths of the middle rows do not buy it: by proposition 8.1, a midpoint network whose width is of order fails on some support with probability tending to one, since such a width is eventually below .
M.2 Feature capacity at fixed width
Superposition is usually measured by how many features fit into dimensions. The thresholds can be read the same way: fix and , and ask for the largest dictionary under which a criterion still holds. When this capacity is exponential in , and the criterion and the bias change the constant in the exponent.
Corollary M.2 (Capacity at fixed width). Let , let with , and fix . For the four parts of Theorem 6.1 put
For each part : if and , its criterion holds for the representation named there; if , its criterion fails, in part (a) for every common representation and in part (d) for every gate-local rule.
Proof. Each threshold of Theorem 6.1 has the form , where is continuous, nondecreasing in each argument and positively homogeneous of degree two, with ; for example, in part (a) and in part (d). Suppose first that , and put . Then , and because . Monotonicity and homogeneity give
so for large the width exceeds the threshold by a factor at least , and Theorem 6.1 gives the criterion. Suppose next that . Then , so and , and
The width is thus below the threshold by a fixed factor, and the failure statements and converses of Theorem 6.1 apply.
Table M.2. Capacity constants of corollary M.2. At width and activity , the criterion tolerates dictionaries with up to to first order, so a smaller constant means exponentially more features. Columns follow the parts of Theorem 6.1.
| Gate | Reliability | Expected count | ||
|---|---|---|---|---|
| (a) half-slack | (b) midpoint | (c) midpoint | (d) optimized | |
| Recovery, | ||||
Because the capacity is exponential, a ratio of constants becomes a power of the dictionary size. For -way conjunction and : at equal width, the largest dictionary with a vanishing expected count is the -th root of the largest reliable one, in the sense that the ratio of their logarithms tends to . For conjunction the midpoint bias costs a fourth root under both criteria, because ; one scalar decides whether the layer tolerates features or . Error criteria are known to change capacity constants in associative memories (McEliece et al., 1987); here they change the constant in the exponent of an exponential capacity.
The constant counts the inactive positions in the two binding classes, whose level dominates when . Conjunction binds on the classes with and active inputs and pays for one inactive position; disjunction binds on the classes with none and one active input and pays for . Reliable -way conjunction and feature recovery share , so in this regime computing a conjunction directly costs no capacity beyond recovering its inputs. At finite the direct route costs the factor in width (corollary 6.3), which tends to one in the regime of corollary M.2.
M.3 Width for a target success probability
A first-order threshold locates the centre of a transition, not an operating point: at its quantile centre the half-slack network of pairwise conjunction succeeds with probability about 0.15 (Table L.4). Theorem 7.1 supplies the missing quantile. With , the limit of as , write
Corollary M.3 (Width for a target success probability). Let be the universal family of pairwise conjunctions, , and . Each of , and is a continuous, strictly increasing distribution function. For let be the -quantile of , and set
Fix . For all large , the midpoint network has at and at . The same holds for the half-slack bias of Theorem 6.1(a) with and , and for over deterministic common biases with and .
Proof. is the distribution function of , with , and is that of . Both variables have continuous positive densities on , so , and are continuous and strictly increasing. For , the product tends to zero as , so the supremum is attained, and it increases strictly in because does; uniform continuity of gives continuity. For every , either or , so as ; and as .
Next, expanding (M.1) gives and , with (Appendix F). The window units and dominate the quadratic terms, so is the window point of Theorem 7.1 at , uniformly on compact sets. Theorem 7.1 then gives success probabilities with in place of . As , almost surely and the limit has a continuous distribution function, so uniformly; the same follows for and , since a supremum moves by at most the uniform distance. Strict monotonicity gives .
Equation (M.1) is the first-order threshold with a slack added to the extreme-value levels. In relative terms the overhead of the half-slack rule is ,
Table M.3. Width for a target success probability at and , from (M.1) with the profiles evaluated at , in units of the optimized quantile centre . The midpoint centre is 1.54 in these units. The closed-form half-slack bias stays within 0.6% of the best deterministic common bias.
| Target | 0.5 | 0.9 | 0.99 | 0.999 |
|---|---|---|---|---|
| Midpoint bias | 1.61 | 1.81 | 2.08 | 2.35 |
| Half-slack bias | 1.10 | 1.29 | 1.54 | 1.80 |
| Best deterministic common bias | 1.09 | 1.29 | 1.54 | 1.79 |
of order when stays bounded: it vanishes, but only logarithmically. For 99% success at , the half-slack width is 2.20, 1.75, 1.54, 1.35 and 1.22 times its centre at , , , and . Table M.3 adds two design facts at . A bias that needs only and costs at most 0.6% in width against the best deterministic bias. The midpoint bias needs 1.30 to 1.46 times the width of the half-slack bias, depending on the target.
The limit profiles are conservative at the simulated sizes. In all 77 frozen cells above the quantile centre for pairwise conjunction (the half-slack bias in campaigns E1 and E2, the midpoint in E3), the limit lies below (44 cells) or inside (33 cells) the 95% Wilson interval of the observed success frequency, and never above the observed frequency. At and , for instance, the half-slack network at 1.5 times the centre succeeds on 99.76% of draws, with interval [99.55%, 99.87%], whereas (M.1) asks for 1.54 times the centre to reach 99%. The direction has a simple source. The window replaces the upper tail of a Gaussian maximum by its Gumbel limit , and Mills' ratio gives , a lighter tail exactly where a high success target probes. Within the tested range the rule therefore errs toward extra width.
M.4 Auditing a layer on a realized representation
The box identity (lemma B.2) is deterministic. It therefore applies to any stored vector and any read directions, provided that each gate reads a fixed combination of per-feature reads. Verifying a universal layer then needs 2r extreme reads per pool instead of an enumeration of gates.
Proposition M.4 (Exact audit of a factored layer). Let and be arbitrary, let satisfy , and put . Evaluate with readouts and a common bias , where , and let be the right side of lemma B.2 with and .
(i) Every gate is correct if and only if for each class with and for each class with .
(ii) Given , the statistics depend only on the largest and the smallest reads in and in , and they take operations. For the error count takes operations.
(iii) Suppose . Every gate stays correct for every read vector with , and hence, if some , for every stored vector with . Conversely, if a class attains with a maximizing tuple and , then makes gate wrong for every .
Proof. Gate I outputs , because . For a class with , where , it is correct exactly when ; for a class with , where , exactly when . Taking the maximum over the class and applying lemma B.2, whose pool condition is , gives (i). For (ii), one pass over each pool with sorted buffers of length finds its largest and smallest reads, and each class then needs the sorted weights of its four groups. For , sort each pool; for every read of one pool, binary search counts the partners, other than the read itself, in the same or the other pool that put a gate of the corresponding class on the wrong side of . For (iii), each is a linear function of whose coefficients have norm , because the features of are distinct. Hence for every class, and (i) applies; the bound for follows from . Finally, raises by exactly , so it exceeds and gate is wrong whatever is.
Under the model of Section 2, with , part (i) is proposition B.1 without exceptional events, and part (ii) is the reason the exact sampler costs per draw at any . Part (iii) gives the whole layer a robustness margin, and above the box threshold this margin is of the order of the clean margins. Let for the universal family. Since , we have , and on the event in the proof of Theorem 5.4 this is at least for every class. Moreover by (C.3), so , and chi-square and Gaussian tails with a union bound give and in probability. With probability tending to one, therefore, every perturbation of the stored vector with
leaves all outputs correct, while a perturbation of norm along the probe of a binding gate breaks one. For the representations of Theorem 6.1, which have , both radii are of order one, whereas .
Two uses follow. The first is bias calibration from data. The oracle of campaign E2 succeeds when some common bias separates the largest negative score from the smallest positive score; by (ii), this event and a separating bias are computable from the extremes. Theorem 5.4(ii) shows that no such read-dependent common bias moves the reliability threshold, and in campaign E2 at k = 1024 the oracle reaches 50% success only 2% to 7% earlier in width than the closed-form half-slack bias (Table L.2). The second is a direct test of the mechanism in learned models, which we propose as an experiment. Toy models of superposition and of learned universal-AND circuits (Elhage et al., 2022; Hänni et al., 2024; Newgas, 2025) have identifiable features. Fit per-feature read directions and a common representation to the learned readouts. The fitting residual measures the distance from the factored class, and on the factored part (i) predicts every failing input from 2r extremes per pool. Agreement between predicted and observed failures would show that the learned layer fails through shared extremes, as the box describes.
M.5 Unread activity in the stream
The vector read by a gate family usually carries more than the features that the family reads: other dictionaries, earlier writes, positional content. The exact law extends to independent Gaussian content, and the extension separates the two roles that k plays in every threshold.
Proposition M.5 (Unread content). Let , where is independent of and may depend on . Put and . With as in Theorem 3.1 and ,
jointly in and , and a canonical gate of class has the score law (9) with replaced by . Consequently Theorems 4.1, 4.2, 5.1, 5.4, 6.1 and 7.1 hold with : the prefactor of every threshold, centre and window width becomes , the condition in Theorem 5.1 becomes , and , the programs (11) and (13) and the window profiles are unchanged.
Proof. Fix . Each coordinate of is , and for . Gaussian conditioning gives , where is independent of with . Hence , and given the vector is centered Gaussian with covariance . Since , the vector has covariance . Put , so that . The inactive columns are independent of , so given the reads are independent variables, independent of the active reads. For one gate, the coordinates of are independent pairs with variances and and covariance , and the proof in Appendix B applies with in place of .
The proofs in Appendices B to F use in two roles. As the size of the active pool, it fixes , , and the law of the active order statistics. As a variance, it enters through , the one-gate variance and the conditional variance of a local probe in the converse of Theorem 4.2. The representation above leaves the first role unchanged and replaces by in the second; the local-probe variance becomes because the unread content is independent of every column. It also replaces by , which only shrinks the centering terms, and every estimate that used in the second role holds a fortiori with . Auxiliary rates indexed by , such as and in Appendix C, can be kept, since every bound they control only improves when . These substitutions give the stated forms.
Width is paid for activity; the logarithms are paid for the read family. Independent content of squared norm adds units to the interference variance but no extremes: the levels, the ratio between ball and box, the binding classes and the window profiles are those of the read family alone. If the stream also carries active directions of another independent Gaussian dictionary, whose sum is exactly , every threshold in Table 1 is multiplied by . When the read family accounts for a quarter of the active directions, the widths quadruple. The half-slack bias must be computed with as well; a bias calibrated to the read activity alone sits too close to the midpoint. A fixed number of families on independent dictionaries can share one stream: each sees the others as unread content, and a union bound over families composes their reliability. Proposition M.5 is the sharp one-layer counterpart of the stream activity K in Theorem H.5.
M.6 Evaluating shared errors
The gap between the ball and the box is a gap between a mean and a typical value. When ,
For the universal family between the two thresholds, , the failure probability tends to zero and the mean to infinity, so the burden of a failed draw grows faster than the mean. For independent evaluation draws, . Whenever , the sample mean of and its standard error are both zero with probability tending to one, while . The frozen campaigns show the effect at both ends. At and , all 4096 draws are correct while quadrature gives (Table L.3). At and 1.35 times the centre, even the Rao–Blackwellized sample mean is 0.063 with standard error 0.011, against the quadrature value 0.327 (Table L.1).
Four quantities make an evaluation of a superposed layer informative. The first is whole-output success with a binomial interval. The second is the expected count from an exact one-gate law (proposition 3.2) rather than from a sample mean. The third is the burden together with the class of each wrong output, which separates frequent small failures from rare large ones. The fourth is the slack of proposition M.4 on every draw. The slack is continuous, so its empirical distribution is informative even when no draw fails, and in the window its law is explicit. For the midpoint network at with , the computation in Appendix F gives
because the slack of the one-active class is , whose expansion in Appendix F gives the limit, while the other classes keep a diverging slack in these units. A Gumbel fit to observed slacks therefore extrapolates the failure probability below the level that the draws resolve.
M.7 Implications for claims about superposition
Models of computation in superposition (Elhage et al., 2022; Hänni et al., 2024; Adler and Shavit, 2024) are used to interpret what a layer of a network computes. Shi et al. (2026) survey the geometry, learning and computation of superposed representations and examine what evaluations of feature-recovery methods establish, noting that accurate reconstruction of activations does not by itself establish feature identity or causal use. The results here give claims about computation in superposition a checkable form in the same spirit.
Name the criterion Losses and error rates averaged over gates measure the first row of Table M.1, which does not depend on m. A layer can have an expected error fraction below and fail on most inputs (Appendix M.1). Learned solutions of the universal-AND task (Newgas, 2025) and of related compressed-computation tasks (Bhagat et al., 2026) need not use the mechanism of theoretical constructions. A claim that a learned layer computes in superposition should therefore state which row of the table it establishes.
Reliability is not robustness The reliability laws average over supports drawn independently of the dictionary. Two adversaries break them at very different costs. A support chosen after the dictionary raises the width to order (proposition 8.1). A perturbation of the stored vector along the probe of a binding gate needs a norm of order one, out of (proposition M.4(iii)). A guarantee certified on random inputs is a statement about typical use.
Lower bounds concern accessibility The scale belongs to threshold reads of a random linear code. Without the linear dictionary, 2k coordinates carry all pairwise conjunctions with one threshold unit each (proposition H.7), and order k coordinates are necessary (proposition H.6). A width far below the number of features is therefore consistent with several mechanisms, and a dimension count alone does not identify computation in superposition.
M.8 Open problems
Reliability for gate-local rules Theorem 5.4(ii) covers every common representation, even one chosen after the reads are observed, and Theorem 4.2 covers every gate-local rule for the expected count. Can a gate-local rule, for instance the dual frame of Remark C.1, make the network reliable below ? A converse must control the joint extremes of adapted probes. Marginal error bounds cannot force a failure on a typical draw, since can vanish while EX diverges.
Sharp suprema for structured families Disjoint tuples give the ball, the universal family gives the box, and proposition 5.3 interpolates for one level of private partners. For a family defined by a sharing hypergraph with several levels, generic chaining determines up to constants (Talagrand, 2014). A sharp variational formula, possibly of the type of the generalized random energy model (Derrida, 1985), would give the reliability price of any query family, for example relation queries in which each feature has a bounded number of partners at each level.
Universality of the box The one-gate exponent is universal (Theorem 8.2), but the box rests on the Gaussian joint law. A first target is the Rademacher dictionary with midpoint pairwise conjunction: is its reliability threshold ? The required input is joint extreme-value control of the active and inactive reads, which are dependent through .
Reliability of composed circuits Theorem H.5 is a union bound over an ideal execution, that is, a ball argument. In a two-layer universal circuit the second layer reads active outputs, whose errors are correlated through the extremes of the first layer. A box law for the second layer needs the joint law of its reads given the first layer's realized errors; proposition M.5 indicates, through the variance term, that it pays for its full stream activity.
Designed and learned linear dictionaries The Gaussian dictionary needs order dimensions, and arbitrary encodings need order (propositions H.6 and H.7) at the price of large coefficients and small normalized margins. For uniform recovery, every linear encoder needs dimensions when (Garg et al., 2026). For random supports, is order necessary for every linear dictionary read by threshold units, or can a dictionary adapted to the support law, with bounded coefficients and margins, approach order ?
Non-asymptotic sizing The limit profiles of Theorem 7.1 were conservative in every simulated cell above the centre, and the Gaussian tail factor explains the direction (Appendix M.3). A second-order window law with explicit error terms would turn (M.1) into a certified width at finite . For general threshold gates, even the first-order window requires the joint law of upper and lower order statistics in both pools.