We prove a lower bound of Ωd((logN)d−1/2) for the worst-case combinatorial discrepancy of N-point sets with respect to anchored boxes in every fixed dimension d≥3. Together with Nikolov's upper bound of the same order and Wei's planar lower bound, this settles Tusnády's problem: the discrepancy of axis-parallel boxes is Θd((logN)d−1/2) in every fixed dimension d≥2. The proof combines smoothed product test functions, sampling discretization, and an entropy argument for conditioned Gaussian vectors.
1 Introduction
Let P⊂Rd be a finite set and let F be a family of subsets of Rd. The combinatorial discrepancy of P with respect to F is
disc(P,F):=χ:P→{−1,1}minF∈Fsupp∈P∩F∑χ(p).
We write disc(N,F) for its supremum over all N-point sets P⊂Rd. Two families are of interest here: the family Bd of all axis-parallel boxes ∏j=1d[aj,bj], and the family Ad of anchored boxes A(x):={y∈Rd:y≤x}, x∈Rd, where y≤x is understood coordinatewise. Every set P∩A(x) is of the form P∩B for a box B∈Bd, and conversely, since P is finite, the indicator of every set P∩B with B∈Bd is a signed sum of indicators of 2d sets P∩A(x) by inclusion-exclusion, so that
disc(N,Ad)≤disc(N,Bd)≤2ddisc(N,Ad).(1.1)
Tusnády's problem. In the early 1980s, Gábor Tusnády asked for the order of magnitude of disc(N,B2), and in particular whether it is bounded by a constant independent of N; see [Bec81], [Mat99a, p. 125] and [BN26, Section 1.7]. Beck [Bec81] answered the latter question negatively by transferring classical lower bounds for the unnormalized Lebesgue-measure discrepancy to combinatorial discrepancy for infinitely many N [Mat99a, Proposition 1.8]; for an N-point set in the unit cube, this is the largest deviation, over all boxes, of the number of points in a box from N times its volume. The smallest possible Lebesgue-measure discrepancy of an N-point set in the unit cube with respect to boxes is of order logN in the plane, the lower bound being Schmidt's theorem [Sch72], and at least of order (logN)(d−1)/2 in dimension d by Roth's theorem [Rot54, p. 74, footnote]. Determining the order of disc(N,Bd) for fixed d≥2 has become known as Tusnády's problem.
Beck also proved the upper bound O((logN)4) in the plane; this bound and its higher-dimensional counterparts were improved in a sequence of works [Bec89, Boh90, Sri97, Mat99b, Lar14, BG17], and the currently best upper bound, due to Nikolov [Nik17, Theorem 1], is
disc(N,Ad)=Od((logN)d−1/2)for every fixed d≥2.(1.2)
On the lower bound side, Matoušek and Nikolov [MN15] and Matoušek, Nikolov and Talwar [MNT20] used the γ2 factorization norm to prove disc(N,Ad)=Ωd((logN)d−1). In the plane, Wei's preprint [Wei26, Theorem 1.1] gives a lower bound of order (logN)3/2, matching (1.2) for d=2. Thus, before the present work, the order of disc(N,Bd) was known only up to a factor of order logN in every fixed dimension d≥3. Discrepancy bounds for axis-parallel boxes have applications to numerical integration, orthogonal range searching, and differentially private range counting; see [Nik17, Section 2].
1.1 Main result and consequences
We close this gap in every fixed dimension d≥3.
Theorem 1.1. For every integer d≥3 there are constants cd>0 and Nd∈N such that for every integer N≥Nd,
disc(N,Ad)≥cd(logN)d−1/2.
Corollary 1.2. For every fixed d≥3, disc(N,Ad) and disc(N,Bd) are both Θd((logN)d−1/2).
Proof. Combine Theorem 1.1 with (1.2) and (1.1). □
The lower bound Ωd((logN)d−1) of [MN15, MNT20] is therefore not sharp, although (logN)d−1 had long been conjectured to be the correct order; see Srinivasan [Sri97, p. 694], who refers to Beck and Sós [BS95], and also [Ban23, Conjecture 1.4.1] and [ABN18, Section 2.2]. Together with Wei's planar lower bound [Wei26], Corollary 1.2 settles Tusnády's problem in every fixed dimension d≥2. Since there are N-point sets in [0,1]d whose Lebesgue-measure discrepancy with respect to anchored boxes is Od((logN)d−1) [Mat99a, Theorem 2.4], Theorem 1.1 also shows that for d≥3 the largest possible combinatorial discrepancy of N-point sets with respect to boxes exceeds the smallest possible Lebesgue-measure discrepancy of N-point sets by a factor of order at least logN, so that Beck's transference principle is not sharp in any fixed dimension d≥3.
We treat the case d≥3; for these dimensions, the relative linearization error is Od((logN)−(d−2)) and tends to zero as N→∞. The constants cd and Nd depend on d; we make no attempt to optimize them.
Theorem 1.1 extends from boxes to the homothetic copies TB:={tB+x:t>0,x∈Rd} of a fixed convex polytope B⊂Rd: the lower bound follows from it by a transfer reduction, which we carry out in Section 8.1, and the upper bound is Nikolov's [Nik17, Theorem 2]. The lower-bound constants depend only on d. Together with the lower bound of [MN15, MNT20], the transfer reduction already confirms both conjectures stated after [Nik17, Theorem 3] in every dimension d≥2, and Corollary 1.3 gives the stronger exponent d−21 for d≥3; see Section 8.1.
Corollary 1.3 (Fixed convex polytopes). For every fixed d≥3 and every fixed convex polytope B⊂Rd with nonempty interior,
disc(N,TB)=Θd,B((logN)d−1/2).
The upper bound in Corollary 1.2 is also attained algorithmically: a randomized offline algorithm with polynomial running time colors any N-point set with discrepancy Od((logN)d−1/2) for anchored boxes, with high probability (Proposition 8.2). This follows from a recent prefix-balancing theorem of Aden-Ali [AA26, Theorem 1] via the reduction in Nikolov's proof of [Nik17, Theorem 1], which we write out in Section 8.2; by Theorem 1.1, the resulting discrepancy guarantee is optimal up to the constant for d≥3. The failure probability, the number of operations and the model of computation are specified with the proof.
Notation. From Section 2 to Section 7, d≥3 is fixed; in Section 8 the range of d is stated with each result. Constants cd,Cd>0 depend only on d and may change from occurrence to occurrence, except where a statement fixes them (as cd and Nd in Theorem 1.1); they never depend on the depth h. We write X≲Y or X=Od(Y) if X≤CdY, X=Ωd(Y) if Y≲X, and X≍Y or X=Θd(Y) if both hold. For x∈Rd, ∣x∣1:=∑j∣xj∣; for p∈[0,1]d, [p,1]d:=∏j=1d[pj,1]; [n]:={1,…,n}; and ⟨f,g⟩:=∫fg, over the cube or over [0,1]. Logarithms are natural, N={1,2,…}, N0=N∪{0}, 3N={3,6,…} and 3N0=3N∪{0}. The standard Gaussian measure on RM is γM, and ∥⋅∥2 denotes both the Euclidean norm and the norm of L2([0,1]d). For symmetric matrices, X⪯Y means that Y−X is positive semidefinite, and ∥⋅∥op is the operator norm with respect to the Euclidean norms.
1.2 Overview of the proof
We fix d≥3 and describe the mechanism of the proof, suppressing all constants that depend only on d. The construction is parametrized by a depth h∈3N; the point set has n≍(h+1)d−12h points, so that h≍logn, and we show that its hereditary discrepancy for anchored boxes, that is, the largest discrepancy of one of its subsets, is at least cd(h+1)d−1/2 (Proposition 7.2). Hence some subset has discrepancy at least cd(h+1)d−1/2, and padding this subset with points outside all relevant anchored boxes yields Theorem 1.1 for every large N.
Duality. For points P1,…,Pn∈(0,1)d and a weight vector η∈Rn, let Gη(x):=∑i≤nηi1{Pi≤x}, x∈[0,1]d, be the weighted count of the anchored box A(x). A coloring is a weight vector η∈{−1,1}n, and its discrepancy is ∥Gη∥∞:=supx∈[0,1]d∣Gη(x)∣. For an integrable function W on the cube, Fubini's theorem and Hölder's inequality give
A test function W with ∥W∥1≤1 and a large value of ∑iηi(J∗W)(Pi) thus certifies a large weighted box count. The difficulty is that the coloring is chosen adversarially after the point set, so that the test function must be adapted to it; we obtain this adaptation from a probabilistic reformulation in which the adversarial coloring is replaced by a Gaussian weight vector conditioned on a small-ball event. Concretely, we construct a family of test functions W(u), u∈[−1,1]M, and evaluate it at u=U(Z), the Rosenblatt coordinates of the conditioned Gaussian vector Z: if the hereditary discrepancy is small, the conditioning event has probability at least e−O(M) (Step 1); this forces Z to correlate with U(Z) (Step 2); and the test functions are designed so that this correlation produces a large weighted box count on average, contradicting the conditioning (Steps 3–5).
Step 1: hereditary discrepancy and Gaussian small balls. Let D be the hereditary discrepancy of the point set for anchored boxes, and let η be a centered Gaussian vector in Rn with all coordinate variances at most one. Lemma 7.1 shows that
P(∥Gη∥∞≤2D)≥(p0/2)n,p0:=P(∣g∣≤1),(1.4)
where g is a standard Gaussian variable, by combining Šidák's inequality [Š67], the rounding lemma of Lovász, Spencer and Vesztergombi [LSV86], and Anderson's inequality [And55].
Step 2: conditioned Gaussian vectors and Rosenblatt coordinates. We take η=Bz, where z is a standard Gaussian vector in RM, M is the number of shell boxes introduced in Step 3, and the matrix B:RM→Rn, constructed in Step 4, satisfies BB∗⪯In. Let Kt:={z:∥GBz∥∞≤t}, a closed, convex and symmetric set (from Section 5 on we abbreviate Gz:=GBz). Since η=Bz has coordinate variances (BB∗)ii≤1 and n≤CdM, (1.4) gives γM(K2D)≥e−κM for a constant κ depending only on d.
Whenever γM(Kt)≥e−κM, the conditioned vector Z with law ν:=γM(⋅∣Kt) has differential entropy at least 2Mlog(2π)−κM, which is at most κ+21 nats per coordinate below the entropy of γM. Its Rosenblatt transform U=(U1,…,UM), Uj:=2Fj(Zj∣Z<j)−1 [Ros52], built from the successive conditional distribution functions Fj, has independent coordinates that are uniform on [−1,1], and an elementary inequality between entropy and the Gini mean difference, combined with the chain rule for entropy, yields
j=1∑MEν(ZjUj)≥cκM(1.5)
with cκ>0 depending only on κ (Proposition 6.2). Each Eν(ZjUj) is nonnegative, and their average is bounded below by cκ. The lower bound γM(Kt)≥e−κM enters the argument only through (1.5).
Step 3: test functions with linear response. The heart of the construction is a family of functions W(u) on [0,1]d, indexed by coefficient vectors u∈[−1,1]M, with ∥W(u)∥1≤1 for every u and such that J∗PhiW(u), the primitive of W(u) after removal of its component in the low Haar cross, the span of all tensor Haar functions of level below h, is linear in u up to an error that is small in quadratic mean over u; see (1.7). The index set is a family R of M dyadic boxes of volume 2−h whose sides have depths in 3N0 (hence h∈3N), the shell boxes, to each of which a localized Walsh function qR is attached; from now on we index the coordinates of RM by R. The test function is the normalized difference
of two positive products. Here the shapes of the shell boxes are grouped into blocks by the depth a of their first side, and the block function Ba(u) is obtained by inserting the layer functions ∑RuRqR (one for each shape of the block, R running over the shell boxes of that shape) into the multilinear extension of ξ↦tanh(θ∑rξr) from the Boolean cube (Section 3). Because every Ba is odd in one binary digit of the first coordinate that no block of smaller first depth sees, both products integrate to one along every line parallel to the first axis, which gives ∥W(u)∥1≤1 (Lemma 3.2).
The linear part of W(u) in u is Wlin(u)=∑RλRuRqR with λR≍θ, where the modulation parameter is θ:=td(h+1)−(d−2)/2 with a small constant td. The nonlinear part is not small as a function, but it becomes small after removal of its component in the low Haar cross and integration: Theorem 4.1 shows that
for uniform random coefficients U, where Phi denotes the orthogonal projection onto the orthogonal complement of the low Haar cross. The relative root-mean-square error is thus Od(θ2)=Od((h+1)−(d−2)), which tends to zero as h→∞ because d≥3.
Step 4: sampling discretization. By (1.3), ⟨GBz,W(u)⟩=z⋅V(u) with the response V(u):=B∗((J∗W(u))(Pi))i≤n. The points come from a sampling discretization theorem of Limonova and Temlyakov [LT22, Theorem 1.1], applied to a space of piecewise multiaffine functions that contains the primitives J∗qR and the primitives of the low Haar cross, and the matrix B is built from the quadrature weights, the evaluations of the primitives, a projection that annihilates the low Haar cross, and an inverse Gram matrix. Since the remainder J∗PhiW(u)−J∗Wlin(u) need not lie in this space, the sampling space is enlarged by w, where w(p):=EU(∣(J∗PhiW(U)−J∗Wlin(U))(p)∣2) is the mean-square remainder; the quadrature rule then also bounds the weighted sum of the values w(Pi) by a constant multiple of ∫w, which transfers (1.7) to the points (Lemma 5.3).
Proposition 5.6 shows that the response is diagonal in u up to a small error: there are numbers sR>0, all comparable to a common scale s≍θ(h+1)(d−1)/22−h, which results from our chosen normalization of B, such that
with ρh:=Cρ(h+1)−(d−2) for a constant Cρ depending only on d.
Step 5: conclusion. For z∈Kt and every u∈[−1,1]M we have z⋅V(u)=⟨GBz,W(u)⟩≤t. Substituting u=U(z), where U is the Rosenblatt transform of ν, taking expectations under ν, and using (1.8), (1.5) together with Eν(ZRUR)≥0 for every R, the exact uniform law of U under ν, and Eν(∥Z∥22)≤M (Lemma 2.4), we obtain
(Proposition 6.3). With t=2D and h so large that ρh≤cκ/2, this gives D≳s∗M. The exponent d−1/2 arises as follows: the number M≍(h+1)d−12h of shell boxes and the factor s/θ≍(h+1)(d−1)/22−h of the response scale give s∗M≍θ(h+1)3(d−1)/2, and the modulation parameter θ≍(h+1)−(d−2)/2 reduces this to (h+1)d−1/2≍(logn)d−1/2.
Relation to earlier methods. Products of modulated block sums such as Q± in (1.6) go back to Riesz products, which appear in Halász's lower bounds for the Lebesgue-measure discrepancy [Hal81] and in proofs of small-ball inequalities: in Temlyakov's Riesz-product proof [Tem95b] of Talagrand's two-dimensional Haar inequality [Tal94, Proposition 3.2] and its trigonometric analogue [Tem95a], and in the higher-dimensional results of Bilyk and Lacey [BL08] and Bilyk, Lacey and Vagharshakyan [BLV08], where coincidences between Haar functions of equal depth in the same coordinate are the main obstacle. Here the product is paired with the counting function of a Gaussian weight vector, its coefficients are the Rosenblatt coordinates of that vector, and the coincidences are controlled: since the depths of the shell boxes are spaced by three, every nonvanishing product of the functions qI in one coordinate reduces to a factor ±qI′ or ±1I′, whose contributions are controlled by the smoothing of the block functions (Lemma 2.3) and by the estimate of the high-frequency primitives (Section 4). The passage from colorings to Gaussian vectors through hereditary discrepancy is in the spirit of the factorization-norm approach of [MNT20], but the quantity we estimate is a Gaussian small-ball probability rather than a γ2 norm: hereditary discrepancy bounds it from below (Lemma 7.1), and the entropy argument bounds it from above for radii t≪(h+1)d−1/2 (Proposition 6.3).
After the preliminaries in Section 2, Sections 3–6 develop the main construction and entropy argument, Section 7 completes the proof of Theorem 1.1, and Section 8 establishes the extensions and algorithmic consequences.
2 Preliminaries
This section collects definitions, external results and auxiliary lemmas. Section 2.1 and the Gaussian inequalities of Section 2.4 are used in Step 1 of the overview (Section 7); the Rosenblatt transform and the entropy facts of Sections 2.4 and 2.5 in Step 2 and the second-moment bound of Lemma 2.4 in Step 5 (both in Section 6); the dyadic functions and the Walsh estimate of Sections 2.2 and 2.3 in the construction of the test functions (Sections 3 and 4), the dyadic functions also in Section 5; and the sampling theorem of Section 2.6 in Section 5. Lemmas 2.2 and 2.3 are specific to our construction; the remaining lemmas are standard and included for completeness.
2.1 Discrepancy and hereditary discrepancy
For a real matrix A with n columns, its discrepancy and hereditary discrepancy are
where AS is the submatrix of A formed by the columns indexed by S. For a finite point set P={P1,…,Pn}⊂Rd, the set system of anchored boxes with corners in the unit cube is {P∩A(x):x∈[0,1]d}; its incidence matrix AP∈{0,1}m×n has one row (1{Pi≤x})i≤n for each of the finitely many distinct sets P∩A(x). For every subset S⊆P, the columns of AP indexed by S form, up to repeated rows, the incidence matrix of the anchored boxes on S, so that
The inequality holds because Ad also contains anchored boxes with corners outside the unit cube; (2.1) is used in the proof of Theorem 1.1. We shall use the inequality between linear and hereditary discrepancy due to Lovász, Spencer and Vesztergombi [LSV86, Corollary 1] (their discrepancy is defined with colorings in {0,1} and is half of ours, so that their Corollary 1 is the first assertion of Lemma 2.1); see also [Mat99a, Theorem 4.6]. We state it in the form (2.2), which is all we need, and include the short proof by dyadic rounding for completeness.
Lemma 2.1 (Rounding lemma). Let A∈Rm×n satisfy herdisc(A)≤D. Then for every y∈[0,1]n there is b∈{0,1}n with ∥A(y−b)∥∞≤D. Consequently,
A[−1,1]n⊆σ∈{−1,1}n⋃(Aσ+[−2D,2D]m).(2.2)
Proof. Let y first have dyadic coordinates with common denominator 2k, and iterate for j=k,k−1,…,1: let S be the set of coordinates whose numerator (in denominator 2j) is odd, choose
σ∈{−1,1}S with ∥ASσ∥∞≤D, and add 2−jσ to the coordinates in S. Odd numerators o satisfy 0<o<2j, so all coordinates stay in [0,1], all numerators become even, and Ay changes by at most 2−jD in the maximum norm. After the step j=1 the vector b∈{0,1}n satisfies ∥A(y−b)∥∞≤D∑j=1k2−j≤D. For general y, approximate by dyadic vectors y(ℓ)→y, pass to a subsequence along which the resulting b(ℓ)=b is constant, and let ℓ→∞. For (2.2), apply this to y:=(η+1)/2 with η∈[−1,1]n and put σ:=2b−1; then Aη−Aσ=2A(y−b). □
2.2 Dyadic intervals, Rademacher and Haar functions, primitives
For j∈N0, let Dj be the set of the 2j half-open dyadic intervals [k2−j,(k+1)2−j), 0≤k<2j, of depth j; we write depth(I):=j for I∈Dj, and ∣I∣=2−j for its length. Two dyadic intervals are either nested or disjoint. For I∈Dj and 0≤b≤j, the ancestor of I of depth b is the unique interval of Db containing I. The Rademacher functions are ϱj(x):=(−1)⌊2jx⌋ for x∈[0,1) and j≥1; ϱj is constant on every interval of Dj and takes the values +1 and −1 on the left and right halves of every interval of Dj−1. The (L∞-normalized) Haar function of J∈Db is
hJ:=ϱb+11J=1J−−1J+,
where J− and J+ are the left and right halves of J. Its level is lev(hJ):=b, and the constant function 1 has level lev(1):=−1. The functions 1 and hJ,J∈⋃bDb, form an orthogonal basis of L2[0,1], and the tensor Haar functions
φ1⊗⋯⊗φd,φj∈{1}∪{hJ:J∈b⋃Db},
form an orthogonal basis of L2([0,1]d). The level of a tensor Haar function is the sum ∑jlev(φj)∈{−d,−d+1,…} of its coordinate levels; for every integer L there are only finitely many tensor Haar functions of level at most L.
Recall from (1.3) the primitive
(J∗f)(p):=∫[p,1]df(x)dx,p∈[0,1]d,(2.3)
of an integrable function f on [0,1]d. The function J∗f is continuous, and J∗ is linear and acts on tensor products coordinatewise: J∗(f1⊗⋯⊗fd)=J∗f1⊗⋯⊗J∗fd, where in one dimension (J∗g)(t)=∫t1g for t∈[0,1]. With the variable t∈[0,1], one computes
where τJ is the tent function supported on J that is affine on J− and on J+ and has height ∣J∣/2 at the midpoint of J.
Localized Walsh functions qI and their primitives ψI. The functions qI are the one-dimensional factors of the localized Walsh functions qR attached to the shell boxes in Section 3. The three Rademacher factors make qI orthogonal to all polynomials of degree at most two, so that ψI is orthogonal to affine functions (Lemma 2.2); this orthogonality is used in Sections 3 and 5. For I∈Da we define
where I0,I1,I2,I3∈Da+2 are the four quarters of I from left to right. The second expression follows from the sign pattern of ϱa+1ϱa+2 on the quarters and from ϱa+31Ik=hIk. Thus ∣qI∣=1I, qI is a combination of Haar functions of level a+2, and qI is constant on every interval of Da+3.
Lemma 2.2 (Moments of qI and ψI). Let I∈Da. Then ∫qI(x)xkdx=0 for k=0,1,2. The primitive ψI is continuous, vanishes outside I, is affine on every interval of Da+3, and satisfies
In particular, ⟨ψI,g⟩=0 for every function g that is affine on an interval containing I.
Proof. Write I=[c,c+ℓ) and substitute x=c+ℓu with u∈[0,1); then ϱa+k(x)=ϱk(u) for k=1,2,3, so the moments are ℓ∫01ϱ1ϱ2ϱ3(u)(c+ℓu)kdu. Writing u=∑i≥1ιi2−i with binary digits ιi=(1−ϱi(u))/2, the function uk with k≤2 is an absolutely convergent series of products of at most two Rademacher functions, while ϱ1ϱ2ϱ3 is a product of three. Since the products ∏i∈Tϱi over distinct finite sets T⊂N are orthonormal in L2[0,1], integrating termwise shows that the moments vanish for k≤2. Since qI vanishes outside I and ∫qI=0, the primitive ψI(p)=∫p1qI vanishes for p∈/I. Fubini's theorem gives ∫01ψI(p)dp=∫qI(x)xdx=0 and ∫01pψI(p)dp=21∫qI(x)x2dx=0; as ψI vanishes outside I, the assertion on affine functions g follows. On I, the function qI equals ±1 on the eight intervals of Da+3 contained in I, with the sign pattern (+,−,−,+,−,+,+,−); integrating from the right, ψI is the sum of four tents of height ℓ/8 and base width ℓ/4 with signs (−,+,+,−), which gives ∥ψI∥22=4⋅4ℓ⋅3(ℓ/8)2=192ℓ3. The remaining assertions (continuity, affinity on the intervals of Da+3) follow from this representation as a sum of tents. □
2.3 Fourier-Walsh expansions
Every function F:{−1,1}m→R has the expansion F=∑T⊆[m]F(T)χT with χT(ξ):=∏i∈Tξi and F(T)=E(F(ξ)χT(ξ)) for a uniformly distributed ξ; see [O'D14, Chapter 1 and Section 2.2]. The characters χT are orthonormal, so E(F(ξ)2)=∑TF(T)2. The multilinear extension of F is
F(y):=T⊆[m]∑F(T)i∈T∏yi,y∈[−1,1]m.(2.7)
If ξ1,…,ξm are independent random signs with E(ξi)=yi, then F(y)=E(F(ξ)); in particular ∣F(y)∣≤max∣F∣. For i∈[m], the discrete derivative DiF(ξ):=21(F(ξi→+)−F(ξi→−)), where ξi→± agrees with ξ except that its i-th coordinate is ±1, has the expansion DiF=∑T∋iF(T)χT\{i} [O'D14, Proposition 2.19]. The operators Di commute, and for distinct i,j,k,
The block functions of Section 3 are multilinear extensions of the function in the following lemma. Part (ii) identifies their linear part, and part (iii) controls the nonlinear part in Section 4.
Lemma 2.3 (Walsh coefficients of a smoothed block sum). Let m∈N, θ>0, and F(ξ):=tanh(θ∑i=1mξi) for ξ∈{−1,1}m. Then:
(i) F(T)=0 whenever ∣T∣ is even;
(ii) the first-order coefficient b:=F({i}) does not depend on i, and θ(1−θ2(m−32))≤b≤θ;
Proof. (i) F is odd, F(−ξ)=−F(ξ), and χT(−ξ)=(−1)∣T∣χT(ξ), so F(T)=−(−1)∣T∣F(T).
(ii) By symmetry b does not depend on i. Let S:=∑l=iξl and g(s):=tanh(θs). Then b=E(ξiF(ξ))=21E(g(S+1)−g(S−1))=21E(∫−θθsech2(θS+t)dt). Since sech2≤1, b≤θ. Since sech2(y)≥1−y2 and E((θS+t)2)=θ2(m−1)+t2,
b≥21∫−θθ(1−θ2(m−1)−t2)dt=θ−θ3(m−1)−3θ3.
(iii) Since tanh is 1-Lipschitz, ∣DiF∣≤θ, and (2.8) gives ∑∅=T⊆EF(T)2≤∑i∈E∑T∋iF(T)2≤θ2∣E∣. For distinct i,j,k, with g as in (ii) and S′:=∑l∈/{i,j,k}ξl,
for some ζ∈(S′−3,S′+3), by the mean value theorem for third-order differences with step two. As ∣tanh′′∣≤2, we get ∣DiDjDkF∣≤2θ3. Every T⊆E with ∣T∣≥3 contains a triple {i,j,k}⊆E, so by (2.8)
2.4 Gaussian inequalities and the Rosenblatt transform
We call a random vector η in Rn a centered Gaussian vector if η=Bz for some k∈N, a standard Gaussian vector z in Rk and a matrix B∈Rn×k; its covariance BB∗ (B∗ the transpose) may be singular. We use two classical inequalities, a second-moment bound and the Rosenblatt transform.
Theorem A (Šidák [Š67, Corollary 1]). Let η be a centered Gaussian vector in Rn and c1,…,cn>0. Then
P(∣ηi∣≤ciforalli≤n)≥i=1∏nP(∣ηi∣≤ci).
Theorem B (Anderson [And55, Theorem 1 and Corollary 2]). Let η be a centered Gaussian vector in Rm and let K⊂Rm be closed, convex and symmetric (K=−K). Then P(η∈K+c)≤P(η∈K) for every c∈Rm.
Both inequalities are applied to possibly singular covariances. Šidák proves his inequality for zero means, arbitrary variances and an arbitrary correlation matrix and obtains the singular case by approximation with nonsingular distributions [Š67, Theorem 1, Corollary 1 and p. 628]; coordinates with zero variance are trivial. Anderson proved his inequality for symmetric unimodal densities [And55, Theorem 1 and Corollary 2], which covers nondegenerate centered Gaussian vectors (see also [Bog98, Section 1.8]); the degenerate case follows by adding an independent noise δg with g standard Gaussian, applying the nondegenerate case to the enlarged set K+[−ρ,ρ]m, and letting first δ→0 and then ρ→0, using that K is closed.
Lemma 2.4 (Second moment of a conditioned Gaussian vector). Let K⊂RM be closed, convex and symmetric with γM(K)>0, and let Z be standard Gaussian in RM. Then E(∥Z∥22∣Z∈K)≤M.
Proof. Write Z=RΘ with R:=∥Z∥2 and Θ:=Z/∥Z∥2; then R and Θ are independent and Θ is uniformly distributed on the unit sphere. Let a(r):=P(rΘ∈K). Since K is convex, symmetric and nonempty, 0∈K, so rω∈K implies r′ω∈K for 0≤r′≤r and every unit vector ω; hence a is nonincreasing. By independence, E(∥Z∥221{Z∈K})=E(R2a(R)), and Chebyshev's association inequality, applied to the nondecreasing function r↦r2 and the nonincreasing function a of the random variable R, gives E(R2a(R))≤E(R2)E(a(R))=MγM(K). □
For a random vector Z=(Z1,…,ZM) and j≤M we write Z<j:=(Z1,…,Zj−1) and Z≤j:=(Z1,…,Zj), and similarly z<j and z≤j for points z∈RM.
Lemma 2.5 (Rosenblatt transform [Ros52]). Let Z=(Z1,…,ZM) be a random vector with a density on RM. For j≤M let Fj(⋅∣z<j) be a regular version of the conditional distribution function of Zj given Z<j=z<j (the distribution function of Z1 for j=1), and put Uj:=2Fj(Zj∣Z<j)−1. Then U1,…,UM are independent and uniformly distributed on [−1,1].
Proof. For PZ<j-almost every z<j, where PZ<j is the law of Z<j, the conditional law of Zj given Z<j=z<j has a density, so that Fj(⋅∣z<j) is continuous and Uj is uniform on [−1,1] conditionally on Z<j; hence Uj is uniform on [−1,1] and independent of U1,…,Uj−1, which are functions of Z<j. Induction on j gives the claim. □
2.5 Differential entropy
For a random vector Z with density φ on Rk, the differential entropy is h(Z):=−∫φlogφ, whenever this integral exists; we also write h(μ):=h(Z) if Z has law μ. If φ is bounded with bounded support, then φlogφ is bounded and integrable, so h(Z) is finite; moreover all marginal densities of Z are bounded with bounded support. We use two standard facts.
For a random vector Z=(Z1,…,ZM) with a bounded density with bounded support, let φ≤j and φ<j be the densities of Z≤j and Z<j (with φ<1:=1), and let PZ<j be the law of Z<j. For PZ<j-almost every z<j, namely whenever φ<j(z<j)>0, the conditional law of Zj given Z<j=z<j has the bounded density φ≤j(z<j,⋅)/φ<j(z<j) with bounded support; we write h(Zj∣Z<j=z<j) for its entropy, which is finite, and h(Zj∣Z<j):=E(h(Zj∣Z<j=Z<j)) for its average, so that h(Z1∣Z<1)=h(Z1).
Lemma 2.6 (Chain rule). Let Z=(Z1,…,ZM) have a bounded density with bounded support. Then each h(Zj∣Z<j) is finite and
h(Z)=j=1∑Mh(Zj∣Z<j).
Proof. For z<j with φ<j(z<j)>0, the conditional density is φ≤j(z<j,⋅)/φ<j(z<j), and
where Fubini's theorem applies because φ≤j∣logφ≤j∣ and φ<j∣logφ<j∣ are integrable. With h(Z<1):=0, summing over j gives the claim; see also [CT06, Theorem 8.6.2]. □
Lemma 2.7 (Entropy and mean absolute deviation). Let Z be a real random variable with a density, finite entropy and E(∣Z∣)<∞, and let β:=E(∣Z−EZ∣), which is positive since Z has a density. Then h(Z)≤log(2eβ).
Proof. Let φ be the density of Z, zˉ:=EZ, and ℓ(t):=(2β)−1e−∣t−zˉ∣/β. Gibbs' inequality ∫φlog(φ/ℓ)≥0 gives h(Z)≤−∫φlogℓ=log(2β)+β−1E(∣Z−zˉ∣)=log(2eβ). □
2.6 Sampling discretization
The points of our construction are provided by a sampling discretization theorem of Limonova and Temlyakov. We state the special case that we need: it is their Theorem 1.1 under their Condition E with parameter t=1, which is the pointwise bound ∑k∣uk(x)∣2≤D below.
Theorem C (Limonova and Temlyakov [LT22, Theorem 1.1]). There are absolute constants C1,C2,C3>0 with the following property. Let μ be a probability measure on a nonempty set Ω⊂Rd, and let u1,…,uD be real functions on Ω that are orthonormal in L2(Ω,μ) and satisfy ∑k=1D∣uk(x)∣2≤D for every x∈Ω. Then there are points ξ1,…,ξm∈Ω with m≤C1D such that
C2∥f∥L2(μ)2≤m1j=1∑m∣f(ξj)∣2≤C3∥f∥L2(μ)2for all f∈span{u1,…,uD}.
The points ξj need not be distinct; distinct points are obtained in Lemma 5.3. The lower inequality implies m≥D, since the evaluation map f↦(f(ξj))j≤m is injective on the D-dimensional space span{u1,…,uD}; this is used in the proof of Lemma 5.3.
3 The test functions
We construct the test functions W(u),u∈[−1,1]M, of Step 3 in the overview, prove that they have L1-norm at most one, and identify their linear part. The construction is parametrized by a depth h∈3N, and we write
v:=2−h.(3.1)
3.1 Shell boxes and localized Walsh functions
A shape is a vector r∈(3N0)d with ∣r∣1=h; the set of shapes is Sh, and its cardinality is
For r∈Sh, the shell boxes of shape r are the dyadic boxes R=R1×⋯×Rd, that is, products of dyadic intervals, with Rj∈Drj; there are 2h=1/v of them, each of volume v. We write R for the set of all shell boxes, shape(R) for the shape of R∈R, and
M:=∣R∣=Kh/v.(3.3)
To every R∈R we attach the localized Walsh function qR and its normalized primitive TR,
qR:=qR1⊗⋯⊗qRd,TR:=v−1ψR1⊗⋯⊗ψRd,(3.4)
with qI and ψI as in (2.5). Then ∣qR∣=1R, so ∥qR∥1=v and ∥qR∥22=v. Moreover, qR is a combination of tensor Haar functions of level ∑j(rj+2)=h+2d, and J∗qR=vTR.
Lemma 3.1 (Orthogonality of the primitives). For all R,S∈R, ⟨TR,TS⟩=γdv1{R=S}, where γd:=192−d.
Proof. We have ⟨TR,TS⟩=v−2∏j=1d⟨ψRj,ψSj⟩. If R=S, then (2.6) gives v−2∏j∣Rj∣3/192=v−2v3192−d=γdv. If R=S have the same shape, then Rj=Sj for some j, these intervals have the same depth and are therefore disjoint, and ⟨ψRj,ψSj⟩=0. If the shapes differ, there is a coordinate j with rj=sj, say rj<sj; then sj≥rj+3 because the shapes have coordinates in 3N0. Either Sj∩Rj=∅, or Sj is contained in an interval of Drj+3 inside Rj, on which ψRj is affine by Lemma 2.2; in both cases ⟨ψRj,ψSj⟩=0 by the last assertion of Lemma 2.2. □
3.2 Blocks and the positive product
The shapes are grouped according to their first coordinate. For a∈3N0 with a≤h, the block Ca:={r∈Sh:r1=a} has cardinality
ma:=∣Ca∣=(d−2(h−a)/3+d−2)≤(h+1)d−2,(3.5)
where the inequality follows from (n+k)(kn+k)=∏i=1kin+i≤(n+1)k and (h−a)/3+1≤h+1. There are Lh:=h/3+1 blocks, indexed by a∈{0,3,…,h}; we also refer to the index a itself as a block. We fix the parameters
ε:=41,θ:=td(h+1)−(d−2)/2,λ:=εθ,(3.6)
where td∈(0,21] is a constant depending only on d; it is chosen in Section 4, see (4.14). By (3.5),
θ2ma≤td2≤41foreveryblocka.(3.7)
Thus the sign sums θ∑r∈Caξr defining the functions Φa below have variance at most 41; Lemma 2.3 controls the resulting nonlinear Fourier–Walsh terms.
A coefficient vector is a vector u=(uR)R∈R∈[−1,1]R; we fix an enumeration of R and identify [−1,1]R with [−1,1]M and RR with RM. For a shape r, the layer function
satisfies ∣fr(u;x)∣≤1, because the shell boxes of shape r are disjoint and ∣qR∣=1R. For a block a, let Φa:{−1,1}Ca→[−1,1], Φa(ξ):=tanh(θ∑r∈Caξr), and let Φa be its multilinear extension (2.7). The block function is
The following lemma is the reason for the product structure of W and for grouping the shapes by their first coordinate: integrating along the first coordinate removes one block at a time.
Lemma 3.2 (Normalization). For every u∈[−1,1]R and every x′=(x2,…,xd)∈[0,1)d−1,
∫01Q±(u;x1,x′)dx1=1.
Consequently, ∥Q±(u)∥1=1 and ∥W(u)∥1≤1 for every u∈[−1,1]R.
Proof. Fix u and x′, and consider all functions as functions of x1∈[0,1). Let a be a block and r∈Ca. For x1∈I∈Da, the unique shell box R of shape r containing (x1,x′) is R=I×R2×⋯×Rd, where Rj∈Drj is the interval containing xj; these Rj do not depend on x1. Hence
and cr(I) depends on x1 only through I. By Lemma 2.3(i), only sets T of odd cardinality occur in (3.9), and qI∣T∣=qI on I for odd ∣T∣. Therefore, for x1∈I,
where ga is constant on every interval of Da+2. In particular, Ba(u;⋅,x′) is constant on every interval of Da+3, and ∫JBa(u;x1,x′)dx1=0 for every J∈Da+2, because ϱa+3 has integral zero over J.
We remove the factors of Q± one at a time. Let a be the largest block index among the remaining factors. Every other remaining block a′ satisfies a′+3≤a, so its factor 1±εBa′ is constant on the intervals of Da and hence on those of Da+2, while ∫J(1±εBa)dx1=∣J∣ for every J∈Da+2. Integrating over each J∈Da+2 and summing, we see that the integral over [0,1) of the product of the remaining factors does not change when the factor 1±εBa is removed. Continuing with the remaining factors until the empty product 1 is reached gives ∫01Q±(u;x1,x′)dx1=1. As Q±>0, Fubini's theorem yields ∥Q±(u)∥1=1, and ∥W(u)∥1≤21(∥Q+(u)∥1+∥Q−(u)∥1)=1. □
3.4 The linear part
Each Ba(u;x) is a polynomial in the coefficients u, and so is W(u;x); we isolate the part of W(u;x) of degree one in u. By Lemma 2.3(ii) with m=ma, the first-order Fourier–Walsh coefficient ba:=Φa({r}), r∈Ca, does not depend on r. Put
Lemma 3.3 (Linear part). For every block a, θ/2≤ba≤θ; hence 21λ≤λR≤λ for every R∈R. The difference W(u)−Wlin(u) is a polynomial in u all of whose monomials have degree at least three. Moreover, if U is uniformly distributed on [−1,1]R, then
Proof. Lemma 2.3(ii) with m=ma gives ba≤θ and ba≥θ(1−θ2(ma−32))≥θ(1−θ2ma)≥θ/2 by (3.7). The layer functions fr(u) are linear in u, and distinct layer functions involve disjoint sets of coefficients. By (3.9) and Lemma 2.3(i), the part of Ba(u) of degree one in u is ba∑r∈Cafr(u), and all other monomials of Ba(u) have odd degree at least three. In (3.11), a monomial of degree one can only arise from a singleton S={a} and the degree-one part of Ba; this gives ∑aεba∑r∈Cafr(u)=Wlin(u). All remaining monomials have degree at least three. Finally, since E(URUS)=311{R=S}, Lemma 3.1 gives EU(∥Flin(U)∥22)=v2∑RλR2⋅31γdv, and (3.15) follows from λ/2≤λR≤λ, M=Kh/v and (3.2). □
Remark 3.4 (Depth separation and smoothing). The depths of the shell boxes are multiples of three, so that two different depths in the same coordinate differ by at least three. Since qI is constant on every dyadic interval of depth at least depth(I) + 3, every product of functions qI in one coordinate is therefore either zero or, up to sign, equal to qI′ or 1I′ for the deepest interval I′ involved, according to the parity of the number of factors of that depth (Lemma 4.2); likewise, the proof of Lemma 3.2 can peel off one block at a time. The smoothing tanh in the block functions keeps ∣Ba∣≤1, and hence 1±εBa≥43, for all coefficient vectors and all points, while by Lemma 2.3 the function Φa is linear up to cubic and higher Fourier–Walsh coefficients whose squares sum to at most θ6ma3.
4 The nonlinear remainder
The test function W(u) is far from linear in u as a function on the cube. In this section we show that it is linear up to a small relative error once its component in the low Haar cross is removed and the primitive is taken. Let
a finite-dimensional space, which we call the low Haar cross, and let Plo be the orthogonal projection of L2([0,1]d) onto Hlo and Phi:=Id−Plo. Since qR is a combination of tensor Haar functions of level h+2d, we have
The component in the low Haar cross has to be removed because of coincidences of depths. If, in a coordinate k≥2, the largest side depth among the shell boxes in a product ∏RqR is attained by an even number of them, then the factors in that coordinate multiply to ±1I, where I is the common deepest side, because qI2=1I and the factors of smaller depth are constant on I (Lemma 4.2). The primitive of qI vanishes outside I, but the primitive of 1I equals ∣I∣ to the left of I, so the primitive of such a product does not vanish outside its support; the part far from I comes from the constant and the coarse Haar components of 1I. The projection Phi removes all tensor Haar components of level below h. It therefore retains only components whose depths fall short of the depths of the deepest sides by at most e+2d in total, where e is the excess of the join of the shapes involved (Section 4.1), and Lemma 4.3 turns this into exponential decay in e.
Theorem 4.1 (Remainder estimate). There is a constant td∗∈(0,21] depending only on d such that the following holds for every td∈(0,td∗] in (3.6) and every h∈3N, with constants Cd,Cd′ that depend only on d and not on td. If U is uniformly distributed on [−1,1]R, then
The second inequality follows from the first by (3.15), whose constants do not depend on td, and λ≤θ. Since θ4=td4(h+1)−2(d−2), the relative root-mean-square error is Od((h+1)−(d−2)), which tends to zero as h→∞ because d≥3.
From now on we fix td:=td∗, with td∗ as chosen in (4.14); the constants cd,Cd appearing later may depend on this choice, whereas the constants in (4.3) do not.
Strategy. We expand W(u) into monomials in the coefficients and use their orthogonality to reduce the mean-square error to a sum of squared norms. After removal of the component in the low Haar cross, the cell-location estimate gives exponential decay in the join excess, up to polynomial factors. We then separate monomials lying in one block from those meeting at least three blocks; their total contributions are bounded by factors Od(θ4) and Od(λ4), respectively, relative to the mean-square size of the linear part.
4.1 Cell monomials and joins
Substituting (3.9) and (3.8) into (3.11) and expanding all products, we write W(u) as a sum of monomials in the coefficients. Each term is indexed by a set Γ⊆R of shell boxes with pairwise distinct shapes, one from each layer function that occurs; we write T(Γ):={shape(R):R∈Γ} for its set of shapes and S(Γ):={r1:r∈T(Γ)} for the set of blocks it meets. We call Γ admissible if ∣S(Γ)∣ is odd and ∣T(Γ)∩Ca∣ is odd for every a∈S(Γ), and we denote the set of admissible Γ by M. For Γ∈M we put
where the second identity restates Lemma 3.3; note that ∣Γ∣=1 means ∣S(Γ)∣=1 and ∣T(Γ)∣=1, and that every other admissible Γ has ∣Γ∣≥3. We call the terms cΓmΓ(u)XΓ with Γ∈M the cell monomials of W; for XΓ=0, the dyadic box ⋂R∈ΓR, on which XΓ is supported, is called the cell of Γ. Each mΓ is squarefree, and distinct admissible sets give distinct monomials. If U is uniformly distributed on [−1,1]R, then E(mΓ(U)mΓ′(U))=0 for Γ=Γ′, because some coefficient occurs exactly once in the product, and E(mΓ(U)2)=3−∣Γ∣≤1. Consequently, for every bounded linear operator O on L2([0,1]d),
We apply this with O=J∗Phi, which is bounded since J∗ is bounded on L2([0,1]d); by (4.2), the left-hand side of (4.6) is then the left-hand side of (4.3). To bound the right-hand side of (4.6), we describe the functions XΓ.
For a set of shapes T⊆Sh, the join j=j(T)∈(3N0)d is the coordinatewise maximum jk:=maxr∈Trk, and the excess is e(T):=∣j∣1−h. Since ∣r∣1=h for every shape and rk≤h, we have 0≤e(T)≤(d−1)h.
Lemma 4.2 (Structure of cell monomials). Let T=T(Γ0) for some Γ0∈M, with join j and excess e.
(a) The admissible sets Γ with T(Γ)=T and XΓ=0 are in bijection with the dyadic boxes I=I1×⋯×Id with Ik∈Djk, via Γ↦I:=⋂R∈ΓR. In particular there are exactly 2h+e of them.
Proof. (a) If XΓ=0, the boxes in Γ have a common point, so in every coordinate k their sides are pairwise nested, and their intersection is a dyadic box I whose k-th side is the deepest of these sides, of depth maxr∈Trk=jk. Conversely, given a dyadic box I with sides of depths jk, every shape r∈T satisfies r≤j, and the unique shell box Rr of shape r containing I is the product of the ancestors of the sides of I of depths rk. The set Γ:={Rr:r∈T} is admissible, has T(Γ)=T and ⋂R∈ΓR=I, and XΓ=0 because ∣XΓ∣=∏R∈Γ1R=1I; the two maps are inverse to each other. The number of dyadic boxes with sides of depths j1,…,jd is 2∣j∣1=2h+e.
(b) Write Rr for the shell box of shape r in Γ and Rr,k for its k-th side, so that XΓ=⨂k=1d∏r∈TqRr,k. Fix a coordinate k. The product ∏r∈TqRr,k vanishes outside Ik, since it contains the factor qIk (some r has rk=jk). Let xk∈Ik. For r∈T with rk<jk we have rk≤jk−3, so Ik is contained in an interval of Drk+3 inside Rr,k, on which qRr,k is constant and equal to ±1. For r∈T with rk=jk we have Rr,k=Ik and the factor is qIk. Since qIk2=1Ik, the product ∏r∈TqRr,k(xk) equals ±qIk(xk) or ±1Ik(xk) according to the parity of #{r:rk=jk}. In the first coordinate, j1=maxS(Γ) is the block of largest index met by Γ, and the shapes with r1=j1 are exactly the elements of T∩Cj1, whose number is odd by admissibility. □
4.2 The cell-location estimate
The following lemma bounds the total contribution of all monomials with a fixed set of shapes.
Lemma 4.3 (Cell-location estimate). Let T be as in Lemma 4.2, with excess e. Then
Γ∈M:T(Γ)=T∑∥J∗PhiXΓ∥22≤Cdv22−e(e+1)2(d−1).
Proof. Sets Γ with XΓ=0 contribute nothing. Let Γ with XΓ=0 correspond to the box I in Lemma 4.2(a), and write XΓ as in (4.7). Call a coordinate k≥2 modulated if gk=qIk and plain otherwise. We expand every factor in the Haar basis. The factor qI1 and every modulated factor qIk are combinations of four Haar functions of level j1+2 and jk+2, respectively. A plain factor 1Ik has the expansion
1Ik=2−jk1+b=0∑jk−1σb2b−jkhJb,(4.8)
where Jb is the ancestor of Ik of depth b and σb∈{−1,1} records on which half of Jb the interval Ik lies. For a component vector β=(β2,…,βd) with βk=jk for modulated k and βk∈{−1,0,…,jk−1} for plain k, let gk(βk) be the corresponding term: gk(jk):=qIk for modulated k, and gk(−1):=2−jk1, gk(b):=σb2b−jkhJb for plain k. Then
XΓ=±β∑XΓ(β),XΓ(β):=qI1⊗g2(β2)⊗⋯⊗gd(βd),
and XΓ(β) is a combination of tensor Haar functions of the common level
lev(β)=(j1+2)+k≥2∑βk+2#{k≥2:kmodulated}.
Hence PhiXΓ=±∑β:lev(β)≥hXΓ(β), and every retained component vector satisfies
j1+k≥2∑βk≥h−2d.(4.9)
The deficits δk:=jk−βk≥0 of a retained component vector satisfy ∑k≥2δk=(h+e−j1)−∑k≥2βk≤e+2d by (4.9). The number NT of retained component vectors is therefore at most the number of vectors in N0d−1 with coordinate sum at most e+2d, so that
NT≤(d−1e+3d−1)≤Cd(e+1)d−1.(4.10)
Next we bound the primitives. By (2.6) and (2.4), ∥J∗qI1∥22=2−3j1/192, and for k≥2
where we used ∑k≥22jk=2(h+e)−2j1 and (4.9). This bound does not depend on the box I. The components XΓ(β) for different β need not have orthogonal primitives, so we use the Cauchy-Schwarz inequality:
Summing over the 2h+e=v−12e admissible sets Γ with T(Γ)=T and XΓ=0 (the others contribute nothing) and using (4.10) gives the claim.
4.3 Proof of Theorem 4.1
We first record two counting bounds.
Lemma 4.4 (Counting shapes and joins). Let j∈(3N0)d with ∣j∣1=h+e, where 0≤e≤(d−1)h.
(a) The number of shapes r∈Sh with r≤j is at most Cd(e+1)d−1, and the number of those with r1=j1 is at most Cd(e+1)d−2.
(b) The number of vectors j′∈(3N0)d with ∣j′∣1=h+e is at most Cd(h+1)d−1.
Proof. (a) A shape r≤j is determined by the vector j−r∈(3N0)d, whose coordinate sum is e. The number of such vectors is at most (d−1e/3+d−1)≤Cd(e+1)d−1, and at most (d−2e/3+d−2)≤Cd(e+1)d−2 if the first coordinate is prescribed to be zero.
(b) The number of such j′ is (d−1(h+e)/3+d−1)≤Cd(h+e+1)d−1≤Cd(h+1)d−1, since e≤(d−1)h. □
Proof of Theorem 4.1. By (4.6) with O=J∗Phi, the identity (4.2), and the fact that cΓ depends only on T(Γ),
where T ranges over the sets of shapes of admissible sets with at least three elements, cT denotes the common value of cΓ for T(Γ)=T, and we used Lemma 4.3. We group the sets T according to their join j and distinguish two classes. Since ∣S(Γ)∣ is odd for admissible Γ, either T meets a single block, and then ∣T∣≥3 because ∣Γ∣≥3 (class I), or it meets at least three blocks (class II).
Class I: one block. Here T⊆Ca for a single block a, with ∣T∣≥3 odd, and cT=εΦa(T). The join j of T satisfies j1=a, and T is a subset of Ij:={r∈Cj1:r≤j}, whose cardinality is at most Cd(e+1)d−2 by Lemma 4.4(a). By the second inequality in (2.9), applied to F=Φj1 and E=Ij,
T⊆Ij,∣T∣≥3∑cT2≤ε2θ6∣Ij∣3≤Cdε2θ6(e+1)3(d−2).
For each excess e there are at most Cd(h+1)d−1 joins by Lemma 4.4(b), and every excess satisfies 0≤e≤(d−1)h. Hence the contribution of class I to the right-hand side of (4.11) is at most
Class II: at least three blocks. Here ∣S∣≥3, where S is the set of blocks met by T, and cT2=∏a∈Sε2Φa(T∩Ca)2. Fix a join j with excess e and put Ij′:={r∈Sh:r≤j}, so that ∣Ij′∣≤Cd(e+1)d−1 by Lemma 4.4(a). For a block a let
where we used the first inequality in (2.9). Every class II set T with join j has the form ⋃a∈STa with nonempty Ta⊆Ca∩Tj′. Summing cT2 over all such choices with a fixed S gives at most ∏a∈Sαa(j), and summing over all S with ∣S∣≥3 gives at most
because the k-th elementary symmetric polynomial of nonnegative numbers is at most the k-th power of their sum divided by k!. Using Lemma 4.4(b) once more and recalling that the excess of every set of shapes satisfies 0≤e≤(d−1)h, the contribution of class II to (4.11) is at most
where Cd is the constant in the exponent in (4.13); it comes from Lemma 4.4(a) and does not depend on td. Then, for every td∈(0,td∗], the exponential factor is at most 2(e+1)/4 for all 0≤e≤(d−1)h, so the sum in (4.13), without the factor λ6, is at most ∑e≥02−e(e+1)5(d−1)2(e+1)/4, a convergent series whose value depends only on d; hence the contribution of class II is at most Cdλ6(h+1)d−1v2. Together with (4.12) this proves the first inequality in (4.3). □
5 Sampling and the exact linear response
We choose the point set and the matrix B that transforms a standard Gaussian vector z∈RM into the weight vector η=Bz∈Rn. Three properties are needed: the linear part of the pairing of the weighted counting function Gz with W(u) is exactly diagonal in u; the pairing does not see the low Haar cross, so that Theorem 4.1 controls the nonlinear remainder; and BB∗⪯In, which gives the variance bound required in Lemma 7.1. The first two properties rest on a weighted point set for which discrete and continuous L2-norms are equivalent on a space containing all TR and the primitives of the low Haar cross (Section 5.1), and which also controls the mean-square remainder at the points (Section 5.2); Section 5.3 then defines B by a projection and an inverse Gram matrix.
5.1 A space of piecewise multiaffine functions
For j∈N0 let Vj be the space of functions on [0,1) that are affine on every interval of Dj; thus dimVj=2j+1 and V0⊂V1⊂⋯. Put D0:=V0 and Dj:=Vj⊖Vj−1 (the orthogonal complement of Vj−1 in Vj) for j≥1, so that dimDj=2j for j≥1 and the spaces Dj are mutually orthogonal in L2[0,1). For ℓ∈N0d let Dℓ:=Dℓ1⊗⋯⊗Dℓd⊂L2([0,1)d), and define
H:=h+3d,VH:=ℓ∈N0d,∣ℓ∣1≤H⨁Dℓ.(5.1)
Every element of VH has a unique representative that is multiaffine, that is, affine in each coordinate separately, on each of the 2dH half-open dyadic boxes with sides in DH; we always use this representative, which is defined at every point of [0,1)d.
For a finite-dimensional space X of pointwise defined functions on a set Ω with a probability measure μ, the inverse Christoffel function is LX(p):=∑k∣ϕk(p)∣2, where (ϕk) is an orthonormal basis of X in L2(μ). It does not depend on the choice of the basis, since LX(p) is the squared norm of the evaluation functional f↦f(p) on X. It is nondecreasing in X, additive for orthogonal direct sums, and multiplicative for tensor products of spaces on product measure spaces. Theorem C requires a uniform bound on the inverse Christoffel function of the sampling space; in the proof of Lemma 5.3, the lower bound in part (c) of the following lemma keeps the weights bounded by Cd/n after a change of density, while part (b) controls the number of points.
Lemma 5.1 (Inverse Christoffel function of VH). (a) There are absolute constants c0,C0>0 such that c02j≤LDj(t)≤C02j for all j∈N0 and t∈[0,1).
(b) cd2H(H+1)d−1≤dimVH≤Cd2H(H+1)d−1; in particular cdM≤dimVH≤CdM.
(c) cddimVH≤LVH(p)≤CddimVH for all p∈[0,1)d.
Proof. (a) For I=[xI,xI+2−j)∈Dj, the functions 2j/21I and 2j/23(2j+1(t−xI)−1)1I form an orthonormal basis of the functions that are affine on I and vanish outside I, so for t∈I,
LVj(t)=2j(1+12(s−21)2),s:=2j(t−xI)∈[0,1).
For j=0 this gives 1≤LD0=LV0≤4. For j≥1 and t in the left half I of I′∈Dj−1 we have 2j−1(t−xI′)=s/2, hence
(b) Since 2∣ℓ∣1≤dimDℓ=∏kdimDℓk≤2d2∣ℓ∣1, and since ∑∣ℓ∣1≤H2∣ℓ∣1=∑b=0H2b(d−1b+d−1) lies between 2H(d−1H+d−1) and 2H+1(d−1H+d−1), we get dimVH≍2H(H+1)d−1. By (5.1), (3.2) and (3.3), this is ≍(h+1)d−1/v≍M.
(c) By additivity and multiplicativity, LVH=∑∣ℓ∣1≤H∏kLDℓk, and (a) gives c0d∑∣ℓ∣1≤H2∣ℓ∣1≤LVH≤C0d∑∣ℓ∣1≤H2∣ℓ∣1, which is ≍dimVH by the proof of (b). □
Let L:=J∗(Hlo) be the space of primitives of the low Haar cross (4.1); since J∗ is injective on L2([0,1]d), dimL=dimHlo.
Lemma 5.2 (Space inclusions). (a) TR∈VH for every R∈R.
(b) L⊂VH.
(c) TR⊥L for every R∈R.
Proof. (a) By Lemma 2.2, ψRk is affine on every interval of Drk+3, so ψRk∈Vrk+3=⨁ℓ≤rk+3Dℓ and TR∈⨁ℓk≤rk+3Dℓ⊂VH, because ∑k(rk+3)=h+3d=H.
(b) Let φ=φ1⊗⋯⊗φd be a tensor Haar function of level at most h−1. By (2.4), J∗1=1−t∈V0 and J∗hJ=−τJ∈Vdepth(J)+1, so J∗φk∈Vlev(φk)+1 and J∗φ∈⨁ℓk≤lev(φk)+1∀kDℓ, where ∑k(lev(φk)+1)≤h−1+d≤H. Since L is spanned by these J∗φ, (b) follows.
(c) With φ as in (b), ⟨TR,J∗φ⟩=v−1∏k⟨ψRk,J∗φk⟩. If some φk=1, then J∗φk=1−t is affine on [0,1) and the k-th factor vanishes by Lemma 2.2. Otherwise φk=hJk for every k, and ∑kdepth(Jk)≤h−1<h=∑krk, so depth(Jk)≤rk−1 for some k. Then τJk is affine on each half of Jk, which are intervals of depth at most rk, and Rk is either disjoint from Jk or contained in one of its halves; in both cases ⟨ψRk,τJk⟩=0 by Lemma 2.2, and (c) follows by linearity. □
with U uniform on [−1,1]R. By (4.5) and the orthogonality of the monomials mΓ(U),
w(p)=Γ∈M,∣Γ∣≥3∑cΓ23−∣Γ∣∣(J∗PhiXΓ)(p)∣2
is a finite sum; each PhiXΓ=XΓ−PloXΓ is bounded, so J∗PhiXΓ is Lipschitz continuous, and therefore w is continuous on [0,1]d. Integrating this identity over the cube and using (4.6) with O=J∗Phi and Theorem 4.1 (with λ≤θ) gives
To transfer this mean-square remainder bound to the sample points, we add the single function w to the sampling space.
Let Ω⊂(0,1)d be the set of points of [0,1)d none of whose coordinates is an integer multiple of 2−H. It has full measure and is the union of the open dyadic boxes with sides of depth H; every function in VH is continuous on each of these open boxes, which is used to make the sample points distinct.
Lemma 5.3 (Sampling lemma). Let w:[0,1]d→[0,∞) be continuous. There are n distinct points P1,…,Pn∈Ω and weights a1,…,an>0 such that
Proof. We use the change-of-density argument from the proof of [DPS +21, Theorem 6.4] (Theorem 6.3 in arXiv:2001.10636v1); see also [LT22, Remark 3.1]. We include the details to obtain distinct points and the required bound on the weights. Let U be the span of VH and w, considered as functions on Ω. All functions in U are continuous on each open dyadic box of depth H, so a function in U that vanishes almost everywhere vanishes on Ω, and L2(Ω) with Lebesgue measure induces an inner product on U; note that dimU∈{dimVH,dimVH+1}. Let (ϕk)k≤dimU be an orthonormal basis of U in L2(Ω), and put ϖ:=LU/dimU=(dimU)−1∑k∣ϕk∣2. Then ∫Ωϖ=1, and since LX is nondecreasing in X, Lemma 5.1(c) gives ϖ≥LVH/dimU≥cddimVH/(dimVH+1)≥cd′>0 on Ω. The functions uk:=ϕk/ϖ are orthonormal in L2(Ω,ϖdp) and satisfy ∑k∣uk∣2=dimU on Ω. By Theorem C, applied with μ=ϖdp, there are points ξ1,…,ξm∈Ω with dimU≤m≤C1dimU such that for every g=f/ϖ with f∈U,
With a~j:=1/(mϖ(ξj))≤1/(mcd′) this is a two-sided inequality C2∥f∥22≤∑ja~j∣f(ξj)∣2≤C3∥f∥22 for all f∈U, which contains (5.5) and, for f=w, (5.6).
The points ξj need not be distinct. Let δ0>0, to be chosen below. Like the functions in U, the functions ϖ and 1/(mϖ) are continuous on each open dyadic box of depth H. If several points coincide, we replace them by points in the same open box at distance less than δ0 from the original ones, chosen so that all m points become distinct, and recompute the weights a~j=1/(mϖ(ξj))≤1/(mcd′). The functional f↦∑ja~j∣f(ξj)∣2 depends continuously on the points, and the unit sphere of U is compact, so for δ0 small enough the two-sided inequality persists with the constants C2/2 and 2C3. We take n:=m, Pi:=ξi and ai:=a~i; then (5.5) and (5.6) hold with c⋆:=C2/2 and C⋆:=2C3, and n lies between dimU≥dimVH≥cdM and C1(dimVH+1)≤CdM by Lemma 5.1(b), so that ai≤Cd/n. □
The point set. From now on, P1,…,Pn∈Ω and a1,…,an denote the points and weights provided by Lemma 5.3 for the function w in (5.2). They are deterministic: they depend on h and d only, and neither on z nor on any realization of U. Section 7 applies the hereditary-discrepancy argument to this point set.
5.3 The Gaussian weights and the response
We use the following matrices: the weight matrix E:=diag(a1,…,an)∈Rn×n; the evaluation matrix T:=(TR(Pi))i≤n,R∈R∈Rn×M of the primitives; the evaluation matrix Λ∈Rn×dimL at the points of a fixed orthonormal basis of L, so that the vectors Λb,b∈RdimL, are exactly the vectors (g(Pi))i≤n with g∈L; and the orthogonal projection Π∈Rn×n onto the orthogonal complement of range(EΛ). The Gram matrix is
G:=T∗EΠET∈RM×M.(5.7)
Lemma 5.4 (Gram matrix). Let c⋆,C⋆ be the constants of (5.5). Then c⋆γdvIM⪯G⪯C⋆γdvIM.
Proof. For y∈RM put Fy:=∑RyRTR, so that ETY=(aiFy(Pi))i. Since Π projects onto range(EΛ)⊥,
By Lemma 5.2, Fy−g∈VH and Fy⊥g for every g∈L, so (5.5) and Lemma 3.1 give ∑iai∣Fy(Pi)−g(Pi)∣2≥c⋆∥Fy−g∥22≥c⋆∥Fy∥22=c⋆γdv∥y∥22 for every g, and hence y∗Gy≥c⋆γdv∥y∥22. Omitting the projection, y∗Gy≤∥ETy∥22=∑iai∣Fy(Pi)∣2≤C⋆∥Fy∥22=C⋆γdv∥y∥22. □
We now define the scale α and the matrix B by
α:=ωdn/v,B:=αγdvEΠETG−1∈Rn×M,(5.8)
where ωd>0 is a constant depending only on d, chosen in the next lemma. The two factors of B serve different purposes. The projection Π removes the evaluated primitives of the low Haar cross: the weight vectors Bz are orthogonal to every vector (g(Pi))i≤n with g∈L (Lemma 5.5(a)), so that the weighted counting function does not see the low Haar cross. The inverse Gram matrix makes the pairing with the primitives TR exactly diagonal, T∗B=αγdvIM (Lemma 5.5(b)); hence the linear part of the response pairs each coordinate zR only with uR (Proposition 5.6(d)), which matches Section 6, where the correlations are controlled coordinate by coordinate (Proposition 6.2).
Lemma 5.5 (Properties of B). (a) Λ∗B=0.
(b) T∗B=αγdvIM.
(c) If ωd is sufficiently small, depending only on d, then BB∗⪯In.
Proof. (a) Since Π is symmetric and annihilates range(EΛ), we have Λ∗EΠ=(ΠEΛ)∗=0, and hence Λ∗B=0. (b) T∗B=αγdvT∗EΠETG−1=αγdvGG−1. (c) We have ∥B∥op≤αγdv∥E∥op∥ET∥op∥G−1∥op, with ∥E∥op2=maxiai≤Cd/n, ∥ET∥op2=∥T∗E2T∥op≤C⋆γdv by (5.5) and Lemma 3.1, and ∥G−1∥op≤(c⋆γdv)−1 by Lemma 5.4. Hence ∥B∥op2≤Cdα2γdv/n=Cdγdωd2, which is at most one for small ωd; this is equivalent to BB∗⪯In.
We fix ωd as in Lemma 5.5(c). For z∈RM, the weight vector is η:=Bz∈Rn, and the associated weighted counting function is the function Gη of (1.3),
Gz(x):=i=1∑n(Bz)i1{Pi≤x},x∈[0,1]d.(5.9)
For u∈[−1,1]R, the response of the point set to the test function W(u) is
V(u):=B∗((J∗W(u))(Pi))i≤n∈RM.(5.10)
The linear part of the response is exactly diagonal; the nonlinear part contributes the error e(u), estimated in part (e) of the following proposition.
Proposition 5.6 (Exact linear response). Let sR:=αγdv2λR for R∈R, s:=αγdv2λ, and s∗:=minRsR, so that s/2≤s∗≤sR≤s by Lemma 3.3. Then the following hold.
(a) ⟨Gz,W(u)⟩=z⋅V(u) for all z∈RM and u∈[−1,1]R.
(b) PoGz=0 for every z, and B∗((J∗f)(Pi))i=B∗((J∗Phif)(Pi))i for every f∈L2([0,1]d).
(c) ⟨Gz,qR⟩=αγdv2zR for all z∈RM and R∈R.
(d) V(u)=diag(sR)u+e(u), where e(u):=B∗(Δu(Pi))i≤n with Δu as in (5.2).
(e) If U is uniform on [−1,1]R, then EU(∥e(U)∥22)≤ρh2s∗2M, where ρh:=Cρ(h+1)−(d−2) with a constant Cρ depending only on d.
(b) For f∈L2([0,1]d), J∗Plof∈L, so ((J∗Plof)(Pi))i=Λb for some b∈RdimL, and B∗Λb=(Λ∗B)∗b=0 by Lemma 5.5(a). Since J∗f=J∗Plof+J∗Phif, this proves the second claim, and applying it to f∈Hlo (where Phif=0) together with the computation in (a) gives ⟨Gz,f⟩=0, that is, PloGz=0.
(c) As in (a), ⟨Gz,qR⟩=∑i(Bz)i(J∗qR)(Pi)=v∑i(Bz)iTR(Pi)=v(T∗Bz)R=αγdv2zR by Lemma 5.5(b).
(d) By (b), V(u)=B∗((J∗PhiW(u))(Pi))i=B∗(Flin(u)(Pi))i+e(u). By (3.14), (Flin(u)(Pi))i=vTdiag(λR)u, and B∗(vTdiag(λR)u)=v(T∗B)∗diag(λR)u=αγdv2diag(λR)u by Lemma 5.5(b).
(e) By (5.8), we have e(u)=αγdvG−1T∗EΠE(Δu(Pi))i. Since Π2=Π=Π∗, we have ∥T∗EΠ∥op2=∥T∗EΠET∥op=∥G∥op≤C⋆γdv, and ∥G−1∥op≤(c⋆γdv)−1 by Lemma 5.4, so that
On the other hand, s2M=α2γd2v4λ2Kh/v≥cdα2v3λ2(h+1)d−1 by (3.2). Hence EU(∥e(U)∥22)≤Cdθ4s2M≤4Cdθ4s∗2M=ρh2s∗2M with Cρ:=2Cd1/2td2, where Cd denotes the constant in the preceding inequality and we used θ4=td4(h+1)−2(d−2); since α2 has cancelled, Cρ does not depend on ωd.
(f) By (5.8), (3.3) and (5.4), sM=ωdn/vγdvλKh with n≍M=Kh/v, so sM≍Khv−1. vλKh=λKh3/2≍λ(h+1)3(d−1)/2 by (3.2). Inserting λ=εtd(h+1)−(d−2)/2 gives sM≍(h+1)d−1/2, and s∗≥s/2.
6 The entropy obstruction
We now study the standard Gaussian vector z∈RM conditioned on the event that all weighted box counts are small. For t>0 let
with Gz as in (5.9). With the enumeration of R fixed in Section 3, RM=RR carries the coordinates z1,…,zM.
Lemma 6.1 (Geometry of Kt). For every t>0, the set Kt is closed, convex, symmetric and bounded, and it contains a neighborhood of the origin. In particular 0<γM(Kt).
Proof. For fixed x, the map z↦Gz(x) is linear, and Gz(x) takes only finitely many values as x ranges over the cube, namely the values ∑i∈S(Bz)i over the finitely many incidence patterns S={i:Pi≤x}. Hence z↦∥Gz∥∞ is a seminorm on RM, and Kt is closed, convex and symmetric; being the unit ball of a seminorm on a finite-dimensional space, it contains a neighborhood of the origin. By Proposition 5.6(c), αγdv2∣zR∣=∣⟨Gz,qR⟩∣≤∥Gz∥∞∥qR∥1=v∥Gz∥∞, so Kt⊆[−t/(αγdv),t/(αγdv)]M. □
6.1 Conditioned Gaussian vectors and Rosenblatt coordinates
Let K⊂RM be a bounded Borel set with p:=γM(K)>0, and let ν:=γM(⋅∣K) be the conditioned Gaussian measure. It has the density
φ(z)=p(2π)−M/2e−∥z∥22/21K(z),(6.2)
which is bounded and vanishes outside the bounded set K. Hence Lemma 2.6 applies to a random vector Z with law ν, and
We only use the lower bound in (6.3): since h(γM)=2Mlog(2πe), the differential entropy of the conditioned vector is at most log(1/p)+M/2 below that of γM, that is, at most κ+21 nats per coordinate when p≥e−κM. Let U=U(Z) be the Rosenblatt transform of Z under ν, as in Lemma 2.5: Uj:=2Fj(Zj∣Z<j)−1, where Fj(⋅∣z<j) is the conditional distribution function of Zj given Z<j=z<j under ν.
Proposition 6.2 (Correlation with the Rosenblatt coordinates). Let K,p,ν,Z and U be as above. Then U is uniformly distributed on [−1,1]M under ν, Eν(ZjUj)≥0 for every j≤M, and
In particular, if p≥e−κM for some κ>0, then ∑jEν(ZjUj)≥cκM with cκ:=4e2πe−κ.
Proof. The uniform law of U is Lemma 2.5. We first prove a scalar inequality. Let Y be a real random variable with a bounded density of bounded support, let F be its distribution function, and let Y′ be an independent copy. Since F is continuous, E(sgn(Y−Y′)∣Y)=F(Y)−(1−F(Y))=2F(Y)−1 almost surely, and exchanging the roles of Y and Y′,
Conditioning on Y and using Jensen's inequality, E(∣Y−Y′∣)≥E(∣Y−E(Y′)∣)=E(∣Y−EY∣), and Lemma 2.7 gives E(∣Y−EY∣)≥eh(Y)/(2e). Hence
E(Y(2F(Y)−1))≥4eeh(Y).(6.6)
Now fix j. For ν<j-almost every z<j, where ν<j is the law of Z<j (namely for those z<j at which the marginal density of Z<j is positive), the conditional law of Zj given Z<j=z<j has a bounded density of bounded support, namely φ≤j(z<j,⋅)/φ<j(z<j) in terms of the marginal densities of φ. Applying (6.5) and (6.6) to this conditional law gives
Taking the expectation over z<j and applying Jensen's inequality to the convex function exp yields Eν(ZjUj)≥4e1exp(h(Zj∣Z<j)), with the averaged conditional entropy of Lemma 2.6. Summing over j, applying Jensen's inequality once more, and using the chain rule,
The second inequality in (6.4) follows from (6.3).
6.2 The small-ball obstruction
We combine Proposition 6.2 with the exact linear response of Proposition 5.6. Recall that s∗=minRsR and that ρh=Cρ(h+1)−(d−2) is the quantity in Proposition 5.6(e).
Proposition 6.3 (Small-ball obstruction). Let κ>0 and t>0 be such that γM(Kt)≥e−κM. Then
t≥(cκ−ρh)s∗M,cκ=4e2πe−κ.
Proof. Let ν:=γM(⋅∣Kt), let Z have law ν, and let U=U(Z) be its Rosenblatt transform; by Lemma 6.1, Kt satisfies the assumptions of Section 6.1. For every z∈Kt and every u∈[−1,1]R, Proposition 5.6(a) and Lemma 3.2 give
z⋅V(u)=⟨Gz,W(u)⟩≤∥Gz∥∞∥W(u)∥1≤t.
Since Z∈Kt almost surely and U∈[−1,1]R, it follows that t≥Eν(Z⋅V(U)); the expectation exists because Z is bounded on Kt and V is a polynomial on a compact set. By Proposition 5.6(d),
Eν(Z⋅V(U))=R∈R∑sREν(ZRUR)+Eν(Z⋅e(U)).
Each term Eν(ZRUR) is nonnegative by Proposition 6.2, so the first sum is at least
s∗R∈R∑Eν(ZRUR)≥s∗cκM.
For the second term, the Cauchy–Schwarz inequality, Lemma 2.4 and the fact that U has exactly the uniform law on [−1,1]R under ν give
by Proposition 5.6(e). Hence t≥s∗cκM−ρhs∗M. Note that no independence between Z and e(U(Z)) is used, and that the Rosenblatt transform is never differentiated. □
7 Proof of the main theorem
It remains to show that the hereditary discrepancy D of the point set gives γM(K2D)≥e−κM with κ depending only on d (Step 1 of the overview), and to pass from the constructed point sets to all sufficiently large N.
Lemma 7.1 (Gaussian small balls from hereditary discrepancy). Let A∈Rm×n satisfy herdisc(A)≤D, and let η be a centered Gaussian vector in Rn with var(ηi)≤1 for all i≤n. Then
P(∥Aη∥∞≤2D)≥(p0/2)n,p0:=P(∣g∣≤1),
where g is a standard Gaussian variable.
The argument is a Gaussian analogue of the volume argument behind the determinant lower bound of Lovász, Spencer and Vesztergombi [LSV86, Lemma 2 and Theorem 2].
Proof. By Theorem A, P(η∈[−1,1]n)≥∏iP(∣ηi∣≤1)≥p0n, because P(∣ηi∣≤1)≥p0 for a centered Gaussian variable of variance at most one. By (2.2), the event {η∈[−1,1]n} is contained in the union over σ∈{−1,1}n of the events {Aη∈Aσ+K} with K:=[−2D,2D]m. The vector Aη is a centered Gaussian vector in Rm, and K is closed, convex and symmetric, so Theorem B gives P(Aη∈Aσ+K)≤P(Aη∈K) for every σ. By the union bound over the 2n vectors σ, p0n≤P(η∈[−1,1]n)≤2nP(Aη∈K). □
Let h∈3N, let P={P1,…,Pn}⊂(0,1)d be the point set of Section 5 at depth h, and let AP be the incidence matrix of the set system {P∩A(x):x∈[0,1]d}, as in Section 2.1. Put
Dh:=herdisc(AP).(7.1)
Proposition 7.2 (Hereditary discrepancy of the construction). There are constants cd>0 and hd∈3N such that the point set of Section 5 at depth h satisfies Dh≥cd(h+1)d−1/2 for all h∈3N with h≥hd.
Proof. Let z be standard Gaussian in RM and η:=Bz. By Lemma 5.5(c), var(ηi)=(BB∗)ii≤1. The rows of AP are the vectors (1{Pi≤x})i≤n, x∈[0,1]d, so ∥APη∥∞=supx∣Gz(x)∣=∥Gz∥∞ and {∥APη∥∞≤2Dh}={z∈K2Dh}. Note that Dh≥1, so that t=2Dh>0 is admissible in Proposition 6.3: the restriction of AP to a single column has discrepancy one, because the point Pi lies in A(x) for x=(1,…,1). Lemma 7.1 with D=Dh and (5.4) give
where Cd is the constant with n≤CdM in (5.4). Proposition 6.3 with t=2Dh and κ=κd yields 2Dh≥(cκd−ρh)s∗M. Here cκd>0 depends only on d, while ρh=Cρ(h+1)−(d−2) decreases to zero as h→∞ because d≥3; choose hd∈3N such that ρh≤cκd/2 for all h≥hd. For h≥hd we obtain 2Dh≥21cκds∗M, and Proposition 5.6(f) gives Dh≥41cκds∗M≥cd(h+1)d−1/2. □
Proof of Theorem 1.1. By (5.4), (3.3) and (3.2), the construction at depth h has n≤Cd′(h+1)d−12h points, with a constant Cd′≥1. For sufficiently large N, let h=h(N) be the largest element of 3N with Cd′(h+1)d−12h≤N. Then h≤log2N, and the maximality of h gives Cd′(h+4)d−12h+3>N, hence h>log2N−log2(8Cd′(log2N+4)d−1)≥21log2N for all N≥Nd, where Nd is chosen so large that for every N≥Nd the number h(N) is defined, 8Cd′(log2N+4)d−1≤N and log2N≥2hd; in particular h(N)≥hd.
For such N, the point set P at depth h(N) has n≤N points, and Proposition 7.2 together with (2.1) provides a subset P′⊆P such that every coloring χ of P′ satisfies supx∈[0,1]d∣∑p∈P′∩A(x)χ(p)∣≥Dh≥cd(h+1)d−1/2≥cd′(logN)d−1/2 for a constant cd′>0 depending only on d.
Let P′′ be the union of P′ with N−∣P′∣ distinct points all of whose coordinates lie in (1,2). For every x∈[0,1]d we have P′′∩A(x)=P′∩A(x), since the added points have no coordinate at most one, and every coloring of P′′ restricts to a coloring of P′; as the supremum defining disc(P′′,Ad) runs over all x∈Rd, in particular over x∈[0,1]d, we get disc(P′′,Ad)≥cd′(logN)d−1/2. Since disc(N,Ad) is the supremum over all N-point sets in Rd, this proves Theorem 1.1 with the constant cd′. Moreover, dilating P′′ by 1/2 gives an N-point set in (0,1)d satisfying the same lower bound. □
Remark 7.3 (Order of the constants). For fixed d, the constants are chosen in the following order, none of them depending on h: ε=41 and td=td∗ (Theorem 4.1); the sampling constants (Lemma 5.3), which together with td fix Cρ and hence the sequence (ρh)h;ωd (Lemma 5.5), which fixes α, hence s and s∗ for every h, and the constants in Proposition 5.6(f); the entropy constant κd=a0Cd and hence cκd; finally hd and cd (Proposition 7.2), and then Nd and cd′ (Theorem 1.1). Although κd depends on the sampling constant Cd through n≤CdM, there is no circularity: the sampling constants are not adapted to κd, because ρh decays polynomially in h for every fixed d≥3, while cκd is a fixed positive number.
8 Extensions and algorithmic consequences
This section proves Corollary 1.3 and gives an efficient coloring algorithm attaining the upper bound in Corollary 1.2. The algorithm is independent of Theorem 1.1; that theorem establishes the optimality of its guarantee for d≥3.
8.1 Fixed convex polytopes
Recall that TB={tB+x:t>0,x∈Rd} denotes the family of homothetic copies of a convex polytope B⊂Rd. For a finite set P⊂Rd and a set F⊆Rd we call P∩F the trace of F on P.
Lemma 8.1 (Finite-trace transfer). Let d≥1, let B⊂Rd be a convex polytope with nonempty interior and let P⊂Rd be finite. There are an invertible linear map L of Rd and t>0 such that for every x∈Rd there is y∈Rd with L(P∩A(x))=L(P)∩(tB+y).
Proof. The idea is to find a linear map under which, for the finitely many relevant differences x−p, membership in the tangent cone of B at a vertex coincides with p≤x; choosing t large then makes the facets of B away from this vertex irrelevant.
Translating B does not change TB, so we may assume that the origin is a vertex of B. Write
B={y∈Rd:ℓi(y)≥0fori≤m,ar(y)≤brforr≤m′},
where the linear functionals ℓ1,…,ℓm define the facets of B through the origin, and the linear functionals a1,…,am′ with constants b1,…,bm′ define the remaining facets; br>0 because the origin belongs to B but lies on none of the latter facets. The tangent cone C:={y:ℓi(y)≥0fori≤m} has nonempty interior because it contains B, and it is pointed: since all br>0, a vector y=0 with ℓi(y)=0 for all i would give a segment {sy:∣s∣≤s0} in B lying in all facets through the vertex 0, whose intersection is {0}. Moreover, tB={y∈C:ar(y)≤tbr for r≤m′} for t>0.
A basis adapted to C. Choose faces {0}=F0⊂F1⊂⋯⊂Fd=C of C with dimFj=j, which exist because C is pointed and every proper face of a polyhedral cone is contained in a face of the next dimension, and choose vj in the relative interior of Fj for j=1,…,d. Then v1,…,vd is a basis of Rd. Indeed, the face Fj−1=Fj∩H is cut out of Fj by a supporting linear hyperplane H of Fj (it passes through the origin since Fj is a cone), so that spanFj−1⊆H; the relative interior point vj of Fj lies in H only if Fj⊆H, which is excluded by dimFj>dimFj−1. Hence vj∈/span{v1,…,vj−1}. For ε>0 let Tε be the invertible linear map Tεz:=∑j=1dεj−1zjvj. Since vj∈C, all ℓi(vj) are nonnegative, and since vd is an interior point of C, all ℓi(vd) are positive. Put k(i):=min{j:ℓi(vj)>0}. Then ℓi(vj)=0 for j<k(i), so that for every fixed z∈Rd
Moreover, every j∈{1,…,d} is of the form k(i): the face Fj−1 is the intersection of the facets of C containing it, and Fj⊆Fj−1, so some facet C∩{ℓi=0} contains Fj−1 but not Fj; then ℓi(vj′)=0 for j′<j, while ℓi≥0 on Fj and ℓi≡0 on Fj force ℓi(vj)>0 at the relative interior point vj, that is, k(i)=j.
Traces. Let X⊂Rd be a finite set containing, for every trace P∩A(x) with x∈Rd, one point x with this trace, chosen such that xj=pj for all p∈P and j≤d; this is possible because increasing a coordinate of x slightly does not change the trace. All coordinates of the finitely many differences x−p with x∈X and p∈P are nonzero, so by (8.1) there is ε>0 such that ℓi(Tε(x−p)) has the sign of (x−p)k(i) for all i,x and p. As the indices k(i) exhaust {1,…,d}, we obtain
Tε(x−p)∈C⟺(x−p)j>0forallj≤d⟺p≤x,p∈P,x∈X,
where the last equivalence uses xj=pj. Fix this ε, put L:=−Tε, and choose t>0 with ar(L(p−x))≤tbr for all p∈P,x∈X and r≤m′. Then, for p∈P and x∈X,
L(p)∈tB+L(x)⟺L(p−x)∈C⟺Tε(x−p)∈C⟺p≤x,
where the first equivalence uses the choice of t; that is, L(P)∩(tB+L(x))=L(P∩A(x)). Since every trace P∩A(x) with x∈Rd equals P∩A(x′) for some x′∈X, the claim follows with y:=L(x′). □
Proof of Corollary 1.3. Let P⊂Rd be any N-point set and let L and t be as in Lemma 8.1. The set Q:=L(P) has N points, the colorings of Q are the maps χ∘L−1 with χ a coloring of P, and by Lemma 8.1, L maps every set P∩A(x) onto a set Q∩(tB+y) with tB+y∈TB. Hence disc(Q,TB)≥disc(P,Ad), and taking the supremum over P gives disc(N,TB)≥disc(N,Ad)≥cd(logN)d−1/2 for N≥Nd by Theorem 1.1. The upper bound disc(N,TB)=Od,B((logN)d−1/2) is [Nik17, Theorem 2]. □
For generic polytopes, [Nik17, Theorem 3] gives the lower bound Ωd,B((logN)d−1); Nikolov conjectured that the genericity assumption there is unnecessary and that the lower-bound constant can be chosen independently of B [Nik17, p. 1093]. Both conjectures already follow from Lemma 8.1: the proof of Corollary 1.3 gives disc(N,TB)≥disc(N,Ad) in every dimension, and disc(N,Ad)=Ωd((logN)d−1) for d≥2 [MN15, MNT20]. The bound for all sufficiently large N follows from the grid estimate in [MNT20, Section 6] by taking a subset realizing hereditary discrepancy and padding, as in the proof of Theorem 1.1. For d≥3, Corollary 1.3 improves the exponent to d−21, with the constants cd,Nd of Theorem 1.1.
8.2 A matching offline coloring guarantee
We use the following recent result on prefix discrepancy. For operation counts, we count arithmetic operations and comparisons on real numbers, evaluations of square roots and exponentials, and sampling from N(0,1) or Uniform[0,1) at unit cost.
Theorem D (Aden-Ali [AA26, Theorem 1]). Let v1,…,vT∈Rm be a fixed sequence with ∥vi∥2≤1 for all i≤T; in particular, the vectors do not depend on the random choices of the algorithm below. There is a randomized algorithm which receives v1,…,vT one at a time and chooses a sign σi∈{−1,1} upon receiving vi, before seeing vi+1,…,vT, with the following property: for every k≤T, the prefix sum Sk:=∑i≤kσivi can be written as Sk=Gk,1+Gk,2+Gk,3 with random vectors Gk,1,Gk,2,Gk,3 each having the standard Gaussian distribution on Rm (they need not be independent). In the model above, the algorithm runs in time O(mT).
By Hölder’s inequality, E(exp(⟨Sk,y⟩))≤∏j=13(E(exp(3⟨Gk,j,y⟩)))1/3=exp(9∥y∥22/2) for every y∈Rm, so every prefix sum is subgaussian with variance proxy 9, as noted in [AA26, Section 1], and the Chernoff bound gives, for w∈Rm∖{0} and u>0,
P(∣⟨Sk,w⟩∣≥u)≤2exp(−18∥w∥22u2).(8.2)
We follow the reduction in Nikolov's proof of [Nik17, Theorem 1], using an explicit dyadic factorization and replacing Banaszczyk's signed-series theorem [Ban12] ([Nik17, Lemma 9]) with Theorem D.
Proposition 8.2 (Efficient offline coloring for anchored boxes). Let d≥2. There is a randomized offline algorithm (it reads the whole point set before choosing the first sign) which, given an N-point set P⊂Rd with N≥2 and δ∈(0,1), outputs a coloring χ:P→{−1,1} such that, with probability at least 1−δ,
and on the same event the discrepancy of χ with respect to all axis-parallel boxes is at most 2d times this bound. The algorithm performs Od(N2(logN)d−1) operations in the model of Theorem D.
Proof. Reduction to ranks and prefixes. Put H:=⌈log2N⌉, so that N≤2H, and fix an order of the points of P. For j≤d−1 let rj(p)∈{1,…,N} be the rank of p among the points of P with respect to the j-th coordinate, ties broken by the fixed order, and let r(p):=(r1(p),…,rd−1(p)). For every threshold xj, the points with pj≤xj are exactly the points with rj(p)≤ρj, where ρj∈{0,…,N} is their number, because tied points are included together. Enumerate the points as P1,…,PN in nondecreasing order of the last coordinate, ties again broken by the fixed order; then the points p with pd≤xd are P1,…,Pk for some k∈{0,…,N}. Consequently every trace P∩A(x) has the form
Dyadic products. For 0≤l≤H the dyadic integer intervals {(q−1)2l+1,…,q2l}, 1≤q≤2H−l, partition {1,…,2H}, so every rank vector r(p) lies in exactly K=(H+1)d−1 products of dyadic intervals, one for each choice of the levels l1,…,ld−1. Let Q be the set of dyadic products containing at least one rank vector r(Pi); then m:=∣Q∣≤NK. For i≤N let vi∈RQ be the indicator vector of the products in Q containing r(Pi), divided by K, so that ∥vi∥2=1. The algorithm applies Theorem D to v1,…,vN in this order and outputs χ(Pi):=σi.
Discrepancy. Fix a trace (8.4). Each initial segment {1,…,ρj} of {1,…,2H} is the disjoint union of at most H+1 dyadic intervals, one for each binary digit of ρj, so {s∈{1,…,2H}d−1:s≤ρ} is the disjoint union of at most K dyadic products. Let w∈{0,1}Q be the indicator vector of those among them that belong to Q; then ∥w∥22≤K. The traces and the vectors w depend only on P, not on the random signs. For every point Pi of the trace, r(Pi) lies in exactly one of these products, and for no other i≤k does r(Pi) lie in any of them, so
i≤k,r(Pi)≤ρ∑σi=K⟨Sk,w⟩,Sk=i≤k∑σivi.
If k=0 or w=0, the signed count vanishes. Otherwise (8.2) gives P(K∣⟨Sk,w⟩∣≥u)≤2exp(−u2/(18K2)) for u>0. With u:=3K2log(2(N+1)d/δ) this probability is at most δ(N+1)−d, and a union bound over the at most (N+1)d traces gives (8.3) with probability at least 1−δ. For an axis-parallel box in Bd, the indicator function of its trace on P is a signed combination of the indicator functions of 2d traces P∩A(x) by inclusion-exclusion, as in (1.1), which gives the factor 2d on the same event.
Operations. Sorting and ranking take O(dNlogN) comparisons. The NK incidences between points and dyadic products can be enumerated and indexed in Od(NKlog(NK)) operations. Constructing the vectors v1,…,vN and applying Theorem D takes O(mN)=O(N2K)=Od(N2(logN)d−1) operations, since m≤NK, and this dominates. Since the ranks and the order of the points depend on the whole input, the algorithm is offline. □
For δ=N−a with fixed a>0, the bound (8.3) is Od,a((logN)d−1/2), since K≍(logN)d−1 and log(2(N+1)d/δ)=Od,a(logN). For d≥3, Theorem 1.1 shows that no coloring algorithm can guarantee a smaller order of worst-case discrepancy, so the discrepancy guarantee of Proposition 8.2 is optimal up to the constant. The operation count refers to the model of Theorem D; finite-precision (bit) complexity is not addressed.
Acknowledgments
The author used Anthropic's Claude and OpenAI's Codex to assist with literature research, proof development and checking, and manuscript preparation. The author retains full responsibility for the content of the manuscript, including all mathematical claims and references.
References
[AA26] Ishaq Aden-Ali. Optimal online discrepancy minimization in linear time, 2026. arXiv:2607.04388v1.
[ABN18] Christoph Aistleitner, Dmitriy Bilyk, and Aleksandar Nikolov. Tusnády's problem, the transference principle, and non-uniform QMC sampling. In Monte Carlo and quasi-Monte Carlo methods, volume 241 of Springer Proc. Math. Stat., pages 169–180. Springer, Cham, 2018.
[And55] T. W. Anderson. The integral of a symmetric unimodal function over a symmetric convex set and some probability inequalities. Proc. Amer. Math. Soc., 6(2):170–176, 1955.
[Ban12] Wojciech Banaszczyk. On series of signed vectors and their rearrangements. Random Structures Algorithms, 40(3):301–316, 2012.
[Ban23] Nikhil Bansal. Discrepancy theory and related algorithms. In Proceedings of the International Congress of Mathematicians 2022. Vol. 7, pages 5178–5210. EMS Press, 2023.
[Bec81] József Beck. Balanced two-colorings of finite sets in the square. I. Combinatorica, 1(4):327–335, 1981.
[Bec89] József Beck. Balanced two-colorings of finite sets in the cube. Discrete Math., 73(1-2):13–25, 1989.
[BG17] Nikhil Bansal and Shashwat Garg. Algorithmic discrepancy beyond partial coloring. In STOC'17—Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, pages 914–926. ACM, New York, 2017.
[BL08] Dmitriy Bilyk and Michael T. Lacey. On the small ball inequality in three dimensions. Duke Math. J., 143(1):81–115, 2008.
[BLV08] Dmitriy Bilyk, Michael T. Lacey, and Armen Vagharshakyan. On the small ball inequality in all dimensions. J. Funct. Anal., 254(9):2470–2502, 2008.
[BN26] Nikhil Bansal and Aleksandar Nikolov. Discrepancy theory: an algorithmic and geometric perspective, 2026. arXiv:2608.00140.
[Bog98] Vladimir I. Bogachev. Gaussian measures, volume 62 of Mathematical Surveys and Monographs. American Mathematical Society, Providence, RI, 1998.
[Boh90] Géza Bohus. On the discrepancy of 3 permutations. Random Structures Algorithms, 1(2):215–220, 1990.
[BS95] József Beck and Vera T. Sós. Discrepancy theory. In Handbook of combinatorics, Vol. 1, 2, pages 1405–1446. Elsevier Sci. B. V., Amsterdam, 1995.
[CT06] Thomas M. Cover and Joy A. Thomas. Elements of information theory. Wiley-Interscience [John Wiley & Sons], Hoboken, NJ, second edition, 2006.
[DPS+21] F. Dai, A. Prymak, A. Shadrin, V. Temlyakov, and S. Tikhonov. Entropy numbers and Marcinkiewicz-type discretization. J. Funct. Anal., 281(6):Paper No. 109090, 25, 2021.
[Hal81] G. Halász. On Roth's method in the theory of irregularities of point distributions. In Recent progress in analytic number theory, Vol. 2 (Durham, 1979), pages 79–94. Academic Press, London-New York, 1981.
[Lar14] Kasper Green Larsen. On range searching in the group model and combinatorial discrepancy. SIAM J. Comput., 43(2):673–686, 2014.
[LSV86] L. Lovász, J. Spencer, and K. Vesztergombi. Discrepancy of set-systems and matrices. European J. Combin., 7(2):151–160, 1986.
[LT22] I. Limonova and V. Temlyakov. On sampling discretization in L2. J. Math. Anal. Appl., 515(2):Paper No. 126457, 14, 2022.
[Mat99a] Jirí Matoušek. Geometric discrepancy, volume 18 of Algorithms and Combinatorics. Springer-Verlag, Berlin, 1999. An illustrated guide.
[Mat99b] Jiří Matoušek. On the discrepancy for boxes and polytopes. Monatsh. Math., 127(4):325–336, 1999.
[MN15] Jiří Matoušek and Aleksandar Nikolov. Combinatorial discrepancy for boxes via the γ2 norm. In 31st International Symposium on Computational Geometry (SoCG 2015), volume 34 of LIPIcs, pages 1–15. Schloss Dagstuhl. Leibniz-Zent. Inform., Wadern, 2015.
[MNT20] Jiří Matoušek, Aleksandar Nikolov, and Kunal Talwar. Factorization norms and hereditary discrepancy. Int. Math. Res. Not. IMRN, 2020(3):751–780, 2020.
[Nik17] Aleksandar Nikolov. Tighter bounds for the discrepancy of boxes and polytopes. Mathematika, 63(3):1091–1113, 2017.
[O'D14] Ryan O'Donnell. Analysis of Boolean functions. Cambridge University Press, New York, 2014.
[Ros52] Murray Rosenblatt. Remarks on a multivariate transformation. Ann. Math. Statistics, 23(3):470–472, 1952.
[Rot54] K. F. Roth. On irregularities of distribution. Mathematika, 1(2):73–79, 1954.
[Sch72] Wolfgang M. Schmidt. Irregularities of distribution. VII. Acta Arith., 21:45–50, 1972.
[Sri97] Aravind Srinivasan. Improving the discrepancy bound for sparse matrices: better approximations for sparse lattice approximation problems. In Proceedings of the Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 692–701. ACM, New York, 1997.
[Tal94] Michel Talagrand. The small ball problem for the Brownian sheet. Ann. Probab., 22(3):1331–1354, 1994.
[Tem95a] V. N. Temlyakov. An inequality for trigonometric polynomials and its application for estimating the entropy numbers. J. Complexity, 11(2):293–307, 1995.
[Tem95b] V. N. Temlyakov. Some inequalities for multivariate Haar polynomials. East J. Approx., 1(1):61–72, 1995.
[Š67] Zbyněk Šidák. Rectangular confidence regions for the means of multivariate normal distributions. J. Amer. Statist. Assoc., 62(318):626–633, 1967.
[Wei26] Zhewei Wei. Tight bounds for Tusnády's problem in the plane, 2026. arXiv:2610.08130.