Skip to content
Level B · Reproducible Analysis P-constant-10c-spencer-discrepancy-constant-six-standard-deviations-suffice

Spencer discrepancy constant (“six standard deviations suffice”)

C_10c is the least constant K for which one has disc(A) ≤ K√(n) qquadfor all n and all A∈[-1,1]^n× n. Here the discrepancy disc(A) is defined as disc(A) := min_x∈± 1^n ‖Ax‖_∞.

From the catalogue. Imported from Terence Tao and contributors (optimizationproblems repository) (Apache-2.0) — original. Nobody has started on it here yet: tasks are created as soon as someone asks for one or submits a claim.

Start working on it Submit a claim Follow
Cite
@misc{cairn-constant-10c-spencer-discrepancy-constant-six-standard-deviations-suffice,
  title        = {Spencer discrepancy constant (“six standard deviations suffice”)},
  author       = {{Cairn Commons contributors}},
  howpublished = {\url{https://cairn-commons.com/problems/constant-10c-spencer-discrepancy-constant-six-standard-deviations-suffice}},
  year         = {2026},
  note         = {Open problem on Cairn Commons, CC BY 4.0. Accessed 2026-09-28}
}

Also: CITATION.cff · Atom feed of results

Claims
0
Verified
0
Disputed
0
Refuted
0
On the literature board
0

Current state

No summary yet. Summaries are written by contributors (task write_summary); every sentence must cite claims.

The problem

Description of constant

is the least constant for which one has

Here the discrepancy is defined as

Equivalently, if the linear forms are

then

Known upper bounds

BoundReferenceComments
[Spe1985]Usually reported as . The celebrated “six standard deviations suffice” theorem of Spencer; also applies to rectangular matrices or set systems.
[Bel2013]Re-optimizes Spencer’s method.
(unpublished)Schmidt [Bel2013]Some of the computations are given only as a personal communication.
[PV2022]Withdrawn. arXiv v2 (14 Apr 2026) comments: “the constant in Theorem 4.5 is corrected from 3.7 to 4.1”.
[PV2022]v2 Theorem 4.5: . Algorithmic.

Known lower bounds

BoundReferenceComments
Trivial. Also achieved by Hadamard matrices [Band2024].
[Band2024]The 2 by 2 sign matrix with rows and .
[G2026]A 6 by 6 sign matrix with exact discrepancy .
[X2026]A 9 by 9 sign matrix with exact discrepancy .
[L2026]A 17 by 17 sign matrix with exact discrepancy ( distinct rows, one repeated to square it).
[H2026]An 8 by 8 matrix over with exact discrepancy ; column 8 is identically zero. Its eight rows are the perfect Hamming code: the sets below, together with their complements in , are the 16 codewords, whose radius-1 balls partition . Optimal at ; see below.

Certificate for the lower bound

Use the following sign matrix:

 1   1   1   1   1   1
-1  -1  -1   1   1   1
-1   1   1  -1   1   1
-1   1  -1   1  -1   1
 1   1  -1  -1   1   1
 1  -1   1  -1  -1   1

All entries are ±1. For a sign vector x, let S be the set of columns where the corresponding coordinate of x is -1. For row number , let T_i be the set of columns where that row has entry -1:

T1 = {}
T2 = {1,2,3}
T3 = {1,4}
T4 = {1,3,5}
T5 = {3,4}
T6 = {2,4,5}

Then

Therefore the absolute value of the th coordinate of Ax is at least whenever S is within Hamming distance of either T_i or the complement of T_i. The relevant centers are

{}, 123, 14, 135, 34, 245, 123456, 456, 2356, 246, 1256, 136

where, for example, 123 denotes the set {1,2,3}.

The sets of size 0, 1, 5, and 6 are covered by the centers {} and 123456. The sets of size 2 are covered as follows:

Scenter
12123
13123
1414
15135
16136
23123
24245
25245
26246
3434
35135
36136
45456
46456
56456

Since the centers are closed under complementation, this also covers the sets of size 4. The sets of size 3 are covered as follows:

Scenter
123123
12414
1251256
1261256
13414
135135
136136
14514
14614
1561256
23434
2352356
2362356
245245
246246
2561256
34534
34634
3562356
456456

Thus every sign vector satisfies

Equality is attained. For example,

x  = (1,-1,1,1,1,1)^T
Ax = (4,2,0,-2,0,2)^T

Hence , and consequently

Certificate for the lower bound

Use the following sign matrix:

 1   1   1   1   1   1   1   1   1
-1  -1  -1   1   1   1   1   1   1
-1   1   1  -1  -1   1   1   1   1
 1  -1  -1  -1  -1   1   1   1   1
 1  -1   1  -1   1  -1   1   1   1
-1   1  -1  -1   1  -1   1   1   1
-1  -1   1   1  -1  -1   1   1   1
 1   1  -1   1  -1  -1   1   1   1
 1   1   1   1   1   1   1   1   1

All entries are . The ninth row is a duplicate of the first row; duplicate rows are allowed, and here it simply makes the displayed certificate square. This is a padding step in the row direction only: the construction still has nine columns, so it is not an by certificate.

For a sign vector , let be the set of columns where the corresponding coordinate of is . For row number , let be the set of columns where that row has entry :

T1 = {}
T2 = {1,2,3}
T3 = {1,4,5}
T4 = {2,3,4,5}
T5 = {2,4,6}
T6 = {1,3,4,6}
T7 = {1,2,5,6}
T8 = {3,5,6}
T9 = {}

Then

Therefore the absolute value of the th coordinate of is at least whenever is within Hamming distance of either or the complement of .

We now prove this covering condition for the full -cube. Write

where

Let . Since all the sets above are contained in , for write , where

C = {}, 123, 145, 2345, 246, 1346, 1256, 356

Let denote the complement of inside . Then the complement of inside is

Thus the relevant distances in the full -cube are

and

The last three coordinates are therefore accounted for by the terms and .

The following finite fact about the -cube will be used. The eight radius- balls around

C = {}, 123, 145, 2345, 246, 1346, 1256, 356

miss exactly the eight complements

C* = 123456, 456, 236, 16, 135, 25, 34, 124

Indeed, the codewords in have mutual Hamming distance at least , so their radius- balls are disjoint and contain vertices. Each listed vertex in has distance at least from every codeword in , so none is in these balls. Since the -cube has vertices, these are exactly the eight missed vertices.

The missed vertices are nevertheless within radius of ; respectively, one may use the following centers:

missed vertex:    123456  456  236  16    135  25    34    124
radius-2 center:  2345    246  123  1346  356  1256  2345  123

Now consider the four possible values of .

If , then . The radius- covering of the -cube by gives some with .

If , then and . By the radius- statement above, either is within distance of some , which gives , or for some , which gives .

If , apply the previous case to the complement of . Equivalently, either for some , giving , or is within distance of some , giving .

If , then . By applying the radius- covering of the -cube by to the complement of , the complements also form a radius- covering of the -cube. Hence some satisfies .

Thus every vertex of the full -cube is within Hamming distance of some or of some complement . Consequently every sign vector satisfies

Equality is attained. For example,

x  = (-1,-1,1,-1,1,1,1,1,1)^T
Ax = (3,5,5,3,5,3,3,-3,3)^T

Hence , and consequently

Certificate for the lower bound

Use the following by sign matrix. It has distinct rows in columns; the last row repeats the first (a duplicate row does not change the discrepancy) purely to make the matrix square.

  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1
 -1 -1 -1 -1 -1 -1 -1  1  1  1  1  1  1  1  1  1  1
 -1 -1 -1  1  1  1  1 -1 -1 -1 -1  1  1  1  1  1  1
  1  1  1 -1 -1 -1  1 -1 -1 -1  1 -1  1  1  1  1  1
 -1  1  1 -1 -1  1 -1 -1 -1  1 -1  1 -1  1  1  1  1
  1 -1 -1 -1  1  1 -1 -1  1 -1  1 -1 -1  1  1  1  1
  1 -1  1  1  1 -1 -1  1 -1  1 -1 -1 -1  1  1  1  1
 -1  1 -1  1 -1 -1  1  1  1 -1 -1 -1 -1  1  1  1  1
  1 -1  1  1 -1 -1 -1 -1  1 -1 -1  1  1 -1  1  1  1
 -1  1 -1  1  1 -1 -1 -1 -1  1  1 -1  1 -1  1  1  1
  1 -1 -1 -1 -1  1  1  1 -1  1 -1 -1  1 -1  1  1  1
 -1  1  1 -1  1  1 -1  1  1 -1 -1 -1  1 -1  1  1  1
 -1 -1  1 -1  1 -1  1  1 -1 -1  1  1 -1 -1  1  1  1
  1  1 -1  1 -1  1 -1  1 -1 -1  1  1 -1 -1  1  1  1
  1  1 -1 -1  1 -1  1 -1  1  1 -1  1 -1 -1  1  1  1
 -1 -1  1  1 -1  1  1 -1  1  1  1 -1 -1 -1  1  1  1
  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1

As in the previous certificates, for a sign vector let be the set of columns where is , and for row let be the set of columns where that row is (columns numbered –):

T1  = {}
T2  = {1,2,3,4,5,6,7}
T3  = {1,2,3,8,9,10,11}
T4  = {4,5,6,8,9,10,12}
T5  = {1,4,5,7,8,9,11,13}
T6  = {2,3,4,7,8,10,12,13}
T7  = {2,6,7,9,11,12,13}
T8  = {1,3,5,6,10,11,12,13}
T9  = {2,5,6,7,8,10,11,14}
T10 = {1,3,6,7,8,9,12,14}
T11 = {2,3,4,5,9,11,12,14}
T12 = {1,4,7,10,11,12,14}
T13 = {1,2,4,6,9,10,13,14}
T14 = {3,5,7,9,10,13,14}
T15 = {3,4,6,8,11,13,14}
T16 = {1,2,5,8,12,13,14}
T17 = {}

Then , so exactly when is within Hamming distance of or of its complement. The sets , together with their complements, thus form radius- Hamming balls that cover all of ; equivalently,

This was checked by exhaustive evaluation over all sign vectors (and, independently, by verifying the radius- covering of the -cube). Hence and

The centres were found by a greedy set-cover search for a small radius- covering code of the -cube; only balls are needed, which is what allows the matrix to be square. (Note continues the pattern of the construction)

Certificate for the lower bound

Use the following by matrix. Entries lie in , which is the range the definition of allows; the eighth column is identically zero. Every previously recorded lower bound here uses a sign matrix, and that restriction is what this entry drops. Note that the upper-bound side quantifies over the same set: [PV2022]'s Theorem 4.5 reads "for every ".

 1  1  1  1  1  1  1  0
 1  1  1 -1 -1 -1 -1  0
 1  1 -1  1 -1 -1  1  0
 1  1 -1 -1  1  1 -1  0
 1 -1  1  1 -1  1 -1  0
 1 -1  1 -1  1 -1  1  0
 1 -1 -1  1  1 -1 -1  0
 1 -1 -1 -1 -1  1  1  0

As in the certificates above, for a sign vector let be the set of columns where is , and for row let be the set of columns where that row is :

T1 = {}          T5 = {2,5,7}
T2 = {4,5,6,7}   T6 = {2,4,6}
T3 = {3,5,6}     T7 = {2,3,6,7}
T4 = {3,4,7}     T8 = {2,3,4,5}

Then , so exactly when is within Hamming distance of or of its complement in . The sixteen sets and their complements are precisely the codewords of the perfect Hamming code, whose radius-1 balls partition — — so every is covered and

The eighth coordinate of is irrelevant, so this is an exhaustive check over cases; over all sign vectors the distribution of is (224 times) and (32 times). Equality is attained, e.g. at . Hence and

is optimal at

For and , if and then $2t\le\langle a,x+y\rangle\le\sum_i|x_i+y_i| =2\,(8-d(x,y))d(x,y)\le 8-t\le 2$. By Kleitman's diameter theorem a subset of the -cube of diameter has at most elements, so each row certifies at most of the sign vectors, and . Hence for every , and this certificate is best possible at . The same argument gives the exact optima at and at ; the three cases are the zero-slack rows of this counting bound and are now all attained.

How this was found

The reduction above turns the problem into one about covering codes: a matrix with at size is exactly a binary covering code of length and radius , of size at most and closed under complementation, giving for centres. Evaluating that over every entry of Kéri's table of bounds on (old.sztaki.hu/~keri/codes/2_tables.pdf), the best value obtainable is , from the row Kéri marks as a perfect code; the second is from and the third is , the bound recorded above, from . A search using this framing rediscovers the certificate of [L2026] from scratch in under a second.

Zeros are what make reachable. In a sign matrix at even every is even, so the discrepancy is even; beating at would need , i.e. , whereas . A single zero column breaks that parity constraint.

Further remarks

  • For large , the best asymptotic lower bound remains [Band2024].
  • Replacing the entrywise bound by an -bound on columns leads to the Komlós conjecture, which would imply, after scaling, Spencer-type discrepancy bounds.

References

  • [AS2008] Alon, N.; Spencer, J. The Probabilistic Method, 3rd ed. Wiley, 2008. (See the discussion around “Six Standard Deviations Suffice”.)
  • [Band2024] Bandeira, A. S. Did just a couple of deviations suffice all along? (problems 10–14). Randomstrasse 101 blog post (Dec 19, 2024).
  • [Ban2010] Bansal, N. Constructive algorithms for discrepancy minimization. FOCS 2010, 3–10.
  • [Bel2013] Belshaw, A. W. Strong Normality, Modular Normality, and Flat Polynomials: Applications of Probability in Number Theory and Analysis. PhD thesis, Simon Fraser University, 2013.
  • [G2026] Griego, Sebastian. 6 by 6 sign-matrix certificate for C10c, submitted to this repository (2026).
  • [LM2015] Lovett, S.; Meka, R. Constructive discrepancy minimization by walking on the edges. SIAM J. Comput. 44 (5) (2015), 1573–1582. arXiv:1203.5747
  • [MO175826] MathOverflow. Spencer’s “six standard deviations” theorem – better constants? Question 175826 (2014).
  • [PV2022] Pesenti, L.; Vladu, A. Discrepancy Minimization via Regularization. arXiv:2211.05509
  • [Spe1985] Spencer, J. Six standard deviations suffice. Trans. Amer. Math. Soc. 289 (2) (1985), 679–706.
  • [X2026] Xie, Chuhan. 9 by 9 sign-matrix certificate for C10c, submitted to this repository (2026).
  • [L2026] Li, Youhua. 17 by 17 sign-matrix certificate for C10c, submitted to this repository (2026).
  • [H2026] Y. H. 8 by 8 -matrix certificate for C10c from the perfect Hamming code, submitted to this repository (2026). Verification notes: howiehwong.github.io/poolish/constants.html.

What counts as progress

  • A better upper or lower bound, with a proof or a construction whose value is re-computed by published code (reproducible), ideally with a certificate a deterministic checker can validate.
  • A formal proof (Lean) of a known bound, or a precise error in a claimed one.
  • New references for the tables above (literature claims).

Source and licence

Imported from the crowdsourced repository of optimization constants (Terence Tao and contributors), commit 2c1968cd520b, Apache License 2.0; reformatted for this page. New records should also be reported there.