Manuscript Offprint
arXiv:2609.08885A Bound for the Komlós Problem
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Let have columns of Euclidean norm at most one. We prove that
Here . Building on Bansal and Jiang's affine spectral independence framework, we remove the factor from their bound. The fourth root comes from balancing the logarithmic decrease in the alive dimension against the fourth power of the row thresholds. Historical exponential sums control the covariance budget across size classes with summable thresholds. An exact threshold-sum certificate gives the coefficient 2395, and rounding at most eight remaining fractional coordinates costs . The finite construction also gives partial colourings from any prescribed starting point and at any prescribed depth, preserving existing signs. We formalize the partial- and full-colouring theorems in Lean, including the finite trajectory, exact threshold sum and final rounding, with Bansal–Jiang Theorem A.4 as the sole external research theorem assumption.
1 Introduction and results
For a real matrix , its combinatorial discrepancy is
The Komlós conjecture asserts that this quantity is bounded by an absolute constant when every column of has Euclidean norm at most one. Banaszczyk established an upper bound [Ban98]. Bansal and Jiang introduced decoupling via affine spectral independence [BJ25]. Their bound, in the form given in their subsequent exposition, is [BJ26]. Building on their framework and covariance theorem, we prove the following bound.
Theorem 1.1. Let and let satisfy for every . Then
The construction starts from any given fractional colouring. A coordinate of a point in is fractional when its absolute value is strictly less than one. All logarithms are natural.
Theorem 1.2 (Prescribed-depth partial colouring). Let satisfy the hypotheses of Theorem 1.1, let , and let be the number of fractional coordinates of . For every , there is such that whenever , at most
coordinates of are fractional, and
For , the endpoint is attained by a finite construction at a positive mesh, using a feasible covariance and a finite direction law at each step. For , one may take .
The depth is prescribed before the trajectory is constructed. The thresholds used during that trajectory remain fixed. Thus the quantifiers in Theorem 1.2 permit a different trajectory for each depth.
A BOUND FOR KOMLÓS DISCREPANCY
Corollary 1.3 (Completion from a given point). Under the same matrix hypotheses, every with fractional coordinates admits a signing preserving its existing signs and satisfying
For , the bound follows by direct Euclidean rounding; for , take .
For , taking in Theorem 1.2 leaves at most eight fractional coordinates. Euclidean rounding then costs at most ; see Section 7.3. Taking gives Theorem 1.1, hence an bound independent of the number of rows. The construction uses exact real covariance choices and comparisons; its running time in a bit model is not estimated here.
Our contribution is the treatment of successive restrictions of arbitrary real rows. Each restriction keeps its coefficients and birth point while it is active. At retirement, its completed contribution is retained and its surviving restriction is processed at smaller size classes. We adapt the capped-exponential sum to this history, with column weights, and choose complete updates that preserve a single exponential potential bound. The resulting bound controls the number of dangerous restrictions relative to the current number of alive coordinates. Together with the covariance theorem, it ensures feasibility throughout the selected trajectory.
In the Komlós construction of [BJ25, Section 4.1], also described in the subsequent exposition [BJ26, Section 3.2], the input is decomposed by entry-magnitude scales. Here a size class records the squared mass of a current row restriction. The coefficient cap imposed within that class permits a weighted column estimate for all real entries. The thresholds over the successive size classes are summable. We prove the required weighted exponential estimate directly, including its finite-step remainder. Section 5 establishes this estimate for complete updates, including births and retirements, and Section 7 uses it to construct the finite trajectory.
1.2 Overview of the proof
The construction evolves the initially fractional coordinates. Write for the current colouring, for its alive set, and . For a fixed mesh , a coordinate is alive when . Once a coordinate ceases to be alive, it is held fixed until the final rounding to its sign. To block a vector means to require every supported direction to be orthogonal to it. The update is
Blocking the current point gives . Consequently, any rule that chooses an admissible step at every nonterminal state reaches its stopping target after finitely many steps. The issue is to preserve the covariance budget while the alive set changes. All expectations are taken under the finite law chosen at the current state. We use that law to select a successor with a suitable potential bound, and then choose a new law at the selected state.
A BOUND FOR KOMLÓS DISCREPANCY
Successive restrictions and size classes. For , put . Large rows are blocked, so they incur zero discrepancy until their size is bounded by a fixed constant . For , a class- restriction has current size between and . Given a target , remove the coordinates with . Their total norm is at most , so their future discrepancy costs at most . The retained coefficients satisfy .
The retained vector is held fixed until its alive squared mass falls to at most . At that point we retain its completed discrepancy and process its surviving restriction at later classes. A row contributes at most one peeled vector and one tracked interval at each class. Successive restrictions may have common coordinates. The exact row identity in Section 3.3 adds their contributions over the corresponding time intervals.
Regularization makes blocking compatible with negative drift. If a class- restriction is born at , define, for each sign ,
This is the Bansal–Jiang regularized discrepancy measured from the birth point. Its moving gradient is . The exact increment along a direction is
A centered direction law removes the linear term in expectation. If reaches and the restriction remains active, we block its moving gradient on subsequent steps, removing the linear term for every supported direction. A simultaneous retirement ends the record without adding a blocking constraint. The coefficient cap bounds the gradient and the possible threshold overshoot.
Weighted exponential sums control dangerous restrictions. For each signed restriction, an exponential starts at one, follows while live, and is capped at , where . After a threshold crossing or retirement, retain its value. At column , weight it by . A row has at most one birth in a fixed class, so the total historical birth mass at that column is at most . The factor two accounts for the two signs.
Let denote the weighted exponential sum and let denote total birth mass. The difference is unchanged by a birth. Every current dangerous signed restriction contributes its capped exponential and has alive normalized mass greater than . A bound on therefore bounds the number of such restrictions, including after arbitrarily many earlier retirements.
The construction preserves
Jensen's inequality over the current alive columns gives a term . While a further step is required, the integer alive count satisfies , hence . Thus . The resulting dangerous-family count is small enough for the covariance theorem. Its dependence on the number of columns comes from this single aggregate potential.
Figure 1 shows how a threshold crossing and a retirement affect different parts of the state.
A BOUND FOR KOMLÓS DISCREPANCY

Figure 1. Restriction lifetime and retained history. The exponential is shown for a signed record that crosses its threshold before retirement. The dangerous mark persists even if later decreases. The other sign has its own status; both retire together. A sign that remains live receives its final exponential update before retirement. In the identity, is the alive set at , and outside it. The contributions concern successive time intervals even when their coefficient supports overlap. The surviving part is normalized at later classes, with new anchor .
The smooth estimate for a complete update. The update of the point determines which coordinates freeze, which restrictions retire, and which new restrictions are born. The coefficients of new restrictions can depend on the selected direction. Even so, the increment of is bounded by a smooth expression using only old live records. The initial exponential sum cancels the birth mass, stopped exponentials remain fixed, and the last update of a retiring live record is included before retirement. These identities justify differentiating the old-state expression and then applying its bound to every complete successor.
The second derivative of the outer exponential contains a covariance term for the sum of the signed responses. Affine spectral independence controls precisely that term. A symmetric direction law cancels odd Taylor terms. The buffer at the cube boundary provides negative curvature of order ; its contribution to one step is of order . The fourth-order remainder is bounded by times the same nonnegative weighted energy. This permits a uniformly small positive mesh even at states where that energy is arbitrarily small.
The schedule explains the exponent. The column coefficient cap contributes a factor to the weighted covariance bound. The ratio of the exponential parameter to the negative-drift parameter contributes another factor . Thus the dangerous-family estimate is controlled by . We allocate a geometrically decreasing fraction of the available blocking dimension to class and take
The ratio decreases geometrically, whereas grows linearly with . Hence the thresholds sum to . The row identity converts this sum into a discrepancy bound. A strict numerical reserve pays for the finite-mesh overshoot and buffered rounding.
1.3 Notation and formalization
Rows of are , and , following [BJ25]. For a vector , denotes its coordinatewise square and denotes coordinatewise multiplication. We write for the number of alive coordinates at a fixed state and for the blocking subspace, following the SDP notation of [BJ25]. For a symmetric matrix , is the diagonal matrix with
A BOUND FOR KOMLÓS DISCREPANCY
the same diagonal. The relation is the positive-semidefinite order. In our restatement of Theorem A.4, is the coordinate parameter of [BJ25], so . Elsewhere we abbreviate its reciprocal by . Two signs are tracked for each restriction; the input matrix itself always retains its original column normalization. Our step has in the time-step notation of [BJ25]. We write for the covariance of the unit direction law. Thus , as in the normalized update of [BJ25, Section 2.1].
We formalize the partial- and full-colouring theorems in Lean, including the historical trajectory, the exact threshold sum and final rounding. Bansal–Jiang Theorem A.4 is the sole external research theorem assumption. Appendix C gives the formal statements and their correspondence with the written proof.
2 SDP feasibility and the direction law
For a centered random vector with covariance , the inequality says that
For a matrix of row responses, the inequality gives the analogous bound for all linear combinations of those responses:
These are the spectral independence and affine spectral independence conditions used by Bansal and Jiang. Later, will be the weighted exponential of a live signed restriction, so this inequality controls the second moment of their total response.
Theorem 2.1 (Bansal–Jiang, Theorem A.4 of [BJ25]). Let , let have dimension , and let have rows with , for finitely many indices . Suppose and
There is a positive-semidefinite matrix U such that
The row ratios in this statement are at least one. The affine blocks arising from a current size class may have fewer rows than alive coordinates. Repeating rows within each block gives the following form.
Corollary 2.2 (Finite-row covariance theorem). Let and let satisfy . Let be arbitrary finite matrices, let , , and , and suppose
Then there is such that
Here means that for every .
A BOUND FOR KOMLÓS DISCREPANCY
Proof. Omit empty blocks. For each remaining block, put
Stack copies of into . The strict budget puts all the source parameters in and permits Theorem 2.1 with . Its affine coefficient is . Set and test that inequality on the block vector . The result is
Cancellation gives (2.3). Positive semidefiniteness gives , so its vanishing implies .
This reduction keeps the affine matrices separate. Its charge for a block is exactly . The finite-row formulation also appears directly in [BJ26, Theorem 2.12], where arbitrary positive real row ratios are allowed.
The coordinate and affine inequalities are homogeneous in , so they also hold for . The positive trace makes this normalization well defined. The following spectral construction realizes as the covariance of a finite law. An annihilated vector is orthogonal to every atom, so the blocking constraints hold for each possible successor.
Lemma 2.3 (A symmetric unit direction law). Let be nonzero and put . There is a finite centrally symmetric law on 2 rank positive-weight atoms such that
Every atom is in range , so it is orthogonal to every vector annihilated by .
Proof. Write the positive spectral decomposition , with orthonormal and . Give each of probability . The two signs cancel in the mean, and their covariance contributions sum to . Each atom is a unit vector in the range of . The kernel and range of a symmetric positive-semidefinite matrix are orthogonal.
The probability law is used for a finite average at the current state. The trajectory will choose one atom whose complete successor has potential at most that average. This choice is deterministic once an ordering of the finite support and a feasible covariance have been fixed.
Lemma 2.4 (Cube preservation and the squared-norm identity). Let , , and . If is supported on , , and , then belongs to the cube, agrees with outside , and satisfies
Its alive set is a subset of .
Proof. For , , since . The other coordinates do not change. Expanding the squared norm proves (2.5). Every previously frozen coordinate retains its value and hence remains frozen.
3 Successive restrictions of a real row
Fix an initial point with fractional coordinates and restrict to those columns. Throughout the construction, has columns, , and discrepancy means the increment from . The original fixed signs will be restored at the end. Fix a positive mesh , small enough that all coordinates of are initially alive. Its final choice is made in Section 7.2.
A BOUND FOR KOMLÓS DISCREPANCY
For a state , write
The quantity is the squared mass on alive coordinates, called its size below. For a fixed vector , it can decrease only when coordinates freeze. The energy
also depends on the positions of the coordinates within the cube. Its increment contains the negative quadratic term in regularized discrepancy. We denote energy by to distinguish it from the centered exponential sum introduced in Section 4.
Set
Here is the large-row cutoff, is the coordinate spectral independence coefficient, is its affine counterpart in class , and is the trace fraction reserved in the covariance theorem. Their numerical values enter the budget in Section 6. Fix a finite cutoff satisfying . For example, suffices, because and . The construction uses classes . A residual of squared norm at most is terminal. Its norm is at most one.
For now fix positive class thresholds . Their values, and the positive exponential parameters , will be chosen in Section 6. The geometric statements of this section hold for any positive thresholds.
3.1 Peeling and normalization
A row is large at while . Its alive restriction is blocked at every such state. The column norm hypothesis gives
so there are at most large rows. Once a row has size at most , we process its restriction to the alive set.
The coefficient cutoff at size s and target B is s/B. This choice allows the removed part to be bounded in , while ensuring the pointwise gradient bound required for the retained part.
Lemma 3.1 (Peeling). Let , and let be supported on , with . Put
Then and
If the peel is performed at , then for every .
Proof. For , . Summing gives . The retained bounds follow from restriction and the definition of . The last assertion uses .
Starting with a residual of size at most , where , normalize it as follows. At class , skip to if its size is at most . Otherwise peel at the cutoff . If the retained vector has size greater than , keep it as the active restriction of class . If its size is at most , continue with that vector at class . Reaching returns a terminal residual.
A BOUND FOR KOMLÓS DISCREPANCY
Lemma 3.2 (Finite normalization). This procedure examines at most classes. The peeled vectors and the returned residual sum to the input. Their nonzero coordinates retain the original input coefficients. Peel labels increase strictly, and an active output of class k satisfies
A terminal output has squared norm at most .
Proof. Induct on the number of available classes. A skip preserves the vector, which already satisfies the next size bound. A peel gives the exact splitting and bounds of Lemma 3.1. Each continuation increases the class index by one. Composing the resulting splittings proves the assertions.
An active restriction is stored with its original row index, class, coefficient vector , and birth point . These data remain fixed during its lifetime. It stays active while and retires at the first subsequent state where . At that state, its surviving restriction is normalized beginning at class . A large row whose size has fallen to at most is normalized beginning at class zero.
Lemma 3.3 (Increasing class labels). For each original row, there is at most one birth and at most one peel in each class. Every coefficient in each of its restrictions is either zero or the corresponding coefficient of the original row. At any state, a row has at most one active unsigned restriction.
Proof. A class- restriction retires with surviving size at most . Its next normalization begins at , and all labels encountered in a normalization increase strictly. Restriction and peeling preserve the coefficient assertion. Each normalization returns at most one active restriction, which replaces the one just retired.
3.2 Regularized discrepancy and dangerous restrictions
Let a class- restriction be born at . For each set
The coefficient vector in the energy includes the entire birth support. Frozen coordinates make no subsequent contribution to its increment. Thus , where is the Bansal-Jiang regularized discrepancy for the signed row . Restricted to the alive coordinates, is the corresponding row of in [BJ25, Section 3.2.1]. Centering at birth leaves this gradient unchanged.
Each sign is initially live. If it first reaches on a step where the restriction remains active, that signed record becomes dangerous. Its moving gradient, restricted to the alive set, is then blocked until retirement. This is a first-passage convention: the mark remains if the later value of falls below . Retirement is determined by the unsigned restriction and applies to both signs at the same new state.
Activity is a property of the unsigned restriction; live and dangerous are statuses of its signed records. After one sign becomes dangerous, the restriction stays active until its size halves. Both signed gradients continue to belong to the class's affine matrix. The dangerous gradients also belong to the blocking subspace, with their values recomputed at the current point.
The peeling bound gives . Consequently, throughout the cube,
A BOUND FOR KOMLÓS DISCREPANCY
Lemma 3.4 (Regularized increment and drift). For every and real ,
If a centered direction has covariance , then
If the moving gradient is orthogonal to , the increment in (3.9) is nonpositive pointwise.
Proof. Expand the squares in (3.6). For the expectation, put and . Spectral independence and (3.8) give . The mean increment is , and . The final assertion follows directly from (3.9).
Regularization therefore provides the same sign of quadratic correction before and after a threshold crossing. The covariance controls the expected linear response while a record is live. Blocking its moving gradient later controls that response for each individual direction.
Lemma 3.5 (Discrepancy during one lifetime). Suppose all directions have Euclidean norm one, and every dangerous moving gradient is blocked. At every point during the lifetime of a class-k restriction, including its retirement point ,
Proof. Before crossing, . By (3.9) and (3.8), a step can increase it by at most , since the quadratic term is nonpositive. A surviving crossing activates the blocking constraint; a simultaneous retirement ends that lifetime at the same endpoint. After the mark is active, Lemma 3.4 makes subsequent increments nonpositive. Hence both signs satisfy through retirement. The two energy values lie in , so their regularized difference has absolute value at most . Apply (3.6) to both signs.
3.3 The row identity through retirement
For a current state define the affine section
Buffered frozen coordinates are fixed at their current values in this section. Their rounding to signs will be a final, separately estimated operation.
A peeled vector is stored with its anchor point , because its future contribution is . A completed restriction is stored with its birth point and retirement point ; it contributes the constant . A terminal residual keeps its final anchor.
Lemma 3.6 (Affine row identity). Assume that previously frozen coordinates never move, large rows are blocked through their entry step, and restrictions are normalized as above. For every original row that has entered normalization, and every ,
Here and are its actual peeled and completed records. For an active row, for its current restriction. For a terminal row it is the analogous expression for its terminal residual. A still-large row has .
A BOUND FOR KOMLÓS DISCREPANCY
Proof. At the point where a row first enters normalization, its accumulated discrepancy is zero: it has been blocked at every previous step, including the entry step. For ,
Normalization gives the initial identity by its exact vector splitting.
For each later step, permanent freezing gives . Thus every unchanged affine expression restricts to the new section. If a restriction retires at , then on that section
The first term is stored as a completed contribution. Normalization splits the second term into the new anchored peels and residual. This is exactly the update of (3.12). A large row that remains large has zero step increment, and a newly entering large row is covered by the initialization argument. Induction proves the result.
Example: the row identity after retirement. Suppose a row enters at , where normalization gives a peeled vector and an active restriction . Suppose retires at , and its surviving restriction is normalized as , with one peel and one active output for simplicity. On the new frozen-coordinate section, the row identity is
The coefficient vectors and may share coordinates. Their terms describe the successive intervals from to and from to . The coordinates removed from at retirement are frozen at , which is why they contribute only to the completed interval. The original anchor of is retained. Multiple immediate peels replace by their sum, with the common anchor .
Corollary 3.7 (Row estimate from the history). At every state produced by these updates and the blocking rule,
Proof. Evaluate (3.12) at . Each peeled vector costs at most by Lemma 3.1. Each completed or current restriction costs at most by Lemma 3.5, evaluated at its own endpoint. A terminal residual has norm at most , hence costs at most two. By Lemma 3.3, at most one peel and one tracked interval occur in each class. A still-large row has zero accumulated discrepancy. Finally,
For an exact comparison, use and .
4 Historical exponential sums and complete updates
The covariance budget concerns the current restrictions, while the potential must retain information from restrictions that have already retired. We define the historical quantities so that each status change has an exact effect on the potential.
Fix a class . By Lemma 3.3, the signed births in that class can be indexed by slots , with and . A slot acquires its coefficient vector and birth point only at its unique birth. All later quantities for that slot use those same coefficients. Write for a signed slot and for its unsigned coefficient vector.
A BOUND FOR KOMLÓS DISCREPANCY
4.1 Exponential sums and the two column estimates
The original decoupling proof [BJ25, Section 3.2.5] controls , where . Here denotes each capped factor, and is the column-weighted sum over restriction histories.
Fix and put . A record starts with at birth. While it is live, multiply by the exponential of its regularized increment and cap the result at . A dangerous or retired record retains its value of . More explicitly, an old live record has
This last update is performed even if the restriction retires at the new point. At a live state, and . At a surviving first crossing, (4.1) sets exactly.
For a fixed column and every born slot in class , put
This normalization gives an active restriction total weight . Summing the weighted exponentials over the alive columns will therefore count dangerous restrictions. At a fixed column, the column norm hypothesis bounds all births in this class, because each original row contributes at most once per sign. Unallocated slots contribute zero. Define
The quantity is the total mass inserted at births. A new record contributes to both and , so its initial contribution to is zero. The difference may be negative. The dangerous-family count uses the nonnegative sum , while the outer exponential controls from above.
Lemma 4.1 (Historical column mass). At every state,
If is the current dangerous signed family, then
Proof. For each original row there is at most one birth in class , and its coefficient at is either zero or . Including both signs,
This proves the birth-mass bound. Every born record has in , which gives the bound on . Each current dangerous record retains the value reached at its first crossing. Its exponential is among the nonnegative terms in , proving (4.4).
There is a separate estimate for the current unsigned family. If is the total size on alive coordinates of its class- restrictions, then
Here each original row has at most one current restriction, across all classes. In (4.3), the class is fixed and every historical birth in that class is included. The historical estimate controls the exponential sum; the current estimate controls the affine SDP charge.
A BOUND FOR KOMLÓS DISCREPANCY
4.2 The order of a complete event
At a current state, the blocking subspace contains the alive restrictions of large rows, all dangerous signed moving gradients, and the current point . For each class, the affine matrix contains both signed gradients of every current active restriction, restricted to . A feasible covariance determines the finite direction law of Lemma 2.3.
For each atom, the complete successor is formed in the following order. First set using the old constraints. Update every old live signed exponential by (4.1), using its old coefficient vector and birth point. Old dangerous exponentials stay fixed, while their regularized discrepancies are evaluated at the new point. Next determine and the restrictions whose alive size has fallen to their retirement boundary. Archive those restrictions at with their final signed discrepancies and exponentials. Among the surviving restrictions, mark every newly crossing sign dangerous. Normalize the surviving restrictions of retired rows, and any large rows that have become small, and insert the resulting births at with . The new SDP data are formed only after these operations.
In particular, a threshold crossing simultaneous with retirement creates no new dangerous constraint. If denotes the old signed slots whose restrictions retire, and denotes the newly crossing old live slots, the new dangerous family is
Both signs use the same unsigned retirement predicate. Previously retired records remain unchanged, and all historical coefficients and birth points remain fixed.
Lemma 4.2 (Exponential-sum increment for the complete event). Let be the old live signed family in a fixed class, and write . For every provisional complete successor,
Proof. Every birth adds the same mass to and . All old records outside retain their exponential values, including previously retired and dangerous records. The old live family receives the update in (4.1) before retirement is classified. These facts give (4.7). Replacing the capped value by its uncapped value gives (4.8).
The right side contains only predecessor data and the regularized increments along . New coefficients may depend on through freezing and normalization, but their contribution to is exactly zero at birth. We can therefore differentiate the smooth expression in the next section while retaining a pointwise bound on the complete update.
4.3 The outer exponential and its normalization
Assume the parameters satisfy
Set
All these quantities are positive. The coefficient cap gives
A BOUND FOR KOMLÓS DISCREPANCY
The choice of follows the covariance-drift comparison in the Bansal-Jiang decoupling argument [BJ25, Section 3.2.5], applied here to column-weighted historical exponential sums. If is the covariance matrix of the old live signed responses, then
The affine constraint gives the first inequality, and the coefficient and exponential caps give the second. Thus the variance of the weighted sum is controlled by the same diagonal quantity as its negative drift.
The resulting upper bound for the second derivative of the normalized outer exponential, computed in Section 5.1, is
The first term combines regularized drift with the second derivative of each inner exponential. The second comes from the covariance of their sum. Equation (4.10) chooses so that the bracket vanishes. The next section keeps the slack in this comparison and uses the buffer to obtain a finite-step estimate.
5 The finite-step exponential estimate
Fix a predecessor, a column , and a class . All records and weights in this section are those of this one predecessor. Abbreviate
Let range over the old live signed family, and put . The covariance is . Define
By Lemma 4.1 and the geometric bounds,
for every unit direction.
The smooth upper increment for a real auxiliary parameter is
The identity for the weighted exponential sum and the exact regularized increment give, for the same complete successor,
We differentiate (5.4) with the predecessor and its law fixed. The expectation is a finite sum.
A BOUND FOR KOMLÓS DISCREPANCY
5.1 The covariance cancellation
Suppose the coordinate and signed affine constraints hold:
The second inequality is inherited by the old live family from the principal submatrix of the class's full signed affine block. Set
Lemma 5.1 (Exact second derivative). All three quantities in (5.7) are nonnegative, and
Proof. For each signed record, coordinate spectral independence gives
The gradient bound proves the sign of the first term. Affine spectral independence gives , and (4.11) gives .
Differentiation of the full outer exponential gives
Use and . The remaining coefficient of is
by (4.10). This proves the identity.
The outer covariance term in (5.9) is essential: it is the variance of a sum of signed responses. The affine constraint bounds that sum with the live exponential factors still attached. The cap then converts the squared weights back to the weights appearing in the drift term.
5.2 Negative curvature from the buffer
Let the covariance be supported on coordinates where , with . On this support the coefficient cap gives
Indeed , so the first inequality follows from the explicit gradient. The second follows from coordinate spectral independence. Define the normalized weighted energy
It follows that . Substituting this into (5.8) gives
A BOUND FOR KOMLÓS DISCREPANCY
In the actual walk, the covariance is supported on the buffered alive set, so we may take .
After multiplication by the Taylor factor , this buffer contributes a negative term of order . Symmetry will remove the odd Taylor terms. We bound the remaining error by a constant times , so it can be absorbed by a mesh bound depending only on the class parameters. The common factor is essential for this uniformity, since the energy can approach zero at later states. The following lemma provides exactly that weighted remainder estimate.
Lemma 5.2 (Weighted fourth derivative). Let , , , and , where are nonnegative. Put
There are explicit and , depending only on , such that
The constants and a complete differentiation proof are given in Appendix A.
For each supported unit direction, apply the lemma with
Uniform parameter choices, depending only on the class schedule, are
Here bounds , and the coefficient cap in (5.3) bounds . Moreover,
(5.16)
Set
For the positive class parameters in (5.15), the constants in Appendix A give , so . Taking the finite average in (5.13) gives
The bounds use historical mass and the coefficient cap; they do not require a positive lower bound on an eigenvalue or on a direction's probability.
A BOUND FOR KOMLÓS DISCREPANCY
5.3 The one-step estimate for actual successors
Theorem 5.3 (One-step exponential bound). Fix a class and a column , with the positive parameters in (3.2), (3.6), (4.9), and (4.10), and . Let be a predecessor whose old live signed records satisfy
where and the signed gradients are given by (3.7). Use a finite centrally symmetric law on unit directions supported on , with covariance . Assume that and the old live signed response covariance satisfy
and form each complete successor as in Section 4.2. If , with defined in (5.17), then
Here the normalized weighted energy is
For fixed class parameters, the allowed mesh is uniform over all predecessors and direction laws satisfying these hypotheses.
Proof. With the predecessor fixed, symmetry gives , so . Therefore . Taylor's formula with integral remainder and (5.18) yield
Apply (5.12) with :
The last line uses and . Finally (5.5) holds pointwise for the same complete successors. Monotonicity of the exponential transfers the bound to the actual event.
If , then (5.16) gives . Every positive-weight atom has , and each inner term with positive weight has . Thus the smooth exponential equals one, which also verifies this case directly.
Symmetry is used for the smooth predecessor expression. The freeze and retirement predicates in the actual event may have different outcomes on and ; the pointwise comparison already includes both outcomes. All mesh constants were obtained from the fixed class parameters before choosing any future covariance.
6 The schedule and the covariance budget
We now choose the class parameters at the prescribed depth . The choices must bound dangerous restrictions by a fixed fraction of the current alive dimension and make the row thresholds summable.
A BOUND FOR KOMLÓS DISCREPANCY
For every , set
(6.1)
(6.2)
Use these thresholds in the normalization of Section 3, and use (4.10) for . For the finite cutoff, define the potential of the complete state by
The historical records determine . At initialization every born record has , so and . The potential sums over all initially fractional columns throughout the construction. When a column freezes, its historical accounts remain in this sum and continue to follow their records. The current alive set enters the counting argument only when we apply Jensen's inequality.
6.1 Why the threshold has a fourth root
The dangerous-family count proved below has a term
The choice of makes its first contribution exactly . For the second contribution,
Thus must dominate . The square-root summand in (6.2) guarantees and leaves strict slack in the fourth-power inequality. The particular rational constants make the total SDP budget and the final threshold sum explicit.
Lemma 6.1 (Schedule inequalities). For every , the weights have total mass
For each class , the logarithmic and drift parameters satisfy
The two coefficients in the dangerous-restriction count obey
The thresholds also satisfy the strict bound
A BOUND FOR KOMLÓS DISCREPANCY
Proof. The geometric series gives . Also
The first two logarithmic parameters satisfy
Together with for , this gives . The square-root summand of gives , which proves .
Since , the first identity in (6.6) is immediate. The second follows from
Finally is strictly larger than its positive fourth-root summand, and . This proves (6.7).
The same formulas show why the thresholds are summable. For ,
Since , we have for . Thus (6.2) gives an absolute constant such that, for every and ,
Both series converge. The term has the same depth bound, so , with an absolute constant independent of the finite cutoff. Summing over the size classes therefore introduces no further logarithmic factor. Proposition 7.4 gives the explicit constant used in the endpoint bound.
6.2 Counting dangerous restrictions at the current state
Lemma 6.2. Suppose the geometric records and exponential sums at a state satisfy the properties above and . If its alive count satisfies , then, in every class,
Proof. For a fixed class, the positive terms of (6.3) give . Jensen's inequality therefore yields
Every dangerous signed restriction is active, so its alive normalized mass is greater than 1/2. In particular, including the case of an empty family,
Sum (4.4) over V, use (4.3) and (6.9), and obtain
Since is an integer and , we have and . Consequently . Apply Lemma 6.1 to bound (6.10) strictly by .
A BOUND FOR KOMLÓS DISCREPANCY
The Jensen estimate is taken over the current alive columns. Its right side is determined by and the class weight. Historical records entered only through the column estimate (4.3). Thus the argument controls the current dangerous family without a union bound over the row set or over possible histories.
6.3 Feasibility of the next covariance
Proposition 6.3. At a state as in Lemma 6.2, there is a nonzero , supported on , that annihilates the alive restrictions of all large rows, all dangerous signed moving gradients, and , and satisfies
Here contains the current signed moving gradients in class .
Proof. Work in . Large rows cost at most dimensions. The current point costs at most one. Since , their combined cost is strictly less than . By Lemma 6.2, the dangerous gradients cost at most . Thus the blocking subspace has dimension less than .
Let be the number of signed rows in . Each active unsigned restriction has size greater than , so
This inequality is valid for an empty class as well. By (4.5),
The remaining budget is strictly positive:
Apply Corollary 2.2 with and extend the resulting matrix by zero outside . Its trace bound makes it nonzero.
Every hypothesis used to obtain concerns the predecessor state. The next section selects a complete successor whose potential bound ensures the same estimates at the next state.
7 The finite trajectory and the endpoint
Fix and a prescribed depth . Choose the finite cutoff and class schedule as above. For each class let be the uniform analytic bound in (5.17), and put
Both quantities are fixed before the trajectory begins.
A BOUND FOR KOMLÓS DISCREPANCY
7.1 Preserving the complete state
The state consists of the point, the current row restrictions, and the historical records described in Sections 3 and 4. The inductive conditions are as follows. The point lies in the cube and previously frozen coordinates have stayed fixed. Each original row is large, active, or terminal according to the normalization rule. Its coefficient and anchor records satisfy the affine row identity, and its class labels increase. A current signed record is live with , or dangerous with . Retired records retain their final value of . All recorded lifetimes satisfy (3.11). Finally,
The birth-mass estimates and the current mass bound follow from these records and the column norm hypothesis.
Lemma 7.1 (Initialization). For , normalization at produces a state satisfying all these conditions.
Proof. All coordinates are alive. Leave the large rows blocked and normalize every other row at . The normalization identities initialize the row records. Each birth has and , so every new signed record is live and the dangerous families are empty. There are no completed lifetimes. The initial exponential sum equals the birth mass, hence . The weight sum gives .
Proposition 7.2 (A complete successor preserving the invariant). Suppose a state satisfies the inductive conditions and has alive coordinates. If , it has a complete successor satisfying the same conditions and
Proof. By Proposition 6.3, the predecessor has a feasible covariance. Use its finite centrally symmetric law and form the complete successor of Section 4.2 for each atom. Cube preservation and permanent freezing hold for every atom by Lemma 2.4. All large rows and old dangerous gradients are blocked by that same covariance. Therefore the lifetime bound holds through the new endpoint, including a first crossing or a simultaneous retirement. Normalization archives completed intervals and starts new ones at that endpoint, so it preserves the row identity and increasing labels.
For an old live record that survives below threshold, the cap is inactive and . At a surviving crossing its exponential is exactly and its new status is dangerous. An old dangerous record retains its mark and exponential value while its regularized discrepancy cannot increase. A retiring record keeps the final exponential value just computed. Every new birth has and . These statements establish the record conditions for every provisional successor.
For each , Theorem 5.3 applies to the actual complete update made from the old live records. The predecessor value is fixed, so
Sum over the same finite column and class sets to obtain . At least one positive-weight atom has . Its complete successor already has every other inductive property. The squared-norm identity holds for that atom as well.
All the column-class estimates use the same direction law at this predecessor. We sum their expected contributions before selecting the atom. Individual quantities may increase on the selected step; the bound on their aggregate potential controls the dangerous-family count at the next state. The geometric and record identities already hold for every provisional successor, so the chosen atom preserves the complete invariant.
A BOUND FOR KOMLÓS DISCREPANCY
Theorem 7.3 (Finite prescribed-depth trajectory). If and , there is a finite trajectory starting at and ending at a state with at most alive coordinates. Its number of steps is at most
At its endpoint,
Proof. Initialize by Lemma 7.1. At every state with more than alive coordinates, choose the successor from Proposition 7.2. After steps,
A trajectory that had not stopped after the displayed integer number of steps would admit one more step by the same proposition, contradicting this inequality. Thus a stopping state exists within that bound. Apply Corollary 3.7 to its actual history to obtain (7.4).
At this endpoint, round each buffered frozen coordinate to its sign and leave each alive coordinate unchanged. Call the resulting point . The number of fractional coordinates of is at most . Every altered coordinate changes by at most , and by the column norm assumption. Hence
The original fixed signs, omitted from the working matrix, are then restored without changing this increment.
7.2 The threshold sum and finite attainment
Proposition 7.4 (Threshold sum). For the schedule in (6.2),
For every and every finite cutoff,
Proof. The rational certificate for (7.6) is proved in Appendix B. Since , . Thus the fourth-root summand of is at most its depth-zero value times . The square-root summand is independent of and satisfies the same bound because . Sum the resulting inequality.
The numerical bound leaves a positive reserve:
It pays for the buffered rounding and the finite-mesh overshoot without passing to a limiting trajectory.
A BOUND FOR KOMLÓS DISCREPANCY
Proof of Theorem 1.2. If , take . Suppose and use the working matrix on its fractional columns. Fix and the finite class schedule first. Choose
The first two terms imply the hypotheses of Theorem 7.3. By (7.5), Proposition 7.4, and (7.8), with ,
The stopping rule gives the stated fractional count, and restoring the omitted coordinates preserves every original sign.
7.3 Euclidean completion
Lemma 7.5. Let have columns of Euclidean norm at most one, and let have at most fractional coordinates. There is a signing preserving its fixed coordinates such that
Proof. Round the fractional coordinates independently, choosing with mean . The centered coordinate increments are independent, so their mixed second moments vanish. Thus
The finite average has an outcome with squared norm at most r. The estimate follows from the Euclidean estimate.
Proof of Corollary 1.3 and Theorem 1.1. For , take . Since is an integer, it satisfies and , so . Apply Theorem 1.2, followed by Lemma 7.5 with . This gives
If , direct Euclidean rounding gives the stronger bound . In both cases existing signs are preserved. Taking gives Theorem 1.1, with . An empty set of columns has discrepancy zero.
A A uniform weighted fourth-derivative estimate
This appendix proves Lemma 5.2, including explicit constants. The weights may vanish and the weighted energy may be zero. The estimate therefore applies uniformly to the live-record families encountered in the construction.
Put
One admissible constant is
All constants are nonnegative and .
A BOUND FOR KOMLÓS DISCREPANCY
Proof of Lemma 5.2. For one index, abbreviate and . On ,
The last inequality follows from . The mean value theorem and give
Thus and throughout this interval. The statements remain valid when , in which case the inner exponents are identically zero.
Successive differentiation gives
\begin{aligned}(e^{z})^{\prime}&=ae^{z},&(e^{z})^{\prime \prime}&=(a^{2}-2q)e^{z},\ $ e^{z})^{\prime \prime \prime}&=(a^{3}-6qa)e^{z},&(e^{z})^{(4)}=(a^{4}-12qa^{2}+12q^{2})e^{z}.\end{aligned} \tag{A.3}Write . Using (A.2) in (A.3) yields
For example, , and
A weighted Cauchy–Schwarz inequality gives an additional estimate:
The fourth derivative of the outer exponential is
Bound the five terms in order by
The factor proves (5.13) with (A.1). Every estimate is proportional to W; there is no division by it.
For the parameters used in Section 5, and , so and the positive mesh in (5.17) is well defined. The constants depend only on the chosen class, the prescribed depth, and the fixed geometric parameters. They are independent of the number of live records, their individual coefficients, and the eigenvalues of the selected covariance.
B The rational threshold-sum certificate
We give the exact certificate used in Proposition 7.4. Its logarithm enclosures and root comparisons require only rational arithmetic, and the infinite remainder is bounded by two geometric series. The complete integer data appear in Table 1.
Write for the fourth-root and square-root terms in (6.2). The exact logarithmic parameters are
A BOUND FOR KOMLÓS DISCREPANCY
B.1 Rational logarithm enclosures
For , set and define
The positive series for gives
Indeed, every denominator in the omitted terms is at least 33, so their sum is bounded by the stated geometric series. For rational , write with integer and . Add copies of the corresponding bound for , using . This proves the following enclosures, whose displayed decimals are exact rationals:
| Quantity | Lower bound | Upper bound |
|---|---|---|
| 4.046557087166 | 4.046557087167 | |
| 4.900799419906 | 4.900799419907 | |
| 0.818310323513 | 0.818310323514 |
The verification of these enclosures consists of substituting each of the three rational arguments into (B.2) and comparing fractions. Denote the resulting bounds by , and put for .
B.2 The finite root comparisons
Let and . For , choose positive integers satisfying
Then and . The integers in Table 1 are the least choices for these rational upper radicands. For a nonnegative rational and degree , the least integer with is
Integer square roots, applied twice when , evaluate this formula exactly. Checking the displayed certificate only requires raising each integer to the indicated power and comparing fractions. The additional lower comparisons for verify minimality, although only the upper comparisons are needed for the proof.
The table gives
The complete certificate in machine-readable form and an exact rational verifier are included as ancillary files. The same root comparisons and finite sums are proved in the Lean project.
A BOUND FOR KOMLÓS DISCREPANCY
B.3 The two infinite tails
For , the schedule gives the exact ratios
They decrease with , since increases. At , rational comparison using the logarithm enclosures gives
Therefore the two tails, each starting at index 128, are bounded by and . Equations (B.3) and (B.5) yield
This proves (7.6), including the terms beyond every possible finite cutoff.
A BOUND FOR KOMLÓS DISCREPANCY
Table 1. Integer upper bounds with grid . The first 128 pairs form the prefix, and the pair at index 128 starts both tail bounds.
| 0 | 49767931 | 30665010 | 43 | 348827 | 33 | 86 | 1072 | 1 |
| 1 | 47948321 | 23862654 | 44 | 305788 | 24 | 87 | 935 | 1 |
| 2 | 44940310 | 18227810 | 45 | 268004 | 17 | 88 | 816 | 1 |
| 3 | 41687607 | 13780294 | 46 | 234841 | 12 | 89 | 711 | 1 |
| 4 | 38366183 | 10336017 | 47 | 205742 | 9 | 90 | 621 | 1 |
| 5 | 35090213 | 7704487 | 48 | 180216 | 6 | 91 | 541 | 1 |
| 6 | 31932737 | 5714088 | 49 | 157828 | 5 | 92 | 472 | 1 |
| 7 | 28938804 | 4220311 | 50 | 138198 | 4 | 93 | 412 | 1 |
| 8 | 26134186 | 3106175 | 51 | 120989 | 3 | 94 | 359 | 1 |
| 9 | 23531329 | 2279379 | 52 | 105907 | 2 | 95 | 313 | 1 |
| 10 | 21133501 | 1668379 | 53 | 92690 | 2 | 96 | 273 | 1 |
| 11 | 18937723 | 1218440 | 54 | 81111 | 1 | 97 | 238 | 1 |
| 12 | 16936864 | 888101 | 55 | 70968 | 1 | 98 | 208 | 1 |
| 13 | 15121141 | 646200 | 56 | 62085 | 1 | 99 | 181 | 1 |
| 14 | 13479199 | 469461 | 57 | 54306 | 1 | 100 | 158 | 1 |
| 15 | 11998875 | 340588 | 58 | 47496 | 1 | 101 | 138 | 1 |
| 16 | 10667750 | 246783 | 59 | 41534 | 1 | 102 | 120 | 1 |
| 17 | 9473526 | 178611 | 60 | 36317 | 1 | 103 | 105 | 1 |
| 18 | 8404287 | 129137 | 61 | 31751 | 1 | 104 | 91 | 1 |
| 19 | 7448672 | 93279 | 62 | 27756 | 1 | 105 | 80 | 1 |
| 20 | 6595978 | 67319 | 63 | 24261 | 1 | 106 | 70 | 1 |
| 21 | 5836218 | 48545 | 64 | 21204 | 1 | 107 | 61 | 1 |
| 22 | 5160147 | 34981 | 65 | 18530 | 1 | 108 | 53 | 1 |
| 23 | 4559259 | 25189 | 66 | 16191 | 1 | 109 | 46 | 1 |
| 24 | 4025772 | 18127 | 67 | 14147 | 1 | 110 | 40 | 1 |
| 25 | 3552593 | 13037 | 68 | 12359 | 1 | 111 | 35 | 1 |
| 26 | 3133287 | 9371 | 69 | 10796 | 1 | 112 | 31 | 1 |
| 27 | 2762032 | 6733 | 70 | 9430 | 1 | 113 | 27 | 1 |
| 28 | 2433576 | 4835 | 71 | 8236 | 1 | 114 | 23 | 1 |
| 29 | 2143194 | 3470 | 72 | 7193 | 1 | 115 | 21 | 1 |
| 30 | 1886644 | 2490 | 73 | 6281 | 1 | 116 | 18 | 1 |
| 31 | 1660126 | 1786 | 74 | 5485 | 1 | 117 | 16 | 1 |
| 32 | 1460240 | 1280 | 75 | 4789 | 1 | 118 | 14 | 1 |
| 33 | 1283952 | 918 | 76 | 4181 | 1 | 119 | 12 | 1 |
| 34 | 1128556 | 657 | 77 | 3650 | 1 | 120 | 11 | 1 |
| 35 | 991640 | 471 | 78 | 3186 | 1 | 121 | 9 | 1 |
| 36 | 871063 | 337 | 79 | 2781 | 1 | 122 | 8 | 1 |
| 37 | 764919 | 242 | 80 | 2427 | 1 | 123 | 7 | 1 |
| 38 | 671519 | 173 | 81 | 2118 | 1 | 124 | 6 | 1 |
| 39 | 589364 | 124 | 82 | 1849 | 1 | 125 | 6 | 1 |
| 40 | 517127 | 89 | 83 | 1613 | 1 | 126 | 5 | 1 |
| 41 | 453631 | 64 | 84 | 1408 | 1 | 127 | 4 | 1 |
| 42 | 397838 | 46 | 85 | 1228 | 1 | 128 | 4 | 1 |
A BOUND FOR KOMLÓS DISCREPANCY
C The Lean formalization
The Lean project proves the endpoint theorems in Section 1 from the explicit parameter BansalJiangA4, the covariance statement in Theorem 2.1. The formal derivation includes its finite-row consequence, the historical states and finite path, the numerical schedule bound, and final rounding.
C.1 The final declarations and their scope
The file KomlosQuarter/R37/FinalTheorem.lean contains the following declarations in the namespace KomlosQuarter.R37:
| Declaration | Mathematical statement |
|---|---|
| partial_coloring_2395 | The prescribed-depth endpoint in Theorem 1.2, preserving original signs and controlling the number of fractional coordinates. |
| full_coloring_2395 | The arbitrary-start signing bound in Corollary 1.3. |
| komlos_quarter_2395 | The zero-start matrix discrepancy bound in Theorem 1.1. |
Matrices have arbitrary finite row and column index types, real entries, and for each column. The partial endpoint uses nested square roots, proved equal to the real power for ; the full statement uses that power. The stopping target is the natural-number form of , including the empty fractional face.
For an arbitrary starting point, A.4 is assumed on every alive coordinate space of its fractional face. The zero-start declaration instantiated the universal finite-dimensional A.4 statement on those spaces. A.4 is the sole external research theorem parameter; the remaining ingredients are proved within the project.
C.2 Correspondence with the written proof
The principal groups of modules are listed below.
Module names are relative to KomlosQuarter/R37/.
| Part of the paper | Principal modules |
|---|---|
| The source theorem and finite-row reduction | SDPSource.lean, AliveSDP.lean, CurrentSDP.lean, LiveSDP.lean |
| The analytic bound for actual historical records | StateStep.lean, SDPStep.lean, and their signed Taylor and covariance dependencies |
| Dangerous counts and preservation of the schedule invariant | ScheduledCounts.lean, ScheduledStep.lean, ScheduledInvariant.lean |
| Initialization, finite paths, and the stopping count | GivenInitialization.lean, GivenMesh.lean, GivenPath.lean, TrackedPath.lean, StoppingDepth.lean |
| The row identity and the endpoint estimate | SectionLedger.lean, SectionStep.lean, PeelBudget.lean, LedgerMemory.lean, CoreLedger.lean, NumericalLedger.lean |
| The rational schedule and finite reserve | ScheduleLogs.lean, ScheduleMajorants.lean, RootCertificate.lean, ScheduleTail.lean, FiniteAttainment.lean |
| Return to the ambient face and final rounding | BufferedRounding.lean, AmbientEndpoint.lean, EuclideanRounding.lean, FinalTheorem.lean |
A BOUND FOR KOMLÓS DISCREPANCY
Two implementation choices account for differences in the intermediate formulas. The formal finite-row reduction may repeat a block more times than the least choice in Corollary 2.2; testing on repeated vectors recovers the same coefficient. The formal schedule uses classes, indexed from zero, which is the sufficient cutoff admitted in Section 3. Every estimate above is uniform over that finite cutoff. The formal mesh is chosen from sufficient positive upper bounds; its proof uses exactly the reserve in (7.8).
C.3 Reproduction
The project is pinned to Lean 4.33.1 and to the mathlib revision
0df444a360eaa60ab8c11dca51a86af692955474.
The ancillary directory contains the source files, the toolchain and package manifests, an axiom-query file, and build instructions. The final declarations have the ordinary logical dependencies propekt, Classical.choice, and Quot.sound; A.4 remains an explicit theorem hypothesis.
The arithmetic program finite_attainment.py verifies the certificate in Appendix B using integers and rational fractions. The Lean project includes the same schedule bound in the formal derivation of the endpoint theorems.
Use of computational tools
ChatGPT and Codex (OpenAI) were used in developing the argument, writing and refining the Lean formalization and exact-arithmetic code, and preparing the manuscript.
References
[Ban98] Wojciech Banaszczyk. Balancing vectors and Gaussian measures of -dimensional convex bodies. Random Structures & Algorithms, 12:351–360, 1998.
[BJ25] Nikhil Bansal and Haotian Jiang. Decoupling via affine spectral-independence: Beck–Fiala and Komlós bounds beyond Banaszczyk. arXiv:2508.03961v2, 2025. Version of 9 September 2025.
[BJ26] Nikhil Bansal and Haotian Jiang. An exposition of the bound for the Komlós problem. arXiv:2608.28452v1, 2026. Version of 28 August 2026.