Contents
This guide answers three questions
The main result of the paper takes one line: the worst-case combinatorial discrepancy of points in the plane with respect to axis-parallel rectangles is . Three questions surround it, and the guide takes them in this order.
Why earlier methods fell short
The earlier lower-bound methods all stopped at . Part II explains, one by one, how they work and where their ceiling is.
Why it works now
The paper asks a different question. The points are placed at random. First fix one coloring and show that the probability that it is “good” is as small as ; then rule out all colorings together. Part III explains this change of question.
What the new technique is
A quantity called “local oscillation”. On a good transition, refining horizontally and merging vertically gives a positive conditional expected gain. With the past fixed, changing one point’s next horizontal digit changes the new potential only a little. Part IV gives the full derivation.
Prerequisites
The guide assumes only second-year undergraduate mathematics: sums and inequalities, exponentials and logarithms, probability, expectation and independence. Tools such as conditional expectation and the Cauchy–Schwarz inequality are explained, with a proof, in a box labeled “Tool” where they first appear. Collapsible blocks labeled “Derivation” or “Proof” are complete proofs and are open by default. Blocks labeled “Optional” can be skipped without losing the main line. The line above each section title gives its level: Basics, Intermediate, or Core argument.
Overview: the proof in five sentences
All of this notation is defined later. On a first reading the general idea is enough.
This guide is based on version r65 of the paper, provided by the author. Part IV follows the proof in Section 2 of the paper section by section: equations (1)–(18), Lemmas 2.1 and 2.3–2.6, Fact 2.2, Proposition 2.7, and Fact A.1 of the appendix all carry the same numbers as in version r65. The proof in the paper is compact; the guide fills in the steps it omits and adds examples and interactive figures. Section 20 gives the paper's four-step summary and matches it to the sections of the guide. The derivations, examples and interactive figures added by the guide are no substitute for formal verification, nor for independent review. For every statement the paper is authoritative. Material marked “Background” comes from the related literature and is not in the body of the paper.
The problem
First we make the problem itself clear: how the coloring game is played, why one dimension is easy, where the difficulty lies in two dimensions, and what notation such as “” actually says.
§ 1 · BasicsA coloring game
There are points in the plane. Your task is to color each point red or blue. When you are done, an opponent may pick any rectangle with sides parallel to the coordinate axes and count how many more red points than blue points it contains, or how many fewer. The absolute value of this difference, the imbalance of the rectangle, is your loss.
You want the loss to be as small as possible, and the colors must be fixed before the opponent picks the rectangle. So a coloring is judged by how it does on the worst rectangle.
Trying a few point sets shows two things. First, when there are few points, the optimum is usually just 1 or 2. Second, a coloring chosen without much thought is often far from the optimum. The question of the whole paper is: when the number of points is large, how large can this optimum be in the worst case?
To make computations easier, from now on red is written and blue is written . Then “the number of red points minus the number of blue points” in a rectangle is the sum of the colors of all points in it.
§ 2 · BasicsFrom one dimension to two
One dimension: alternating colors are enough
Start with the simple case. If all points lie on a line, a “rectangle” degenerates to an interval. Sort the points from left to right and color them red and blue alternately.
Take any points on a line and color them alternately in sorted order. Then the sum of the colors in every interval has absolute value at most . So in one dimension the discrepancy is always , independently of .
Two dimensions: alternating along one coordinate is not enough
Points in the plane have two orders: one by -coordinate and one by -coordinate. If we alternate the colors by -coordinate only, every vertical strip is well balanced, but horizontal strips can be very bad. The playground above has a “Special point set” button. It puts the points in odd positions of the -order in the lower half and those in even positions in the upper half. If we now alternate by , all points in the lower half of the square are red.
Worse, a rectangle puts conditions on and on at the same time. The points that fall in a rectangle need not be consecutive in the -order, and they need not be consecutive in the -order either. The “consecutive run” argument from one dimension does not apply at all.
This is exactly what Tusnády asked: can one also achieve some constant independent of in two dimensions? In 1981 Beck answered this question negatively, and at the same time proved that the discrepancy is at most of order . Since then, the problem has been to determine its exact rate of growth.
“Anchored rectangles” are enough
First translate the point set into the first quadrant, so that all coordinates are positive. A rectangle , whose lower left corner is fixed at the origin, is called an anchored rectangle. It has only two parameters and is much easier to handle than a general rectangle. Moreover, looking only at anchored rectangles loses at most a factor of 4.
As a formula: for a rectangle and any coloring ,
Each of the four terms on the right has absolute value at most “the maximum imbalance over anchored rectangles”, so the imbalance of a general rectangle is at most 4 times that. Conversely, an anchored rectangle is itself a rectangle. Hence the discrepancies under the two definitions differ by a constant factor of at most 4, and for the rate of growth it is enough to look at anchored rectangles. The lower bound of the paper even holds directly for anchored rectangles.
§ 3 · BasicsNotation and growth rates
Three levels of min and max
Let be a finite set of points in the plane. A coloring is a function . For a set in the plane, write
The discrepancy of the point set , and the worst-case discrepancy of points, are defined as
where ranges over all axis-parallel rectangles. The subscript 2 stands for the plane. The three levels can be read as a game with three moves:
Proving an upper bound and proving a lower bound are two entirely different tasks. This distinction will be used again and again.
Upper bound : for every -point set, we must find one coloring under which every rectangle has imbalance at most .
Lower bound : we must find one -point set for which every coloring leaves some rectangle with imbalance more than . There are colorings, and all of them have to be ruled out, without exception.
Asymptotic notation
We care about the rate of growth as , not about constant factors. The three symbols mean the following:
- : there is a constant such that when is large enough. Read: “of order at most ”.
- : there is a constant such that when is large enough. Read: “of order at least ”.
- : both of the above hold, so the order is completely determined.
Also, is shorthand for . The base of the logarithm does not affect the order, because changing the base only changes a constant factor. Where specific numbers are needed, we say whether we use the base-2 logarithm or the natural logarithm .
Numerically, the two differ only by a factor of : about 4.5 for a million points. Compared with the that a random coloring can guarantee, both are tiny. But the mathematical question is which of the two is the true rate of growth, and “roughly the same” is not an answer to it.
There is a constant such that for every . Together with the known upper bound, .
What the paper actually proves is a stronger statement: a random point set is almost always this hard to color. The precise statement is in Section 8.
What was known, and why it stopped
The upper bound came down step by step from to , while the lower bound stayed at . This part goes through the methods on both sides. The main question is where each lower-bound tool stops, and why.
§ 4 · BasicsHistory of the bounds
This part is background material. The paper only summarizes this work, with one paragraph in the introduction and one in Section 3 of the paper. The derivations here are taken from the standard literature; a few are supplied by this guide, and those are marked where they appear.
The upper bound and the lower bound were pushed forward with two entirely different sets of tools. The figure below shows the known results in one plot; the vertical axis is the exponent of .
Three things can be read off the figure.
- The upper-bound line comes down one step at a time and reaches in 2017.
- The lower-bound line stays flat. Schmidt's 1972 theorem is about continuous discrepancy; it becomes a lower bound for the coloring problem only through the transference principle of Section 6. In 2015 a completely new method gave again.
- This left a gap of . It was not clear in advance which side was right: the paper notes that Bansal, in his talk at the 2022 International Congress of Mathematicians, conjectured that the lower bound is tight. The paper's result goes the other way: the upper bound is tight. The 2026 survey of Bansal and Nikolov also discusses this remaining gap in the plane.
Both ends of the gap were plausible. The order is the correct answer to another classical problem (continuous discrepancy, see Section 6). The order is what the best coloring method achieves. Whether the coloring methods could still be improved, or the lower-bound proofs were not strong enough, had not been settled.
§ 5 · IntermediateWhere the upper bound comes from
The paper proves the lower bound. But the ideas behind the upper bound contain a structure that returns in the lower-bound proof: split the problem into scales and pay a price at each scale. So it is worth a look first.
The simplest approach: random coloring
Each point gets its color from an independent coin flip. How far does this get? We need three tools from probability. Two of them, Markov's inequality and the union bound, will be used again later.
Let be a random variable and let . Then .
The proof is one line: . In words: if a nonnegative quantity has a small mean, it is unlikely to be large.
For any events , we have . The probability that at least one bad event happens is at most the sum of the probabilities of the bad events. Proof: the indicator of the union is at most the sum of the indicators of the events; take expectations on both sides.
Let , where the are independent and each takes the values with equal probability. Then for every , .
ProofThe tail bound
- For every , independence gives , where .
- Compare the power series term by term: and . Since , we get .
- Apply Markov's inequality to the nonnegative random variable : .
- Take ; the exponent becomes . By symmetry, satisfies the same bound. Adding the two gives the claim.
Now fix an -point set and a rectangle . Suppose contains points. Under a random coloring, is exactly a sum of independent signs. With ,
There are infinitely many rectangles, but they cut out only finitely many subsets of the points: a subset is determined by “which stretch of the -order” and “which stretch of the -order”, so there are at most of them. By the union bound, the probability that some rectangle exceeds the threshold is at most , which is less than 1 for . So some coloring keeps every rectangle below the threshold:
This bound is very far from the truth, which is a power of . But the derivation shows a basic technique: proving existence by probability. Part III will use the same technique in the reverse direction.
Splitting a prefix into dyadic intervals
To reach a power of we have to use the structure of rectangles. Divide the -direction into columns. An interval whose length is a power of and whose position is aligned is called a dyadic interval: level 0 is all of , level 1 consists of the left and right halves, and so on down to level , the single columns.
Two facts will be used later:
- Every column belongs to exactly dyadic intervals, one per level.
- Every prefix is a union of at most pairwise disjoint dyadic intervals, at most one per level. This is just the binary expansion of .
So an anchored rectangle (its width is a prefix , and its height runs up to some point) splits into at most “dyadic strips”. If a coloring keeps the error inside every dyadic strip at most , then the error of an anchored rectangle is at most . Each strip on its own is a one-dimensional problem, which is easy. The difficulty is that one coloring has to serve all levels at once.
Historically, most upper bounds followed this idea of working level by level. The early proofs used partial coloring: each round fixes the colors of only some of the points while controlling the error on a family of standard rectangles, and leaves the remaining points for the next round. Every round and every scale loses something, so the result is a high power of . Later improvements mainly reduced these losses.
The best upper bound known
In 2017 Nikolov proved . The proof relies on a deep theorem of Banaszczyk. The theorem itself is far beyond the second-year level, so we treat it as a black box and only look at how it combines with the dyadic decomposition.
OptionalFrom Banaszczyk's theorem to : a skeleton
Let be vectors of length at most 1, and let be a convex body symmetric about the origin such that a standard Gaussian random vector lies in with probability at least . Then there are signs such that all prefix sums () lie in .
- Order the points by height as , and let be the rank of in the -direction. The signed count of an anchored rectangle is .
- Take and treat the ranks as columns. Give each point a vector whose coordinates are indexed by the dyadic intervals : the coordinate is if , and 0 otherwise. Each point lies in exactly dyadic intervals, so .
- For each , let be the indicator vector of the dyadic decomposition of the prefix ; it has at most ones. The decomposition is disjoint, so .
- Take , a convex set symmetric about the origin (strictly speaking, it is bounded only after restricting to the subspace spanned by these ; this does not affect the argument). For a Gaussian vector , is normally distributed with variance at most , so . A union bound over these values of shows that satisfies the hypothesis of the theorem.
- The signs given by the theorem satisfy , that is,
The two factors have clear sources: comes from the number of levels of the dyadic decomposition, and comes from requiring constraints to hold simultaneously. The original paper treats general dimension and is written in the language of factorization norms; refer to it for the details.
The story of the upper bound stops here. It leaves an impression: there are levels, and each level costs an extra . The paper proves that none of this cost can be saved.
§ 6 · IntermediateWhere the lower bound comes from: continuous discrepancy and transference
An older problem: how evenly are the points spread?
Forget colorings and ask only this: when points are placed in the unit square , what does it mean for them to be evenly spread? If the points are evenly spread, a rectangle of area should contain about points. The continuous discrepancy of a point set is defined as the worst deviation
where ranges over the axis-parallel rectangles in . Note that here you place the points yourself, hence the .
The grid and the random points both have deviation of order . The third point set is called a binary net; its deviation is only of order . We derive this below, because the derivation again has the structure “ levels, each contributing a constant”.
Binary nets: error at most 1 per level
Let . Write an integer with bits, then read these bits in reverse order as a binary fraction, denoted . For example, for and we get . The point set is
Let . Every box of the form (its area is exactly ) contains exactly one point of .
ProofThe net property, and
- Net property. The number lies in the first interval exactly when the top bits of are the binary representation of . The number lies in the second interval exactly when the first fractional bits of are the binary representation of , that is, when the lowest bits of are determined. Since , all bits of are determined, so there is exactly one such .
- Splitting. Consider the anchored rectangle . By the binary expansion, splits into at most pairwise disjoint dyadic intervals (of distinct lengths , ) plus a remainder of length less than . For it is the single interval .
- One dyadic strip. Let be a dyadic interval of length . There are points with horizontal coordinate in . By the net property (with ), exactly one of them has its vertical coordinate in each . So the number of points in is between and , while the “number it should contain” is . The error is at most 1.
- Remainder. All horizontal coordinates are multiples of , so an interval of length less than contains at most one point, and the number it should contain is less than 1. The error is at most 1.
- Total. The deviation of an anchored rectangle is at most . A general rectangle is a signed combination of four anchored rectangles, so .
Arbitrary point counts. For any , take for , where reverses the binary digits of into a fraction (leading zero digits do not matter). An anchored rectangle selects a prefix of indices with . Split this prefix into aligned blocks of power-of-two lengths. There are at most blocks; in each block, the reversed digits put one point in every equal dyadic vertical interval, so its counting error is at most 1. Adding these errors and gives for every ; general rectangles cost at most a factor of four.
The other direction is a theorem that Schmidt proved in 1972: however the points are placed, . We do not go into its proof here. Together, the two results determine continuous discrepancy completely:
The version with anchored rectangles only is ; its minimum is also . Dividing it by gives what is usually called the star discrepancy, whose optimal order is .
Transference: good colorings produce evenly spread point sets
There is a bridge between continuous discrepancy and combinatorial discrepancy, called the transference principle. Its proof is elementary and rather neat: color repeatedly and keep only the red points.
For all , we have . In other words, if every point set can be colored in a well-balanced way, then there must be a very evenly spread point set.
ProofThe transference principle
- Halving. Let have points ( even), and let be a coloring with for all rectangles. Let be the set of red points. For every rectangle , the number of red points is , so Taking to be the whole square gives .
- Fixing the number of points. The set may not have exactly points, but it is off by at most . Delete or add that many points to get a set with exactly points. Each point deleted or added changes the number of points in any rectangle by at most 1, so .
- Recursion for continuous discrepancy. By the triangle inequality, Taking the supremum over gives .
- is nondecreasing in the number of points. Add one more point far away from a point set. Every original rectangle can be shrunk slightly to avoid the new point, so the discrepancy does not decrease.
- Iteration. Take , start from a set of points, and halve times; has points. Since , every has fewer than points, so at every step there is a coloring with discrepancy at most . Unrolling the recursion,
- Starting point. Let be a grid with the surplus points removed. Counting grid points directly gives . Hence , because .
- Conclusion. The set has exactly points, so .
Combining this with Schmidt's theorem gives . Using monotonicity once more, we get for all . This is where the classical lower bound comes from.
The logic of this route is “combinatorial discrepancy cannot be smaller than continuous discrepancy”. But continuous discrepancy is exactly , and the binary net already achieves it. So this route by itself cannot prove a lower bound larger than .
Transference goes in one direction only: good colorings produce evenly spread point sets, but the existence of evenly spread point sets does not guarantee good colorings. The paper's result shows that the two really are different: in the plane, combinatorial discrepancy is larger than continuous discrepancy by a factor of .
§ 7 · IntermediateOther lower-bound tools, and where they stop
Besides transference, two other kinds of methods have given . Their ideas are similar: for every coloring, the same procedure produces evidence that “a bad rectangle exists”.
The orthogonal-function method
This method was introduced by Roth in 1954. Write the deviation as a function on the square, and find a test function such that the inner product is large while itself is not large. By the Cauchy–Schwarz inequality, the mean square of then cannot be small. The test function is assembled from Haar functions: each dyadic box carries a small wavelet with values , and boxes of different shapes give mutually orthogonal functions.
OptionalRoth's theorem in full:
Let have points, and let .
- Scale. Choose an integer with . For each with , cut the square into dyadic boxes of size , each of area . There are such .
- Haar functions. For an interval , let be on the left half, on the right half, and 0 outside the interval. For a box , let .
- Inner product on an empty box. Integrating directly, , so . On the other hand, if contains no point of , then for each point the counting function is constant on in at least one of the two variables, and and both have integral 0, so the counting part has inner product 0 with . Hence an empty box satisfies .
- Test function for one level. Let , summed over all empty boxes of type . Since , there are at least empty boxes, so
- Orthogonality. If , we may assume . A box of type is narrower in the -direction: its -interval is either disjoint from or contained in one half of , and then is constant on it, so the integral is 0. Hence .
- Putting it together. Let . Then and . By Cauchy–Schwarz,
Each level contributes a constant, and there are levels. In the mean-square sense these contributions combine as “the square root of the sum of squares”, which gives . Schmidt's 1972 theorem raised this to . Later, Halász reproved this result within Roth's framework with a more delicate test function, which makes the contributions of the levels add up directly.
Applying the same idea to colorings, Wei and Yi proved that the combinatorial discrepancy of binary nets is . In proofs of this kind the gain accumulates scale by scale: there are levels, and each contributes a constant.
For the binary net of Section 6 this is already the limit of what can be proved, because that net really can be colored this well. The verification below is supplied by this guide and is not in the paper; it uses only the tools of Section 6.
DerivationThe binary net of Section 6 can be colored with discrepancy
- Coloring. The -th point gets the color , where is the number of ones in the binary expansion of .
- Colors in one dyadic strip. Let be a dyadic interval of length , and let . The points with horizontal coordinate in are , . Sorting them by vertical coordinate is the same as sorting them by , the -bit reversal of . Reversal does not change the number of ones, so the point in position has color , with the same sign for the whole strip.
- Prefix sums are at most 1 in absolute value. The sequence , , is . Since , its terms come in pairs, and each pair is or . Every prefix sum is therefore , or .
- Total. The points in the strip form a prefix of this order, so their signed count has absolute value at most 1. As in Section 6, split an anchored rectangle into at most strips plus a remainder; its signed count then has absolute value at most . For a general rectangle, multiply by 4.
So as long as a proof is aimed at point sets of this kind, its conclusion cannot exceed . To get past this, a different kind of point set is needed.
The factorization norm
The second kind of method comes from linear algebra. Record “which point lies in which rectangle” as a 0–1 matrix . Factor as a product of two matrices, , and define
Matoušek, Nikolov and Talwar proved that this quantity bounds the discrepancy from both sides (more precisely, the “hereditary discrepancy”: the worst discrepancy over all subsets of the point set; Tusnády's problem can be reduced to this quantity on a grid):
Here is the number of rows and is a constant. The dyadic decomposition in Section 5 gives a factorization of the one-dimensional prefix matrix: the maximum row norm and column norm are each at most , so their product is at most . For anchored boxes on a full equal-sided -dimensional product grid with points, . The lower bound below uses hereditary discrepancy to select a subset of that grid; it does not assert this value for every point set. For an arbitrary -point set, embedding coordinate ranks in a grid gives the needed upper bound on . Thus, for fixed , the general inequalities give
Each of the two inequalities loses a logarithmic factor, and it is known that neither loss can be improved for general matrices. On the planar product grid , and dividing by on the lower-bound side gives exactly once again. The true value lies strictly between the two bounds; this general-purpose ruler cannot measure it.
Summary: three methods, the same number
| Method | Lower bound obtained | Why it stops there |
|---|---|---|
| Continuous discrepancy + transference | Continuous discrepancy itself is | |
| Orthogonal-function method | The known arguments gain only a constant per level; the binary net of Section 6 itself can be colored with discrepancy | |
| Factorization norm | , which is in the plane | The general inequalities come with a logarithmic loss |
| The paper: random point sets, a probability estimate for each coloring | Matches the upper bound |
The specific arguments reviewed here have two features. First, they do not give the paper's uniform lower bound for random point sets: transference and factorization norms produce bad point sets among the subsets of a grid, while the combinatorial-discrepancy application of the orthogonal-function method presented above concerns binary nets. The method itself is not restricted to such point sets. Second, the arguments presented here that count their gain scale by scale gain a constant per level, for a total of over levels. The paper changes both: the points are random, and each scale gains an amount of order . The skeleton of the proof is still a gain collected level by level, and in this it descends directly from the orthogonal-function method. What differs is how much each level gains, and how to make the bound hold for all colorings simultaneously.
A different question
Instead of constructing a bad point set, we place the points at random and then prove that any given coloring is extremely unlikely to be good. This part explains this change of viewpoint, what it demands of the probability estimates, and a small tool that is used from here on: revealing a random number one digit at a time.
§ 8 · BasicsRandom points, one coloring at a time
Section 3 stressed that a lower bound has to rule out all colorings. The classical arguments described above do not give the paper’s lower bound for random point sets, simultaneously for all colorings. The paper sets things up differently:
Write the signed count of the points in the anchored rectangle as a function of two variables:
Here is the indicator function: it equals 1 if the condition holds and 0 otherwise. We also write ; this is the largest imbalance of this coloring over the anchored rectangles. The main theorem of the paper is the following statement.
For every , there is a constant such that the following holds for every integer . If are independent uniform points in , then
The event in the brackets is a statement about the point set, not about any one coloring: however these points are colored, some anchored rectangle has imbalance at least . So the coloring may well be chosen after seeing all the points. The coloring you choose is still one of the vectors, and the conclusion holds for it too.
Three things follow at once from this theorem.
- Bad point sets exist. An event of positive probability is not empty, and random points are almost surely distinct (that is, distinct with probability 1). So there is at least one -point set for which every coloring leaves an anchored rectangle with imbalance at least . Anchored rectangles are rectangles, so . Together with Nikolov's upper bound, .
- Random point sets are as bad as possible. No clever construction is needed: points placed at random attain the worst-case order with probability extremely close to 1.
- can be arbitrarily large. Even a failure probability of is possible; the constant just becomes smaller. The paper does not optimize . It is very small, so the bound is of interest only for large ; the end of Section 18 gives the actual numbers.
The two steps of the proof
Write . The proof has two steps, and the first one is the main body of the whole paper.
The second step uses only the union bound of Section 5, and it needs no independence whatsoever among these events. But it makes a strong demand on the first step: for every coloring, the probability that it is “good” must be smaller than . If we could only prove , multiplying by would give , which says nothing. In other words, each additional point must, on average, more than halve the probability that the coloring is good.
The proof in Part IV is slightly more refined than these two steps. The event “the coloring is good” is split into two events. One depends only on the positions of the points; it is the same event for every coloring, so it has to be ruled out only once. Only the other one has to be estimated coloring by coloring and then multiplied by . But the demand is unchanged: for the part that is estimated coloring by coloring, the probability must be far below .
| Random coloring of Section 5 (upper bound) | Here (lower bound) | |
|---|---|---|
| What is random | the coloring | the positions of the points |
| What is fixed | the point set, and one rectangle | one coloring |
| What the union bound runs over | at most rectangles | colorings |
| How small each probability must be | is enough | must be below |
| Conclusion | a good coloring exists | with very high probability, there is no good coloring |
Once is fixed, all the randomness is in the positions of the points: each point carries its preassigned color and lands, independently, at a uniform position in the square. Moreover, the horizontal coordinate and the vertical coordinate of the same point are independent. Section 10 uses this: it treats all vertical coordinates as known and lets only the horizontal coordinates be random.
§ 9 · IntermediateWhat to aim for: guessing the exponent
Before starting the proof, let us estimate how large can be. This section is a heuristic calculation. It corresponds to the first half of the paragraph “The Brownian sheet and Talagrand's proof” in Section 3 of the paper. It is not part of the proof, but it explains where the exponent comes from.
Fix and write . Then is a sum of independent terms, each of which contributes with probability and 0 otherwise. Its mean is , and its fluctuations around the mean are of order . Subtract the mean and divide by : the resulting process has covariance . Probability theory has a random surface that is very similar, the Brownian sheet, written . It is the two-dimensional version of Brownian motion: is normally distributed with mean 0 and variance , its covariance is , and its increments over disjoint rectangles are independent. The extra term corresponds to pinning the sheet at the upper right corner, that is, to . Below we borrow the Brownian sheet only to guess the scale; we do not distinguish the two processes, and we ignore the mean.
The probability that the Brownian sheet stays in on the whole square satisfies
where means that the two sides agree up to constant factors. The upper bound on the left-hand side is due to Bass, and the matching lower bound is due to Talagrand. We will also use and : “at least” and “at most” up to constant factors.
The one-dimensional analogue is easier to understand. The probability that Brownian motion stays in throughout is about . The reason is this. Cut time into pieces of length . In each piece it gets beyond with constant probability, and it has to stay inside for pieces in a row. The extra in two dimensions has no such simple explanation; it is exactly the content of Talagrand's theorem.
Now substitute this into the demand of Section 8. The event “” corresponds to “” with . This suggests the guess
For this to be smaller than , the exponent must be at least of order :
When is only a power of , we have . So the threshold is exactly at : for smaller the union bound suffices, and for larger ones it does not. The is half of 3: the cube of the logarithm in the small-ball estimate turns into the power when the square root is taken.
| Problem | Random process | Small-ball exponent | Resulting | True answer |
|---|---|---|---|---|
| intervals on the line | Brownian motion | a constant | 1 (Section 2) | |
| rectangles in the plane | Brownian sheet | (the paper) |
The first row is a sanity check: in one dimension the exponent has no logarithm, and solving for gives a constant. This agrees with Section 2: “color alternately, and the largest imbalance is always 1”.
“Looks like a Brownian sheet” is a statement about a limit in distribution, which describes typical fluctuations. The probabilities to be estimated here are as small as , and weak convergence by itself does not control exponentially small probabilities. As the paper puts it, the calculation predicts only the scale: is not a Gaussian process, and a Gaussian limit cannot control probabilities that small. So Part IV has to give a proof directly for finitely many points.
Also, the analogy leaves out two things: the limit process is pinned at the upper right corner, and when the colors are unbalanced has the mean ; if every point is red, , which is not of order at all. They can be set aside when guessing the scale, but not in a proof.
The proof in Part IV does not use Gaussian distributions at all. But the relation between the parameters that it ends up with is exactly the one in the calculation above; Section 19 comes back to compare the two.
§ 10 · IntermediateRevealing digit by digit: a random number as a sequence of dice
The randomness in the proof is released a little at a time. First we look at how to take one random number apart. Take an integer as the base. Cut into equal pieces; the index of the piece that contains is its first digit . Then cut that piece into equal smaller pieces; the index of the one that contains is . Continue in this way. This is the base- expansion of , except that the digits are counted from 1, so that they match “the -th child” later on.
If is uniformly distributed on , then its digits are independent, and each of them is uniformly distributed on .
Proof: “the first digits are , in this order” is equivalent to “ lies in one particular interval of length ”, which has probability . The joint probability is the product of the individual probabilities, and this is exactly the definition of being independent and uniform.
So a uniform random number can be viewed as a sequence of independent -sided dice. After the first dice have been rolled, we know only which interval of length contains . The next die decides which child of this interval the number falls into, and it is independent of the earlier rolls.
Information and conditional expectation
The proof proceeds in stages, numbered from 0 to (here is the number of transitions; it is fixed in Section 11). Let be the information at stage : the vertical coordinates of all points, together with the first digits of every horizontal coordinate . So contains only the vertical coordinates. Each further stage reveals one more digit of every point.
The points are independent, and is independent of . So, conditional on , the next digits of the points are independent uniform -sided dice. This is all the randomness that is added between stage and stage .
means: treat the information as constant, and average only over the digits that have not been revealed yet. The result is a quantity determined by the information. We will use four of its properties.
Linearity. ; no independence is needed.
Known quantities can be taken out. If is determined by , then . In the average, is a constant.
Tower property. Averaging first over the digits revealed later and then over those revealed earlier is the same as averaging over all of them at once: , and in particular .
Absolute value. . The absolute value of an average is at most the average of the absolute values; this is the triangle inequality.
If there are only finitely many possible outcomes, a conditional expectation is just a weighted average, and all four properties can be checked directly. That is the situation here: each step involves only dice, with outcomes in total, each of probability . Only at one place, in Section 13, do we have to average over a continuous position; it is explained there.
Local oscillation
This part is the proof itself, following version r65 of the paper. Its central object is a quantity that measures local oscillation. The proof rests on three things. In one transition, increases on average by a definite amount (Lemmas 2.1, 2.3, 2.4 and Fact 2.2). When the points are spread out, this amount is large enough, and the points are almost always spread out (Lemma 2.5). The actual increase is unlikely to fall far below the average (Lemma 2.6). Proposition 2.7 combines these and takes a union bound over all colorings.
The route is as follows. We first cut the square into cells, stage by stage, and define (Sections 11 and 12). Inside one rectangle we prove that the refinement does not decrease the expected oscillation and in fact adds an extra term (Sections 13 and 14), and that one digit has very little effect on (Section 15). Then we chain the transitions together (Section 16), show that all transitions are good with high probability when (Section 17), and finish by choosing the parameters (Section 18). The equation numbers (1)–(18), Lemmas 2.1 and 2.3–2.6, Fact 2.2, Proposition 2.7 and Fact A.1 of the appendix all agree with the paper. In a few places the order of presentation differs from the paper for the sake of the explanation; this is noted where it happens.
§ 11 · Basics stages, a family of rectangles of equal area
From here to Section 17 the coloring is fixed, and we write for . Almost surely, all points have distinct vertical coordinates, and no coordinate of a point has the form with integers and . We work on this event only. All intervals below have endpoints of the form , so no point lies on a dividing line.
We use three parameters:
- the base , an integer;
- the number of transitions , an integer;
- .
Their values are chosen only in Section 18: is a large constant that depends only on , and is about divided by .
Stages. For , stage cuts the square as follows:
- Horizontally, into intervals of length . Two horizontal coordinates lie in the same interval exactly when their first digits agree.
- Vertically, into blocks of height . Blocks are closed at the bottom and open at the top.
The rectangles are the cells of stage . There are of them, each of area . Neither the number nor the area depends on ; only the shape changes. Stage 0 consists of thin horizontal strips, and stage of thin vertical strips.
There are stages, . The passage from stage to stage is called the transition . Here , so there are transitions.
In one transition, two things happen at once:
- Every interval is cut into children , numbered from left to right. The next digit of a point decides which child it falls into.
- Every adjacent old blocks (from bottom to top) merge into one new block .
Such an is called a comparison rectangle: is an interval of stage , and is a block of stage . There are comparison rectangles, each of area . So
This ratio will come up again and again. Section 18 will show that it should be of order .
A family of rectangles of the same area and of different shapes is nothing new: Roth's method in Section 7 uses dyadic boxes of fixed area. What is new is that we will measure a different quantity on this family.
§ 12 · IntermediateEndpoint average and oscillation
Endpoint average
For a horizontal interval , take the mean of the two values of at its endpoints:
The paper writes , for the endpoints and for this function, shortened to while is fixed. Equation (1) is the definition of below; the paper states it already in the introduction.
It is a function of , called the endpoint average of . Let us see how much each point counts in it. Among the points whose vertical coordinate is at most , counts those to the left of , each with its color, and counts these points and also those in . So:
So is a step function: each time moves up past a point, it jumps by , that is, by , by , or not at all. The may look odd; Sections 13 and 14 will show that the whole proof turns on it. The factor is called the weight of the point in .
Take and . Consider the interval and three points: a red point to the left of , at height 0.3; and, in , a blue point at height 0.55 and a red point at height 0.8. Their weights are , , , in this order. Let move from the bottom to the top:
Below 0.3 there is no point. Passing the red point on the left adds 1; passing the blue point subtracts ; passing the last red point adds .
A few things are worth trying. Set the stage to 0. Then , the rectangle of the left endpoint is empty, , and every point has weight . Move the interval all the way to the right: almost every point has weight 1, and is close to itself. Flip the color of a point in : the part of above this point shifts by 1. Flip a point to the left of : it shifts by 2. Flip a point to the right: nothing changes.
Oscillation
The function is a step function with finitely many jumps, so it has a maximum and a minimum on every block. For a function of the height and a vertical interval , define
called the oscillation and the midpoint of on . The oscillation measures how wide the range of values of on is, and the midpoint measures where this range lies. The maximum and the minimum are . Vertical intervals are closed at the bottom and open at the top.
Shift invariance. Adding a constant on the whole block moves the maximum and the minimum together, so the oscillation does not change; the midpoint increases by .
Triangle inequality. . Reason: and ; subtract the second from the first. Applied repeatedly, it extends to finite sums. Also, multiplying by a constant multiplies the oscillation by : .
Reverse triangle inequality. . Reason: write as ; the triangle inequality and then give . The other direction is the triangle inequality itself.
The first property is the reason for choosing the oscillation: when a point whose height is not in is moved, the function on only changes by an additive constant. The second property is used in Section 13, and the third in Section 15.
The potential
Average the oscillations over all cells of stage :
where the sum runs over the cells of stage . We call the potential. In the example above, is an interval of stage 1, the only block is all of , and takes the three values , , on it, so the oscillation is .
and is determined by .
In the paper, (9) appears only in Section 2.4; we use its number here ahead of time.
ProofThe two properties
- Lower bound. Every term is a maximum minus a minimum, so it cannot be negative.
- Upper bound. By (3), an oscillation is a difference of two values of . By (2), each value of is an average of two values of , so its absolute value is at most . So every oscillation is at most , and so is their average.
- Determined by . The endpoints of the intervals of stage are integer multiples of . The first digits of a point tell whether it lies to the left or to the right of such an endpoint. So every weight is determined by , and the vertical coordinates are known anyway.
Note that need not be 0: the blocks of stage 0 are very short, but they may still contain points. Later we only use .
The upper bound in (9) is the only link between and the discrepancy, but it is all we need:
So if is large, then this coloring has an anchored rectangle with large imbalance. We start from and take steps. The plan for what follows is to show that increases on average at every step, and that its actual value is unlikely to fall far below the average.
Move the stage from 0 to 3; three things can be seen. At stage 0 the blocks are very short, a block usually contains between zero and two or three points, and the oscillation is mostly 0, or 1, so is small. For this point set, at later stages the cells become narrower and taller, every block is taller and contains more points, the colors get deeper overall, and grows with them. But whatever happens, the bars never cross the dashed line; this is (9). Now switch to the coloring “Alternate in y order”: it keeps very small, and yet in this sample still grows, because on a narrow interval sees only part of the points, and there the alternating pattern is broken.
All of this describes one sample. In a single realization can perfectly well decrease, and two points suffice: take and , color the point red and the point blue, and the definitions give and . What the proof shows later is that the conditional expectation increases; the deviation of the actual value from the conditional expectation is controlled separately.
The endpoint average makes the refinement clean: cut into children, let each point fall into one of them at random, and average the endpoint averages of the children; the expectation is exactly the old (Eq. (7) in Section 14). Taking only the right endpoint does not have this property.
The oscillation is shift invariant: adding a constant on a whole block moves the maximum and the minimum together, and their difference does not change. If one point moves horizontally, then for each fixed interval I only the oscillation of the vertical block containing its height can change (Section 15). The maximum of would not achieve this.
§ 13 · Core argumentThe comparison in one rectangle, part 1: the deterministic part
Fix a comparison rectangle . Before the refinement, consists of the horizontal strips ; after it, of the vertical strips . Remove the bottom and top horizontal strips of . What remains is called the inner region of , and we write for the number of points in it:
The inner region is not empty because . These two sections prove Lemma 2.3: in expectation, the oscillations on the vertical strips add up to at least those on the horizontal strips plus an extra term,
This section does the part that involves no probability and obtains (5) and (6). They hold for every outcome of the dice. The next section takes expectations.
To save subscripts, in these two sections we write for and call it the old function, and we write for and call these the child functions. The paper uses the same notation.
Step 1: an inequality for step functions
Forget the points and the dice for a moment, and consider a function on with finitely many values. How is its oscillation on related to its oscillations on the old blocks? The first thing that comes to mind is that contains every old block, so ; adding these inequalities gives . Lemma 2.1 says that there is in fact an extra term.
Let be a function on with finitely many values. Then
We call the offset between the top block and the bottom block: it tells by how much the center of the range of values of on the top block differs from the center of its range of values on the bottom block.
ProofLemma 2.1
- The bottom and top blocks together. and are both contained in , and the maximum and the minimum of on a block are . Subtract the minimum on the bottom block from the maximum on the top block, and then do the same with the two blocks exchanged:
- Take the larger one. The two right-hand sides differ only in the sign in front of the offset, so
- The middle blocks. For each of the middle blocks, use . Add these inequalities and twice the inequality of Step 2; the left-hand sides add up to times .
The offset is the source of the gain that comes later. Add a constant to on the top block: this changes the offset, but none of the oscillations on the blocks. So among the terms of (4), only the oscillation on , on the left-hand side, can register it.
Step 2: after the refinement, average the child functions
Now cut into children . Each child has its own endpoint average . We do not study them one by one, but first average them:
By the triangle inequality for the oscillation (Section 12), the oscillations of the functions add up to at least the oscillation of their sum, and their sum is :
The right-hand side has exactly the form of the left-hand side of Lemma 2.1. Apply Lemma 2.1 to :
The left-hand side is the sum of the oscillations on the vertical strips after the refinement, which is exactly the quantity we want. The right-hand side involves only one function, : its oscillations on the old blocks, plus twice its offset between the top block and the bottom block. The details of the individual children have disappeared.
Up to this point no probability has been used. Inequality (5) holds no matter which children the points fall into.
Step 3: the weight of a point in
To compare with the old function , we first compute the weight of each point in . By (2), the function counts each point with the average of its weights in the children, whereas counts it with its weight in , which we call its old weight. A point to the left of has weight 1 in every , so the average is again 1; a point to the right of has weight 0 in all of them. These two kinds of points count in exactly as they do in .
A point in has old weight , and its new weight depends on the child it falls into. Suppose it falls into . It lies to the left of the children on its right, and each of them gives it weight 1; its own child gives it weight ; the children on its left give it weight 0. So its weight in is
Here is the index of the child, that is, the outcome of the die.
For , put the weights that the children give to the point into a table, with one row for each child and one column for each outcome of the die. The average of each column is the weight of the point in :
| weight in | 0 | 0 | 0 | |
| weight in | 1 | 0 | 0 | |
| weight in | 1 | 1 | 0 | |
| weight in | 1 | 1 | 1 | |
| weight in | ||||
| deviation from |
The formula above splits the weight into two parts. The first part, , is the old weight. The second part is a deviation, which can be positive or negative. Multiply it by the color: for the -th point, lying in the child , let
and call the jump of this point: it is the extra jump that makes, compared with , at the height of the point. So is plus the jumps of the points in :
The sum runs over the points in of height at most . In words, follows the old function and makes an extra jump at the height of each point in . This is still an identity; no probability is involved.
Press “Roll again” a few times. Each time is different, and it moves to either side of the dashed line . But the chain of inequalities in the readout holds every time: the sum of the oscillations on the four vertical strips is at least , which in turn is at least the right-hand side of (5).
The function is itself random: it depends on the dice. The next section shows that its expectation is . But after one roll, the weight of a point may be , and it may be ; for no outcome gives exactly (for odd , only the middle child gives ).
The cannot be replaced either. Suppose that we did not take the endpoint average and used only the value of at the right endpoint of the interval. Then a point would have weight 1 in its own child, and its weight in the average would become . The mean of this over is , whereas the weight of the point in would be 1, so the two sides do not match.
Choose a horizontal coordinate uniformly at random in the interval , independently of all the points. Then is the conditional expectation of given : a point in and are both uniform in , so each of them is to the left of the other with probability one half. Section 3 of the paper writes this as and notes that it is the conditional version of the horizontal average in Talagrand's proof. In the same way, is the conditional expectation of the same quantity given , with one more digit known. (The average here also runs over the exact positions of the points inside the interval, so it is no longer a weighted average over finitely many outcomes, but the four properties of Section 10 still hold.)
§ 14 · Core argumentThe comparison in one rectangle, part 2: expectation, baseline and gain
The previous section gave (5), which holds for every outcome of the dice:
This section takes the expectation of the right-hand side, in two parts. First: the expected oscillation of on each old block is at least the oscillation of ; this is the baseline. Second: the expected absolute value of the offset is at least ; multiplied by 2, this is the gain. Together they give Lemma 2.3.
What is random
First, what is fixed and what is random. All colors and all heights are fixed, and so is the position of every point relative to (to the left of , in , or to the right of ). Each point in falls into one of the children, uniformly at random and independently of the other points; that is, each of them rolls its own -sided die. This is the local experiment. In the local experiment the old function is fixed, and the child functions are random. Every below is taken over these dice.
Nothing else needs to be specified: a point outside lies on the same side of every child, so the child functions depend on the horizontal coordinates only through two things: the position of each point relative to , and the child that each point in falls into. Section 16 will show that, conditionally on , this is exactly the experiment that takes place in every comparison rectangle during one transition.
Step 1: the jumps are symmetric, so
Consider the jump of a point in , where is uniform on . As runs from 1 to , the number takes the values , and this set is symmetric about 0. So, whatever the color is, takes each value and its negative with the same probability: it is symmetric (it has the same distribution as ), and in particular . Different points use different dice, so the jumps are independent.
By (6), equals plus a number of jumps, each with expectation 0. So
Refine once and then average: in expectation, this gives back the old function. This is what Section 12 meant by saying that the endpoint average makes the refinement clean.
Step 2: the baseline
Let be a random function (its value at each is a random variable), and let be a set. For every fixed in we always have . Taking expectations on both sides gives . This holds for every , so
In the same way, .
Intuitively: looking at the dice first and then picking the best height is, on average, no worse than fixing a height in advance. Apply the tool to and each old block , and then use (7):
The old oscillation is kept. Sum over , and take expectations on both sides of (5):
The first term on the right is the sum of the oscillations over the horizontal strips before the refinement; this step says that nothing is lost. The second term is the gain, and the next three steps bound it from below.
Step 3: separating the contribution of the points of the inner region
The points of the inner region have a special property: they all lie above and below . Let
be the sum of the jumps of these points, and let be the function in (6) without these jumps:
Then:
- on , none of the points of the inner region has been counted yet, so ;
- on , all of them have been counted, so , which is raised by the constant on the whole block.
Adding a constant on a whole block adds to both the maximum and the minimum, and therefore adds to the midpoint. So
is the offset of itself: how far apart the top block and the bottom block already are without the jumps of the points of the inner region.
Take . To keep things simple, suppose there are only two points in all, both in : a red point in and a blue point in , so both are points of the inner region. Before the refinement, rises from 0 to at the red point and falls back to 0 at the blue point. The oscillations on the four old blocks are , and their sum is 1. Note that is identically 0 on both the bottom block and the top block: the two colors cancel, and there is no offset between the two blocks.
After the refinement, suppose the red point falls into and the blue point into . There are no other points, so , , and . The average is 0 on and the constant on , so the offset is . Among the sixteen equally likely outcomes:
| 0 | ||||
|---|---|---|---|---|
| number of outcomes | 4 | 6 | 4 | 2 |
So . Before the refinement the top and bottom blocks were exactly level; after it, they remain level only one time in four. The second term on the right of (8) is ; Lemma 2.3 guarantees .
The offset is a fixed number plus a random sum . For a particular outcome of the dice, may happen to cancel the offset that is already there. But is a sum of independent symmetric jumps, and such a sum does not stay close to any one number, so on average it cannot cancel the offset. The next step turns this sentence into an inequality.
Step 4: a sum of symmetric random variables is not close to any fixed point
First compute two moments of a jump. does not depend on the color, and is uniform on :
Also (with equality for or ), so , and hence
DerivationThe two moments
- Second moment. The number takes the values , and the sum of their squares is (for example, for : ). So . The paper computes this differently: , and the variance of is .
- Fourth moment. The middle inequality is , that is, . The final equality is .
For large , is close to , which is the variance of the uniform distribution on .
For any random variables , we have .
Proof: for every , the inequality gives . Take expectations, and then take . If one of the second moments is 0, the claim is trivial.
Let be independent symmetric random variables. Suppose that and for every , where . Then, for every real ,
For uniform signs this is Khintchine's inequality (with a weaker constant); the fourth-moment hypothesis holds for uniform signs, and we have just checked it for the jumps.
ProofFact 2.2
Write . For the right-hand side is 0 and the claim is trivial, so let .
- The shift does not hurt. Every is symmetric, and they are independent. So and have the same distribution, and . Averaging the two and using gives .
- Second moment. , because for .
- Fourth moment. Expand . If some index appears an odd number of times in a term, then by independence and symmetry the term has expectation 0. Two kinds of terms survive: the terms with four equal indices, and the terms () with two pairs of equal indices, each of which arises times. So
- Cauchy–Schwarz, twice. Split as , and then split as : Square the first inequality and insert the second: , that is, . At this point the paper applies Hölder's inequality once (with exponents and 3); the result is the same.
- Substituting. .
Drag the shift: the curve is lowest at , which is Step 1 of the proof. The three horizontal lines are ordered from top to bottom, which is Steps 4 and 5. Move the number of terms from 1 to 12, and the three lines rise together at the rate : the more terms there are, the more the sum spreads out, and the larger its average distance from any given point becomes. This is where the gain of order from points of the inner region comes from.
Step 5: putting it together to get Lemma 2.3
Split the dice into two groups: the dice of the points of the inner region, and the dice of the other points in (the points whose heights lie in , in , or outside ). First treat the second group as known, and average only over the first group. Then is a fixed function and is a fixed number. And is a sum of independent symmetric jumps, which are independent of the second group of dice.
Apply Fact 2.2 to , with . The conditional expectation of the absolute value of the offset is at least
The last inequality is , which holds for . This lower bound is the same for every , so no outcome of the second group of dice can reduce it; after averaging over the second group as well (the tower property of Section 10), it still holds:
Substituting into (8):
In the local experiment,
The left-hand side is the sum of the oscillations over the vertical strips of after the refinement, and the first term on the right is the sum of the oscillations over the horizontal strips before it. Cutting into vertical strips instead of horizontal ones increases the total oscillation in expectation, by at least . The paper calls this lemma the heart of the proof.
How large is this gain? A comparison rectangle contains points on average, and a fraction of them lie in the inner region. So typically each refinement of each comparison rectangle increases the sum of the oscillations by an amount of order . This is the price mentioned at the end of Section 5: one extra square root per level.
One more point will be used later: the number , which sets the size of the gain, only counts points and does not look at their colors. The coloring changes , and it changes the signs of the ; but each is symmetric, so changing its sign does not change its distribution, and Fact 2.2 holds for every .
Roll a few times, and then press “Average over 20,000 rolls”. Three things should be visible. The long-run average of the sum of the oscillations of is at least the old sum; this is the baseline. The long-run average of twice the offset is clearly larger than , which is only a conservative lower bound. And the long-run average of the new sum is considerably larger than “baseline plus gain”: the triangle inequality for the oscillation and Lemma 2.1 both give something away. Increase the number of points, and the offset grows roughly like the square root of the number of points.
What one rectangle gives, and what is missing
What does Lemma 2.3 give when it is applied directly to the whole square? Take and , so that is the unit square without its top edge. Every oscillation of a child function is a difference of two values of , and each of them is an average of two values of , so it is at most ; hence the left-hand side in the lemma is at most . When the heights are fixed and the horizontal coordinates are independent and uniform, the first digits perform the local experiment, and the lemma gives
For typical heights, the inner region contains about points, so this is of order , far larger than the that we want to prove.
This is not a discrepancy lower bound. The coloring above was fixed before the horizontal coordinates were sampled, and a coloring chosen after seeing the points achieves (Nikolov). We need a bound for all colorings simultaneously, so each fixed coloring may fail only with probability well below . One comparison on one rectangle gives only an expectation, and that is far from this requirement.
The next four sections therefore use small rectangles in place of one large rectangle, and repeat the comparison at successively finer horizontal scales. Lemma 2.3 is designed for this: its output (a sum of oscillations over vertical strips) has the same form as its input (a sum of oscillations over horizontal strips), so the output of one transition can be used directly as the input of the next. Two things are then still missing:
§ 15 · IntermediateThe effect of changing one digit
Lemma 2.3 is a statement about an average. To turn an average into “almost always”, we need to know how sensitive the oscillations after the refinement are to each single die. The answer is: hardly at all. This section contains no probability. It uses only two properties from Section 12: the shift invariance of the oscillation, and the reverse triangle inequality . In the paper this is Step 1 of the proof of Lemma 2.6.
In the transition , change the next digit of a single point , that is, move it to another child of its old interval , and leave all other points where they are. Then, among the cells of stage , the oscillation can change in only of them, and in each by at most 1. So
ProofWhy only cells are affected
- Which functions change. Suppose that moves from to . Its weight changes only in the children of : seen from any other interval, the point is still on the same side. Its weight in is , or , and after the move it is again one of these three numbers. So where is times the difference between the new weight and the old weight. This is a step function with a single jump, at height .
- The height is not in the block. Consider a cell of stage , where is a new block. If , then lies either entirely below or entirely above it, and the change displayed above is constant on . The oscillation is shift invariant, so does not change.
- The height is in the block. On the change takes only the two values 0 and , so its own oscillation is . By the reverse triangle inequality, changes by at most 1.
- In total. Exactly one new block contains ; call it . The affected cells are the cells , and together they form the comparison rectangle . The potential is the sum of the oscillations divided by , so it changes by at most .
This shows why we measure oscillation. With the past fixed, changing one point’s next horizontal digit changes at every height above the point, so many blocks may be affected. But the oscillation changes in only one of these blocks; in the others the function is merely shifted by a constant. If we measured the maximum of instead, all of these blocks would have to be counted.
However you move the point, the marked cells all lie in one row, namely the block that contains the point, and the absolute values of the changes sum to at most . We now have both facts about one refinement step:
§ 16 · Core argumentAll transitions: the plan, conditional gain and fluctuations
The last three sections looked at one comparison rectangle and one refinement. We now return to from Section 12 and put the transitions together. This section first lists the plan for the rest of the proof and then carries out two of its steps: Lemma 2.4 says how much each transition gains on average, and Lemma 2.6 says that the actual increment is unlikely to be far below this average.
Step 1: splitting the increment into “conditional gain” and “fluctuation”
The potential is determined by . So the actual increment in each transition can be written as two parts:
Summing over gives the identity
We call the conditional gain of the transition , and the fluctuation term. By (9), and . So is large as soon as the sum of the last two terms on the right is large. The rest of the proof has three steps.
Proposition 2.7 (Section 18) puts the three steps together and takes a union bound over all colorings.
Step 2: the average gain of each transition
The transition has comparison rectangles, each of area . As in Section 13, the inner region of a comparison rectangle is without its bottom and top old cells, and is the number of points in it.
For every , almost surely
where ranges over the comparison rectangles of the transition .
ProofLemma 2.4
- Group by comparison rectangle. Every old cell is a horizontal strip of exactly one comparison rectangle, and every new cell is a vertical strip of exactly one: contains the old cells and the new cells . So
- Every comparison rectangle carries a local experiment. Given : all heights are known; the position of every point relative to every old interval is known; and the next digits of the points in are independent uniform dice, which decide the child that each point falls into. This is exactly the local experiment of Section 14, and it is performed in every at once. Here is the old function and are the child functions.
- Sum. Apply Lemma 2.3 to each : the conditional expectation of the quantity in parentheses is at least . Adding over all and dividing by gives (11).
The number is not negative, so on average the potential does not decrease in any transition. How large is ? If every inner region held about points, we would add terms and divide by , so would be about . Over transitions this accumulates to the order of . But an “if” is not a guarantee; Section 17 deals with it.
The number has one more feature: counts points and ignores their colors. So is the same number for all colorings.
Each term of the middle sum in (10) is at least . Each term of has mean 0 given , and it can be positive or negative. To prove that is large, only one thing can go wrong: is a very negative number and eats up the gain. We now show that this has extremely small probability.
Step 3: bounded differences
Let , and . For every real , . If , then almost surely and the bound is immediate.
Proof: the function is convex, so on the interval it lies below the chord that joins its two endpoints:
Take expectations. Since , the right-hand side becomes . The second inequality, , was proved in Section 5.
The same holds for conditional expectations: if the conditional expectation of given some information is 0, and , then the conditional expectation of is at most . The proof is the same word for word, with every replaced by a conditional expectation.
The circles all lie below the chord, so their center of mass also lies below the chord, and the height of the chord at 0 is exactly . When the distribution takes only the two endpoint values, the center of mass lies exactly on the chord; this is the worst case. A little higher still is . If you make negative, the picture is mirrored left to right and the conclusion is the same.
Let be independent random variables, and let be a random element independent of the vector . Suppose is measurable, is integrable, and . For each fixed value of , changing one coordinate changes by at most . Then, for every real , almost surely
ProofFact A.1
Since is independent of the , conditioning on amounts to fixing the first argument of at a value . So it suffices to prove, for each fixed , the unconditional bound , where . From now on, is fixed.
- Reveal one at a time. Let , that is, the best guess for once the first variables are known; in particular and . Put . Then .
- Each step has mean 0. By the tower property, , so .
- Each step is bounded. Since the variables are independent, is computed as follows: fix the first variables at their revealed values, and average over the later variables. Regard this as a function of the -th variable. When the -th variable takes another value, every term in the average changes by at most , so the average also changes by at most . And is the average of this function over the -th variable. A function whose values all lie within a range of width at most is never more than away from its own average. So .
- Peel off the steps, starting from the last. The differences are determined by , so they can be factored out; to we apply the conditional version of the tool above: Repeating this times gives .
This is a moment-generating-function form of the bounded-differences inequality (McDiarmid), and its proof is the martingale argument of Azuma. The standard version has a better constant, which we do not need here. A sequence of quantities like , each with mean 0 given everything revealed before it, is called a sequence of martingale differences.
In this example there is an explicit formula for . If the first dice have shown different values, then each of the remaining values fails to appear among the last dice with probability , so .
The picture matches the proof in two places. Each step can be positive or negative: a new value makes the guess jump down, a repeated value moves it up a little, and the average of the two, weighted by their probabilities, is 0. This is Step 2. (The first die is an exception: it always shows a new value, and this step is exactly 0.) Each step lands inside the light vertical bar. This is Step 3. Run 30 more rounds: the final values are scattered in a modest range on both sides of .
Step 4: the fluctuation term is unlikely to be very negative
Fix a coloring, and let be the fluctuation term of (10). Then, for every ,
ProofLemma 2.6
Write for the fluctuation in the transition , so that .
- One digit. Changing the next digit of one point changes by at most . This is Section 15.
- One transition. The potential is a function of the next digits, and it also depends on the information in (the heights and the first digits of all points). These digits are independent of each other and of . Apply Fact A.1 with the information in , with the next digits, with , and with in place of . For every ,
- Multiplying over the transitions. Given , the terms are already determined, so they can be factored out: Doing the same with , then , and so on down to , we get .
- Markov's inequality, then the choice of . As in Section 5, the event “” is the same as “”, so The exponent is a quadratic function of . It is smallest at , where its value is .
This step does not need the transitions to be independent of each other. Conditional on the information available at each transition, the next digits are independent dice, and changing one of them changes by at most . We apply the conditional exponential-moment bound to this transition and then iterate conditional expectations; each of the transitions contributes a factor , and this is how the and the in the exponent of (13) accumulate.
The argument must not be shortened to “ is a function of digits, each with an effect of at most ”. Changing an early digit also changes and the conditional expectations at all later transitions, and its effect on can exceed . A small example: , , , so ; colors , heights , horizontal coordinates . Change the horizontal coordinate of the second point to , that is, change its first digit from 1 to 3 and nothing else. Computing directly from the definitions, changes from to , a change of .
So the bound is used one transition at a time: within a transition only the current digits vary, and all earlier digits count as known.
Inequality (13) is a statement about one fixed coloring: depends on the coloring, and for another coloring is a different random variable. To handle all colorings, the right-hand side has to be multiplied by , so must be chosen so that the exponent is larger than . Section 18 does this.
Three things are worth noticing in the picture; all of them are statements about the sample on the screen. First, rises in every transition, and each increment is far above ; the table lets you compare them directly. Keep in mind that is a lower bound for a conditional expectation: the increment of a single realization has no such guarantee and can even be negative. Second, if you switch to the coloring that alternates along a Z-shaped curve, becomes much smaller and becomes smaller with it, but in this sample every transition still gains. Third, over a few dozen repetitions the minimum and the mean of in these samples are of the same order, and no run drops close to 0. This is an observation from finitely many experiments and says nothing about tail probabilities; for a probability as small as we need (13).
§ 17 · IntermediateNo crowding: heavy regions and good transitions
In (11), the number is about when every inner region holds about points. But this is not guaranteed. If the points crowd into a few inner regions, or if many of them fall into the bottom and top old cells of the comparison rectangles, the sum is small; in the extreme case no point lies in an inner region, and . This section shows that when , except with exponentially small probability, a fraction of this number that depends only on is retained at every transition. This is step (b) of the plan in Section 16.
Heavy regions and good transitions
A comparison rectangle holds points on average. Fix the transition . For its comparison rectangles we define:
A good transition is one where at least half of the points are spread out well enough. Let be the event that the transition is good, and let be the event that all transitions are good. These events depend only on the positions of the points, not on the coloring. Put
It is times the “ideal value” .
Let .
(i) On , we have .
(ii) If , then , and hence .
Proof(i): on a good transition,
- In a region that is not heavy, the square root is not too small. For , we have . If , the final inequality holds directly, with both sides zero.
- Sum. Keep only the regions that are not heavy. On a good transition they hold at least points in total:
- Divide by . .
Why discard the heavy regions? The square root is concave: for the same number of points, the sum of the square roots is large when the points are spread over many regions, and small when they crowd into one region. Once a region holds more than times the average number of points, the additional points contribute almost nothing to , so we simply do not count them.
The probability that a transition is not good
A boundary strip is the bottom or the top old cell of a comparison rectangle. Every point lies either in an inner region or in a boundary strip.
Proof(ii): if , then
- What “not good” means. If the transition is not good, fewer than points lie in inner regions that are not heavy. Every other point lies in a heavy inner region or in a boundary strip. So more than points lie in the set , the union of the boundary strips and all the heavy regions.
- There are few heavy regions. No point lies in two inner regions, each heavy region contains more than points, and there are only points in all. So there are fewer than heavy regions.
- is not a fixed set. Which regions are heavy depends on where the points fall. So we cannot directly compute “the probability that a point falls into ”. Instead, we list all the possibilities: consider every collection of fewer than inner regions, whether or not its regions are heavy. Let be the union of the boundary strips and of the regions in , and let be the event that at least points lie in . Steps 1 and 2 say: if the transition is not good, then occurs for the collection of all heavy regions. So the event “not good” is contained in the union of the events .
- is small. Fix . The boundary strips are two of the old cells of every comparison rectangle, so they cover an area of . There are fewer than regions in , each of area less than , so they cover an area of less than . Hence is a fixed set of area at most .
- A given set of points all falls into it. If occurs, then there is a set of indices whose points all lie in . The points are independent and uniform, so the points of a given set all lie in the fixed set with probability at most (since ). There are at most sets of indices, so by the union bound .
- A union bound over . There are inner regions in all, so there are at most choices of : The middle step uses . One more union bound, over the transitions, gives the bound on .
Try the three presets. In the sample of uniform random points there are no heavy regions, and about of the points lie in inner regions that are not heavy. Force 40% of the points into 16 regions: these 16 regions all turn red, but the remaining points are still more than half, so the transition is still good, and is still at least . Once the forced share passes about one half, the transition is no longer good; the third preset uses 60%. For random points to end up like this by themselves, the probability is at most the last readout, which is about for and .
Three points are worth pausing over. First, what is random here is the positions of the points, and whether a transition is good depends only on the positions. So is the same event for all colorings, and it has to be ruled out only once. Second, the condition is used in Step 6: there are choices of , and for to outweigh them, must not be larger than . Third, the inner regions have different shapes at different transitions, and the events that the individual transitions are good are not independent; the proof only takes a union bound over the transitions and does not need independence.
§ 18 · Core argumentFinishing the proof: Theorem 1.1
Theorem 1.1 is stated in Section 8.
Putting the three steps together: Proposition 2.7
Steps (a), (b) and (c) of the plan in Section 16 are now all in place. For a coloring , consider two events:
If , then
ProofProposition 2.7
The threshold on the left is exactly . Fix a coloring, and suppose that holds and .
- The sum of the conditional gains. On , the conditional gain of every transition is at least (Lemma 2.4), and (Lemma 2.5 (i)). So (10) and give
- A small forces Event 2. By (9), . Together with Step 1 this gives , and in particular for . The paper uses only the latter; the constants are not optimized.
- The probability of Event 2. By (12), . With this , the exponent in (13) is Therefore .
- Union bound. If there is a coloring with , then either fails, or holds and is small for this coloring. There is only one event of the first kind. There is one event of the second kind for each coloring, in all: Now insert Lemma 2.5 (ii) and Step 3.
Of the two terms on the right, only the second is multiplied by . Event 1 is shared by all colorings, so it is enough to rule it out once.
Choice of parameters
It remains to choose and . The goal is to make the right-hand side of (14) at most , while keeping the threshold on the left at least . Given , choose an integer so large that the following two conditions hold ( is the natural logarithm; the paper writes ):
Such a depends only on , and , so that . Next set
For every , let be the largest positive integer with , and set . For the left-hand side is , and it tends to infinity with , so such an exists.
Proof(16), (17) and (18)
The left inequality in (16) is the definition of . Since is the largest such integer, does not satisfy the condition: . With and this gives , which is the right inequality in (16). With and the same inequality gives , and taking logarithms to base 2 gives (17). Raising both sides of (17) to the power and multiplying by gives (18).
Inequality (16) says that the average number of points of a comparison rectangle lies between and , so it is of order . Inequality (17) says that , so is at least of order . Conversely, cannot be larger than that, because its definition requires .
Why ? The lower bound in (16) makes the threshold in (14) at least . The upper bound makes the last exponent in (14) more than , which outweighs when is large enough. With instead, this exponent would only be guaranteed to be more than , which is not enough against the colorings.
Why is the density taken to be of order ? With a larger density, every would be larger. But when is of the order of the total gain, the exponent in (13) is of order (for fixed ), whatever the density is, and it must exceed . So is at most of order , and the density is at most of order .
Proof of Theorem 1.1
ProofTwo cases
- Case 1: . Proposition 2.7 needs , so this case has to be treated separately. By (16), , so ; by (18), . So it suffices to find an anchored rectangle that has imbalance 1 under every coloring. Almost surely all heights are distinct, so the lowest point is unique. The anchored rectangle contains just this point, and its signed count is . In this case the claim of the theorem holds with probability 1.
- Case 2: . The first term on the right-hand side of (14). Now . By the first condition in (15), , so the first term is at most .
- The second term. By (16), , so , where the last step is the second condition in (15). Hence .
- Adding the two terms. The right-hand side of (14) is at most , since .
- Converting to . Outside this exceptional event, every coloring satisfies The steps use, in this order, from (16), then , and finally (18).
Step 5 is where the exponent finally appears: the threshold is , and is at least a constant multiple of , so the threshold is of order . Step 4 explains why (15) has and not : the extra absorbs the factor , which comes from the factor in front of the first term and from the second term.
Each ledger has costs and payoffs. The payoff of Event 1 is , which grows only logarithmically with ; the payoff of Event 2 is , which grows linearly with but starts late. For small , Event 2 is the binding one: for it requires , whereas Event 1 only requires . For large it is the other way round and Event 1 is the binding one, because the logarithm grows slowly. Both subtotals become arbitrarily negative as grows. This is why can be arbitrarily large in the theorem: the smaller the failure probability we want, the larger we take the base .
Drag the number of points to see that is about and grows very slowly with . The ratio itself is a sawtooth: it rises with , and each time increases by 1 it drops to of its value. But it always stays inside the band, and the band moves up slowly with . For the band to cross 1, has to reach the order of to . The last readout shows the expression ; it exceeds 1 even later. The displayed bases b = 16,…,256 do not satisfy (15), so this is a scale illustration, not a probability guarantee. The theorem requires above ten thousand. The picture then has the same shape as here, only with a much longer horizontal axis; the note “On the constants” below gives the actual numbers.
This completes the proof of Theorem 1.1. The random point set satisfies the conclusion with positive probability, and its points are almost surely distinct, so there is an -point set for which every coloring leaves an anchored rectangle with imbalance at least . Together with Nikolov's upper bound:
The constant that the proof gives is very small. Take the failure probability as an example, that is, : the smallest integer that satisfies (15) is , and then . For the lower bound to exceed 1, must be larger than . Before that, the bound of the theorem is below 1, which is weaker than the trivial fact that the imbalance is at least 1.
This is common for asymptotic results: the theorem determines the order of growth, not specific values. The paper says so right after the theorem: it does not optimize , which is very small, so the bound is of interest only for large .
Looking back
The proof is complete. This part first goes through the accounting for the exponent once more, then answers the three questions from the beginning, and then looks at what is still open. At the end come the dependency map, the table of notation and the references.
§ 19 · IntermediateThe accounting for
Three numbers are at work in the proof:
The 8 in arises as follows. If is at most this number, then , which falls short of the sum of the conditional gains by , and only the fluctuation term can make up this difference. The paper uses only of it; the constants are not optimized.
Why cannot be larger
The gain per transition is , so it seems that the larger , the better. The restriction comes from the union bound. With in (13), the exponent is ; to beat the colorings, it must exceed . So must be at least a constant multiple of times , that is,
The choice of Section 18 lies in this range, with a factor to spare, which is used to push the failure probability down to . The introduction of the paper puts it this way: a denser choice would increase the gain of each transition; but for a deviation of the order of the total gain, the fluctuation bound has an exponent of order , whatever the density is, and this exponent must exceed . So a density of order is already the largest that the argument allows.
Each transition has comparison rectangles, so the transitions have in total. For a fixed coloring, can be abnormally small only if the random sums in most comparison rectangles happen to cancel. If these rectangles are treated as independent, each with a constant probability of such a cancellation, the probability is about altogether. There are colorings to choose from, and the union bound needs to be small. So we need , that is, .
This is only a heuristic for the scale: the comparison rectangles and the transitions are not independent. The proof uses the conditional exponential-moment bound of Section 16, iterated over the transitions, that is, inequality (13): when is of the order of the total gain, the exponent on its right-hand side is exactly a constant multiple of .
Compare this with continuous discrepancy. For the binary net of Section 6, every dyadic strip has error at most 1, and the levels add up to . Here the gain of each transition is of order , and the total is . The factor between the two problems is this extra square root at each level.
Comparing with the guess of Section 9
Section 9 guessed the scale from the small-ball estimate for the Brownian sheet. Now we translate the parameters of the proof into that language. The scale of the discrepancy is , and the corresponding small-ball radius is .
| Small-ball estimate | The proof here |
|---|---|
| radius | |
| , which is of order ( is a constant) | |
| exponent |
The last row says that, with these parameters, the exponent of the small-ball probability is exactly of order , which is just enough to pay for the union bound over the colorings. Both sides use the same “cube”: . The proof does not use the Brownian sheet, but it lands on the scale that the Brownian sheet predicts. Section 3 of the paper carries out the calculation of Section 9; substituting the parameters of the proof back into it, as done here, is an addition of this guide.
§ 20 · BasicsWhy earlier methods fell short, and why it works now
Why earlier methods fell short
- Borrowing from continuous discrepancy. Transference can only carry over the lower bound for continuous discrepancy, and continuous discrepancy is exactly . By itself this road ends at .
- The orthogonal-function method. In the classical argument presented in Section 7, the gain of the test function accumulates scale by scale: there are levels, and each contributes a constant.
- Factorization norms. The two general inequalities between and discrepancy each lose a logarithmic factor, and in the plane the lower-bound side lands exactly on .
These specific arguments do not give the paper's uniform lower bound for random point sets. The combinatorial-discrepancy application of the orthogonal-function method presented here concerns binary nets; the other two routes produce bad point sets among the subsets of a grid. A binary net itself can be colored with discrepancy (see Section 7), so nothing more can be proved on it.
Why it works now
| Earlier methods | The paper | |
|---|---|---|
| Point set | a binary net, or a subset of some grid | random points |
| How all colorings are handled | a certificate for each coloring (test function, factorization norm) | for each coloring, estimate the probability that it is “good”; then take a union bound |
| Key estimate needed | inner products with the test function, the factorization norm of a matrix | the average gain of the potential, and the effect of a single point |
| Contribution of each scale | a constant, in total | , in total |
The connections with the earlier methods are also worth mentioning. The family of rectangles that become “narrower horizontally and taller vertically, with the same area” is exactly the family used in the orthogonal-function method of Roth and Halász. In its discussion of related work, the paper also points out a connection with Talagrand's proof of the small-ball estimate for the Brownian sheet. Talagrand's proof contains a deterministic recursion that averages in one coordinate and selects representative points in the other, and the local comparison of the paper uses the same pair of opposing scales. Averaging the child functions preserves the old function in expectation, and the independent symmetric jumps that come from the points of the inner region supply the gain. The endpoint average , in turn, is the conditional-expectation version of Talagrand's horizontal average (end of Section 13).
The paper's four steps and this guide
The introduction of the paper summarizes the proof in four steps. Part IV presents exactly these four steps, in a slightly different order: here “the effect of one digit” is moved forward to Section 15, and the good transitions come after the fluctuations.
| Step in the paper | Content | In the paper | This guide |
|---|---|---|---|
| (1) Potential | revealing the horizontal coordinates digit by digit; endpoint average, oscillation, ; | Eqs. (1)–(3), (9) | § 10–§ 12 |
| (2) Local gain | in one comparison rectangle, the oscillations on the vertical strips add up, on average, to at least more than those on the horizontal strips; sum over all comparison rectangles | Lemma 2.1, Fact 2.2, Lemma 2.3, Lemma 2.4 | § 13, § 14, § 16 |
| (3) Good transitions | heavy inner regions, good transitions; when , every transition is good, except with exponentially small probability, and this does not depend on the coloring | Lemma 2.5 | § 17 |
| (4) All colorings | one digit changes by at most ; bounded differences control the fluctuation term; union bound over the colorings; choice of parameters | Lemma 2.6, Fact A.1, Proposition 2.7, Section 2.5 (Parameters) | § 15, § 16, § 18 |
List of techniques
| Technique | What it does | Where |
|---|---|---|
| Random points, union bound over the colorings | reduces “every coloring is bad” to a probability estimate for one fixed coloring | § 8 |
| Revealing the horizontal coordinates digit by digit | each transition releases only independent dice | § 10 |
| Endpoint average (Eq. (2)) | after refinement, the average of the child functions returns to the old function in expectation | § 12, § 14 |
| Potential , the local oscillation (Eq. (1)) | shift invariant: for each affected horizontal interval, only the block containing the point’s height can change oscillation | § 12, § 15 |
| Vertical comparison (Lemma 2.1, Eq. (4)) | the oscillation on sees the offset between the bottom and the top block; the oscillation on a single block does not | § 13 |
| Average first, then compare (Eqs. (5), (6)) | merges the child functions into one average , which equals the old function plus the jumps of the points | § 13 |
| A sum of symmetric jumps is not close to any fixed point (Fact 2.2) | the sum of the jumps of the points of the inner region, plus any fixed offset, has expected absolute value at least | § 14 |
| Conditional gain plus fluctuation term (Eq. (10), Lemma 2.4) | writes as its initial value, the sum of the conditional gains, and a fluctuation term with mean 0; the conditional gains have a common lower bound that does not depend on the coloring | § 16 |
| Bounded differences (Fact A.1, Lemma 2.6) | the fluctuation term is unlikely to be very negative; no independence between the transitions is needed | § 15, § 16 |
| Heavy inner regions and good transitions (Lemma 2.5) | with high probability, all transitions are good when M ≤ n; this event is common to all colorings | § 17 |
§ 21 · BasicsConstants, formalization and open problems
Explicit bad point sets
The proof is probabilistic: it shows that almost all random point sets are bad, but it cannot point to a specific one. Is there an explicit family of point sets with discrepancy ? The paper names the main issue: how to retain the oscillation gained across many scales when the independent random digits are replaced by a deterministic choice.
Higher dimensions
For boxes in dimension , it is known that ; the gap is again . (The of Section 7 is a weaker upper bound given by the factorization-norm method; Nikolov later improved it to .) Bansal conjectured that the answer in dimensions is ; the theorem of the paper shows that this fails for .
Which side is right in higher dimensions? Carry the calculation of Section 9 over to dimension : the Brownian-sheet small-ball conjecture predicts the exponent , and balancing it against gives , which matches the known upper bound. The paper also stresses that this heuristic calculation does not transfer the conclusion to finite point sets. As for the proof, the argument of the paper uses two opposing resolutions, horizontal and vertical: when one coordinate is refined, the influence of a point is confined to a single vertical block (Section 15). An extension to higher dimensions needs an analogous local comparison when several coordinates are refined or coarsened at once.
Constants
As computed at the end of Section 18, the constant given by the proof is extremely small: for we get and , so the statement has real content only for astronomically large . The paper says explicitly that it does not optimize .
Formalization and AI
The paper ends with an “AI methodology statement”. In brief: the author has been thinking about this problem since 2013; from July 2026 on, the author worked on it interactively with GPT and Claude, which first led to a proof based on a “killed suffix walk” and then to its simplification, the local-oscillation proof in Section 2 and the appendix of the paper; the same tools, together with Xean, were used to check the proof and to prepare the manuscript; there is a Lean formalization of the main lower-bound theorem, produced with GPT according to the paper; and the author verified the correctness and originality of all content. The code of the formalization is at github.com/wzskytop/tusnady-lean; for the tools used and the record of checks, the current description in that repository is authoritative. The paper is at arXiv:2610.08130.
The scope of the formalization should be kept clear. It covers the new lower bound of the paper: Theorem 1.1 for random points, and the deterministic lower bound that follows from it. The cited upper bound, the resulting statement , the historical account, and the explanations and interactive figures added by this guide are outside its scope.
The repository's paper-to-code correspondence table maps the theorems and lemmas to their Lean declarations.
This guide adds derivations, examples and interactive figures. They are no substitute for formal verification, nor for independent review.
Other directions
In its discussion of related work, the paper mentions two directions. The first is online discrepancy: for points that arrive at random, earlier work studied online algorithms for intervals, stripes and Tusnády's problem. For uniform random arrivals in , it is known that every online algorithm incurs discrepancy within the first arrivals, with constant probability (Bansal, Jiang, Singla and Sinha). Theorem 1.1 holds for every coloring, online or offline, so in the plane it raises this bound from to . The second is data structures: discrepancy is related to lower bounds for range searching and approximate range counting, and the hard instances of the paper are random, so they may be useful for average-case lower bounds.
§ 22 · AppendixDependency map, notation and references
Dependencies in the proof
Notation
| Symbol | Meaning | First appears |
|---|---|---|
| the point set and the number of points | § 1 | |
| a coloring, with values ; is the sum of the colors in | § 3 | |
| the discrepancy of a point set; the worst-case discrepancy of points | § 3 | |
| continuous discrepancy | § 6 | |
| the horizontal and the vertical coordinate of the -th random point | § 8 | |
| the signed count of the points in the anchored rectangle ; its maximum absolute value. Written from Section 11 on | § 8 | |
| the exponent in the failure probability ; the constant in Theorem 1.1 | § 8 | |
| the Brownian sheet; the radius of the small ball | § 9 | |
| the base, an integer, ; it is chosen very large in the proof of the theorem (see (15)). In the interactive figure of Section 18 it is a power of 2, | § 10, § 18 | |
| the information at stage : all vertical coordinates and the first digits of every horizontal coordinate | § 10 | |
| the number of transitions: the stages are numbered , so there are transitions, and the passage from stage to stage is the transition ; is the number of comparison rectangles in each transition | § 11 | |
| a horizontal interval (of width ) and a vertical block (of height ) of stage ; is a cell | § 11 | |
| the -th child of ; a new block, the union of old blocks ; the comparison rectangle | § 11 | |
| the endpoint average, the mean of the two values of at the endpoints of , Eq. (2); the paper writes . A point with horizontal coordinate enters it with the weight , which is one of | § 12 | |
| oscillation: the maximum of on minus its minimum; midpoint: the average of the maximum and the minimum. Eq. (3) | § 12 | |
| the potential (the local oscillation): the average of the oscillations of over the cells of stage , Eq. (1) | § 12 | |
| the inner region of ; the number of points in it | § 13 | |
| shorthand while is fixed: the old function ; the child functions ; their average | § 13 | |
| offset | : the top block against the bottom block | § 13 |
| the outcome of the die (the point falls into ); the jump of this point | § 13 | |
| the sum of the jumps of the points of the inner region; the function without these jumps; the offset of itself | § 14 | |
| the second moment of one jump | § 14 | |
| conditional gain | : the average increment in the transition | § 16 |
| the fluctuation term , Eq. (10); its term for the transition | § 16 | |
| the lower bound for the conditional gain of the transition , Eq. (11) | § 16 | |
| in Fact A.1: the given information, the independent variables, the function, the bound on the effect of a single variable, and the parameter in the exponent | § 16 | |
| the size of the deviation in Lemma 2.6; Proposition 2.7 takes | § 16, § 18 | |
| heavy, good transition | an inner region is heavy if ; a transition is good if at least points lie in inner regions that are not heavy | § 17 |
| the transition is good; all transitions are good | § 17 | |
| the lower bound that a good transition guarantees, Eq. (12) | § 17 | |
| boundary strips, | the bottom and the top old cell of every comparison rectangle; a collection of fewer than inner regions; the union of this collection and the boundary strips; the event “at least half of the points lie in ”. In Section 17, without a subscript is the union of the boundary strips and all heavy regions; it has nothing to do with the Brownian sheet of Section 9 | § 17 |
References
The bibliographic details below are taken from the reference list of version r65 of the paper. The two entries marked “Background” were added by this guide.
- Z. Wei. Tight Bounds for Tusnády's Problem in the Plane. arXiv:2610.08130. The paper that this guide explains; the guide follows the manuscript version r65, whose TeX source was checked on 2026-10-07 and is byte-for-byte identical to the arXiv v1 TeX source.
- C. Aistleitner, D. Bilyk, and A. Nikolov. Tusnády's problem, the transference principle, and non-uniform QMC sampling. MCQMC 2016 (Springer, 2018).
- K. Azuma. Weighted sums of certain dependent random variables. Tôhoku Mathematical Journal 19(3), 1967.
- W. Banaszczyk. On series of signed vectors and their rearrangements. Random Structures & Algorithms 40(3), 2012.
- N. Bansal. Discrepancy theory and related algorithms. Proceedings of the International Congress of Mathematicians 2022, Vol. 7. EMS Press, 2023.
- N. Bansal and S. Garg. Algorithmic discrepancy beyond partial coloring. STOC 2017.
- N. Bansal, H. Jiang, R. Meka, S. Singla, and M. Sinha. Online discrepancy minimization for stochastic arrivals. SODA 2021.
- N. Bansal, H. Jiang, S. Singla, and M. Sinha. Online vector balancing and geometric discrepancy. STOC 2020.
- N. Bansal and A. Nikolov. Discrepancy theory: an algorithmic and geometric perspective. arXiv:2608.00140, 2026.
- R. F. Bass. Probability estimates for multiparameter Brownian processes. The Annals of Probability 16, 1988.
- J. Beck. Balanced two-colorings of finite sets in the square I. Combinatorica 1(4), 1981.
- J. Beck. Balanced two-colorings of finite sets in the cube. Discrete Mathematics 73, 1989.
- D. Bilyk and M. Lacey. The supremum norm of the discrepancy function: recent results and connections. MCQMC 2012 (Springer, 2013).
- G. Bohus. On the discrepancy of 3 permutations. Random Structures & Algorithms 1(2), 1990.
- G. Halász. On Roth's method in the theory of irregularities of point distributions. Recent Progress in Analytic Number Theory, Vol. 2, 1981.
- H. Jiang, J. Kulkarni, and S. Singla. Online geometric discrepancy for stochastic arrivals with applications to envy minimization. arXiv:1910.01073, 2019.
- K. G. Larsen. On range searching in the group model and combinatorial discrepancy. SIAM Journal on Computing 43(2), 2014.
- J. Matoušek. Geometric Discrepancy: An Illustrated Guide. Springer, 1999.
- J. Matoušek and A. Nikolov. Combinatorial discrepancy for boxes via the norm. SoCG 2015.
- J. Matoušek, A. Nikolov, and K. Talwar. Factorization norms and hereditary discrepancy. IMRN, 2020.
- C. McDiarmid. On the method of bounded differences. Surveys in Combinatorics, 1989. Cambridge University Press, 1989.
- A. Nikolov. Tighter bounds for the discrepancy of boxes and polytopes. Mathematika 63(3), 2017.
- W. M. Schmidt. Irregularities of distribution. VII. Acta Arithmetica 21, 1972.
- A. Srinivasan. Improving the discrepancy bound for sparse matrices: better approximations for sparse lattice approximation problems. SODA 1997.
- M. Talagrand. The small ball problem for the Brownian sheet. The Annals of Probability 22(3), 1994.
- Z. Wei and K. Yi. The space complexity of 2-dimensional approximate range counting. SODA 2013. Journal version: Tight space bounds for two-dimensional approximate range counting, ACM Transactions on Algorithms, 2018.
- C. Xu. Xean. GitHub repository, 2026.
github.com/chaoxu/xean. - Background: K. F. Roth. On irregularities of distribution. Mathematika 1, 1954.
- Background: the account of binary nets, the transference principle and the norm in Sections 6 and 7 follows Matoušek's monograph above and the papers of Matoušek, Nikolov and Talwar and of Nikolov.