Introduction
The Komlós problem asks how well we can balance vectors in the Euclidean unit ball by assigning signs of ± 1 \pm1 ± 1 [31 ] . For a matrix A = [ a 1 ⋯ a n ] ∈ R m A=[a_1\ \cdots\ a_n]\in\mathbb{R}^{m} A = [ a 1 ⋯ a n ] ∈ R m , its signing discrepancy is
disc ( A ) = min ε ∈ { − 1 , 1 } n ∥ A ε ∥ ∞ . (1) \operatorname{disc}(A)=\min_{\varepsilon\in\{-1,1\}^{n}}\|A\varepsilon\|_{\infty}. \tag*{(1)} disc ( A ) = ε ∈ { − 1 , 1 } n min ∥ A ε ∥ ∞ . (1)
Given the promise that ∑ i = 1 m a i j 2 ≤ 1 \sum_{i=1}^{m}a_{ij}^{2}\le1 ∑ i = 1 m a ij 2 ≤ 1 for all j ∈ [ n ] j\in[n] j ∈ [ n ] , the Komlós problem asks whether an absolute constant bounds disc ( A ) \operatorname{disc}(A) disc ( A ) independently of both dimensions. In the Beck–Fiala setting [9 ] , each element of a universe belongs to at most t t t sets, so dividing the incidence matrix by t \sqrt{t} t normalizes its columns to Euclidean norm at most 1 1 1 , and a constant Komlós bound gives an imbalance of O ( t ) O(\sqrt{t}) O ( t ) in every set. Vector balancing also has natural applications to rounding: the theorem of Lovász, Spencer, and Vesztergombi [28 ] rounds any x ∈ [ 0 , 1 ] n x\in[0,1]^n x ∈ [ 0 , 1 ] n to some y ∈ { 0 , 1 } n y\in\{0,1\}^n y ∈ { 0 , 1 } n with ∥ A ( y − x ) ∥ ∞ = O ( 1 ) \|A(y-x)\|_{\infty}=O(1) ∥ A ( y − x ) ∥ ∞ = O ( 1 ) , so a bound on each column’s Euclidean norm controls the error in every linear measurement, independently of the number of variables and measurements. Furthermore vector balancing has seen a number of applications in machine learning and statistics such as coresets for large datasets [23 ] , attention approximation [22 ] , covariate balance in experimental design [HSSZ24], and distribution thinning [13 ] where balancing a set of vectors in two parts allows one to approximate the whole by some carefully chosen subset. The Komlós problem was a longstanding conjecture in discrepancy theory until it was recently resolved by Guo, Fang, and Lu [17 ] . In this work, we study the time needed to find a signing.
Algorithmic discrepancy theory offers several starting points. The earliest algorithms, due to Bansal [5 ] , used semidefinite programs to correlate the increments of a random walk and obtained algorithmic counterparts of entropy-method bounds. Lovett and Meka [26 ] replaced this optimization step by a walk in the subspace orthogonal to nearly tight constraints; their partial-coloring algorithm illustrates a principle that also guides our construction, namely to protect a small collection of constraints while the remaining dimensions make progress. For vector balancing, Banaszczyk’s Gaussian-measure theorem [4 ] gives discrepancy O ( log 2 n ) O(\sqrt{\log2n}) O ( log 2 n ) under normalized column norms. Dadush, Garg, Lovett, and Nikolov [15 ] connected that theorem to subgaussian distributions over signed sums, which the Gram–Schmidt walk [8 ] samples efficiently. Guo, Fang, and Lu [17 ] proved that the constant 3 2 π 3\sqrt{2\pi} 3 2 π suffices (see also the shorter proof of Karingula and Lovett [21 ] , with constant 36), and introduced a polynomial-time spectral signing algorithm [16 ] . Li [25 ] developed this framework into a deterministic algorithm with discrepancy below 99 and arithmetic cost O ( m n + n ω + 2 log 3 n ) O(mn+n^{\omega+2}\log^3 n) O ( mn + n ω + 2 log 3 n ) .
Main Result
For a rational-valued input, let L i n L_{\mathrm{in}} L in be its total binary encoding length. We count bit operations with fast integer arithmetic, and allow O ~ \widetilde{O} O to suppress factors polynomial in log ( 2 n ) \log(2n) log ( 2 n ) . Now, we are ready to state our main result.
Theorem 1.1. There exists a randomized algorithm that takes any A ∈ Q m × n \mathbf{A}\in\mathbb{Q}^{m\times n} A ∈ Q m × n with column norms at most 1, and returns ε ∈ { − 1 , 1 } n \varepsilon\in\{-1,1\}^{n} ε ∈ { − 1 , 1 } n with ∥ A ε ∥ ∞ < 99 \|\mathbf{A}\varepsilon\|_{\infty}<99 ∥ A ε ∥ ∞ < 99 in O ~ ( L i n + n ω ) \widetilde{O}(L_{\mathrm{in}}+n^\omega) O ( L in + n ω ) expected bit operations.
Remark 1.2. For real-valued inputs, the idealized algorithm uses O ~ ( m n + n ω ) \widetilde{O}(mn+n^\omega) O ( mn + n ω ) operations in a model that assigns unit cost to field operations, comparisons, square roots, and scalar Gaussian samples, and the finite-bit algorithm approximates these normalizations and gives Gaussian digits from random bits [20 ] . For rational entries of at most B B B bits, the input term becomes O ~ ( m n B ) \widetilde{O}(mnB) O ( mn B ) .
Proof Overview
We begin by reviewing the spectral signing approach of [16 , 25 ] . Spectral signing moves a fractional coloring x ∈ [ − 1 , 1 ] n x\in[-1,1]^n x ∈ [ − 1 , 1 ] n from the origin to a vertex of the cube. Every medium row carries two concave barriers, one for each sign of its discrepancy, and rows near their barriers are protected so that, by concavity, their barriers cannot increase. The barrier weights enter an entrywise nonnegative Gram matrix M \mathbf{M} M , and bounding its top eigenvalue bounds 1 T M 1 \mathbf{1}^{\mathsf T}\mathbf{M}\mathbf{1} 1 T M1 and hence the number of protected rows. Li’s algorithm [25 ] tracks this eigenvalue, slightly regularized, with a potential that is both the safety device and the progress clock: each full step chooses the better of x ± t h x\pm th x ± t h and lowers the potential by a definite amount. That requires the top eigenvalue to be smooth along the step, hence a gap below it, and Li’s regularizer guarantees a gap of only order 1 / n 1/n 1/ n at the start. Steps must therefore be tiny, and the algorithm makes O ( n 2 log n ) O(n^2\log n) O ( n 2 log n ) updates, each paying for a fresh round of dense matrix computations. Li observes that a faster algorithm needs a potential that, like the top eigenvalue, controls the averages of the Gram matrix over every set of active coordinates, while being smooth at a coarser scale [25 Section 12] . We keep Li’s barriers, affine row representations, and final constant, and change three things: the potential, the way steps are signed, and how often the spectral computation is paid for. Two smaller departures are the retirement of rows with tiny mass and a rational weight function, which we describe in further detail in § 2.1 .
In an ambient space of s s s active coordinates, we use the resolvent potential
F b ( M ) = 1 T ( b I − M ) − 1 1 − s b . (2) F_b(\mathbf{M})=\mathbf{1}^{\mathsf T}(b\mathbf{I}-\mathbf{M})^{-1}\mathbf{1}-\frac{s}{b}. \tag*{(2)} F b ( M ) = 1 T ( b I − M ) − 1 1 − b s . (2)
where M \mathbf{M} M is PSD and entrywise nonnegative, with M ≺ b I \mathbf{M} \prec b\mathbf{I} M ≺ b I . It is a barrier for λ max ( M ) < b \lambda_{\max}(\mathbf{M}) < b λ m a x ( M ) < b : finite and nonnegative on that region, it blows up as λ max ( M ) \lambda_{\max}(\mathbf{M}) λ m a x ( M ) increases to b b b , so along a path that starts inside the region a bounded potential keeps the top eigenvalue below b b b , and Li’s count of nearly tight rows still applies. Its Neumann series has nonnegative terms, so F b F_b F b decreases when entries of M \mathbf{M} M decrease or a coordinate is fixed, which is the property Li asks for. Unlike the top eigenvalue, it is a rational function of M \mathbf{M} M on the whole region, so repeated or crossing eigenvalues cost nothing.
Each step first exposes a proposal , a direction h h h and a length t t t clipped so that x ± t h x \pm th x ± t h both stay in the cube, and only then draws a fair sign σ \sigma σ . If F b F_b F b is concave on the segment, then E σ F b ( M ( x + σ t h ) ) ≤ F b ( M ( x ) ) \mathbb{E}_{\sigma}F_b(\mathbf{M}(x+\sigma th)) \leq F_b(\mathbf{M}(x)) E σ F b ( M ( x + σ t h )) ≤ F b ( M ( x )) , so the potential is a supermartingale and Doob’s inequality keeps it below a cap. Here, we measure progress separately by the coordinate energy ∥ x ∥ 2 \lVert x\rVert^2 ∥ x ∥ 2 , which grows by t 2 ∥ h ∥ 2 t^2\lVert h\rVert^2 t 2 ∥ h ∥ 2 in expectation (Theorem 3.1). The step length is therefore set, up to a logarithmic factor needed for concentration, by the inverse-polylogarithmic radius of the region where concavity is certified, and the walk takes O ~ ( n ) \widetilde{O}(n) O ( n ) steps instead of Li’s O ( n 2 log n ) O(n^2\log n) O ( n 2 log n ) .
However, recomputing a curvature subspace at every step would still cost n ω + 1 n^{\omega+1} n ω + 1 , and dynamic inverse maintenance does not help directly, since a step changes every row weight and hence changes M \mathbf{M} M by a matrix of high rank. Therefore, we instead compute a subspace at an anchor and reuse it for a batch of steps. Theorem 2.1 finds a subspace of dimension at least ⌈ s / 32 ⌉ \lceil s/32\rceil ⌈ s /32 ⌉ on which the Hessian P − D \mathbf{P}-\mathbf{D} P − D of F b F_b F b satisfies P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] \mathbf{P}_0[h] \leq(1-\rho)\mathbf{D}_0[h] P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] , a margin measured against the barriers’ own concavity, and shows that this certificate survives a trust window of inverse-polylogarithmic radius once nearly tight rows and rows of large load are frozen (§ 2.2 ). Each direction’s normal is added as a constraint, so directions within a batch are nearly orthogonal and, with the fair signs, the walk stays in its window. A batch ends after about s / log n s/\log n s / log n constraints, so an epoch , which ends when the number of active coordinates halves, contains only polylogarithmically many anchors. Within a batch, directions come from a square Gaussian completion matrix Q \mathbf{Q} Q whose rows are the constraints so far, hidden Gaussian rows, and one reference row. The vector Q − 1 e k \mathbf{Q}^{-1}e_k Q − 1 e k is annihilated by every row except the reference row, and since the common kernel of d − 1 d-1 d − 1 Gaussian rows in d d d dimensions is a uniformly random line, it yields a nearly isotropic feasible direction (Theorem 4.1 ). Adding a constraint overwrites one hidden row, in a predetermined order, which gives the setting of van den Brand, Nanongkai, and Saranurak [33 ] , and amortized O ~ ( s ω − 1 ) \widetilde{O}(s^{\omega-1}) O ( s ω − 1 ) work per operation (Theorem 5.1 ).
Finally, we note that retiring rows of tiny mass leaves O ~ ( s ) \widetilde{O}(s) O ( s ) rows per anchor, so each epoch costs O ~ ( s ω ) \widetilde{O}(s^\omega) O ( s ω ) , and the geometrically shrinking epochs sum to O ~ ( n ω ) \widetilde{O}(n^\omega) O ( n ω ) . § 6 implements the algorithm with polylogarithmic-bit numbers, using gap-free approximate diagonalization [30 ] at anchors and dithered rounding that couples the sampler to an exact reference process. From here, independently restarting the process yields the expected-time bound.
Related Work
Bansal’s semidefinite-programming algorithm [5 ] and the Lovett–Meka walk [26 ] made classical discrepancy bounds constructive. Levy, Ramadas, and Rothvoss [27 ] obtained deterministic algorithms through multiplicative weights. Bansal and Garg [10 ] controlled the full rounding trajectory to avoid the accumulation of partial-coloring errors, while Bansal [6 ] combined iterated rounding with concentration. The stochastic framework of Bansal, Laddha, and Vempala [12 ] and the regularization framework of Pesenti and Vladu [29 ] give broader ways to design walks and discrepancy potentials. Banaszczyk’s Gaussian-measure theorem [4 ] gives an O ( log ( 2 n ) ) O(\sqrt{\log(2n)}) O ( log ( 2 n ) ) Komlós bound. Bansal, Dadush, and Garg [7 ] made this bound algorithmic. Dadush, Garg, Lovett, and Nikolov [15 ] related vector balancing to subgaussian signed sums, and the Gram-Schmidt walk [8 ] efficiently constructs such distributions. More recently, Bansal and Jiang [11 ] improved the Komlós bound to O ~ ( ( log n ) 1 / 4 ) \widetilde{O}((\log n)^{1/4}) O (( log n ) 1/4 ) through affine spectral independence. Guillen and Kobzar [18 ] proved a constant bound when signs may be arbitrary complex numbers of unit modulus. Their concave energy barriers are among the precursors of the spectral signing framework used here. On the other hand, fast implementations pose a separate problem. The self-balancing walk of Alweiss, Liu, and Sawhney [1 ] gives logarithmic Komlós bounds in linear time, and Larsen [24 ] gives faster algorithms with hereditary guarantees. Our analysis instead combines an absolute discrepancy bound with nearly matrix-multiplication time. Its computational tools come from dynamic inverse maintenance [33 ] and the matrix-formula framework [32 ] . Stable fast linear algebra [14 ] and the bit-complexity analysis of dynamic algebraic formulas [3 ] address numerical implementation. These tools become useful here after the geometric analysis limits how often the walk rebuilds its curvature subspace.
Notation
We use Euclidean vector norms and operator matrix norms unless a subscript indicates otherwise. Matrices are bold. For quadratic forms, D [ h ] \mathbf{D}[h] D [ h ] means h T D h h^{\mathsf{T}}\mathbf{D}h h T D h . Matrix inequalities use the Loewner order unless we explicitly specify entrywise comparison, and 1 \mathbf{1} 1 denotes the all-ones vector. We write L = ⌈ log 2 ( 2 n ) ⌉ L=\lceil\log_2(2n)\rceil L = ⌈ log 2 ( 2 n )⌉ . Several objects come from Li [25 ] , sometimes under different names; for example, Li’s R 0 R_0 R 0 , b 0 b_0 b 0 , and A 0 A_0 A 0 are our R max R_{\max} R m a x , b d e p b_{\mathrm{dep}} b dep , and ν ( 0 ) \nu(0) ν ( 0 ) , and Li’s L L L is a top eigenvalue. Symbols introduced inside a proof in the appendices are local to that proof.
The potential is F b F_b F b (which we shorten to F F F in Appendices B, C, and F where b b b is fixed). The calligraphic F \mathcal{F} F is the set of frozen rows when it is an index set (§ 2.2 ) and the exposed history in conditional expectations, and the italic F F F is the feasible subspace in § 4 and Appendix D. Besides the spectral level b b b (or b j b_j b j in epoch j j j ) and the coefficient vectors b i b_i b i , b b b counts constraint slots in § 4 . The index j j j ranges over coordinates, except in b j b_j b j , N j N_j N j , T j T_j T j , where it indexes epochs. P \mathcal{P} P and P P P are caps, and P \mathcal{P} P is a curvature matrix. We let A = b I − M A=bI-M A = b I − M , where A ( Q ) A(Q) A ( Q ) is the augmented completion matrix. We use t t t to index steps, t t t_t t t to be a step length, and t i = z i T v t_i=z_i^{\mathsf{T}}v t i = z i T v to be a load. Then, K K K bounds ∥ Q ∥ F \lVert Q\rVert_F ∥ Q ∥ F , ∥ Q − 1 ∥ F \lVert Q^{-1}\rVert_F ∥ Q − 1 ∥ F in Theorem 5.1 and Appendix E and abbreviates K r a t K_{\mathrm{rat}} K rat in Appendix A. Inside proofs in Appendices D and E, L L L may name a local quantity; elsewhere L = ⌈ log 2 ( 2 n ) ⌉ L=\lceil\log_2(2n)\rceil L = ⌈ log 2 ( 2 n )⌉ . Finally, G i G_i G i is the energy of row i i i and ∥ x ∥ 2 \lVert x\rVert^2 ∥ x ∥ 2 the coordinate energy ; unqualified “energy” in § 3 and Appendix F means the latter. (Li uses that name for ∑ j ( 1 − x j 2 ) = n − ∥ x ∥ 2 \sum_j(1-x_j^2)=n-\lVert x\rVert^2 ∑ j ( 1 − x j 2 ) = n − ∥ x ∥ 2 .)
The batched signing algorithm
We begin by recalling the framework we use from Li (§ 2.1 ), which gives the new batch certificate (§ 2.2 ), and assembles the algorithm.
The framework from Li
The walk maintains a fractional coloring x ∈ [ − 1 , 1 ] n x\in[-1,1]^n x ∈ [ − 1 , 1 ] n , starting at x = 0 x=0 x = 0 . A coordinate is fixed once it reaches ± 1 \pm1 ± 1 , and V V V denotes the set of s s s active coordinates. This subsection follows Li [25 ] , § 3 , except for the retirement of rows with very small mass and a rational weight function. Rows with ∥ a i ∥ ≤ 1 \lVert a_i\rVert\le1 ∥ a i ∥ ≤ 1 , whose discrepancy never exceeds one, are discarded first, and fewer than n 2 n^2 n 2 rows remain (Appendix A), at a cost of O ( m n ) O(mn) O ( mn ) arithmetic operations.
Row i i i is represented by an affine function φ i ( y ) = c i + b i T y \varphi_i(y)=c_i+b_i^{\mathsf{T}}y φ i ( y ) = c i + b i T y with tracked value d i = φ i ( x ) d_i=\varphi_i(x) d i = φ i ( x ) . Initially, we have b i = a i b_i=a_i b i = a i and c i = 0 c_i=0 c i = 0 . Moving the term b i j x j b_{ij}x_j b ij x j into the offset (c i ← c i + b i j x j c_i\leftarrow c_i+b_{ij}x_j c i ← c i + b ij x j , b i j ← 0 b_{ij}\leftarrow0 b ij ← 0 ) leaves $d_i unchanged and removes coordinate j j j from the row’s future motion. This costs nothing if j j j is fixed. If j j j is active, the true and tracked rows later differ by b i j ( y j − x j ) b_{ij}(y_j-x_j) b ij ( y j − x j ) , at most 2 ∣ b i j ∣ 2|b_{ij}| 2∣ b ij ∣ , and Appendix § 8 adds up these defects at the final signing. Now, define the squared coefficients p i j = b i j 2 p_{ij}=b_{ij}^{2} p ij = b ij 2 , the mass q i = ∑ j ∈ V p i j q_i=\sum_{j\in V}p_{ij} q i = ∑ j ∈ V p ij , and the energy G i ( x ) = ∑ j ∈ V p i j ( 1 − x j 2 ) G_i(x)=\sum_{j\in V}p_{ij}(1-x_j^2) G i ( x ) = ∑ j ∈ V p ij ( 1 − x j 2 ) , which measures how much the row can still move. Because the columns of A A A have norm at most one, we have ∑ i q i ≤ s \sum_i q_i\le s ∑ i q i ≤ s , ∑ i p i j ≤ 1 \sum_i p_{ij}\le1 ∑ i p ij ≤ 1 , and ∣ b i j ∣ ≤ 1 |b_{ij}|\le1 ∣ b ij ∣ ≤ 1 , while 0 ≤ G i ≤ q i 0\le G_i\le q_i 0 ≤ G i ≤ q i . Set R max = 291 / 200 R_{\max}=291/200 R m a x = 291/200 . A nonretired row is large if q i > R max 2 q_i>R_{\max}^2 q i > R m a x 2 , medium if 0 < q i ≤ R max 2 0<q_i\le R_{\max}^2 0 < q i ≤ R m a x 2 , and completed if q i = 0 q_i=0 q i = 0 . Here, large rows are held in place: their tracked values stay zero until they become medium. Li achieves this by repairing offsets. In our algorithm, all directions satisfy b i T h = 0 b_i^{\mathsf T}h=0 b i T h = 0 for every large row. Since ∑ i q i ≤ s \sum_i q_i\le s ∑ i q i ≤ s , there are fewer than s / R max 2 s/R_{\max}^2 s / R m a x 2 large rows.
At each anchor, fixed-column entries are transferred to the offsets, and medium-row entries with p i j > q i / 64 p_{ij}>q_i/64 p ij > q i /64 are deleted, that is, transferred even though their coordinate is active, in a fixed order. Large rows undergo no deletions, mass never increases, and every surviving medium row satisfies the spread condition max j p i j ≤ q i / 64 \max_j p_{ij}\le q_i/64 max j p ij ≤ q i /64 . Each medium row also has a nonincreasing rational scale r i r_i r i with q i ≤ r i 2 < γ 2 q i q_i\le r_i^2<\gamma^2q_i q i ≤ r i 2 < γ 2 q i and r i ≤ R max r_i\le R_{\max} r i ≤ R m a x , where γ = 65 / 64 \gamma=65/64 γ = 65/64 ; Appendix § 8 gives a choice using O ( log ( 2 s ) ) O(\log(2s)) O ( log ( 2 s )) rational comparisons. Li avoids evaluating every row at every step by means of a weak charge on the tracked values and a motion clock. Instead of this approach, we stop tracking rows whose mass is tiny. Choose q ∗ = c ∗ log − 4 ( 2 n ) q_* = c_*\log^{-4}(2n) q ∗ = c ∗ log − 4 ( 2 n ) for a sufficiently small absolute 0 < c ∗ < R max 2 0<c_*<R_{\max}^2 0 < c ∗ < R m a x 2 . After transfers and deletions, rows with 0 < q i ≤ q ∗ 0<q_i\le q_* 0 < q i ≤ q ∗ are retired from spectral and derivative calculations: record b i r e t b_i^{\mathrm{ret}} b i ret and x r e t x^{\mathrm{ret}} x ret , transfer b i T x r e t b_i^{\mathsf T}x^{\mathrm{ret}} b i T x ret to c i c_i c i , and set b i = 0 b_i=0 b i = 0 . The later discrepancy of a retired row is a small random error (Theorem 3.2), and since ∑ i q i ≤ s \sum_i q_i\le s ∑ i q i ≤ s , at most s / q ∗ s/q_* s / q ∗ nonempty rows remain.
Algorithm 1 collects these updates. It runs at every anchor, after the frozen weights of the preceding batch are released (§ 2.2 ), and the spectral matrices are built afterward.
Algorithm 1 Updating affine rows at an anchor
Require: Coloring x x x , active set V V V , remaining affine rows, cached masses and coefficient trees, existing scales, and cutoff q ∗ q_* q ∗ .
for each remaining row i i i do
Transfer fixed-column entries to the offset, subtract their original squared coefficients from q i q_i q i , update
their tree entries, and classify row i i i .
while 0 < q i ≤ R max 2 0<q_i\le R_{\max}^2 0 < q i ≤ R m a x 2 and some b i j 2 > q i / 64 b_{ij}^2>q_i/64 b ij 2 > q i /64 do
Transfer the first eligible entry to the offset, subtract its original squared coefficient from q i q_i q i , and
update its tree entry.
Complete row i i i if q i = 0 q_i=0 q i = 0 , or update r i r_i r i by the scale rule if 0 < q i ≤ R max 2 0<q_i\le R_{\max}^2 0 < q i ≤ R m a x 2 .
If 0 < q i ≤ q ∗ 0<q_i\le q_* 0 < q i ≤ q ∗ , record ( b i , x ) (b_i,x) ( b i , x ) , set c i ← c i + b i T x c_i\leftarrow c_i+b_i^{\mathsf T}x c i ← c i + b i T x and b i ← 0 b_i\leftarrow0 b i ← 0 , and mark the row retired.
Each medium row carries two signed barriers, one for each direction of its discrepancy. Set the discrepancy threshold H 0 = 263 / 5 H_0=263/5 H 0 = 263/5 , and normalize each medium row’s squared coefficients as z i = p i / r i 2 z_i=p_i/r_i^2 z i = p i / r i 2 . For sign σ ∈ { − 1 , 1 } \sigma\in\{-1,1\} σ ∈ { − 1 , 1 } , the barrier is
u i σ ( x ) = σ d i − H 0 r i + 4 G i ( x ) r i 2 + 12. (3) u_{i\sigma}(x)=\frac{\sigma d_i-H_0}{r_i}+\frac{4G_i(x)}{r_i^2}+12. \tag*{(3)} u iσ ( x ) = r i σ d i − H 0 + r i 2 4 G i ( x ) + 12. (3)
The energy term reserves room for fluctuations the row has not yet seen, and it makes the barrier concave in x x x . Nonpositive barriers give σ d i ≤ H 0 − 12 r i − 4 G i / r i < H 0 \sigma d_i\le H_0-12r_i-4G_i/r_i<H_0 σ d i ≤ H 0 − 12 r i − 4 G i / r i < H 0 for both signs, hence ∣ d i ∣ < H 0 |d_i|<H_0 ∣ d i ∣ < H 0 . At fixed representation and scale, g i σ = ∇ u i σ = σ b i / r i − 8 z i ∘ x g_{i\sigma}=\nabla u_{i\sigma}=\sigma b_i/r_i-8z_i\circ x g iσ = ∇ u iσ = σ b i / r i − 8 z i ∘ x and ∇ 2 u i σ = − 8 diag ( z i ) \nabla^2u_{i\sigma}=-8\operatorname{diag}(z_i) ∇ 2 u iσ = − 8 diag ( z i ) , so
u i σ ( x + y ) − u i σ ( x ) = g i σ ( x ) T y − 4 ∑ j z i j y j 2 . (4) u_{i\sigma}(x+y)-u_{i\sigma}(x)=g_{i\sigma}(x)^{\mathsf T}y-4\sum_j z_{ij}y_j^2. \tag*{(4)} u iσ ( x + y ) − u iσ ( x ) = g iσ ( x ) T y − 4 j ∑ z ij y j 2 . (4)
In particular, a step orthogonal to g i σ g_{i\sigma} g iσ can only lower the barrier, which is how protected rows are kept safe. Spread gives z i j ≤ 1 / 64 z_{ij}\le1/64 z ij ≤ 1/64 and ∑ j z i j ≤ 1 \sum_j z_{ij}\le1 ∑ j z ij ≤ 1 . Hence ∣ g i σ , j ∣ ≤ z i j + 8 z i j ≤ 2 z i j |g_{i\sigma,j}|\le\sqrt{z_{ij}}+8z_{ij}\le2\sqrt{z_{ij}} ∣ g iσ , j ∣ ≤ z ij + 8 z ij ≤ 2 z ij , so g i σ , j 2 ≤ 4 z i j g_{i\sigma,j}^{2} \le4z_{ij} g iσ , j 2 ≤ 4 z ij and ∥ g i σ ∥ 2 ≤ 2 \lVert g_{i\sigma}\rVert_{2} \le2 ∥ g iσ ∥ 2 ≤ 2 . Also, u i , + + u i , − ≤ 32 − 2 H 0 / R max < − 2 u_{i,+}+u_{i,-} \le32-2H_{0}/R_{\max}<-2 u i , + + u i , − ≤ 32 − 2 H 0 / R m a x < − 2 , so at most one signed barrier per row lies in [ − 1 , 0 ] [-1,0] [ − 1 , 0 ] . With Λ = 2 / q ∗ \Lambda=2/q_{*} Λ = 2/ q ∗ , retirement bounds the load across both signs by ∑ i , σ z i j = 2 ∑ i m e d i u m p i j / r i 2 ≤ ( 2 / q ∗ ) ∑ i p i j ≤ Λ \sum_{i,\sigma}z_{ij}=2\sum_{i\ \mathrm{medium}}p_{ij}/r_{i}^{2}\le(2/q_{*})\sum_{i}p_{ij}\le\Lambda ∑ i , σ z ij = 2 ∑ i medium p ij / r i 2 ≤ ( 2/ q ∗ ) ∑ i p ij ≤ Λ .
Li combines the barriers through a weighted Gram matrix whose weights grow as the barriers approach zero, and its weights are exponential. As our second departure, we use the rational weight with fixed degree K r a t = 10000 K_{\mathrm{rat}}=10000 K rat = 10000 , defined for all u ≤ 0 u\le0 u ≤ 0 by
ν ( u ) = 119 ( 1 − u 2 K r a t ) − K r a t . (5) \nu(u)=119\left(1-\frac{u}{2K_{\mathrm{rat}}}\right)^{-K_{\mathrm{rat}}}. \tag*{(5)} ν ( u ) = 119 ( 1 − 2 K rat u ) − K rat . (5)
It approaches 119 e u / 2 119e^{u/2} 119 e u /2 as K r a t K_{\mathrm{rat}} K rat grows, and it uses only field operations and integer powers. Medium rows contribute weighted rank-one terms, and large rows contribute diagonal deposits for their later transition to medium. Set b d e p = 3 / 625 b_{\mathrm{dep}}=3/625 b dep = 3/625 and B = b d e p ∑ i l a r g e diag ( p i ) \mathbf{B}=b_{\mathrm{dep}}\sum_{i\ \mathrm{large}}\operatorname{diag}(p_i) B = b dep ∑ i large diag ( p i ) . Define the spectral matrix M = W + B \mathbf{M}=\mathbf{W}+\mathbf{B} M = W + B with
W = ∑ i m e d i u m , σ ν ( u i σ ) z i z i T . (6) \mathbf{W}=\sum_{i\ \mathrm{medium},\sigma}\nu(u_{i\sigma})z_i z_i^{\mathsf{T}}. \tag*{(6)} W = i medium , σ ∑ ν ( u iσ ) z i z i T . (6)
These matrices are PSD and entrywise nonnegative, with B ⪯ b d e p I \mathbf{B}\preceq b_{\mathrm{dep}}\mathbf{I} B ⪯ b dep I . For row updates, express each signed contribution as ν ( u i σ ) p i p i T / r i 4 \nu(u_{i\sigma})p_i p_i^{\mathsf{T}}/r_i^{4} ν ( u iσ ) p i p i T / r i 4 . Appendix § 8 shows that initialization gives M ⪯ b d e p I \mathbf{M}\preceq b_{\mathrm{dep}}\mathbf{I} M ⪯ b dep I with all medium barriers below − 20 -20 − 20 . Later row updates preserve tracked sums. Deletion and scale reduction decrease contributions entrywise, deposit replacement and retirement decrease them in Loewner order, and removing fixed coordinates takes a principal submatrix. An entrywise decrease need not be a Loewner decrease, so both comparisons are used below.
As in Li, the final constant is the barrier threshold H 0 H_0 H 0 plus the total deletion defect 2 R max ( 8 + 63 ) 2R_{\max}(8+\sqrt{63}) 2 R m a x ( 8 + 63 ) , which stay below 31673 / 320 < 99 31673/320<99 31673/320 < 99 (Theorem A.1). Li controls M \mathbf{M} M through its top eigenvalue; we use the resolvent potential F b F_b F b of (2) instead, which the monotonicity facts above make nonincreasing under row updates (Theorem B.1).
A subspace for an entire batch
This subsection contains the main new ingredient. At an anchor, we find many directions along which the resolvent potential is concave, and then show that the same directions remain valid throughout a batch of steps. Fix the row representations and scales at an anchor x 0 x_0 x 0 . For a signed medium row i = ( ℓ , σ ) i=(\ell,\sigma) i = ( ℓ , σ ) , write u i = u ℓ σ u_i=u_{\ell\sigma} u i = u ℓ σ , g i = ∇ u i g_i=\nabla u_i g i = ∇ u i , and z i = z ℓ z_i=z_\ell z i = z ℓ . An anchor is admissible when 1 ≤ b < 3 / 2 1\le b<3/2 1 ≤ b < 3/2 , M 0 ≺ b I \mathbf{M}_0\prec b\mathbf{I} M 0 ≺ b I , and every u i ( x 0 ) ≤ 0 u_i(x_0)\le0 u i ( x 0 ) ≤ 0 . Write
A = b I − M , R = A − 1 , v = R 1 , F b ( M ) = 1 T v − s / b . \mathbf{A}=b\mathbf{I}-\mathbf{M},\qquad\mathbf{R}=\mathbf{A}^{-1},\qquad v=\mathbf{R}\mathbf{1},\qquad F_b(\mathbf{M})=\mathbf{1}^{\mathsf{T}}v-s/b. A = b I − M , R = A − 1 , v = R1 , F b ( M ) = 1 T v − s / b .
We use the potential in (2) . The resolvent is entrywise nonnegative, and F b ≥ 0 F_b\ge0 F b ≥ 0 at an admissible anchor.
Suppose that ∑ i z i j ≤ Λ \sum_i z_{ij}\le\Lambda ∑ i z ij ≤ Λ and 1 T v 0 ≤ P s \mathbf{1}^{\mathsf{T}}v_0\le Ps 1 T v 0 ≤ P s . Set ρ = 1 / 64 \rho=1/64 ρ = 1/64 , Θ = 4096 Λ P \Theta=4096\Lambda P Θ = 4096Λ P , and κ = max { 1 , 119 Λ Θ } \kappa=\max\{1,119\Lambda\Theta\} κ = max { 1 , 119ΛΘ } . The load of row i i i is t i = z i T v t_i=z_i^{\mathsf{T}}v t i = z i T v . Protect every row with u i ( x 0 ) ≥ − 1 u_i(x_0)\ge-1 u i ( x 0 ) ≥ − 1 , and select heavy rows, each with t i ( x 0 ) ≥ Θ / 2 t_i(x_0)\ge\Theta/2 t i ( x 0 ) ≥ Θ/2 , so that every remaining row has load at most Θ \Theta Θ . Let F \mathcal{F} F be the protected or heavy signed rows and L \mathcal{L} L the others. Form H \mathbf{H} H from the large-row vectors b ℓ T b_\ell^{\mathsf{T}} b ℓ T and the gradients g i ( x 0 ) T g_i(x_0)^{\mathsf{T}} g i ( x 0 ) T for i ∈ F i\in\mathcal{F} i ∈ F . Changes in ker H \ker\mathbf{H} ker H preserve large-row sums and keep the fixed rows’ barriers at most their anchor values. Fix the weights in F \mathcal{F} F at their anchor values.
Each kind of frozen row is frozen for its own reason. Protected rows are frozen so that every light row starts at least one unit below its threshold, and therefore stays negative throughout the window defined below. Heavy rows are frozen because the stability argument compares the resolvent vector at x x x with the one at x 0 x_0 x 0 , and a light row’s influence on that vector is proportional to its load. Bounding every light load by Θ \Theta Θ is what keeps the constant κ \kappa κ polylogarithmic. Freezing is cheap: the counting in Appendix § 9 shows that protected and heavy rows remove only a small fraction of the dimensions. With the frozen weights fixed, the batch matrix is
M ( x ) = M 0 + ∑ i ∈ L [ ν ( u i ( x ) ) − ν ( u i ( x 0 ) ) ] z i z i T . (7) \mathbf{M}(x)=\mathbf{M}_0+\sum_{i\in\mathcal{L}}\left[\nu(u_i(x))-\nu(u_i(x_0))\right]z_i z_i^{\mathsf{T}}. \tag*{(7)} M ( x ) = M 0 + i ∈ L ∑ [ ν ( u i ( x )) − ν ( u i ( x 0 )) ] z i z i T . (7)
Its curvature splits into a positive term P \mathbf{P} P and a diagonal negative term D \mathbf{D} D :
U = ∑ i ∈ L ν ′ ′ ( u i ) t i 2 g i g i T , D = 8 ∑ i ∈ L ν ′ ( u i ) t i 2 diag ( z i ) , \mathbf{U}=\sum_{i\in\mathcal{L}}\nu^{\prime\prime}(u_i)t_i^2g_i g_i^{\mathsf{T}},\qquad\mathbf{D}=8\sum_{i\in\mathcal{L}}\nu^\prime(u_i)t_i^2\operatorname{diag}(z_i), U = i ∈ L ∑ ν ′′ ( u i ) t i 2 g i g i T , D = 8 i ∈ L ∑ ν ′ ( u i ) t i 2 diag ( z i ) ,
C = ∑ i ∈ L ν ′ ( u i ) t i z i g i T , P = U + 2 C T R C . (8) \mathbf{C}=\sum_{i\in\mathcal{L}}\nu^\prime(u_i)t_i z_i g_i^{\mathsf{T}},\qquad\mathbf{P}=\mathbf{U}+2\mathbf{C}^{\mathsf{T}}\mathbf{R}\mathbf{C}. \tag*{(8)} C = i ∈ L ∑ ν ′ ( u i ) t i z i g i T , P = U + 2 C T RC . (8)
Where M ( x ) ≺ b I \mathbf{M}(x)\prec b\mathbf{I} M ( x ) ≺ b I , the Hessian is ∇ 2 F b ( M ( x ) ) = P − D \nabla^2F_b(\mathbf{M}(x))=\mathbf{P}-\mathbf{D} ∇ 2 F b ( M ( x )) = P − D ; Appendix § 9 gives the calculation. The subscript 0 0 0 denotes an evaluation at x 0 x_0 x 0 . To bound coordinate changes in the light barriers, we use the convex window
N a ( x 0 ) = { x 0 + y ∈ [ − 1 , 1 ] s : ∥ y ∥ ∞ ≤ a , ∣ g i ( x 0 ) T y ∣ ≤ a , ∀ i ∈ L } . (9) \mathcal{N}_a(x_0)=\left\{x_0+y\in[-1,1]^s:\|y\|_\infty\le a,\ \left|g_i(x_0)^{\mathsf{T}}y\right|\le a,\ \forall i\in\mathcal{L}\right\}. \tag*{(9)} N a ( x 0 ) = { x 0 + y ∈ [ − 1 , 1 ] s : ∥ y ∥ ∞ ≤ a , g i ( x 0 ) T y ≤ a , ∀ i ∈ L } . (9)
The certificate below asks for P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] \mathbf{P}_0[h]\le(1-\rho)\mathbf{D}_0[h] P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] on a subspace, rather than only P 0 [ h ] ≤ D 0 [ h ] \mathbf{P}_0[h]\le\mathbf{D}_0[h] P 0 [ h ] ≤ D 0 [ h ] , which would already give concavity at x 0 x_0 x 0 . The margin ρ \rho ρ is the slack that absorbs the drift of P \mathbf{P} P and D \mathbf{D} D as the walk moves through the window, and it is what lets one computation at x 0 x_0 x 0 serve a whole batch.
Proposition 2.1 (A valid subspace throughout a batch). At an admissible anchor with the row invariants above and the stated load and resolvent bounds, there exists a subspace E ⊆ ker H E\subseteq\ker\mathbf{H} E ⊆ ker H with dim E ≥ ⌈ s / 32 ⌉ \dim E\ge\lceil s/32\rceil dim E ≥ ⌈ s /32 ⌉ and P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] \mathbf{P}_0[h]\le(1-\rho)\mathbf{D}_0[h] P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] for all h ∈ E h\in E h ∈ E . Here, one may choose any ⌈ s / 32 ⌉ \lceil s/32\rceil ⌈ s /32 ⌉ -dimensional nonpositive subspace of P 0 − ( 1 − ρ ) D 0 \mathbf{P}_0-(1-\rho)\mathbf{D}_0 P 0 − ( 1 − ρ ) D 0 restricted to ker H \ker\mathbf{H} ker H . For a universal c > 0 c>0 c > 0 , choose 0 < a ≤ c ρ / ( 1 + κ ) 0<a\le c\rho/(1+\kappa) 0 < a ≤ c ρ / ( 1 + κ ) . Then, throughout ( x 0 + E ) ∩ N a ( x 0 ) (x_0+E)\cap\mathcal{N}_a(x_0) ( x 0 + E ) ∩ N a ( x 0 ) , the batch matrix satisfies M ( x ) ≺ b I \mathbf{M}(x)\prec b\mathbf{I} M ( x ) ≺ b I , fixed weights majorize their true weights, light barriers are negative, and for all h ∈ E h\in E h ∈ E , we have that
P x [ h ] ≤ ( 1 − ρ / 2 ) D x [ h ] . \mathbf{P}_x[h]\le(1-\rho/2)\mathbf{D}_x[h]. P x [ h ] ≤ ( 1 − ρ /2 ) D x [ h ] . So, F b ( M ( x ) ) F_b(\mathbf{M}(x)) F b ( M ( x )) is concave on this set. If x x x , x + t h x+th x + t h , x − t h x-th x − t h belong to it, where h ∈ E h\in E h ∈ E and t ≥ 0 t\ge0 t ≥ 0 , then an independent fair sign σ \sigma σ satisfies E σ F b ( M ( x + σ t h ) ) ≤ F b ( M ( x ) ) \mathbb{E}_\sigma F_b(\mathbf{M}(x+\sigma th))\le F_b(\mathbf{M}(x)) E σ F b ( M ( x + σ t h )) ≤ F b ( M ( x )) , and the step size may depend on x x x and h h h before choosing σ \sigma σ .
We include the proof in Appendix § 9 .
Batched Spectral Signing
The algorithm chooses a subspace at each anchor. During the batch that follows, only the coloring and the completion sampler change; row representations, scales, and the anchor spectral matrices stay fixed. Set L = ⌈ log 2 ( 2 n ) ⌉ L=\lceil\log_2(2n)\rceil L = ⌈ log 2 ( 2 n )⌉ and ρ = 1 / 64 \rho=1/64 ρ = 1/64 . Choose the potential caps P = C P L 3 P=C_PL^3 P = C P L 3 and P = 2 ( P + 1 ) P=2(P+1) P = 2 ( P + 1 ) , and the retirement cutoff q ∗ = c ∗ L − 4 q_\ast=c_\ast L^{-4} q ∗ = c ∗ L − 4 . These give the load parameters Λ = 2 / q ∗ \Lambda=2/q_\ast Λ = 2/ q ∗ , Θ = 4096 P Λ \Theta=4096P\Lambda Θ = 4096 P Λ , and κ = max { 1 , 119 Λ Θ } \kappa=\max\{1,119\Lambda\Theta\} κ = max { 1 , 119ΛΘ } . The radius and step length satisfy a = c a ρ ( 1 + κ ) − 2 a=c_a\rho(1+\kappa)^{-2} a = c a ρ ( 1 + κ ) − 2 and a 2 21 L < τ ≤ a 2 20 L \frac{a}{2^{21}L}<\tau\le\frac{a}{2^{20}L} 2 21 L a < τ ≤ 2 20 L a . Choose a dyadic a a a within a factor two of this value and a power-of-two τ \tau τ in this interval. Choose C P , C B C_P,C_B C P , C B sufficiently large and c a , c ∗ c_a,c_\ast c a , c ∗ sufficiently small for the bounds below. Replacing the logarithm in the cutoff from § 2.1 by L L L makes it rational and changes only c ∗ c_\ast c ∗ . Epoch j j j starts with N j N_j N j active coordinates and uses the spectral barrier b j = 1 + 1 4 ∑ ℓ = 1 j ℓ − 2 ∈ [ 1 , 3 / 2 ) b_j=1+\frac14\sum_{\ell=1}^j\ell^{-2}\in[1,3/2) b j = 1 + 4 1 ∑ ℓ = 1 j ℓ − 2 ∈ [ 1 , 3/2 ) , ending when Algorithm 2 Batched spectral signing with exact verification
Require: Rational A ∈ Q m × n A \in\mathbb{Q}^{m \times n} A ∈ Q m × n with column norms at most 1.
Ensure: A signing ε ∈ { − 1 , 1 } n \varepsilon\in\{-1,1\}^{n} ε ∈ { − 1 , 1 } n with ∥ A ε ∥ ∞ < 99 \lVert A\varepsilon\rVert_{\infty} < 99 ∥ A ε ∥ ∞ < 99 .
Round A A A toward zero with ∥ A − A ‾ ∥ ∞ → ∞ ≤ 10 − 4 \lVert A-\overline{A}\rVert_{\infty\to\infty} \le10^{-4} ∥ A − A ∥ ∞ → ∞ ≤ 1 0 − 4 .
Discard rows of A ‾ \overline{A} A with ℓ 1 \ell_{1} ℓ 1 norm at most one.
if n < 64 n < 64 n < 64 or no rows remain then return any signing in { − 1 , 1 } n \{-1,1\}^{n} { − 1 , 1 } n .
loop Each iteration is an independent trial.
Initialize x = 0 x=0 x = 0 , V = [ n ] V=[n] V = [ n ] , and ( c i , b i ) = ( 0 , a ‾ i ) (c_i,b_i)=(0,\overline{a}_i) ( c i , b i ) = ( 0 , a i ) .
Initialize cached masses and coefficient trees, j = 0 j=0 j = 0 , N 0 = n N_0=n N 0 = n , and exposure count 0.
Apply Algorithm 1 and form M M M , including the large-row deposits.
while ∣ V ∣ ≥ 64 \lvert V\rvert\ge64 ∣ V ∣ ≥ 64 do
if ∣ V ∣ ≤ N j / 2 \lvert V\rvert\le N_j/2 ∣ V ∣ ≤ N j /2 then
Set j ← j + 1 j \leftarrow j+1 j ← j + 1 and N j ← ∣ V ∣ N_j \leftarrow\lvert V\rvert N j ← ∣ V ∣ , use barrier b j b_j b j , and reset the exposure count.
if the exposure count reaches its cap then restart trial .
Construct the anchor and sampler below, then run Algorithm 3.
Reset the fixed majorants, apply Alg 1, and remove fixed coordinates from the ambient matrices.
Form ε \varepsilon ε by nearest-sign rounding, with a fixed tie rule at zero, and evaluate A ‾ ε \overline{A}\varepsilon A ε exactly.
if ∥ A ‾ ε ∥ ∞ ≤ 98.99 \lVert\overline{A}\varepsilon\rVert_{\infty}\le98.99 ∥ A ε ∥ ∞ ≤ 98.99 then return ε \varepsilon ε .
at most N j / 2 N_j/2 N j /2 coordinates are active. Its exposure cap is T j = C T N j τ − 2 L T_j=C_TN_j\tau^{-2}L T j = C T N j τ − 2 L , and its anchor potential cap is N j P N_jP N j P . A trial also restarts on the finite-precision failures described in § 6 .
Every signing that Algorithm 2 returns therefore satisfies
∥ A ε ∥ ∞ ≤ ∥ A ‾ ε ∥ ∞ + 10 − 4 ≤ 98.9901 < 99. (10) \lVert A\varepsilon\rVert_{\infty}\le\lVert\overline{A}\varepsilon\rVert_{\infty}+10^{-4}\le98.9901<99. \tag*{(10)} ∥ A ε ∥ ∞ ≤ ∥ A ε ∥ ∞ + 1 0 − 4 ≤ 98.9901 < 99. (10)
Discarded rows obey the same bound with 1 in place of 98.99. § 3 proves that each capped trial succeeds with constant probability.
We now explain how to build an anchor. At an anchor x 0 x_0 x 0 , compute the row statistics, M M M , and its resolvent. Protect each signed row with u i ( x 0 ) ≥ − 1 u_i(x_0)\ge-1 u i ( x 0 ) ≥ − 1 , and mark a row heavy when its load t i = z i T v t_i=z_i^{T}v t i = z i T v is at least Θ / 2 \Theta/2 Θ/2 ; any rule under which heavy rows have load at least Θ / 2 \Theta/2 Θ/2 and the others at most Θ \Theta Θ would do. Form H H H from the large-row vectors and the gradients of protected or heavy rows, and fix these rows’ weights at their anchor values. Compute a subspace E E E of dimension k = ⌈ s / 32 ⌉ k=\lceil s/32\rceil k = ⌈ s /32 ⌉ as in Theorem 2.1, that is, a nonpositive subspace of P 0 − ( 1 − ρ ) D 0 P_0-(1-\rho)D_0 P 0 − ( 1 − ρ ) D 0 restricted to ker H \ker H ker H , and obtain its sampling basis Z Z Z by the small Gaussian perturbation of § 4 . Give the batch max { 1 , ⌊ k / ( C B L ) ⌋ } \max\{1,\lfloor k/(C_BL)\rfloor\} max { 1 , ⌊ k / ( C B L )⌋} constraint slots, with insertion count initially zero. For k ≤ C 0 L k\le C_0L k ≤ C 0 L , choose an orthonormal basis U E U_E U E of the batch span, sample h = U E g / ∥ g ∥ 2 h=U_Eg/\lVert g\rVert_2 h = U E g / ∥ g ∥ 2 with g ∼ N ( 0 , I k ) g\sim N(0,I_k) g ∼ N ( 0 , I k ) , and end the batch after one proposal. Otherwise form the hidden rows G Z GZ GZ and initialize the augmented inverse from (4.5). In § 6 , we explain how these steps can be carried out in finite precision.
Fixed coordinates are removed from the ambient matrices at the next anchor.
Analysis of the walk
The analysis must show three things: coordinates reach ± 1 \pm1 ± 1 within few steps, each batch stays in the region where its subspace is valid, and the potential stays bounded. This section treats the walk in exact arithmetic, assuming the anchor and sampler guarantees; numerical errors are handled in § 6 . We analyze a capped trial, stopping at the first invalid proposal and setting all later increments to zero.
Algorithm 3 One batch of coloring moves
Require: The current coloring, epoch counters, and the anchor and sampler.
Ensure: An updated coloring and epoch counters, or trial failure.
1: loop
2: Obtain unit $h$ by isotropic sampling in the batch span or {xref}`(4.2)`, together with $c = \mathbf{Z}^{\mathsf{T}}h$.
3: Quantize $(h,c)$ independently to $(\bar{h},\bar{c})$; set $\hat{h}=3\bar{h}/4$ and mask fixed coordinates.
4: Set $t \leftarrow \min\left\{\tau,\min_{j\ \mathrm{active},\ \hat{h}_{j}\ne 0}(1-|x_j|)/|\hat{h}_j|\right\}$, draw a fresh fair sign $\sigma$, and move to $x+\sigma t\hat{h}$.
5: Round the new point to the nearest dyadic point, preserving attained values $\pm1$.
6: Update $x$, record newly fixed coordinates $J$, set $V\leftarrow V\setminus J$, and increment the exposure count.
7: Abort if the exposure cap is reached before the epoch ends.
8: **return** if the epoch ends, $|V|<64$, sampling is explicit, or fewer than $1+|J|$ insertion slots remain.
9: **for** the self-normal $\bar{c}^{\mathsf{T}}$, then each $Z_{j,:}$ with $j\in J$ in increasing order **do**
10: Refresh the reference row, replace the next hidden row, and increment the insertion count.
11: **return** if no insertion slots remain.
Throughout, the endpoint sign of a step is drawn independently, after its direction and clipping length have been exposed. This order is essential. Midpoint concavity and every martingale bound below require the sign to be independent of the step it signs. The clipping length treats both endpoints symmetrically, so it can be computed before the sign is known.
Theorem 2.1 gives a subspace whose concavity persists throughout the batch window. We now bound the number of steps and show that the walk stays in this window.
Progress and batch counts
A symmetric move increases the expected squared distance from the origin, and when clipping shortens a move, at least one endpoint fixes a coordinate. Together, these two facts bound the number of queries.
Lemma 3.1 (Progress with clipped symmetric steps). Start with at most N N N active coordinates. Use directions in E E E with norm in [ 1 / 3 , 1 ] [1/3,1] [ 1/3 , 1 ] that vanish on fixed coordinates, and independent fair endpoint signs. Stop at epoch completion or failure. Then, we have that
E ∑ t t t 2 ∥ h t ∥ 2 ≤ N , (11) \mathbb{E}\sum_t t_t^2\lVert h_t\rVert^2 \le N, \tag*{(11)} E t ∑ t t 2 ∥ h t ∥ 2 ≤ N , (11) E # { t : t t = τ } ≤ 9 N τ − 2 , (12) \mathbb{E}\#\{t:t_t=\tau\}\le9N\tau^{-2}, \tag*{(12)} E # { t : t t = τ } ≤ 9 N τ − 2 , (12) E # { t : t t < τ } ≤ 2 N . (13) \mathbb{E}\#\{t:t_t<\tau\}\le2N. \tag*{(13)} E # { t : t t < τ } ≤ 2 N . (13) For an absolute C T C_T C T , the probability that the epoch needs more than C T N τ − 2 L C_TN\tau^{-2}L C T N τ − 2 L queries is at most n − 10 n^{-10} n − 10 .
Proof. Count all initial coordinates, including those fixed later. Conditional on the history and exposed direction, the expected energy is 1 2 ∥ x + t h ∥ 2 + 1 2 ∥ x − t h ∥ 2 = ∥ x ∥ 2 + t 2 ∥ h ∥ 2 \frac{1}{2}\lVert x+th\rVert^2+\frac{1}{2}\lVert x-th\rVert^2=\lVert x\rVert^2+t^2\lVert h\rVert^2 2 1 ∥ x + t h ∥ 2 + 2 1 ∥ x − t h ∥ 2 = ∥ x ∥ 2 + t 2 ∥ h ∥ 2 , which lies in [ 0 , N ] [0,N] [ 0 , N ] . We sum the stopped identity over a bounded number of steps and apply monotone convergence for (11) . Full steps contribute at least τ 2 / 9 \tau^2/9 τ 2 /9 , giving (12) . A short step has a clipping minimizer that at least one endpoint fixes. Let J t J_t J t indicate a short step and Z t Z_t Z t count newly fixed coordinates. Then E [ Z t ∣ F t , h t ] ≥ J t / 2 \mathbb{E}[Z_t\mid\mathcal{F}_t,h_t]\ge J_t/2 E [ Z t ∣ F t , h t ] ≥ J t /2 and ∑ t Z t ≤ N \sum_t Z_t\le N ∑ t Z t ≤ N , so 1 2 E ∑ t J t ≤ E ∑ t Z t ≤ N \frac{1}{2}\mathbb{E}\sum_t J_t\le\mathbb{E}\sum_t Z_t\le N 2 1 E ∑ t J t ≤ E ∑ t Z t ≤ N , proving (3.3)} for any clipped step length. From any later history, this also bounds expected remaining queries by 11 N τ − 2 11N\tau^{-2} 11 N τ − 2 . For D = ⌈ 22 N τ − 2 ⌉ D=\lceil22N\tau^{-2}\rceil D = ⌈ 22 N τ − 2 ⌉ and query count T T T , conditional Markov bounds give Pr [ T > ( r + 1 ) D ∣ T > r D ] ≤ 1 / 2 \Pr[T>(r+1)D\mid T>rD]\le1/2 Pr [ T > ( r + 1 ) D ∣ T > r D ] ≤ 1/2 and Pr [ T > r D ] ≤ 2 − r \Pr[T>rD]\le2^{-r} Pr [ T > r D ] ≤ 2 − r . Take r = ⌈ 20 L ⌉ r=\lceil20L\rceil r = ⌈ 20 L ⌉ and increase C T C_T C T for the progress lemma. ◼
Starting dimensions decrease geometrically, so the capped trial uses O ( n τ − 2 L ) = n log O ( 1 ) n O(n\tau^{-2}L)=n\log^{O(1)}n O ( n τ − 2 L ) = n log O ( 1 ) n direction queries. In an epoch of initial size N N N , T T T exposures use at most T + N T+N T + N slots: one self-normal per exposure and at most N N N coordinate normals. Ordinary batches consume Ω ( N / L ) \Omega(N/L) Ω ( N / L ) slots. If a coordinate group would exceed the remaining slots, charge that batch’s termination to the group. Therefore
# { batches in the epoch } ≤ C ( 1 + L ( T + N ) N ) ≤ C ( 1 + L + C T τ − 2 L 2 ) = log O ( 1 ) n . (14) \#\{\text{batches in the epoch}\}\le C\left(1+\frac{L(T+N)}{N}\right)\le C\left(1+L+C_T\tau^{-2}L^2\right)=\log^{O(1)}n. \tag*{(14)} # { batches in the epoch } ≤ C ( 1 + N L ( T + N ) ) ≤ C ( 1 + L + C T τ − 2 L 2 ) = log O ( 1 ) n . (14)
For explicit one-direction batches, k = O ( L ) k=O(L) k = O ( L ) and s t ≥ N / 2 s_t\ge N/2 s t ≥ N /2 imply N = O ( L ) N=O(L) N = O ( L ) , so their count is at most T ≤ C T N τ − 2 L = O ( τ − 2 L 2 ) T\le C_TN\tau^{-2}L=O(\tau^{-2}L^2) T ≤ C T N τ − 2 L = O ( τ − 2 L 2 ) . Thus each capped epoch has O ( τ − 2 L 2 ) O(\tau^{-2}L^2) O ( τ − 2 L 2 ) batches. There are at most 1 + ⌈ log 2 n ⌉ 1+\lceil\log_2 n\rceil 1 + ⌈ log 2 n ⌉ epochs, giving B t o t ≤ C τ − 2 L 3 B_{\mathrm{tot}}\le C\tau^{-2}L^3 B tot ≤ C τ − 2 L 3 batches per capped trial.
Concentration and final discrepancy
Self-constraints make successive directions nearly orthogonal within a batch. If H b = [ h 1 ⋯ h b ] \mathbf{H}_b=[h_1\ \cdots\ h_b] H b = [ h 1 ⋯ h b ] , their Gram bound ∥ H b T H b ∥ o p ≤ 2 \|\mathbf{H}_b^{\mathsf T}\mathbf{H}_b\|_{\mathrm{op}}\le2 ∥ H b T H b ∥ op ≤ 2 controls every coordinate and barrier gradient at once (see (C.1)). Adding each direction as a constraint is what yields this bound, and it is a single operator-norm bound covering all functionals at once, so the same estimate handles coordinates, barrier gradients, and retired rows, which the algorithm never examines. Concavity then makes the spectral potential a supermartingale, and the small norm of a retired row limits its later fluctuation even across many batches. The inner window is ( x 0 + E ) ∩ N a / 4 ( x 0 ) (x_0+E)\cap\mathcal{N}_{a/4}(x_0) ( x 0 + E ) ∩ N a /4 ( x 0 ) ; the step length keeps both proposed endpoints in the outer window.
Proposition 3.2 (Trial guarantees). The following hold jointly for the stopped capped walk with probability at least 1 − 1 / 100 − n − 8 − n − 6 1-1/100-n^{-8}-n^{-6} 1 − 1/100 − n − 8 − n − 6 : every batch stays in its inner trust window. In epochs of initial size N N N , every query state satisfies F b j ( M t ) ≤ N P F_{b_j}(\mathbf{M}_t)\le NP F b j ( M t ) ≤ N P and 1 T ( b j I − M t ) − 1 1 ≤ P s t \mathbf{1}^{\mathsf T}(b_j\mathbf{I}-\mathbf{M}_t)^{-1}\mathbf{1}\le P s_t 1 T ( b j I − M t ) − 1 1 ≤ P s t , where s t s_t s t is the active dimension before the query. The first bound also holds at the terminal endpoint before row updates. Every row’s error after retirement is at most 1 / 100 1/100 1/100 , including nearest-sign rounding of the last fewer than 64 coordinates.
Appendix § 10 proves the proposition. The window bound uses the batch Gram inequality and independent endpoint signs. In a valid window the potential is concave, and row updates and epoch barrier increases cannot increase it, so Doob’s inequality controls every epoch. For a retired row, the squared projections sum to O ( q ∗ L 3 ) O(q_*L^3) O ( q ∗ L 3 ) over the capped trial, so sufficiently small c ∗ c_* c ∗ proves the error bound. Proposition A.1 combines these guarantees with the barrier invariant to bound the final discrepancy. § 6 adds numerical error and assembles the constant probability of passing exact verification.
Adaptive completion sampling
The walk needs directions that vanish on newly fixed coordinates and are almost orthogonal to earlier directions, so that cumulative motion remains controlled. Recomputing a feasible basis after every step would be costly. Instead, we impose each new constraint by replacing one row of a Gaussian completion matrix and obtain the next direction from an inverse column. Within each batch, fix Z ∈ R s × k Z\in\mathbb{R}^{s\times k} Z ∈ R s × k satisfying k ≥ c 0 s k\ge c_0s k ≥ c 0 s and
1 2 ≤ σ min ( Z ) ≤ σ max ( Z ) ≤ 2. (15) \frac{1}{2}\le\sigma_{\min}(Z)\le\sigma_{\max}(Z)\le2. \tag*{(15)} 2 1 ≤ σ m i n ( Z ) ≤ σ m a x ( Z ) ≤ 2. (15)
We sample in E = range ( Z ) E=\operatorname{range}(Z) E = range ( Z ) through coefficient coordinates. Each exposed direction is added back as a constraint, which we call a self-constraint , alongside the constraints for newly fixed coordinates.
Form the first k − 1 k-1 k − 1 rows of Q ∈ R k × k \mathbf{Q} \in\mathbb{R}^{k \times k} Q ∈ R k × k as g i T Z g_i^{\mathsf{T}}\mathbf{Z} g i T Z for independent g i ∼ N ( 0 , I s ) g_i \sim N(0,I_s) g i ∼ N ( 0 , I s ) in one matrix product. Its last, reference row is an independent r ∼ N ( 0 , I k ) r \sim N(0,I_k) r ∼ N ( 0 , I k ) , refreshed with O ( k ) O(k) O ( k ) scalar samples. Replace Gaussian rows in fixed order, calling the survivors hidden . For invertible Q \mathbf{Q} Q , y = Q − 1 e k y=\mathbf{Q}^{-1}e_k y = Q − 1 e k annihilates its first k − 1 k-1 k − 1 rows. The reference row orients and scales z = Z y z=\mathbf{Z}y z = Z y on their null line. With w = Z T z w=\mathbf{Z}^{\mathsf{T}}z w = Z T z , we normalize by
h = z ∥ z ∥ 2 , c = w ∥ z ∥ 2 = Z T h . (16) h=\frac{z}{\lVert z\rVert_2}, \qquad c=\frac{w}{\lVert z\rVert_2}=\mathbf{Z}^{\mathsf{T}}h. \tag*{(16)} h = ∥ z ∥ 2 z , c = ∥ z ∥ 2 w = Z T h . (16)
In exact arithmetic one may take h ˉ = h \bar{h}=h h ˉ = h and c ˉ = c \bar{c}=c c ˉ = c . In finite precision, the dyadic rounder of § 6 uses independent dithers to produce h ˉ = Q ( h ) \bar{h}=\mathcal{Q}(h) h ˉ = Q ( h ) and c ˉ = Q ( c ) \bar{c}=\mathcal{Q}(c) c ˉ = Q ( c ) with ∥ h ˉ − h ∥ 2 ≤ ϵ s \lVert\bar{h}-h\rVert_2\leq\epsilon_s ∥ h ˉ − h ∥ 2 ≤ ϵ s and ∥ c ˉ − Z T h ∥ 2 ≤ ϵ s \lVert\bar{c}-\mathbf{Z}^{\mathsf{T}}h\rVert_2\leq\epsilon_s ∥ c ˉ − Z T h ∥ 2 ≤ ϵ s . The self-constraint c ˉ T y ′ = 0 \bar{c}^{\mathsf{T}}y'=0 c ˉ T y ′ = 0 has physical normal n = Z ( Z T Z ) − 1 c ˉ ∈ E n=\mathbf{Z}(\mathbf{Z}^{\mathsf{T}}\mathbf{Z})^{-1}\bar{c}\in E n = Z ( Z T Z ) − 1 c ˉ ∈ E , satisfying ∥ n − h ∥ 2 ≤ 2 ϵ s \lVert n-h\rVert_2\leq2\epsilon_s ∥ n − h ∥ 2 ≤ 2 ϵ s . Following Algorithm 3’s insertion order and capacity check, each real insertion independently refreshes the reference row and replaces the next hidden row. Let F ⊆ E F\subseteq E F ⊆ E be the common kernel of the real constraint normals, and write F \mathcal{F} F for the exposed history. This history contains directions, quantized outputs, walk decisions, and real constraints. It excludes hidden rows, raw reference rows, unnormalized outputs ( y , z , w ) (y,z,w) ( y , z , w ) , and other inverse entries used internally. Stop before the first dependent real insertion, as determined by this history. Each earlier insertion removes one hidden row and one feasible dimension, leaving dim F − 1 \dim F-1 dim F − 1 hidden rows. If 2 ϵ s < 1 2\epsilon_s<1 2 ϵ s < 1 , a self-normal cannot cause the first dependence: h h h lies in the current feasible space F F F , previous real normals are orthogonal to h h h , and ⟨ n , h ⟩ ≥ 1 − 2 ϵ s > 0 \langle n,h\rangle\geq1-2\epsilon_s>0 ⟨ n , h ⟩ ≥ 1 − 2 ϵ s > 0 . So only a coordinate insertion can cause the stop.
Perturb the anchor basis Z 0 \mathbf{Z}_0 Z 0 , whose singular values lie in [ 3 / 4 , 5 / 4 ] [3/4,5/4] [ 3/4 , 5/4 ] , using η = n − C η \eta=n^{-C_\eta} η = n − C η :
Z = Z 0 + η G + E r o u n d , G i j ∼ i i d N ( 0 , 1 ) , ∥ E r o u n d ∥ o p ≤ η k 32 . (17) \mathbf{Z}=\mathbf{Z}_0+\eta\mathbf{G}+\mathbf{E}_{\mathrm{round}}, \qquad G_{ij}\mathrel{\overset{\mathrm{iid}}{\sim}}N(0,1), \qquad\lVert\mathbf{E}_{\mathrm{round}}\rVert_{\mathrm{op}}\leq\eta\frac{\sqrt{k}}{32}. \tag*{(17)} Z = Z 0 + η G + E round , G ij ∼ iid N ( 0 , 1 ) , ∥ E round ∥ op ≤ η 32 k . (17)
Set C η C_\eta C η within the anchor’s allowed error, condition on Z \mathbf{Z} Z , and draw an independent hidden completion. For large constants C b , C k C_b,C_k C b , C k , set b = ⌊ k / ( C b log ( 2 n ) ) ⌋ b=\lfloor k/(C_b\log(2n))\rfloor b = ⌊ k / ( C b log ( 2 n ))⌋ . Choose C B , C 0 C_B,C_0 C B , C 0 so that C B L ≥ C b log ( 2 n ) C_BL\geq C_b\log(2n) C B L ≥ C b log ( 2 n ) and C 0 L ≥ C k log ( 2 n ) C_0L\geq C_k\log(2n) C 0 L ≥ C k log ( 2 n ) , with C 0 ≥ C B C_0\geq C_B C 0 ≥ C B . Every nonexplicit batch then inserts at most b b b constraints. This cap comes from the sampler, not from the trust window: the window argument uses only the Gram bound, which depends on the batch length only through b ϵ s b\epsilon_s b ϵ s , a negligible quantity because ϵ s \epsilon_s ϵ s is inverse polynomial. The sampler needs the feasible dimension to stay at least k / 2 k/2 k /2 , so that directions remain nearly isotropic, and its union bounds over sets of coordinates need b b b to be smaller than k k k by a logarithmic factor.
Theorem 4.1 (Completion-sampler guarantees). Fix A > 0 A>0 A > 0 and a polynomial upper bound on sampler operations in a trial. Choose the preceding constants sufficiently large and set ϵ s = n − C s \epsilon_s=n^{-C_s} ϵ s = n − C s with sufficiently large C s C_s C s . For a basis satisfying (15) , every query of the stopped process, with d = dim F d=\dim F d = dim F , satisfies for predictable v v v
E [ exp ( d ⟨ v , h ⟩ 2 16 ∥ v ∥ 2 2 ) | F ] ≤ 2 , E [ h h T ∣ F ] ⪯ 2 d P F . (18) \mathbb{E}\left[\exp\left(\frac{d\langle v,h\rangle^2}{16\lVert v\rVert_2^2}\right)\middle|\mathcal{F}\right]\leq2,\qquad\mathbb{E}[hh^{\mathsf{T}}\mid\mathcal{F}]\preceq\frac{2}{d}\mathbf{P}_F. \tag*{(18)} E [ exp ( 16 ∥ v ∥ 2 2 d ⟨ v , h ⟩ 2 ) F ] ≤ 2 , E [ h h T ∣ F ] ⪯ d 2 P F . (18) where P F \mathbf{P}_F P F is the orthogonal projection onto F F F and the first bound is trivial for v = 0 v=0 v = 0 . With probability at least 1 − n − A 1-n^{-A} 1 − n − A over the smoothed basis and sampler randomness, the basis satisfies (15) , no real insertion is dependent, and every query matrix and every intermediate matrix after a reference refresh or real insertion satisfies ∥ Q ∥ F + ∥ Q − 1 ∥ F ≤ n C Q \lVert\mathbf{Q}\rVert_F+\lVert\mathbf{Q}^{-1}\rVert_F\leq n^{C_Q} ∥ Q ∥ F + ∥ Q − 1 ∥ F ≤ n C Q for a fixed constant C Q C_Q C Q . The conditional estimates use only the exposed history, without conditioning on this high-probability event.
Proof idea. Exposing directions destroys Gaussian independence, but preserves a rotationally invariant law after a well-conditioned change of coordinates. Small self-normal errors change this conditioning only quadratically. Smoothing separates coordinate constraints from self-normals, and the remaining hidden rows have a quadratic singular-value lower tail. These bounds give a polynomially bounded right inverse for the first k − 1 k-1 k − 1 rows. The independent reference row resolves their null line by a Gaussian small-ball bound. Appendix D gives the proof.
In the explicit branch, use the isotropic direction specified in § 2 . Orthonormalization and one query cost O ~ ( s ω ) \widetilde{O}(s^\omega) O ( s ω ) , which is polylogarithmic because k ≤ C 0 L k \le C_0L k ≤ C 0 L and k ≥ c 0 s k \ge c_0s k ≥ c 0 s . Return z z z and w w w without extra dense matrix-vector products by stacking B = ( Z Z T Z ) B = \begin{pmatrix} Z \\ Z^{\mathsf T}Z \end{pmatrix} B = ( Z Z T Z ) . Let A ( Q ) \mathcal{A}(Q) A ( Q ) be the block lower-triangular matrix with diagonal blocks Q Q Q and I s + k I_{s+k} I s + k and lower-left block − B -B − B . Its inverse gives all three outputs in one column:
A ( Q ) − 1 = ( Q − 1 0 B Q − 1 I s + k ) , A ( Q ) − 1 ( e k 0 ) = ( y z w ) T . (19) \mathcal{A}(Q)^{-1} =
\begin{pmatrix}
Q^{-1} & 0 \\
BQ^{-1} & I_{s+k}
\end{pmatrix},
\qquad
\mathcal{A}(Q)^{-1}
\begin{pmatrix}
e_k \\
0
\end{pmatrix}
=
\begin{pmatrix}
y & z & w
\end{pmatrix}^{\mathsf T}. \tag*{(19)} A ( Q ) − 1 = ( Q − 1 B Q − 1 0 I s + k ) , A ( Q ) − 1 ( e k 0 ) = ( y z w ) T . (19)
Its dimension is s + 2 k = O ( s ) s+2k=O(s) s + 2 k = O ( s ) and its norms remain polynomial because ∥ B ∥ op = O ( 1 ) \lVert B\rVert_{\operatorname{op}}=O(1) ∥ B ∥ op = O ( 1 ) . § 5 maintains this augmentation and includes its construction and all sampler operations in the run time.
Dynamic matrix formula maintenance and running time
Transpose (19) to turn row replacements into column updates and inverse-column requests into full-row queries [32 ] , returning y y y , z z z , w w w together. Because constraint slots are filled in a predetermined order, the data structure has weak index lookahead [33 ] . The finite-precision theorem of [3 ] assumes an offline index sequence, so Appendix E extends its additive Woodbury error analysis to these candidate sets. Given ∥ Q ∥ F \lVert Q\rVert_F ∥ Q ∥ F , ∥ Q − 1 ∥ F ≤ K \lVert Q^{-1}\rVert_F \le K ∥ Q − 1 ∥ F ≤ K and ∥ B ∥ F ≤ K C \lVert B\rVert_F \le K C ∥ B ∥ F ≤ K C , the block identities give
∥ A ( Q ) ∥ F 2 = ∥ Q ∥ F 2 + ∥ B ∥ F 2 + s + k ≤ K 2 + K 2 C + s + k , ∥ A ( Q ) − 1 ∥ F 2 ≤ K 2 + K 2 C K 2 + s + k . \lVert\mathcal{A}(Q)\rVert_F^2=\lVert Q\rVert_F^2+\lVert B\rVert_F^2+s+k\le K^2+K^2C+s+k,\qquad\lVert\mathcal{A}(Q)^{-1}\rVert_F^2\le K^2+K^2CK^2+s+k. ∥ A ( Q ) ∥ F 2 = ∥ Q ∥ F 2 + ∥ B ∥ F 2 + s + k ≤ K 2 + K 2 C + s + k , ∥ A ( Q ) − 1 ∥ F 2 ≤ K 2 + K 2 C K 2 + s + k .
The near-isometry of Z Z Z gives K C = O ( s ) K_C=O(\sqrt{s}) K C = O ( s ) .
Each operation replaces a row or requests an inverse column, and it touches only the reference slot k k k or the next constraint slot p t p_t p t . Since p t p_t p t increases by at most one per operation, the next q q q operations use I ( t , q ) = { k } ∪ ( { p t , p t + 1 , … , p t + q } ∩ [ k ] ) I(t,q)=\{k\}\cup(\{p_t,p_t+1,\ldots,p_t+q\}\cap[k]) I ( t , q ) = { k } ∪ ({ p t , p t + 1 , … , p t + q } ∩ [ k ]) , which has at most q + 2 q+2 q + 2 indices. For t ≤ t ′ t\le t' t ≤ t ′ and t ′ + q ′ ≤ t + q t'+q'\le t+q t ′ + q ′ ≤ t + q , p t ≤ p t ′ ≤ p t + ( t ′ − t ) p_t\le p_{t'}\le p_t+(t'-t) p t ≤ p t ′ ≤ p t + ( t ′ − t ) and p t ′ + q ′ ≤ p t + q p_{t'}+q'\le p_t+q p t ′ + q ′ ≤ p t + q , so I ( t ′ , q ′ ) ⊆ I ( t , q ) I(t',q')\subseteq I(t,q) I ( t ′ , q ′ ) ⊆ I ( t , q ) . Fixing several coordinates uses separate operations, meeting the condition of [33 Def 6.3 and Thm 6.8] .
Theorem 5.1 (Augmented inverse maintenance). Fix Z ∈ R s × k Z\in\mathbb{R}^{s\times k} Z ∈ R s × k with k ≤ s k\le s k ≤ s , and assume update and query indices have nested candidate sets of size O ( q ) O(q) O ( q ) , available at the start of each horizon q q q . Suppose throughout the T T T operations that ∥ Q t ∥ F , ∥ Q t − 1 ∥ F ≤ K \lVert Q_t\rVert_F,\lVert Q_t^{-1}\rVert_F\le K ∥ Q t ∥ F , ∥ Q t − 1 ∥ F ≤ K and ∥ B ∥ F ≤ K C \lVert B\rVert_F\le K_C ∥ B ∥ F ≤ K C . For ϵ ∈ ( 0 , 1 ] \epsilon\in(0,1] ϵ ∈ ( 0 , 1 ] , a data structure returns the three unnormalized vectors in (19) with entrywise error at most ϵ \epsilon ϵ in
O ~ ( ( s ω + T s ω − 1 ) log s ( 1 + K ) ( 1 + K C ) ϵ ) (20) \widetilde{O}\left((s^\omega+Ts^{\omega-1})\log\frac{s(1+K)(1+K_C)}{\epsilon}\right) \tag*{(20)} O ( ( s ω + T s ω − 1 ) log ϵ s ( 1 + K ) ( 1 + K C ) ) (20) bit operations. With exact arithmetic the data structure uses O ~ ( s ω + T s ω − 1 ) \widetilde{O}(s^\omega+Ts^{\omega-1}) O ( s ω + T s ω − 1 ) arithmetic operations.
Appendix E proves the theorem using a hierarchy of candidate inverse rows and additive backward-error control. Theorem 4.1 proves the norm hypothesis even between a reference refresh and the following insertion, with adaptive row values.
Running time. Each exposure or insertion uses O ( 1 ) O(1) O ( 1 ) dynamic operations and O ( s ) O(s) O ( s ) scalar work in Algorithm 3. By § 2.1 , there are at most s / q ∗ s/q_* s / q ∗ live rows, since q i > q ∗ q_i > q_* q i > q ∗ and ∑ i q i ≤ s \sum_i q_i \le s ∑ i q i ≤ s . Including both signs gives O ~ ( s ) \widetilde{O}(s) O ( s ) signed rows since q ∗ − 1 = polylog n q_*^{-1} = \operatorname{polylog} n q ∗ − 1 = polylog n . We maintain incidence lists and permanent contributions, and update each mass q i q_i q i by subtracting the squared coefficient whenever an entry is removed. At trial initialization, we build a segment tree on each row’s list of nonzero entries in its fixed deletion order. Each node stores the largest surviving squared coefficient in its interval. Descending through intervals whose maximum exceeds q i / 64 q_i/64 q i /64 finds the first eligible entry in O ( log ( 2 n ) ) O(\log(2n)) O ( log ( 2 n )) work, deletion updates the tree in the same time. We remove fixed coordinates at batch boundaries, since their constraints force zero increments until then. Each input incidence leaves its list once, through fixing, coefficient deletion, or retirement. The trees take linear incidence work to build once per trial, and processing all removals therefore costs O ~ ( nnz ( A ˉ ) ) \widetilde{O}(\operatorname{nnz}(\bar{A})) O ( nnz ( A ˉ )) arithmetic operations.
Theorem 3.2 and final verification handle retired rows. We reconstruct live values, gradients, and weights at the next anchor in O ( s 2 / q ∗ ) = O ~ ( s 2 ) O(s^2/q_*) = \widetilde{O}(s^2) O ( s 2 / q ∗ ) = O ( s 2 ) work. The light-row contribution to M \mathbf{M} M and fixed-row majorants are weighted Gram products. In (8) , U \mathbf{U} U is another weighted Gram product, C \mathbf{C} C is a mixed product, and D \mathbf{D} D is a diagonal row sum. Each product has O ( s / q ∗ ) O(s/q_*) O ( s / q ∗ ) summands, so dividing it into blocks of s s s costs O ( q ∗ − 1 s ω ) = O ~ ( s ω ) O(q_*^{-1}s^\omega) = \widetilde{O}(s^\omega) O ( q ∗ − 1 s ω ) = O ( s ω ) . Forming P \mathbf{P} P , inverting the spectral matrix, extracting the curvature subspace, and initializing the augmented sampler have the same cost. Polynomial norm bounds add only logarithmic factors in finite precision. Within a batch, weight changes can amount to a rank-s s s update of M \mathbf{M} M ; Theorem 2.1 lets us defer it to the next anchor, while the completion matrix changes only by rank-one row replacements.
For an epoch starting with N N N active coordinates, queries have N / 2 ≤ s ≤ N N/2 \le s \le N N /2 ≤ s ≤ N and polynomial norm bounds on the sampler’s good event. Equation (14) gives B N = polylog n B_N = \operatorname{polylog} n B N = polylog n anchors. The exposure and slot counts of § 3.1 give T N = O ~ ( N ) T_N = \widetilde{O}(N) T N = O ( N ) dynamic operations, including reference refreshes, constraint insertions, and direction requests. Hence
epoch work ≤ O ~ ( B N N ω + T N N ω − 1 + N T N + B N N 2 ) = O ~ ( N ω ) . (21) \text{epoch work} \le\widetilde{O}\left(B_N N^\omega+ T_N N^{\omega-1} + NT_N + B_N N^2\right) = \widetilde{O}(N^\omega). \tag*{(21)} epoch work ≤ O ( B N N ω + T N N ω − 1 + N T N + B N N 2 ) = O ( N ω ) . (21)
The epoch sizes satisfy N j ≤ n / 2 j N_j \le n/2^j N j ≤ n / 2 j , so the total is ∑ j ≥ 0 O ~ ( N j ω ) ≤ O ~ ( n ω ∑ j ≥ 0 2 − j ω ) = O ~ ( n ω ) \sum_{j\ge0}\widetilde{O}(N_j^\omega) \le\widetilde{O}\left(n^\omega\sum_{j\ge0}2^{-j\omega}\right) = \widetilde{O}(n^\omega) ∑ j ≥ 0 O ( N j ω ) ≤ O ( n ω ∑ j ≥ 0 2 − j ω ) = O ( n ω ) . Incidence updates and verification cost O ~ ( L i n + m n ) \widetilde{O}(L_{\mathrm{in}} + mn) O ( L in + mn ) , with m n = O ( L i n ) mn = O(L_{\mathrm{in}}) mn = O ( L in ) for dense encoding. For sparse encoding, they cost its nonzero encoding length, plus O ( n ) O(n) O ( n ) to write the output.
Finite-bit Implementation and Stability
This section implements the algorithm with numbers of polylogarithmically many bits. Similarly to [2 ] , we focus on the analysis of a randomized discrepancy algorithm under approximate arithmetic; however, our techniques here are far simpler as we are not concerned with a distributional guarantee such as subgaussianity [8 HSSZ24] , and can appeal to a coupling with an ideal run of the algorithm.
Two tools do most of the work for this. First, the anchor subspace is computed from a penalty matrix by an approximate eigendecomposition that needs no spectral gap (Theorem F.1). Second, every stored output is rounded with an independent random dither. This couples the finite algorithm to an idealized reference process that uses exact Gaussians: with high probability the two store exactly the same outputs, so the success probabilities proved for the reference carry over.
Fix exponents C T , C V C_T, C_V C T , C V such that T ∗ = n L C T T_* = n^{L C_T} T ∗ = n L C T bounds the number of exposures, row replacements, and inverse-column requests in a trial, and V = n L C V V = n^{L C_V} V = n L C V bounds 1 T R 1 \mathbf{1}^{\mathsf{T}}\mathbf{R}\mathbf{1} 1 T R1 . Scalar Gaussian draws and output coordinates have separate polynomial bounds. We first round each input entry toward zero on a dyadic grid of spacing Δ i n ≤ δ i n / n \Delta_{\mathrm{in}} \le\delta_{\mathrm{in}}/n Δ in ≤ δ in / n , where δ i n = 10 − 4 \delta_{\mathrm{in}} = 10^{-4} δ in = 1 0 − 4 , obtaining A ˉ \bar{A} A ˉ . Column normalization persists, since ∑ i a ˉ i j 2 ≤ ∑ i a i j 2 ≤ 1 \sum_i \bar{a}_{ij}^{2} \le\sum_i a_{ij}^{2} \le1 ∑ i a ˉ ij 2 ≤ ∑ i a ij 2 ≤ 1 , and every signing satisfies
∣ ( ( A − A ˉ ) ε ) i ∣ ≤ ∑ j = 1 n ∣ a i j − a ˉ i j ∣ ≤ n Δ i n ≤ δ i n . (22) \left|((A-\bar{A})\varepsilon)_i\right| \le\sum_{j=1}^{n}|a_{ij}-\bar{a}_{ij}| \le n\Delta_{\mathrm{in}} \le\delta_{\mathrm{in}}. \tag*{(22)} (( A − A ˉ ) ε ) i ≤ j = 1 ∑ n ∣ a ij − a ˉ ij ∣ ≤ n Δ in ≤ δ in . (22)
This reduction costs O ~ ( L i n ) \widetilde{O}(L_{\mathrm{in}}) O ( L in ) and leaves O ( log ( 2 n ) ) O(\log(2n)) O ( log ( 2 n )) bits per entry; the row reduction of § 2.1 is applied afterward. Appendix § 13 .§ 1 bounds the errors in assembling the anchor matrices and in smoothing the basis.
Proposition 6.1 (Finite implementation). Let the continuous-Gaussian reference make at most N o u t ≤ n C o N_{\mathrm{out}} \le n^{C_o} N out ≤ n C o scalar output roundings and stop only on conditions measurable in its exposed history. Let G G G be a reference event on which all Gaussian magnitudes are polynomially bounded and ∥ Q t ∥ F + ∥ Q t − 1 ∥ F ≤ n C Q \lVert Q_t\rVert_F + \lVert Q_t^{-1}\rVert_F \le n^{C_Q} ∥ Q t ∥ F + ∥ Q t − 1 ∥ F ≤ n C Q at every query and intermediate state, with constant slack in any finite numerical guard. In explicit batches, also require ∥ g ∥ 2 ≥ n − C g \lVert g\rVert_2 \ge n^{-C_g} ∥ g ∥ 2 ≥ n − C g for a fixed C g C_g C g .
(i) For any fixed C f > 0 C_f > 0 C f > 0 , inverse-polynomial tolerances couple the two processes with the same dyadic anchor bases and output rules. On G G G , all stored constraint rows and directions agree outside an event of unconditional probability at most n − C f n^{-C_f} n − C f .
(ii) Local errors at most ϵ \epsilon ϵ cause additional potential drift and deterministic discrepancy error at most T ∗ ϵ poly ( n , V , q ∗ − 1 , ρ − 1 ) T_*\epsilon\operatorname{poly}(n,V,q_*^{-1},\rho^{-1}) T ∗ ϵ poly ( n , V , q ∗ − 1 , ρ − 1 ) . The reference batch concentration bounds persist after changing absolute constants, and (i) transfers their success probabilities to the finite algorithm. Conditional estimates concern the reference’s original exposed history, without conditioning on G G G . Each direction and clipping length is exposed before drawing the independent fair endpoint sign, and each dither is independent of its scalar conditional on the preceding transcript.
Independent dithers make identical stored outputs likely even when queries are approximate. Agreement keeps errors local: an error in one output is not fed into later adaptive constraints. Appendix § 13 .§ 2 proves this coupling.
The rounding rule. Choose polynomially small dyadic Δ \Delta Δ , e e e and a power of two M M M with e ≤ Δ n − C f / ( 8 N o u t ) e \le\Delta n^{-C_f}/(8N_{\mathrm{out}}) e ≤ Δ n − C f / ( 8 N out ) and M ≥ 8 N o u t n C f M \ge8N_{\mathrm{out}}n^{C_f} M ≥ 8 N out n C f . We then query and normalize using (16) to scalar error at most e / 2 e/2 e /2 . For each approximate normalized scalar a ^ \hat{a} a ^ , independently draw uniform U ∈ { 0 , 1 / M , … , ( M − 1 ) / M } U \in\{0,1/M,\ldots,(M-1)/M\} U ∈ { 0 , 1/ M , … , ( M − 1 ) / M } and set r = a ^ + Δ U r=\hat{a}+\Delta U r = a ^ + Δ U . Abort the trial if dist ( r , Δ Z ) ≤ e / 2 \operatorname{dist}(r,\Delta\mathbb{Z}) \le e/2 dist ( r , Δ Z ) ≤ e /2 . Otherwise store Δ ⌊ r / Δ ⌋ \Delta\lfloor r/\Delta\rfloor Δ ⌊ r /Δ ⌋ . From the rounded outputs h ^ , c ^ \hat{h},\hat{c} h ^ , c ^ , set h ^ = 3 h ^ / 4 \hat{h}=3\hat{h}/4 h ^ = 3 h ^ /4 , with norm in [ 1 / 2 , 1 ] [1/2,1] [ 1/2 , 1 ] , then zero its fixed coordinates J J J as in Algorithm 3. Return ( h ^ , c ^ ) (\hat{h},\hat{c}) ( h ^ , c ^ ) . Store the coloring on a dyadic grid of spacing Δ x \Delta_x Δ x , with fixed coordinates exactly ± 1 \pm1 ± 1 . Clip using exact cross multiplication and round the chosen endpoint to this grid inside the cube, preserving attained endpoints. Let ϵ \epsilon ϵ be the local error after amplification.
Appendix § 13 .§ 3 bounds polynomial error amplification and cumulative drift, preserving the negative barriers and deposit margin. Fix a total implementation allowance ζ = 10 − 3 \zeta=10^{-3} ζ = 1 0 − 3 and choose the effective error to satisfy
ϵ ≤ min { ζ C T ∗ ( 1 + V ) 3 , ζ q ∗ C T ∗ n , a C T ∗ , 1 C T ∗ n } . (23) \epsilon\le\min\left\{\frac{\zeta}{CT_*(1+V)^3},\frac{\zeta\sqrt{q_*}}{CT_*\sqrt{n}},\frac{a}{CT_*},\frac{1}{CT_*n}\right\}. \tag*{(23)} ϵ ≤ min { C T ∗ ( 1 + V ) 3 ζ , C T ∗ n ζ q ∗ , C T ∗ a , C T ∗ n 1 } . (23)
We choose the anchor, smoothing, evaluation, and quantization tolerances polynomially smaller still. Each inverse tolerance has logarithm O ( log n ) O(\log n) O ( log n ) , and stable linear algebra needs O ( log 2 n ) O(\log^2 n) O ( log 2 n ) guard bits. These choices depend only on n n n and universal constants, and make no spectral-gap assumptions.
At an anchor, the construction of § 2 is carried out with the following changes. Estimate every load t i = z i ⊤ v t_i=z_i^\top v t i = z i ⊤ v to error Θ / 8 \Theta/8 Θ/8 and mark a row heavy when the estimate reaches 3 Θ / 4 3\Theta/4 3Θ/4 . Normalize the gradients that form H \mathbf{H} H , fix the frozen rows’ weights at ν ( u i ( x 0 ) + μ ) \nu(u_i(x_0) + \mu) ν ( u i ( x 0 ) + μ ) , and recompute the anchor matrices and guards. Here μ = C b max ϵ \mu= Cb_{\max}\epsilon μ = C b m a x ϵ , where b max b_{\max} b m a x bounds batch exposures and ϵ \epsilon ϵ is the amplified local error above. This buffer makes the fixed weights dominate the true weights despite constraint errors. The tolerance choices keep every shifted barrier argument negative. Apply the verified construction of Lemma F.1 to P 0 − ( 1 − ρ ) D 0 P_0 -(1-\rho)D_0 P 0 − ( 1 − ρ ) D 0 and H \mathbf{H} H , with at most C A log ( 2 n ) C_A\log(2n) C A log ( 2 n ) independent attempts. Restart the trial on exhaustion; otherwise obtain k = ⌈ s / 32 ⌉ k = \lceil s/32\rceil k = ⌈ s /32 ⌉ approximate basis directions. Add the Gaussian perturbation and dyadic rounding from § 4 to obtain Z \mathbf{Z} Z .
At every anchor, interval evaluation checks a dyadic vector v ^ \hat{\mathbf{v}} v ^ with v ^ > 0 \hat{\mathbf{v}} > 0 v ^ > 0 , ( b I − M ) v ^ ≥ 1 / 2 (b\mathbf{I} - \mathbf{M})\hat{\mathbf{v}} \ge1/2 ( b I − M ) v ^ ≥ 1/2 entrywise, and 1 T v ^ ≤ N P / 2 \mathbf{1}^{\mathsf{T}}\hat{\mathbf{v}} \le NP/2 1 T v ^ ≤ N P /2 . These conditions imply M ≺ b I \mathbf{M} \prec b\mathbf{I} M ≺ b I and 1 T R 1 ≤ N P \mathbf{1}^{\mathsf{T}}\mathbf{R}\mathbf{1} \le NP 1 T R1 ≤ N P . The guard costs O ~ ( s 2 ) \widetilde{O}(s^2) O ( s 2 ) and has constant slack under the smaller potential cap enforced by increasing C P C_P C P . Repeat it after buffering the fixed weights. Appendix § 9 gives the comparisons, and completion queries use the sampler’s conditioning guarantee. On the good event, the direction in Algorithm 3 has norm in [ 1 / 2 , 1 ] [1/2,1] [ 1/2 , 1 ] . We use the inverse-polynomial tolerances of this section and restart after an undefined operation, overflow, or failed guard.
Proof of Theorem 1.1 . Round the input as in (22) . Initial row reductions give M ⪯ b d e p I \mathbf{M} \preceq b_{\mathrm{dep}}\mathbf{I} M ⪯ b dep I . At each anchor, Proposition 2.1 and Lemma F.1 give k = ⌈ s / 32 ⌉ k = \lceil s/32\rceil k = ⌈ s /32 ⌉ approximate basis directions, with smoothing and rounding errors small enough for Proposition 6.1 . Near-spherical directions and approximate orthogonality allow the progress, window, resolvent, and retirement bounds. Choose constants making each of four groups of bad events have probability at most 1 / 16 1/16 1/16 : potential and work caps, trust windows and retirement, verified anchor construction and conditioning, and finite-query disagreement. For guard passage, use the smaller potential cap from Appendix § 9 , obtained by increasing C P C_P C P . The polynomial operation cap permits a union bound in the last two groups, with compatible inverse-polynomial tolerances. On the joint good event, affine discrepancy and numerical error give
∥ A ϵ ∥ ∞ ≤ ∥ A ˉ ϵ ∥ ∞ + 10 − 4 < 31673 320 + 10 − 2 + 10 − 3 + 10 − 4 < 98.99 < 99. (24) \lVert A\epsilon\rVert_{\infty} \le\lVert\bar{A}\epsilon\rVert_{\infty} + 10^{-4} < \frac{31673}{320} + 10^{-2} + 10^{-3} + 10^{-4} < 98.99 < 99. \tag*{(24)} ∥ A ϵ ∥ ∞ ≤ ∥ A ˉ ϵ ∥ ∞ + 1 0 − 4 < 320 31673 + 1 0 − 2 + 1 0 − 3 + 1 0 − 4 < 98.99 < 99. (24)
A trial passes exact verification with probability at least 3 / 4 3/4 3/4 . Equation (10) guarantees discrepancy below 99 for every accepted output, including outside this event. § 5 bounds all epochs by O ~ ( n ω ) \widetilde{O}(n^\omega) O ( n ω ) bit operations after input preprocessing. Input reduction, incidence updates, and verification add O ~ ( L i n ) \widetilde{O}(L_{\mathrm{in}}) O ( L in ) . Independent restarts need at most 4 / 3 4/3 4/3 expected trials, proving the bit complexity. □ \square □
AI Disclosure and Acknowledgements
We acknowledge an extended conversation with OpenAI’s GPT-6 Astra model about the arguments in [25 ] and possible ways to batch the walk to exploit recent results in dynamic matrix inversion. We also used Cognition’s Devin agent with the SWE-2 model as well as Claude Opus 5.5 to improve the presentation, and in https://github.com/emilietimothy/komlos-omega-lean , we document our efforts in providing a formal Lean certificate. Finally, we thank Abhishek Shetty, Jan van den Brand, and Tjay Narang for helpful comments. EA’s research is supported by NSF Grant CCF 2338816.
Row representations and discrepancy reduction
Write K = K r a t K=K_{\mathrm{rat}} K = K rat in the proofs. Cauchy–Schwarz gives 1 < ∥ a i ∥ 1 2 ≤ n ∥ a i ∥ 2 2 1<\lVert a_i\rVert_1^2\le n\lVert a_i\rVert_2^2 1 < ∥ a i ∥ 1 2 ≤ n ∥ a i ∥ 2 2 for each remaining row, so column normalization bounds their number by ∑ i r e m a i n i n g 1 < n ∑ i r e m a i n i n g ∥ a i ∥ 2 2 ≤ n ∑ j = 1 n ∑ i = 1 m a i j 2 ≤ n 2 \sum_{i\ \mathrm{remaining}}1<n\sum_{i\ \mathrm{remaining}}\lVert a_i\rVert_2^2\le n\sum_{j=1}^n\sum_{i=1}^m a_{ij}^2\le n^2 ∑ i remaining 1 < n ∑ i remaining ∥ a i ∥ 2 2 ≤ n ∑ j = 1 n ∑ i = 1 m a ij 2 ≤ n 2 . For the rational scale, let a = max j ∣ b i j ∣ > 0 a=\max_j\lvert b_{ij}\rvert>0 a = max j ∣ b ij ∣ > 0 and choose the least integer ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 with γ 2 ℓ a 2 ≥ q i \gamma^{2\ell}a^2\ge q_i γ 2 ℓ a 2 ≥ q i , where γ = 65 / 64 \gamma=65/64 γ = 65/64 . Set r i = min { γ ℓ a , R max , r i p r e v i o u s } r_i=\min\{\gamma^\ell a,R_{\max},r_i^{\mathrm{previous}}\} r i = min { γ ℓ a , R m a x , r i previous } , omitting the previous scale if none exists. Each candidate is at least q i \sqrt{q_i} q i , and γ ℓ a < γ q i \gamma^\ell a<\gamma\sqrt{q_i} γ ℓ a < γ q i by minimality, including when ℓ = 0 \ell=0 ℓ = 0 . Thus r i r_i r i is non-increasing, q i ≤ r i 2 < γ 2 q i q_i\le r_i^2<\gamma^2q_i q i ≤ r i 2 < γ 2 q i , and r i ≤ R max r_i\le R_{\max} r i ≤ R m a x . Since q i / a 2 ≤ s q_i/a^2\le s q i / a 2 ≤ s , the choice takes O ( log ( 2 s ) ) O(\log(2s)) O ( log ( 2 s )) rational comparisons. Differentiating (5) gives 0 < ν ( u ) ≤ 119 0<\nu(u)\le119 0 < ν ( u ) ≤ 119 , ν ′ ( u ) / ν ( u ) = K / ( 2 K − u ) \nu'(u)/\nu(u)=K/(2K-u) ν ′ ( u ) / ν ( u ) = K / ( 2 K − u ) , and ν ′ ′ ( u ) / ν ′ ( u ) = ( K + 1 ) / ( 2 K − u ) ≤ ( 1 + 1 / K ) / 2 \nu''(u)/\nu'(u)=(K+1)/(2K-u)\le(1+1/K)/2 ν ′′ ( u ) / ν ′ ( u ) = ( K + 1 ) / ( 2 K − u ) ≤ ( 1 + 1/ K ) /2 for u ≤ 0 u\le0 u ≤ 0 . For every fixed nonnegative integer r r r ,
ν ′ ( u ) 2 ν ( u ) = K K + 1 ν ′ ′ ( u ) , d d u log ν r ( u ) = K + r 2 K − u . (25) \frac{\nu'(u)^2}{\nu(u)}=\frac{K}{K+1}\nu''(u),\qquad\frac{d}{du}\log\nu^{r}(u)=\frac{K+r}{2K-u}. \tag*{(25)} ν ( u ) ν ′ ( u ) 2 = K + 1 K ν ′′ ( u ) , d u d log ν r ( u ) = 2 K − u K + r . (25)
Integrating the log derivative shows that changing a non-positive barrier by at most a ≤ 1 a\le1 a ≤ 1 changes ν \nu ν , ν ′ \nu' ν ′ , and ν ′ ′ \nu'' ν ′′ by factors at most exp ( O ( a ) ) \exp(O(a)) exp ( O ( a )) .
Verification of row updates. We prove the row-update guarantees stated in § 2.1 . Initially, and when a large row becomes medium, d i = 0 d_i=0 d i = 0 . Since G i ≤ q i ≤ r i 2 G_i\le q_i\le r_i^2 G i ≤ q i ≤ r i 2 and r i ≤ R max r_i\le R_{\max} r i ≤ R m a x , both barriers satisfy u i σ ≤ 16 − H 0 / r i ≤ − 5864 / 291 < − 20 u_{i\sigma}\le16-H_0/r_i\le-5864/291<-20 u iσ ≤ 16 − H 0 / r i ≤ − 5864/291 < − 20 . We show that
∑ σ ν ( u i σ ) z i z i T ⪯ 1000 1009 b d e p diag ( p i ) . (26) \sum_{\sigma}\nu(u_{i\sigma})z_i z_i^{\mathsf T}\preceq\frac{1000}{1009}b_{\mathrm{dep}}\operatorname{diag}(p_i). \tag*{(26)} σ ∑ ν ( u iσ ) z i z i T ⪯ 1009 1000 b dep diag ( p i ) . (26)
For nonnegative p p p with q = ∑ j p j q=\sum_jp_j q = ∑ j p j , Cauchy–Schwarz gives p p T ⪯ q diag ( p ) pp^{\mathsf T}\preceq q\operatorname{diag}(p) p p T ⪯ q diag ( p ) . Together with q i ≤ r i 2 q_i\le r_i^2 q i ≤ r i 2 , this reduces (A.2) to bounding f ( r ) = 2 ν ( 16 − H 0 / r ) / r 2 f(r)=2\nu(16-H_0/r)/r^2 f ( r ) = 2 ν ( 16 − H 0 / r ) / r 2 . For 0 < r ≤ R max 0<r\le R_{\max} 0 < r ≤ R m a x , r f ′ ( r ) / f ( r ) = [ ( K − 2 ) H 0 / r − 4 K + 32 ] / [ 2 K − 16 + H 0 / r ] > 0 rf'(r)/f(r)=[(K-2)H_0/r-4K+32]/[2K-16+H_0/r]>0 r f ′ ( r ) / f ( r ) = [( K − 2 ) H 0 / r − 4 K + 32 ] / [ 2 K − 16 + H 0 / r ] > 0 , so f ( r ) ≤ f ( R max ) f(r)\le f(R_{\max}) f ( r ) ≤ f ( R m a x ) . The exact comparison
( 1 + 2932 291 K ) K ≥ ∑ ℓ = 0 24 ( 10000 ℓ ) ( 2932 2910000 ) ℓ > 23634 > 1009 1000 5950000000 254043 = 1009 1000 2 ⋅ 119 b d e p R max 2 \left(1+\frac{2932}{291K}\right)^K\ge\sum_{\ell=0}^{24}\binom{10000}{\ell}\left(\frac{2932}{2910000}\right)^\ell>23634>\frac{1009}{1000}\frac{5950000000}{254043}=\frac{1009}{1000}\frac{2\cdot119}{b_{\mathrm{dep}}R_{\max}^2} ( 1 + 291 K 2932 ) K ≥ ℓ = 0 ∑ 24 ( ℓ 10000 ) ( 2910000 2932 ) ℓ > 23634 > 1000 1009 254043 5950000000 = 1000 1009 b dep R m a x 2 2 ⋅ 119
proves the margin: multiplying the 25 summands by 10 3 10^3 1 0 3 and summing their floors gives 23634835. Summing (A.2) and the large-row deposits, column normalization gives the initialization bound.
Transfers preserve d i d_i d i . At fixed scale, deletion decreases G i G_i G i and p i p_i p i coordinatewise, hence decreases the barrier, scalar weight, and rank-one contribution entrywise. For scale reduction, hold G , d , p G,d,p G , d , p fixed with u ≤ 0 u\le0 u ≤ 0 and G ≤ q ≤ r 2 G\le q\le r^2 G ≤ q ≤ r 2 . Differentiation gives
r ∂ u ∂ r = 12 − u − 4 G r 2 ≥ 8 , r ∂ ∂ r log ν ( u ) r 4 = 4 K ( 1 − G / r 2 ) + ( 4 − K ) u 2 K − u ≥ 0. r\frac{\partial u}{\partial r}=12-u-\frac{4G}{r^2}\ge8,\qquad r\frac{\partial}{\partial r}\log\frac{\nu(u)}{r^4}=\frac{4K(1-G/r^2)+(4-K)u}{2K-u}\ge0. r ∂ r ∂ u = 12 − u − r 2 4 G ≥ 8 , r ∂ r ∂ log r 4 ν ( u ) = 2 K − u 4 K ( 1 − G / r 2 ) + ( 4 − K ) u ≥ 0.
Thus decreasing r r r keeps u u u nonpositive and decreases both u u u and ν ( u ) / r 4 \nu(u)/r^4 ν ( u ) / r 4 , since K ≥ 4 K\ge4 K ≥ 4 . Equation (A.2) handles newly medium rows. Fixed-coordinate transfers preserve energy because 1 − x j 2 = 0 1-x_j^2=0 1 − x j 2 = 0 , and their removal takes a principal submatrix. Retirement removes two PSD, entrywise nonnegative terms.
Final discrepancy
For a representation change φ i + ( y ) = φ i ( y ) + Δ c i + Δ b i T y \varphi_i^+(y)=\varphi_i(y)+\Delta c_i+\Delta b_i^{\mathsf T}y φ i + ( y ) = φ i ( y ) + Δ c i + Δ b i T y at x ∗ x^* x ∗ , define the anchor jump v i = φ i + ( x ∗ ) − φ i ( x ∗ ) v_i=\varphi_i^+(x^*)-\varphi_i(x^*) v i = φ i + ( x ∗ ) − φ i ( x ∗ ) . Each change satisfies φ i + ( y ) − φ i ( y ) = v i + Δ b i T ( y − x ∗ ) \varphi_i^+(y)-\varphi_i(y)=v_i+\Delta b_i^{\mathsf T}(y-x^*) φ i + ( y ) − φ i ( y ) = v i + Δ b i T ( y − x ∗ ) . Telescoping from the initial representation φ i ( y ) = a i T y \varphi_i(y)=a_i^{\mathsf T}y φ i ( y ) = a i T y over changes indexed by e e e at anchors x e x^e x e gives
a i T y − φ i f i n a l ( y ) = ∑ e [ − v i e − Δ b i e T ( y − x e ) ] . (27) a_i^{\mathsf T}y-\varphi_i^{\mathrm{final}}(y)=\sum_e\left[-v_{ie}-\Delta b_{ie}^{\mathsf T}(y-x^e)\right]. \tag*{(27)} a i T y − φ i final ( y ) = e ∑ [ − v i e − Δ b i e T ( y − x e ) ] . (27)
A fixed-entry transfer contributes b i j ( y j − x j ∗ ) b_{ij}(y_j-x_j^*) b ij ( y j − x j ∗ ) , which vanishes at later colorings. A deletion has the same form, bounded in magnitude by 2 ∣ b i j ∣ 2|b_{ij}| 2∣ b ij ∣ on the cube. Retirement contributes ( b i r e t ) T ( y − x r e t ) (b_i^{\mathrm{ret}})^{\mathsf{T}}(y-x^{\mathrm{ret}}) ( b i ret ) T ( y − x ret ) , and an offset-only repair contributes − υ i e -\upsilon_i e − υ i e . Moving or rounding x x x causes no defect at a fixed representation. Adjusting the offset to round the tracked sum creates an anchor jump.
Proposition A.1 (Deterministic discrepancy reduction). Suppose the walk completes Algorithm 1 with s < 64 s<64 s < 64 . Round remaining coordinates to their nearest signs, choosing + 1 +1 + 1 at zero. Assume every nonretired medium barrier stayed nonpositive. At this signing, suppose retirement defects have magnitude at most δ r e t \delta_{\mathrm{ret}} δ ret , each row’s total offset-only defect has magnitude at most δ o f f \delta_{\mathrm{off}} δ off , and every row that was never medium had tracked value of magnitude at most δ l a r g e \delta_{\mathrm{large}} δ large at its last anchor. Then
∥ A ε ∥ ∞ < max { 31673 320 + δ r e t + δ o f f , 63 + δ l a r g e + δ o f f , 1 } . (28) \lVert A\varepsilon\rVert_\infty< \max\left\{\frac{31673}{320}+\delta_{\mathrm{ret}}+\delta_{\mathrm{off}},\ 63+\delta_{\mathrm{large}}+\delta_{\mathrm{off}},\ 1\right\}. \tag*{(28)} ∥ A ε ∥ ∞ < max { 320 31673 + δ ret + δ off , 63 + δ large + δ off , 1 } . (28)
Proof. Deletion requires b 2 > q / 64 b^2>q/64 b 2 > q /64 , so rationalizing the decrease in row norm gives
∣ b ∣ q − q − b 2 = q ∣ b ∣ + q b 2 − 1 < 8 + 63 . \frac{|b|}{\sqrt{q}-\sqrt{q-b^2}}=\frac{\sqrt{q}}{|b|}+\sqrt{\frac{q}{b^2}}-1<8+\sqrt{63}. q − q − b 2 ∣ b ∣ = ∣ b ∣ q + b 2 q − 1 < 8 + 63 .
Deletions begin with row norm at most R max R_{\max} R m a x , which never increases. Telescoping its decreases bounds the total absolute value of deleted coefficients by R max ( 8 + 63 ) R_{\max}(8+\sqrt{63}) R m a x ( 8 + 63 ) , hence their defect by twice this amount throughout the cube. No medium row survives the final update: q i > 0 q_i>0 q i > 0 and s < 64 s<64 s < 64 implies max j p i j ≥ q i / s > q i / 64 \max_j p_{ij}\ge q_i/s>q_i/64 max j p ij ≥ q i / s > q i /64 , contradicting spread. For the last deletion, use the preceding positive scale: the transfer preserves d i d_i d i and decreases G i G_i G i , so both barriers stay nonpositive. The completed row therefore has a constant representation of magnitude below H 0 H_0 H 0 , even though no new scale is needed at q i = 0 q_i=0 q i = 0 . Equation (A.3) gives ∣ a i ε ∣ < H 0 + 2 R max ( 8 + 63 ) + δ r e t + δ o f f |a_i^{\varepsilon}|<H_0+2R_{\max}(8+\sqrt{63})+\delta_{\mathrm{ret}}+\delta_{\mathrm{off}} ∣ a i ε ∣ < H 0 + 2 R m a x ( 8 + 63 ) + δ ret + δ off . Since 63 < 127 / 16 \sqrt{63}<127/16 63 < 127/16 , H 0 + 2 R max ( 8 + 63 ) < 263 / 5 + ( 291 / 100 ) ( 255 / 16 ) = 31673 / 320 H_0+2R_{\max}(8+\sqrt{63})<263/5+(291/100)(255/16)=31673/320 H 0 + 2 R m a x ( 8 + 63 ) < 263/5 + ( 291/100 ) ( 255/16 ) = 31673/320 , proving the first term in (A.4). A still-large row has undergone no deletion or retirement. Rounding changes at most 63 coordinates by at most one each, giving the second term in (A.4) because ∣ b i j ∣ ≤ 1 |b_{ij}|\le1 ∣ b ij ∣ ≤ 1 . This also covers rows that passed directly from large to completed. Discarded input rows have discrepancy at most one. □
Curvature and stability
Use the notation of § 2.2 and set α = 4 / 25 \alpha=4/25 α = 4/25 . The row invariants give 0 ≤ z i j ≤ 1 / 64 0\le z_{ij}\le1/64 0 ≤ z ij ≤ 1/64 , − 2 < 1 T z i ≤ 1 -2<\mathbf{1}^{\mathsf{T}}z_i\le1 − 2 < 1 T z i ≤ 1 , and ∥ z i ∥ 2 ≤ ( 1 T z i ) 2 / 64 \lVert z_i\rVert^2\le(\mathbf{1}^{\mathsf{T}}z_i)^2/64 ∥ z i ∥ 2 ≤ ( 1 T z i ) 2 /64 for every nonempty medium row.
Lemma B.1 (Positivity, monotonicity, and a ground-state identity). Suppose M ⪰ 0 M\succeq0 M ⪰ 0 is symmetric and entrywise nonnegative, and M ≺ b I M\prec bI M ≺ b I . Then R R R is entrywise nonnegative, v ≥ b − 1 1 v\ge b^{-1}\mathbf{1} v ≥ b − 1 1 entrywise, and F b ( M ) ≥ 0 F_b(M)\ge0 F b ( M ) ≥ 0 . For every h ∈ R s h\in\mathbb{R}^s h ∈ R s ,
h T A h = ∑ j h j 2 v j + ∑ j < ℓ M j ℓ v j v ℓ ( h j v j − h ℓ v ℓ ) 2 , A ⪰ diag ( 1 / v ) , ∥ R ∥ o p ≤ max j v j ≤ 1 T v . (29) h^{\mathsf{T}}\mathcal{A}h=\sum_j\frac{h_j^2}{v_j}+\sum_{j<\ell}M_{j\ell}v_jv_\ell\left(\frac{h_j}{v_j}-\frac{h_\ell}{v_\ell}\right)^2,\qquad\mathcal{A}\succeq\operatorname{diag}(1/v),\qquad\lVert R\rVert_{\mathrm{op}}\le\max_j v_j\le\mathbf{1}^{\mathsf{T}}v. \tag*{(29)} h T A h = j ∑ v j h j 2 + j < ℓ ∑ M j ℓ v j v ℓ ( v j h j − v ℓ h ℓ ) 2 , A ⪰ diag ( 1/ v ) , ∥ R ∥ op ≤ j max v j ≤ 1 T v . (29)
The potential is nonincreasing when b b b increases, when M M M decreases in Loewner order or entrywise while remaining nonnegative, or under principal deletion with the corresponding reduction in s s s .
Proof. The convergent Neumann series gives
R = ∑ q ≥ 0 b − q − 1 M q , F b ( M ) = ∑ q ≥ 1 b − q − 1 1 T M q 1. (30) R=\sum_{q\ge0}b^{-q-1}M^q,\qquad F_b(M)=\sum_{q\ge1}b^{-q-1}\mathbf{1}^{\mathsf{T}}M^q\mathbf{1}. \tag*{(30)} R = q ≥ 0 ∑ b − q − 1 M q , F b ( M ) = q ≥ 1 ∑ b − q − 1 1 T M q 1 . (30)
The series gives positivity and monotonicity in b b b and the entries of M \mathbf{M} M . Principal deletion removes nonnegative terms. Loewner monotonicity follows from ( b I − M n e w ) − 1 ⪯ ( b I − M ) − 1 (b\mathbf{I}-\mathbf{M}_{\mathrm{new}})^{-1}\preceq(b\mathbf{I}-\mathbf{M})^{-1} ( b I − M new ) − 1 ⪯ ( b I − M ) − 1 whenever M n e w ⪯ M \mathbf{M}_{\mathrm{new}}\preceq\mathbf{M} M new ⪯ M . Substituting b v j = 1 + ∑ ℓ M j ℓ v ℓ bv_j=1+\sum_{\ell}M_{j\ell}v_\ell b v j = 1 + ∑ ℓ M j ℓ v ℓ into h T A h h^{\mathsf{T}}\mathbf{A}h h T A h and pairing the terms indexed by ( j , ℓ ) (j,\ell) ( j , ℓ ) and ( ℓ , j ) (\ell,j) ( ℓ , j ) gives (B.1). Finally, symmetry and nonnegativity give ∥ R ∥ o p ≤ ∥ R ∥ ∞ = max j ( R 1 ) j \lVert\mathbf{R}\rVert_{\mathrm{op}}\le\lVert\mathbf{R}\rVert_{\infty}=\max_j(\mathbf{R}\mathbf{1})_j ∥ R ∥ op ≤ ∥ R ∥ ∞ = max j ( R1 ) j .
Proof of Proposition 2.1. For the batch matrix (7) and curvature matrices (8) , differentiation along x + t h x+th x + t h gives R ′ = R M ′ R \mathbf{R}'=\mathbf{R}\mathbf{M}'\mathbf{R} R ′ = R M ′ R , v ′ = R M ′ v v'=\mathbf{R}\mathbf{M}'v v ′ = R M ′ v , M ′ [ h ] v = C h \mathbf{M}'[h]v=\mathbf{C}h M ′ [ h ] v = C h , and v T M ′ ′ [ h , h ] v = U [ h ] − D [ h ] v^{\mathsf{T}}\mathbf{M}''[h,h]v=\mathbf{U}[h]-\mathbf{D}[h] v T M ′′ [ h , h ] v = U [ h ] − D [ h ] . So,
∇ F b = ∑ i ∈ L v ′ ( u i ) t i 2 g i , ∇ 2 F b = U + 2 C T R C − D = P − D , (31) \nabla F_b=\sum_{i\in\mathcal{L}}v'(u_i)t_i^2g_i,\qquad\nabla^2F_b=\mathbf{U}+2\mathbf{C}^{\mathsf{T}}\mathbf{R}\mathbf{C}-\mathbf{D}=\mathbf{P}-\mathbf{D}, \tag*{(31)} ∇ F b = i ∈ L ∑ v ′ ( u i ) t i 2 g i , ∇ 2 F b = U + 2 C T RC − D = P − D , (31)
via F ′ = v T M ′ v F'=v^{\mathsf{T}}\mathbf{M}'v F ′ = v T M ′ v and F ′ ′ = v T M ′ ′ v + 2 ( M ′ v ) T R ( M ′ v ) F''=v^{\mathsf{T}}\mathbf{M}''v+2(\mathbf{M}'v)^{\mathsf{T}}\mathbf{R}(\mathbf{M}'v) F ′′ = v T M ′′ v + 2 ( M ′ v ) T R ( M ′ v ) , with the barrier derivatives from (4) .
Anchor dimension. Following Li [25 ] , we bound the dimension loss from the constraints and the two positive terms of P \mathbf{P} P . Large rows cost fewer than s / R max 2 s/R_{\max}^2 s / R m a x 2 dimensions because ∑ ℓ q ℓ ≤ s \sum_\ell q_\ell\le s ∑ ℓ q ℓ ≤ s . Nearly tight rows cost fewer than 5 γ 4 s / 238 5\gamma^4s/238 5 γ 4 s /238 , since
ν ( − 1 ) > 119 e − 1 / 2 > 357 / 5 , ∑ i ν ( u i ) ( 1 T z i ) 2 = 1 T W 1 < b s < 3 s / 2 , \nu(-1)>119e^{-1/2}>357/5,\qquad\sum_i\nu(u_i)(\mathbf{1}^{\mathsf{T}}z_i)^2=\mathbf{1}^{\mathsf{T}}\mathbf{W}\mathbf{1}<bs<3s/2, ν ( − 1 ) > 119 e − 1/2 > 357/5 , i ∑ ν ( u i ) ( 1 T z i ) 2 = 1 T W1 < b s < 3 s /2 ,
and each such row contributes more than ( 357 / 5 ) γ − 4 (357/5)\gamma^{-4} ( 357/5 ) γ − 4 . Heavy rows cost at most s / 2048 s/2048 s /2048 dimensions: ∑ i t i ≤ Λ 1 T v ≤ Λ P s \sum_i t_i\le\Lambda\mathbf{1}^{\mathsf{T}}v\le\Lambda Ps ∑ i t i ≤ Λ 1 T v ≤ Λ P s and Θ = 4096 Λ P \Theta=4096\Lambda P Θ = 4096Λ P . For the existence argument, let J \mathbf{J} J project onto the eigenspaces of M 0 \mathbf{M}_0 M 0 with eigenvalues at least α b \alpha b α b . Because B ⪯ b d e p I \mathbf{B}\preceq b_{\mathrm{dep}}\mathbf{I} B ⪯ b dep I and the rows are spread,
rank J ≤ tr ( J W 0 J ) α b − b d e p ≤ tr W 0 α b − b d e p ≤ 1 T W 0 1 64 ( α b − b d e p ) ≤ b s 64 ( α b − b d e p ) ≤ s 64 ( α − b d e p ) . \operatorname{rank}\mathbf{J}\le\frac{\operatorname{tr}(\mathbf{J}\mathbf{W}_0\mathbf{J})}{\alpha b-b_{\mathrm{dep}}}\le\frac{\operatorname{tr}\mathbf{W}_0}{\alpha b-b_{\mathrm{dep}}}\le\frac{\mathbf{1}^{\mathsf{T}}\mathbf{W}_0\mathbf{1}}{64(\alpha b-b_{\mathrm{dep}})}\le\frac{bs}{64(\alpha b-b_{\mathrm{dep}})}\le\frac{s}{64(\alpha-b_{\mathrm{dep}})}. rank J ≤ α b − b dep tr ( J W 0 J ) ≤ α b − b dep tr W 0 ≤ 64 ( α b − b dep ) 1 T W 0 1 ≤ 64 ( α b − b dep ) b s ≤ 64 ( α − b dep ) s .
Impose J C 0 h = 0 \mathbf{J}\mathbf{C}_0h=0 J C 0 h = 0 , which costs at most this many dimensions. Let Γ = [ ν ( u i ) z i ] i ∈ L \mathbf{\Gamma}=[\sqrt{\nu(u_i)}z_i]_{i\in\mathcal{L}} Γ = [ ν ( u i ) z i ] i ∈ L and a i ( h ) = ν ′ ( u i ) t i ( g i T h ) / ν ( u i ) a_i(h)=\nu'(u_i)t_i(g_i^{\mathsf{T}}h)/\sqrt{\nu(u_i)} a i ( h ) = ν ′ ( u i ) t i ( g i T h ) / ν ( u i ) , at the anchor. Then C 0 h = Γ a ( h ) \mathbf{C}_0h=\mathbf{\Gamma}a(h) C 0 h = Γ a ( h ) , Γ Γ T ⪯ M 0 \mathbf{\Gamma}\mathbf{\Gamma}^{\mathsf{T}}\preceq\mathbf{M}_0 Γ Γ T ⪯ M 0 , and ∥ a ( h ) ∥ 2 = K r a t U 0 [ h ] / ( K r a t + 1 ) ≤ U 0 [ h ] \lVert a(h)\rVert^2=K_{\mathrm{rat}}\mathbf{U}_0[h]/(K_{\mathrm{rat}}+1)\le\mathbf{U}_0[h] ∥ a ( h ) ∥ 2 = K rat U 0 [ h ] / ( K rat + 1 ) ≤ U 0 [ h ] . Conjugating the matrix comparison by ( I − J ) R 0 1 / 2 (\mathbf{I}-\mathbf{J})\mathbf{R}_0^{1/2} ( I − J ) R 0 1/2 gives
( C 0 h ) T R 0 ( C 0 h ) ≤ α 1 − α ∥ a ( h ) ∥ 2 , P 0 [ h ] ≤ 1 + α 1 − α U 0 [ h ] . (\mathbf{C}_0h)^{\mathsf{T}}\mathbf{R}_0(\mathbf{C}_0h)\le\frac{\alpha}{1-\alpha}\lVert a(h)\rVert^2,\qquad\mathbf{P}_0[h]\le\frac{1+\alpha}{1-\alpha}\mathbf{U}_0[h]. ( C 0 h ) T R 0 ( C 0 h ) ≤ 1 − α α ∥ a ( h ) ∥ 2 , P 0 [ h ] ≤ 1 − α 1 + α U 0 [ h ] .
Also, the weight identities and gradient bound imply
( U 0 ) j j ≤ 4 ∑ i ∈ L ν ′ ′ ( u i ) t i 2 z i j ≤ 1 + 1 / K r a t 4 ( D 0 ) j j . (\mathbf{U}_0)_{jj}\le4\sum_{i\in\mathcal{L}}\nu''(u_i)t_i^2z_{ij}\le\frac{1+1/K_{\mathrm{rat}}}{4}(\mathbf{D}_0)_{jj}. ( U 0 ) j j ≤ 4 i ∈ L ∑ ν ′′ ( u i ) t i 2 z ij ≤ 4 1 + 1/ K rat ( D 0 ) j j .
If Q ⪰ 0 \mathbf{Q}\succeq0 Q ⪰ 0 and diagonal D ⪰ 0 \mathbf{D}\succeq0 D ⪰ 0 satisfy Q j j ≤ θ D j j Q_{jj}\le\theta D_{jj} Q j j ≤ θ D j j , the coordinates with D j j = 0 D_{jj}=0 D j j = 0 have zero rows in Q \mathbf{Q} Q . On the other coordinates, congruence by D − 1 / 2 \mathbf{D}^{-1/2} D − 1/2 shows that Q − D \mathbf{Q}-\mathbf{D} Q − D has at most tr ( D − 1 / 2 Q D − 1 / 2 ) ≤ θ s \operatorname{tr}(\mathbf{D}^{-1/2}\mathbf{Q}\mathbf{D}^{-1/2})\le\theta s tr ( D − 1/2 Q D − 1/2 ) ≤ θ s positive eigenvalues. Intersecting its nonpositive spectral subspace with the previous constraints therefore loses at most θ s \theta s θ s more dimensions. Apply this with Q = ( 1 + α ) U 0 / ( 1 − α ) \mathbf{Q}=(1+\alpha)\mathbf{U}_0/(1-\alpha) Q = ( 1 + α ) U 0 / ( 1 − α ) and ( 1 − ρ ) D 0 (1-\rho)\mathbf{D}_0 ( 1 − ρ ) D 0 in place of D \mathbf{D} D . The five losses give a subspace E ⊆ ker H E\subseteq\ker\mathbf{H} E ⊆ ker H with P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] \mathbf{P}_0[h]\le(1-\rho)\mathbf{D}_0[h] P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] and dim E > μ s \dim E>\mu s dim E > μ s , where
μ = 1 − 1 R max 2 − 5 γ 4 238 − 1 64 ( α − b d e p ) − 1 2048 − ( 1 + α ) ( 1 + 1 / K r a t ) 4 ( 1 − α ) ( 1 − ρ ) > 1 32 . (32) \mu=1-\frac{1}{R_{\max}^2}-\frac{5\gamma^4}{238}-\frac{1}{64(\alpha-b_{\mathrm{dep}})}-\frac{1}{2048}-\frac{(1+\alpha)(1+1/K_{\mathrm{rat}})}{4(1-\alpha)(1-\rho)}>\frac{1}{32}. \tag*{(32)} μ = 1 − R m a x 2 1 − 238 5 γ 4 − 64 ( α − b dep ) 1 − 2048 1 − 4 ( 1 − α ) ( 1 − ρ ) ( 1 + α ) ( 1 + 1/ K rat ) > 32 1 . (32)
Thus at least ⌈ s / 32 ⌉ \lceil s/32\rceil ⌈ s /32 ⌉ nonpositive directions exist. The stability argument below uses only the anchor inequality, so any such subspace of P 0 − ( 1 − ρ ) D 0 \mathbf{P}_0-(1-\rho)\mathbf{D}_0 P 0 − ( 1 − ρ ) D 0 in ker H \ker\mathbf{H} ker H works.
Stability. Write y = x − x 0 y=x-x_0 y = x − x 0 and M L , 0 = ∑ i ∈ L ν ( u i ( x 0 ) ) z i z i T \mathbf{M}_{\mathcal{L},0}=\sum_{i\in\mathcal{L}}\nu(u_i(x_0))z_i z_i^{\mathsf{T}} M L , 0 = ∑ i ∈ L ν ( u i ( x 0 )) z i z i T . On the window (9) , fixed rows satisfy u i ( x ) − u i ( x 0 ) = − 4 ∑ j z i j y j 2 ≤ 0 u_i(x)-u_i(x_0)=-4\sum_j z_{ij}y_j^2\le0 u i ( x ) − u i ( x 0 ) = − 4 ∑ j z ij y j 2 ≤ 0 , so their fixed weights majorize their true weights. Light rows start below − 1 -1 − 1 and change by at most a + 4 a 2 ≤ 2 a a+4a^{2}\le2a a + 4 a 2 ≤ 2 a when a ≤ 1 / 4 a\le1/4 a ≤ 1/4 , so they stay negative. By (A.1), ν , ν ′ , ν ′ ′ \nu,\nu',\nu'' ν , ν ′ , ν ′′ change by factors 1 + O ( a ) 1+O(a) 1 + O ( a ) .
Since light loads are at most Θ \Theta Θ and their weights at most 1 / 19 1/19 1/19 , M L , 0 v 0 ≤ 1 / 19 Θ Λ 1 ≤ κ 1 \mathbf{M}_{\mathcal{L},0}\mathbf{v}_0\le1/19\Theta\mathbf{\Lambda}1\le\kappa1 M L , 0 v 0 ≤ 1/19Θ Λ 1 ≤ κ 1 entrywise. Weighted Cauchy–Schwarz gives z z ⊤ ⪯ ( z ⊤ v 0 ) diag ( z / v 0 ) zz^{\top}\preceq(z^{\top}v_0)\operatorname{diag}(z/v_0) z z ⊤ ⪯ ( z ⊤ v 0 ) diag ( z / v 0 ) ; hence Lemma B.1 implies
M L , 0 ⪯ diag ( M L , 0 v 0 v 0 ) ⪯ κ diag ( 1 / v 0 ) ⪯ κ A 0 . \mathbf{M}_{\mathcal{L},0}\preceq\operatorname{diag}\left(\frac{\mathbf{M}_{\mathcal{L},0}v_0}{v_0}\right)\preceq\kappa\operatorname{diag}(1/v_0)\preceq\kappa\mathbf{A}_0. M L , 0 ⪯ diag ( v 0 M L , 0 v 0 ) ⪯ κ diag ( 1/ v 0 ) ⪯ κ A 0 .
For Δ = M x − M 0 \Delta=\mathbf{M}_x-\mathbf{M}_0 Δ = M x − M 0 , relative light-weight changes give both − C a M L , 0 ⪯ Δ ⪯ C a M L , 0 -Ca\mathbf{M}_{\mathcal{L},0}\preceq\Delta\preceq Ca\mathbf{M}_{\mathcal{L},0} − C a M L , 0 ⪯ Δ ⪯ C a M L , 0 and ∣ Δ ∣ ≤ C a M L , 0 |\Delta|\le Ca\mathbf{M}_{\mathcal{L},0} ∣Δ∣ ≤ C a M L , 0 entrywise. The first comparison keeps A x \mathbf{A}_x A x positive definite when C a κ < 1 Ca\kappa<1 C aκ < 1 and bounds its inverse in Loewner order. The second, with R x ≥ 0 \mathbf{R}_x\ge0 R x ≥ 0 entrywise, gives
∣ v x − v 0 ∣ = ∣ R x Δ v 0 ∣ ≤ C a κ R x 1 = C a κ v x . |v_x-v_0|=|\mathbf{R}_x\Delta v_0|\le Ca\kappa\mathbf{R}_x1=Ca\kappa v_x. ∣ v x − v 0 ∣ = ∣ R x Δ v 0 ∣ ≤ C aκ R x 1 = C aκ v x .
Thus, with universal constants,
R x ⪯ ( 1 + C a κ ) R 0 , t i x = ( 1 + O ( a κ ) ) t i 0 , ( 1 − C a κ ) D 0 ⪯ D x ⪯ ( 1 + C a κ ) D 0 . (33) \mathbf{R}_x\preceq(1+Ca\kappa)\mathbf{R}_0,\quad t_{ix}=(1+O(a\kappa))t_{i0},\quad(1-Ca\kappa)\mathbf{D}_0\preceq\mathbf{D}_x\preceq(1+Ca\kappa)\mathbf{D}_0. \tag*{(33)} R x ⪯ ( 1 + C aκ ) R 0 , t i x = ( 1 + O ( aκ )) t i 0 , ( 1 − C aκ ) D 0 ⪯ D x ⪯ ( 1 + C aκ ) D 0 . (33)
These estimates also justify continuation from x 0 x_0 x 0 along every segment in the convex window: the slack stays uniformly positive before any possible first exit. Fix h ∈ E h\in E h ∈ E . Since 1 ⊤ z i ≤ 1 \mathbf{1}^{\top}z_i\le1 1 ⊤ z i ≤ 1 and ∥ y ∥ ∞ ≤ a \lVert y\rVert_{\infty}\le a ∥ y ∥ ∞ ≤ a ,
( ( g i ( x ) − g i ( x 0 ) ) ⊤ h ) 2 ≤ 64 a 2 ∑ j z i j h j 2 , ∑ i ∈ L ν ′ ′ ( u i 0 ) t i 0 2 ( ( g i ( x ) − g i ( x 0 ) ) ⊤ h ) 2 ≤ 5 a 2 D 0 [ h ] . (34) ((g_i(x)-g_i(x_0))^{\top}h)^2\le64a^2\sum_j z_{ij}h_j^2,\qquad\sum_{i\in\mathcal{L}}\nu''(u_{i0})t_{i0}^2((g_i(x)-g_i(x_0))^{\top}h)^2\le5a^2\mathbf{D}_0[h]. \tag*{(34)} (( g i ( x ) − g i ( x 0 ) ) ⊤ h ) 2 ≤ 64 a 2 j ∑ z ij h j 2 , i ∈ L ∑ ν ′′ ( u i 0 ) t i 0 2 (( g i ( x ) − g i ( x 0 ) ) ⊤ h ) 2 ≤ 5 a 2 D 0 [ h ] . (34)
The triangle inequality for the vector ( ν ′ ′ ( u i ) t i g i ⊤ h ) i ∈ L (\sqrt{\nu''(u_i)}t_i g_i^{\top}h)_{i\in\mathcal{L}} ( ν ′′ ( u i ) t i g i ⊤ h ) i ∈ L gives
U x [ h ] ≤ ( 1 + C a κ ) ( U 0 [ h ] + 3 a D 0 [ h ] ) . (35) \sqrt{\mathbf{U}_x[h]}\le(1+Ca\kappa)(\sqrt{\mathbf{U}_0[h]}+3a\sqrt{\mathbf{D}_0[h]}). \tag*{(35)} U x [ h ] ≤ ( 1 + C aκ ) ( U 0 [ h ] + 3 a D 0 [ h ] ) . (35)
For Γ 0 = [ ν ( u i 0 ) z i ] i ∈ L \mathbf{\Gamma}_0=[\sqrt{\nu(u_{i0})}z_i]_{i\in\mathcal{L}} Γ 0 = [ ν ( u i 0 ) z i ] i ∈ L , slack domination also gives ∥ R 0 1 / 2 Γ 0 ∥ o p 2 ≤ κ \lVert\mathbf{R}_0^{1/2}\mathbf{\Gamma}_0\rVert_{\mathrm{op}}^2\le\kappa ∥ R 0 1/2 Γ 0 ∥ op 2 ≤ κ . Let ( C x − C 0 ) h = Γ 0 e (\mathbf{C}_x-\mathbf{C}_0)h=\mathbf{\Gamma}_0e ( C x − C 0 ) h = Γ 0 e , where
e i = ν ′ ( u i x ) t i x − ν ′ ( u i 0 ) t i 0 ν ( u i 0 ) g i ( x 0 ) ⊤ h + ν ′ ( u i x ) t i x ν ( u i 0 ) ( g i ( x ) − g i ( x 0 ) ) ⊤ h . e_i=\frac{\nu'(u_{ix})t_{ix}-\nu'(u_{i0})t_{i0}}{\sqrt{\nu(u_{i0})}}g_i(x_0)^{\top}h+\frac{\nu'(u_{ix})t_{ix}}{\sqrt{\nu(u_{i0})}}(g_i(x)-g_i(x_0))^{\top}h. e i = ν ( u i 0 ) ν ′ ( u i x ) t i x − ν ′ ( u i 0 ) t i 0 g i ( x 0 ) ⊤ h + ν ( u i 0 ) ν ′ ( u i x ) t i x ( g i ( x ) − g i ( x 0 ) ) ⊤ h .
The weight identities and (B.6) bound ∥ e ∥ ≤ C a κ U 0 [ h ] + C a D 0 [ h ] \lVert e\rVert\le Ca\kappa\sqrt{\mathbf{U}_0[h]}+Ca\sqrt{\mathbf{D}_0[h]} ∥ e ∥ ≤ C aκ U 0 [ h ] + C a D 0 [ h ] , so
∥ R 0 1 / 2 ( C x − C 0 ) h ∥ ≤ C a κ ( κ U 0 [ h ] + D 0 [ h ] ) . (36) \left\lVert\mathbf{R}_0^{1/2}(\mathbf{C}_x-\mathbf{C}_0)h\right\rVert\le Ca\sqrt{\kappa}(\kappa\sqrt{\mathbf{U}_0[h]}+\sqrt{\mathbf{D}_0[h]}). \tag*{(36)} R 0 1/2 ( C x − C 0 ) h ≤ C a κ ( κ U 0 [ h ] + D 0 [ h ] ) . (36)
The triangle inequality for ( U x [ h ] , 2 ∥ R x 1 / 2 C x h ∥ ) (\sqrt{\mathbf{U}_x[h]},\sqrt{2}\lVert\mathbf{R}_x^{1/2}\mathbf{C}_xh\rVert) ( U x [ h ] , 2 ∥ R x 1/2 C x h ∥) , together with U 0 [ h ] ≤ P 0 [ h ] ≤ D 0 [ h ] \mathbf{U}_0[h]\le\mathbf{P}_0[h]\le\mathbf{D}_0[h] U 0 [ h ] ≤ P 0 [ h ] ≤ D 0 [ h ] , gives
P x [ h ] ≤ P 0 [ h ] + C a ( 1 + κ ) 3 / 2 D 0 [ h ] , (37) \sqrt{\mathbf{P}_x[h]}\le\sqrt{\mathbf{P}_0[h]}+Ca(1+\kappa)^{3/2}\sqrt{\mathbf{D}_0[h]}, \tag*{(37)} P x [ h ] ≤ P 0 [ h ] + C a ( 1 + κ ) 3/2 D 0 [ h ] , (37)
P x [ h ] ≤ P 0 [ h ] + C a ( 1 + κ ) 2 D 0 [ h ] . (38) \mathbf{P}_x[h]\le\mathbf{P}_0[h]+Ca(1+\kappa)^2\mathbf{D}_0[h]. \tag*{(38)} P x [ h ] ≤ P 0 [ h ] + C a ( 1 + κ ) 2 D 0 [ h ] . (38)
Here C C C absorbs the multiplicative inverse error, and squaring uses a ( 1 + κ ) 2 a(1+\kappa)^2 a ( 1 + κ ) 2 sufficiently small. Together with (B.5) and the anchor margin,
P x [ h ] − ( 1 − ρ / 2 ) D x [ h ] ≤ [ − ρ / 2 + C a ( 1 + κ ) 2 ] D 0 [ h ] ≤ 0 \mathbf{P}_x[h]-(1-\rho/2)\mathbf{D}_x[h]\le[-\rho/2+Ca(1+\kappa)^2]\mathbf{D}_0[h]\le0 P x [ h ] − ( 1 − ρ /2 ) D x [ h ] ≤ [ − ρ /2 + C a ( 1 + κ ) 2 ] D 0 [ h ] ≤ 0
when a ≤ c ρ / ( 1 + κ ) 2 a\le c\rho/(1+\kappa)^2 a ≤ c ρ / ( 1 + κ ) 2 for a sufficiently small universal c c c . The same estimates cover D 0 [ h ] = 0 \mathbf{D}_0[h]=0 D 0 [ h ] = 0 , in which case all these quadratic forms vanish. The Hessian identity proves concavity. Midpoint concavity gives E σ F b ( M ( x + σ t h ) ) ≤ F b ( M ( x ) ) \mathbb{E}_{\sigma}F_b(\mathbf{M}(x+\sigma th))\le F_b(\mathbf{M}(x)) E σ F b ( M ( x + σ t h )) ≤ F b ( M ( x )) whenever both endpoints are in the window and the fair sign is chosen after t t t .
Buffered weights. The proof also allows any fixed weight β i ≥ ν ( u i ( x 0 ) ) \beta_i \ge\nu(u_i(x_0)) β i ≥ ν ( u i ( x 0 )) , including β i = ν ( u i ( x 0 ) + μ ) \beta_i = \nu(u_i(x_0) + \mu) β i = ν ( u i ( x 0 ) + μ ) when u i ( x 0 ) + μ ≤ 0 u_i(x_0) + \mu\le0 u i ( x 0 ) + μ ≤ 0 . The nearly tight count needs only this lower bound, the trace comparison uses nonnegative coefficients, and the light-row Gram matrix stays below the anchor matrix. The finite-bit analysis bounds the buffer’s potential cost.
Additive anchor error. Suppose a fixed subspace E ~ \widetilde{E} E instead satisfies P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] + ξ ∥ h ∥ 2 \mathbf{P}_0[h] \le(1-\rho)\mathbf{D}_0[h] + \xi\lVert h\rVert^2 P 0 [ h ] ≤ ( 1 − ρ ) D 0 [ h ] + ξ ∥ h ∥ 2 , with ξ ≥ 0 \xi\ge0 ξ ≥ 0 . Set D ~ x = D x + ( 2 ξ / ρ ) I \widetilde{\mathbf{D}}_x = \mathbf{D}_x + (2\xi/\rho)I D x = D x + ( 2 ξ / ρ ) I . Then P 0 ⪯ ( 1 − ρ / 2 ) D ~ 0 \mathbf{P}_0 \preceq(1-\rho/2)\widetilde{\mathbf{D}}_0 P 0 ⪯ ( 1 − ρ /2 ) D 0 on E ~ \widetilde{E} E , while D ~ x ⪰ D x \widetilde{\mathbf{D}}_x \succeq\mathbf{D}_x D x ⪰ D x and D ~ x = ( 1 + O ( a κ ) ) D ~ 0 \widetilde{\mathbf{D}}_x = (1+O(a\kappa))\widetilde{\mathbf{D}}_0 D x = ( 1 + O ( aκ )) D 0 in Loewner order. Repeating the stability argument with margin ρ / 2 \rho/2 ρ /2 gives for all h ∈ E ~ h \in\widetilde{E} h ∈ E ,
h T ∇ 2 F b ( M ( x ) ) h ≤ ( 1 − ρ / 4 ) D ~ x [ h ] − D x [ h ] ≤ − ρ 4 D x [ h ] + 2 ξ ρ ∥ h ∥ 2 (39) h^\mathsf{T}\nabla^2 F_b(\mathbf{M}(x))h \le(1-\rho/4)\widetilde{\mathbf{D}}_x[h]-\mathbf{D}_x[h] \le-\frac{\rho}{4}\mathbf{D}_x[h]+\frac{2\xi}{\rho}\lVert h\rVert^2 \tag*{(39)} h T ∇ 2 F b ( M ( x )) h ≤ ( 1 − ρ /4 ) D x [ h ] − D x [ h ] ≤ − 4 ρ D x [ h ] + ρ 2 ξ ∥ h ∥ 2 (39)
Anchor guards. The guards in Section 6 are checked by interval products in O ~ ( s 2 ) \widetilde{O}(s^2) O ( s 2 ) work. Since v ^ > 0 \widehat{v}>0 v > 0 and M ^ v ^ < b v ^ \widehat{M}\widehat{v}<b\widehat{v} M v < b v , diagonal similarity by diag ( v ^ ) \operatorname{diag}(\widehat{v}) diag ( v ) gives row sums below b b b , hence λ max ( M ) < b \lambda_{\max}(M)<b λ m a x ( M ) < b . Multiplying ( b I − M ) v ^ ≥ 1 / 2 (bI-M)\widehat{v}\ge1/2 ( b I − M ) v ≥ 1/2 by the nonnegative inverse gives R 1 ≤ 2 v ^ \mathbf{R1}\le2\widehat{v} R1 ≤ 2 v and 1 T R 1 ≤ N P \mathbf{1}^{\mathsf{T}}\mathbf{R1}\le NP 1 T R1 ≤ N P . If F ≤ N P / 4 F\le NP/4 F ≤ N P /4 and P ≥ 8 P\ge8 P ≥ 8 , an accurate dyadic approximation to R 1 \mathbf{R1} R1 passes with constant slack. Increasing C P C_P C P enforces this smaller cap with the same constant success probability. Repeat the guard after buffering the fixed weights.
Probability bounds for the capped walk
Proof of Proposition 3.2. Use the stopped process from Section 3. Directions and clipping lengths are exposed before drawing the independent fair endpoint signs. For each batch, the sampler and rounding estimates in Sections 4 and 6 give
∥ [ h 1 ⋯ h b ] T [ h 1 ⋯ h b ] ∥ o p ≤ 2. (40) \left\lVert[h_1\ \cdots\ h_b]^\mathsf{T}[h_1\ \cdots\ h_b]\right\rVert_{\mathrm{op}}\le2. \tag*{(40)} [ h 1 ⋯ h b ] T [ h 1 ⋯ h b ] op ≤ 2. (40)
A common concentration estimate. Let a t a_t a t be exposed before the fair sign σ t \sigma_t σ t , and suppose ∑ t a t 2 ≤ Q \sum_t a_t^2\le Q ∑ t a t 2 ≤ Q on the stopped process. Since E [ e λ σ t a t ∣ F t , a t ] = cosh ( λ a t ) ≤ e λ 2 a t 2 / 2 \mathbb{E}[e^{\lambda\sigma_t a_t}\mid\mathcal{F}_t,a_t]=\cosh(\lambda a_t)\le e^{\lambda^2a_t^2/2} E [ e λ σ t a t ∣ F t , a t ] = cosh ( λ a t ) ≤ e λ 2 a t 2 /2 , the exponential supermartingale and its version with − λ -\lambda − λ give
Pr [ max ℓ ∣ ∑ t ≤ ℓ σ t a t ∣ ≥ u ] ≤ 2 inf λ > 0 e − λ u + λ 2 Q / 2 = 2 e − u 2 / ( 2 Q ) . (41) \Pr\left[\max_{\ell}\left|\sum_{t\le\ell}\sigma_ta_t\right|\ge u\right]\le2\inf_{\lambda>0}e^{-\lambda u+\lambda^2Q/2}=2e^{-u^2/(2Q)}. \tag*{(41)} Pr [ ℓ max t ≤ ℓ ∑ σ t a t ≥ u ] ≤ 2 λ > 0 inf e − λ u + λ 2 Q /2 = 2 e − u 2 / ( 2 Q ) . (41)
The same estimate holds conditional on any starting history.
Trust windows. Fix a vector f f f at the batch anchor and take a t = t t f T h t a_t=t_t f^\mathsf{T}h_t a t = t t f T h t . Equation (C.1) gives ∑ t a t 2 ≤ 2 τ 2 ∥ f ∥ 2 \sum_t a_t^2\le2\tau^2\lVert f\rVert^2 ∑ t a t 2 ≤ 2 τ 2 ∥ f ∥ 2 . Apply (C.2) to the s s s coordinate normals and at most 2 s / q ∗ 2s/q_\ast 2 s / q ∗ signed barrier gradients, whose norms are at most two. With u = a / 4 u=a/4 u = a /4 and τ ≤ a / ( 2 20 L ) \tau\le a/(2^{20}L) τ ≤ a / ( 2 20 L ) , each failure probability is at most exp ( − c 2 40 L 2 ) \exp(-c2^{40}L^2) exp ( − c 2 40 L 2 ) . There are polynomially many forms in a capped trial, so all batches stay in their inner windows with probability at least 1 − n − 8 1-n^{-8} 1 − n − 8 , after choosing the absolute constants. The quadratic identity (4) bounds barrier motion by a / 4 + a 2 / 4 a/4+a^2/4 a /4 + a 2 /4 . Fixed rows never exceed their anchor barriers, and light rows start below − 1 -1 − 1 and stay below − 3 / 4 -3/4 − 3/4 . Both proposed endpoints remain in the outer window, where Proposition 2.1 applies.
The potential and resolvent. Within a valid window, concavity gives E [ F ( x t + 1 ) ∣ F t , h t ] ≤ F ( x t ) \mathbb{E}[F(x_{t+1})\mid\mathcal{F}_t,h_t]\le F(x_t) E [ F ( x t + 1 ) ∣ F t , h t ] ≤ F ( x t ) . Lemma B.1 and the row-update comparisons in Appendix A extend this inequality across batch boundaries and epoch barrier increases. Stop at the first window or cap failure. At the initial anchor, M ⪯ b d e p I M \preceq b_{\mathrm{dep}}I M ⪯ b dep I gives F 1 ( M ) ≤ N b d e p / ( 1 − b d e p ) ≤ N F_1(M) \le N b_{\mathrm{dep}}/(1-b_{\mathrm{dep}}) \le N F 1 ( M ) ≤ N b dep / ( 1 − b dep ) ≤ N . At epoch j ≥ 1 j \ge1 j ≥ 1 , M ≺ b j − 1 I M \prec b_{j-1}I M ≺ b j − 1 I and b j − b j − 1 = 1 / ( 4 j 2 ) b_j-b_{j-1}=1/(4j^2) b j − b j − 1 = 1/ ( 4 j 2 ) give ( b j I − M ) − 1 ⪯ 4 j 2 I (b_jI-M)^{-1} \preceq4j^2I ( b j I − M ) − 1 ⪯ 4 j 2 I and F b j ( M ) ≤ 4 N j 2 F_{b_j}(M) \le4Nj^2 F b j ( M ) ≤ 4 N j 2 at its start. Doob’s inequality yields
Pr [ an epoch violates its cap ] ≤ ∑ j = 0 ⌈ log 2 n ⌉ Pr [ sup t ∈ epoch j F b j ( M t ) > N P ] ≤ 4 P ∑ j = 0 ⌈ log 2 n ⌉ ( j + 1 ) 2 ≤ C L 3 P ≤ 1 100 . \Pr[\text{an epoch violates its cap}] \le\sum_{j=0}^{\lceil\log_2 n\rceil}\Pr\left[\sup_{t\in\text{epoch }j}F_{b_j}(M_t)>NP\right] \le\frac{4}{P}\sum_{j=0}^{\lceil\log_2 n\rceil}(j+1)^2 \le\frac{CL^3}{P} \le\frac{1}{100}. Pr [ an epoch violates its cap ] ≤ j = 0 ∑ ⌈ l o g 2 n ⌉ Pr [ t ∈ epoch j sup F b j ( M t ) > N P ] ≤ P 4 j = 0 ∑ ⌈ l o g 2 n ⌉ ( j + 1 ) 2 ≤ P C L 3 ≤ 100 1 .
For the batch’s ambient dimension s a m b s_{\mathrm{amb}} s amb , a query state has N / 2 ≤ s t ≤ s a m b ≤ N N/2 \le s_t \le s_{\mathrm{amb}} \le N N /2 ≤ s t ≤ s amb ≤ N . Hence
F b j ( M t ) ≤ N P , 1 T ( b j I − M t ) − 1 1 = F b j ( M t ) + s a m b / b j ≤ N ( P + 1 ) ≤ P s t . (42) F_{b_j}(M_t) \le NP,\qquad\mathbf{1}^{\mathsf T}(b_jI-M_t)^{-1}\mathbf{1}=F_{b_j}(M_t)+s_{\mathrm{amb}}/b_j \le N(P+1)\le Ps_t. \tag*{(42)} F b j ( M t ) ≤ N P , 1 T ( b j I − M t ) − 1 1 = F b j ( M t ) + s amb / b j ≤ N ( P + 1 ) ≤ P s t . (42)
The potential bound includes the terminal endpoint before row updates. Also b j ≤ 1 + π 2 / 24 < 3 / 2 b_j \le1+\pi^2/24<3/2 b j ≤ 1 + π 2 /24 < 3/2 .
Retirement. Condition on a row’s retirement history. Its remaining coefficients r r r satisfy ∥ r ∥ 2 ≤ q ∗ \lVert r\rVert^2\le q_\ast ∥ r ∥ 2 ≤ q ∗ , and retirement occurs between batches. Within each later batch β \beta β , restrict r r r to its ambient coordinates, giving r β r_\beta r β of norm at most q ∗ \sqrt{q_\ast} q ∗ . Directions vanish on newly fixed coordinates, so the later active restrictions r t r_t r t satisfy r t T h t = r β T h t r_t^{\mathsf T}h_t=r_\beta^{\mathsf T}h_t r t T h t = r β T h t . The Gram bound and (14) therefore imply
Q : = ∑ t a f t e r r e t i r e m e n t t t 2 ( r t T h t ) 2 ≤ 2 τ 2 q ∗ B t o t ≤ C 0 q ∗ L 3 . Q:=\sum_{t\ \mathrm{after\ retirement}}t_t^2(r_t^{\mathsf T}h_t)^2\le2\tau^2q_\ast B_{\mathrm{tot}}\le C_0q_\ast L^3. Q := t after retirement ∑ t t 2 ( r t T h t ) 2 ≤ 2 τ 2 q ∗ B tot ≤ C 0 q ∗ L 3 .
Apply (C.2) to Y = ∑ t a f t e r r e t i r e σ t t t r t T h t Y=\sum_{t\ \mathrm{after\ retire}}\sigma_t t_t r_t^{\mathsf T}h_t Y = ∑ t after retire σ t t t r t T h t , stopping at a proposal violates the Gram or cap bounds:
Pr [ ∣ Y ∣ ≥ u ∣ F r e t i r e m e n t ] ≤ 2 exp ( − u 2 2 C 0 q ∗ L 3 ) = 2 exp ( − u 2 L 2 C 0 c ∗ ) . (43) \Pr[|Y|\ge u\mid\mathcal{F}_{\mathrm{retirement}}]\le2\exp\left(-\frac{u^2}{2C_0q_\ast L^3}\right)=2\exp\left(-\frac{u^2L}{2C_0c_\ast}\right). \tag*{(43)} Pr [ ∣ Y ∣ ≥ u ∣ F retirement ] ≤ 2 exp ( − 2 C 0 q ∗ L 3 u 2 ) = 2 exp ( − 2 C 0 c ∗ u 2 L ) . (43)
Nearest-sign rounding of the last fewer than 64 coordinates adds at most 63 q ∗ < 8 c ∗ L − 2 \sqrt{63q_\ast}<8\sqrt{c_\ast}L^{-2} 63 q ∗ < 8 c ∗ L − 2 . Take u = 1 / 200 u=1/200 u = 1/200 and choose c ∗ c_\ast c ∗ so this rounding contributes at most 1 / 400 1/400 1/400 and the displayed probability is at most n − 9 n^{-9} n − 9 . Over fewer than n 2 n^2 n 2 rows, the failure probability is at most n − 7 n^{-7} n − 7 . The stochastic error and final rounding use at most 3 / 400 3/400 3/400 , leaving 1 / 400 1/400 1/400 for the drift in Section 6. Combining the three failure probabilities proves the proposition.
Adaptive Gaussian sampling proofs
Use the completion protocol and exposed history from Section 4, stopping before the first dependent real insertion. A nonnegative ϕ \phi ϕ on PSD matrices is spectral increasing if it depends only on eigenvalues and ϕ ( A ) ≤ ϕ ( B ) \phi(A)\le\phi(B) ϕ ( A ) ≤ ϕ ( B ) whenever A ⪯ B A\preceq B A ⪯ B . Normalizing constants below are finite.
Lemma D.1 (Adaptive radial law and regularity). At initialization or immediately after a real insertion, let d = dim F d=\dim F d = dim F . In orthonormal coordinates, the projected hidden rows X ∈ R ( d − 1 ) × d X\in\mathbb{R}^{(d-1)\times d} X ∈ R ( d − 1 ) × d have conditional density
p ( X ) = 1 Z exp ( − 1 2 tr ( X Σ − 1 X T ) ) ϕ ( X Σ − 1 X T ) , (44) p(X)=\frac{1}{Z}\exp\left(-\frac{1}{2}\operatorname{tr}(X\Sigma^{-1}X^{\mathsf T})\right)\phi(X\Sigma^{-1}X^{\mathsf T}), \tag*{(44)} p ( X ) = Z 1 exp ( − 2 1 tr ( X Σ − 1 X T ) ) ϕ ( X Σ − 1 X T ) , (44) where Σ \Sigma Σ is PD and ϕ \phi ϕ is spectral increasing. Initially Σ = I \Sigma=I Σ = I . Predetermined hidden-row deletion and predictable coordinate restriction preserve this class and its extreme scale bounds. Exposing the null line and inserting a self-normal whose projection into F F F has angle θ < π / 2 \theta<\pi/2 θ < π /2 to that line preserve it, with
λ min ( Σ n e w ) ≥ λ min ( Σ ) cos 2 θ , λ max ( Σ n e w ) ≤ λ max ( Σ ) . (45) \lambda_{\min}(\Sigma_{\mathrm{new}})\ge\lambda_{\min}(\Sigma)\cos^2\theta,\qquad\lambda_{\max}(\Sigma_{\mathrm{new}})\le\lambda_{\max}(\Sigma). \tag*{(45)} λ m i n ( Σ new ) ≥ λ m i n ( Σ ) cos 2 θ , λ m a x ( Σ new ) ≤ λ m a x ( Σ ) . (45) After at most b b b self-normal insertions with error at most 2 ϵ s 2\epsilon_s 2 ϵ s , C b ϵ s 2 ≤ 1 / 4 C b\epsilon_s^2\le1/4 C b ϵ s 2 ≤ 1/4 ensures e − C b ϵ s 2 I ⪯ Σ ⪯ I e^{-Cb\epsilon_s^2}I\preceq\Sigma\preceq I e − C b ϵ s 2 I ⪯ Σ ⪯ I and κ ( Σ ) ≤ 2 \kappa(\Sigma)\le2 κ ( Σ ) ≤ 2 . The unit null vector has representation
h = Σ − 1 / 2 u ∥ Σ − 1 / 2 u ∥ 2 , u ∼ Unif ( S d − 1 ) , (46) h=\frac{\Sigma^{-1/2}u}{\lVert\Sigma^{-1/2}u\rVert_2},\qquad u\sim\operatorname{Unif}(\mathbb{S}^{d-1}), \tag*{(46)} h = ∥ Σ − 1/2 u ∥ 2 Σ − 1/2 u , u ∼ Unif ( S d − 1 ) , (46)
with a fair orientation, and satisfies (4.4). For m = d − 1 ≥ 1 m=d-1\ge1 m = d − 1 ≥ 1 and λ min ( Σ ) ≥ a 0 > 0 \lambda_{\min}(\boldsymbol{\Sigma})\ge a_0>0 λ m i n ( Σ ) ≥ a 0 > 0 , Pr [ σ min ( X ) ≤ t ∣ F ] ≤ m t 2 / ( 2 a 0 ) \Pr[\sigma_{\min}(\mathbf{X})\le t\mid\mathcal{F}]\le mt^2/(2a_0) Pr [ σ m i n ( X ) ≤ t ∣ F ] ≤ m t 2 / ( 2 a 0 ) for every t ≥ 0 t\ge0 t ≥ 0 .
Proof. Preserving the radial law. Whiten by Y = X Σ − 1 / 2 \mathbf{Y}=\mathbf{X}\boldsymbol{\Sigma}^{-1/2} Y = X Σ − 1/2 , whose density is proportional to e − tr ( Y Y T ) / 2 ϕ ( Y Y T ) e^{-\operatorname{tr}(\mathbf{Y}\mathbf{Y}^{\mathsf{T}})/2}\phi(\mathbf{Y}\mathbf{Y}^{\mathsf{T}}) e − tr ( Y Y T ) /2 ϕ ( Y Y T ) . For a matrix with m m m rows, extend ϕ \phi ϕ to its column Gram by evaluating it on the m m m largest eigenvalues, including zeros. This agrees with the row Gram. Row deletion adds z z T zz^{\mathsf{T}} z z T to the surviving column Gram, and column restriction adds z z T zz^{\mathsf{T}} z z T to the surviving row Gram. For either Gram S ∈ R ℓ × ℓ \mathbf{S}\in\mathbb{R}^{\ell\times\ell} S ∈ R ℓ × ℓ , the radial factor becomes
ϕ 1 ( S ) = ∫ R ℓ e − ∥ z ∥ 2 / 2 ϕ ( S + z z T ) d z . (47) \phi_1(\mathbf{S})=\int_{\mathbb{R}^{\ell}}e^{-\lVert z\rVert^2/2}\phi(\mathbf{S}+zz^{\mathsf{T}})\,dz. \tag*{(47)} ϕ 1 ( S ) = ∫ R ℓ e − ∥ z ∥ 2 /2 ϕ ( S + z z T ) d z . (47)
Rotational invariance and pointwise comparison make ϕ 1 \phi_1 ϕ 1 spectral increasing. The deletion and restriction are predictable. For L \mathbf{L} L with orthonormal columns, Σ 1 / 2 L ( L T Σ L ) − 1 / 2 \boldsymbol{\Sigma}^{1/2}\mathbf{L}(\mathbf{L}^{\mathsf{T}}\boldsymbol{\Sigma}\mathbf{L})^{-1/2} Σ 1/2 L ( L T Σ L ) − 1/2 has orthonormal columns. The same calculation for X L \mathbf{X}\mathbf{L} XL gives scale L T Σ L \mathbf{L}^{\mathsf{T}}\boldsymbol{\Sigma}\mathbf{L} L T Σ L and preserves the extreme eigenvalue bounds. For m = d − 1 m=d-1 m = d − 1 , thin QR gives volume factor ∏ i T i i d − i \prod_i\mathbf{T}_{ii}^{d-i} ∏ i T ii d − i and the Gram map has Jacobian 2 m ∏ i T i i m + 1 − i 2^m\prod_i\mathbf{T}_{ii}^{m+1-i} 2 m ∏ i T ii m + 1 − i . Thus S = Y Y T \mathbf{S}=\mathbf{Y}\mathbf{Y}^{\mathsf{T}} S = Y Y T has density ( Z ′ ) − 1 e − tr ( S ) / 2 ϕ ( S ) (\mathcal{Z}')^{-1}e^{-\operatorname{tr}(\mathbf{S})/2}\phi(\mathbf{S}) ( Z ′ ) − 1 e − tr ( S ) /2 ϕ ( S ) on the positive definite cone: its determinant exponent is ( d − m − 1 ) / 2 = 0 (d-m-1)/2=0 ( d − m − 1 ) /2 = 0 . Right orthogonal invariance makes the null line uniform and independent of S \mathbf{S} S . With an orthonormal basis U \mathbf{U} U of its orthogonal complement, write Y = A U T \mathbf{Y}=\mathbf{A}\mathbf{U}^{\mathsf{T}} Y = A U T , where A ∈ R m × m \mathbf{A}\in\mathbb{R}^{m\times m} A ∈ R m × m . Then
p ( A ∣ ker Y ) ∝ e − tr ( A A T ) / 2 ϕ ( A A T ) det ( A A T ) 1 / 2 . (48) p(\mathbf{A}\mid\ker\mathbf{Y})\propto e^{-\operatorname{tr}(\mathbf{A}\mathbf{A}^{\mathsf{T}})/2}\phi(\mathbf{A}\mathbf{A}^{\mathsf{T}})\det(\mathbf{A}\mathbf{A}^{\mathsf{T}})^{1/2}. \tag*{(48)} p ( A ∣ ker Y ) ∝ e − tr ( A A T ) /2 ϕ ( A A T ) det ( A A T ) 1/2 . (48)
The square Gram map has determinant exponent − 1 / 2 -1/2 − 1/2 , explaining the increasing factor det ( S ) 1 / 2 \det(\mathbf{S})^{1/2} det ( S ) 1/2 in (D.5). For the physical unit null vector h h h , the whitened null vector is proportional to Σ 1 / 2 h \boldsymbol{\Sigma}^{1/2}h Σ 1/2 h . The scale K h \mathbf{K}_h K h has support h ⊥ h^\perp h ⊥ and the Schur complement gives inverse:
K h = Σ − Σ h h T Σ h T Σ h , ( K h ∣ h ⊥ ) − 1 = P h ⊥ Σ − 1 P h ⊥ ∣ h ⊥ . (49) \mathbf{K}_h=\boldsymbol{\Sigma}-\frac{\boldsymbol{\Sigma}hh^{\mathsf{T}}\boldsymbol{\Sigma}}{h^{\mathsf{T}}\boldsymbol{\Sigma}h},\qquad
(\mathbf{K}_h\mid h^\perp)^{-1}=\mathbf{P}_{h^\perp}\boldsymbol{\Sigma}^{-1}\mathbf{P}_{h^\perp}\mid_{h^\perp}. \tag*{(49)} K h = Σ − h T Σ h Σ h h T Σ , ( K h ∣ h ⊥ ) − 1 = P h ⊥ Σ − 1 P h ⊥ ∣ h ⊥ . (49)
Its nonzero eigenvalues lie between the extreme eigenvalues of Σ \boldsymbol{\Sigma} Σ . Normalize the self-normal’s projection into F F F to h ~ \tilde h h ~ . Projection from h ⊥ h^\perp h ⊥ to h ~ ⊥ \tilde h^\perp h ~ ⊥ has singular values 1 , … , 1 , ∣ cos θ ∣ 1,\ldots,1,\lvert\cos\theta\rvert 1 , … , 1 , ∣ cos θ ∣ and preserves the whitened radial factor, transforming the scale by congruence, giving (D.2). Deleting the next hidden row restores the rectangular dimensions. Initially Σ = I \boldsymbol{\Sigma}=\mathbf{I} Σ = I and ϕ = 1 \phi=1 ϕ = 1 . The self-normal precedes coordinate constraints, so this comparison applies in h h h ’s sampling space and completes the induction.
Angular bounds. Projection of the self-normal into F F F , followed by normalization, gives θ ≤ C ϵ s \theta\le C\epsilon_s θ ≤ C ϵ s . Thus the recursion yields λ min ( Σ ) ≥ ( 1 − C ϵ s 2 ) b ≥ e − C ′ b ϵ s 2 \lambda_{\min}(\boldsymbol{\Sigma})\ge(1-C\epsilon_s^2)^b\ge e^{-C'b\epsilon_s^2} λ m i n ( Σ ) ≥ ( 1 − C ϵ s 2 ) b ≥ e − C ′ b ϵ s 2 and λ max ( Σ ) ≤ 1 \lambda_{\max}(\boldsymbol{\Sigma})\le1 λ m a x ( Σ ) ≤ 1 ; coordinate restrictions preserve these bounds. Right invariance gives (D.3), and the independent symmetric reference row chooses a fair orientation. For κ ( Σ ) ≤ 2 \kappa(\boldsymbol{\Sigma})\le2 κ ( Σ ) ≤ 2 , the denominator bound gives ∣ ⟨ v , h ⟩ ∣ 2 ≤ 2 ∥ v ∥ 2 2 U 1 2 \lvert\langle v,h\rangle\rvert^2\le2\lVert v\rVert_2^2U_1^2 ∣⟨ v , h ⟩ ∣ 2 ≤ 2 ∥ v ∥ 2 2 U 1 2 for a sphere coordinate U 1 U_1 U 1 . Its even moments satisfy d q E U 1 2 q ≤ ( 2 q − 1 ) ! ! d^q\mathbb{E}U_1^{2q}\le(2q-1)!! d q E U 1 2 q ≤ ( 2 q − 1 )!! , so
E e d U 1 2 / 8 ≤ ∑ q ≥ 0 ( 2 q − 1 ) ! ! 8 q q ! = ( 1 − 1 4 ) − 1 / 2 < 2. \mathbb{E}e^{dU_1^2/8}\le\sum_{q\ge0}\frac{(2q-1)!!}{8^q q!}=\left(1-\frac{1}{4}\right)^{-1/2}<2. E e d U 1 2 /8 ≤ q ≥ 0 ∑ 8 q q ! ( 2 q − 1 )!! = ( 1 − 4 1 ) − 1/2 < 2.
The same denominator bound and E u u T = I / d \mathbb{E}uu^{\mathsf{T}}=\mathbf{I}/d E u u T = I / d give the covariance estimate in (4.4).
The hidden-matrix lower tail. Translation by q I \mathbf{q}\mathbf{I} qI in the Gram density above and monotonicity give
Pr [ S ⪰ q I ∣ F ] = e − m q / 2 Z ′ ∫ T ≻ 0 e − tr ( T ) / 2 ϕ ( T + q I ) d T ≥ e − m q / 2 . \Pr[\mathbf{S}\succeq q\mathbf{I}\mid\mathcal{F}]
=\frac{e^{-mq/2}}{\mathcal{Z}'}\int_{\mathbf{T}\succ0}e^{-\operatorname{tr}(\mathbf{T})/2}\phi(\mathbf{T}+q\mathbf{I})\,d\mathbf{T}\ge e^{-mq/2}. Pr [ S ⪰ q I ∣ F ] = Z ′ e − m q /2 ∫ T ≻ 0 e − tr ( T ) /2 ϕ ( T + q I ) d T ≥ e − m q /2 .
Since X X T ⪰ a 0 S \mathbf{X}\mathbf{X}^{\mathsf{T}}\succeq a_0\mathbf{S} X X T ⪰ a 0 S , take q = t 2 / a 0 q=t^2/a_0 q = t 2 / a 0 to obtain the claimed bound from 1 − e − m t 2 / ( 2 a 0 ) ≤ m t 2 / ( 2 a 0 ) 1-e^{-mt^2/(2a_0)}\le mt^2/(2a_0) 1 − e − m t 2 / ( 2 a 0 ) ≤ m t 2 / ( 2 a 0 ) . □
Proof of Theorem 4.1 . Lemma D.1 gives the conditional direction bounds. For the high-probability bounds, choose A ′ > A A' > A A ′ > A so that n − A ′ n^{-A'} n − A ′ per batch sums to at most n − A ′ / 4 n^{-A'/4} n − A ′ /4 . Choose C b C_b C b , C k C_k C k sufficiently large depending on A ′ A' A ′ , C η C_\eta C η , c 0 c_0 c 0 and b ϵ s b\epsilon_s b ϵ s sufficiently small. Nonexplicit batches have k ≥ C k log ( 2 n ) k \ge C_k\log(2n) k ≥ C k log ( 2 n ) .
Real constraints: coordinate rows. For fixed I I I of size q ≤ b ≤ k / 2 q \le b \le k/2 q ≤ b ≤ k /2 , let U \mathbf{U} U have orthonormal columns spanning ker Z 0 , I , : \ker Z_{0,I,:} ker Z 0 , I , : of dimension d ≥ k − q d \ge k-q d ≥ k − q . Then ( Z 0 + η G ) I , : U = η Γ (Z_0+\eta G)_{I,:}\mathbf{U}=\eta\Gamma ( Z 0 + η G ) I , : U = η Γ , where Γ ∈ R q × d \Gamma\in\mathbb{R}^{q\times d} Γ ∈ R q × d has independent standard Gaussian entries. χ 2 \chi^2 χ 2 bounds on a 1 / 4 1/4 1/4 -net of at most 9 q 9^q 9 q points put every ∥ a ⊤ Γ ∥ 2 \lVert a^\top\Gamma\rVert_2 ∥ a ⊤ Γ ∥ 2 in [ 3 d / 4 , 3 d / 2 ] [3\sqrt{d}/4,3\sqrt{d}/2] [ 3 d /4 , 3 d /2 ] , except with probability 2 ⋅ 9 − c 1 d 2\cdot9^{-c_1d} 2 ⋅ 9 − c 1 d . Net extension gives σ min ( Γ ) ≥ d / 4 \sigma_{\min}(\Gamma)\ge\sqrt{d}/4 σ m i n ( Γ ) ≥ d /4 . Right projection decreases the row Gram matrix, so rounding gives σ min ( Z I , : ) ≥ η σ min ( Γ ) − η k / 32 ≥ η k / 8 \sigma_{\min}(Z_{I,:})\ge\eta\sigma_{\min}(\Gamma)-\eta\sqrt{k}/32\ge\eta\sqrt{k}/8 σ m i n ( Z I , : ) ≥ η σ m i n ( Γ ) − η k /32 ≥ η k /8 . Gaussian norm bounds ensure (15) except with probability n − A ′ / 3 n^{-A'/3} n − A ′ /3 .
Separation from self-normals. Condition only on the smoothed basis. Let H \mathbf{H} H collect the ideal directions whose self-normals were inserted, and N \mathbf{N} N those physical normals. Later directions are orthogonal to earlier self-normals, so ∣ ⟨ h i , h j ⟩ ∣ ≤ 2 ϵ s |\langle h_i,h_j\rangle|\le2\epsilon_s ∣ ⟨ h i , h j ⟩ ∣ ≤ 2 ϵ s for i ≠ j i\ne j i = j and
∥ H H ⊤ − I ∥ o p ≤ 2 b ϵ s , ∥ N − H ∥ o p ≤ 2 b ϵ s . (50) \lVert\mathbf{H}\mathbf{H}^{\top}-\mathbf{I}\rVert_{\mathrm{op}}\le2b\epsilon_s,\qquad\lVert\mathbf{N}-\mathbf{H}\rVert_{\mathrm{op}}\le2\sqrt{b\epsilon_s}. \tag*{(50)} ∥ H H ⊤ − I ∥ op ≤ 2 b ϵ s , ∥ N − H ∥ op ≤ 2 b ϵ s . (50)
Let h t h_t h t be the t t t th query direction, or zero if it never occurs. Occurrence is predictable, and a query without insertion ends the batch, so the first b b b queries include every inserted self-normal. At every actual query, dim F ≥ k − b ≥ k / 2 \dim F\ge k-b\ge k/2 dim F ≥ k − b ≥ k /2 . For fixed unit v ∈ E v\in E v ∈ E , (4.4) and the tower property give, inductively, E exp ( ( k / 64 ) ∑ t ≤ b ⟨ v , h t ⟩ 2 ) ≤ 2 b \mathbb{E}\exp((k/64)\sum_{t\le b}\langle v,h_t\rangle^2)\le2^b E exp (( k /64 ) ∑ t ≤ b ⟨ v , h t ⟩ 2 ) ≤ 2 b . Markov’s inequality then gives
Pr [ ∑ t ≤ b ⟨ v , h t ⟩ 2 > 1 64 ] ≤ 2 b e − k / 4096 . (51) \Pr\left[\sum_{t\le b}\langle v,h_t\rangle^2>\frac{1}{64}\right]\le2^b e^{-k/4096}. \tag*{(51)} Pr [ t ≤ b ∑ ⟨ v , h t ⟩ 2 > 64 1 ] ≤ 2 b e − k /4096 . (51)
This also bounds every prefix sum. For V I = span { P E e j : j ∈ I } V_I=\operatorname{span}\{P_Ee_j:j\in I\} V I = span { P E e j : j ∈ I } , take a 1 / 4 1/4 1/4 -net of at most 9 ∣ I ∣ 9^{|I|} 9 ∣ I ∣ unit vectors. Summing over coordinate sets bounds the coordinate and angular failure probabilities, respectively, by 2 b ( 9 e s ) b e − c 1 k / 2 ≤ n − A ′ / 3 2b(9es)^b e^{-c_1k/2}\le n^{-A'/3} 2 b ( 9 es ) b e − c 1 k /2 ≤ n − A ′ /3 and b ( 9 e s ) b 2 e − k / 4096 ≤ n − A ′ / 3 b(9es)^{b^2}e^{-k/4096}\le n^{-A'/3} b ( 9 es ) b 2 e − k /4096 ≤ n − A ′ /3 . Net extension gives ∥ H P V I ∥ o p ≤ 1 / 6 \lVert HP_{V_I}\rVert_{\mathrm{op}}\le1/6 ∥ H P V I ∥ op ≤ 1/6 for every I I I and prefix. With S H = rowspan ( N ) S_H=\operatorname{rowspan}(\mathbf{N}) S H = rowspan ( N ) ,
∥ P S H P V I ∥ o p ≤ 1 / 6 + 2 b ϵ s 1 − 2 b ϵ s − 2 b ϵ s ≤ 1 2 . (52) \lVert P_{S_H}P_{V_I}\rVert_{\mathrm{op}}\le\frac{1/6+2\sqrt{b\epsilon_s}}{\sqrt{1-2b\epsilon_s}-2\sqrt{b\epsilon_s}}\le\frac{1}{2}. \tag*{(52)} ∥ P S H P V I ∥ op ≤ 1 − 2 b ϵ s − 2 b ϵ s 1/6 + 2 b ϵ s ≤ 2 1 . (52)
Combining the constraints. In orthonormal coordinates on E E E , let D I \mathbf{D}_I D I have rows P E e j P_Ee_j P E e j for j ∈ I j\in I j ∈ I . Coordinate conditioning gives σ min ( D I ) ≥ σ min ( Z I , : ) / σ max ( Z ) ≥ c ′ η k \sigma_{\min}(\mathbf{D}_I)\ge\sigma_{\min}(Z_{I,:})/\sigma_{\max}(Z)\ge c'\eta\sqrt{k} σ m i n ( D I ) ≥ σ m i n ( Z I , : ) / σ m a x ( Z ) ≥ c ′ η k , while (D.7) gives a constant lower bound for σ min ( N ) \sigma_{\min}(\mathbf{N}) σ m i n ( N ) . Separation implies
∥ N ⊤ a + D I ⊤ b ∥ 2 2 ≥ 1 2 ( ∥ N ⊤ a ∥ 2 2 + ∥ D I ⊤ b ∥ 2 2 ) . \lVert\mathbf{N}^{\top}a+\mathbf{D}_I^{\top}b\rVert_2^2\ge\frac{1}{2}\left(\lVert\mathbf{N}^{\top}a\rVert_2^2+\lVert\mathbf{D}_I^{\top}b\rVert_2^2\right). ∥ N ⊤ a + D I ⊤ b ∥ 2 2 ≥ 2 1 ( ∥ N ⊤ a ∥ 2 2 + ∥ D I ⊤ b ∥ 2 2 ) .
The combined smallest singular value is at least 2 − 1 / 2 min { σ min ( N ) , σ min ( D I ) } 2^{-1/2}\min\{\sigma_{\min}(\mathbf{N}),\sigma_{\min}(\mathbf{D}_I)\} 2 − 1/2 min { σ m i n ( N ) , σ m i n ( D I )} , omitting empty blocks. Thus no coordinate insertion is dependent. Returning to coefficient coordinates changes the bound by at most two, so every nonempty real constraint matrix has smallest singular value at least β = n − C β \beta=n^{-C_\beta} β = n − C β , for a fixed constant. The three failure bounds sum to n − A ′ n^{-A'} n − A ′ per batch.
Completion matrices. In orthonormal coordinates on E E E , collect the real rows in C \mathbf{C} C and hidden rows in G \mathbf{G} G . Decomposing E E E into C \mathbf{C} C ’s row span and kernel gives
P = ( C G ) = ( C R 0 G R X ) . \mathbf{P}=
\begin{pmatrix}
\mathbf{C}\\
\mathbf{G}
\end{pmatrix}
=
\begin{pmatrix}
\mathbf{C}_R & 0\\
\mathbf{G}_R & \mathbf{X}
\end{pmatrix}. P = ( C G ) = ( C R G R 0 X ) .
X \mathbf{X} X has one fewer row than column, and the preceding bound gives invertible C R \mathbf{C}_R C R with ∥ C R − 1 ∥ ≤ β − 1 \lVert\mathbf{C}_R^{-1}\rVert\le\beta^{-1} ∥ C R − 1 ∥ ≤ β − 1 . In the original exposed filtration, Lemma D.1 gives σ min ( X ) ≥ α = n − C α \sigma_{\min}(\mathbf{X})\ge\alpha=n^{-C_\alpha} σ m i n ( X ) ≥ α = n − C α across polynomially many states with probability at least 1 − n − A − 2 1-n^{-A-2} 1 − n − A − 2 for large C α C_\alpha C α , before intersecting with the real-constraint event. Each hidden row’s norm is bounded by its original ambient Gaussian, so Gaussian norm bounds give ∥ G ∥ F ≤ L = n C L \lVert G\rVert_F \le L=n^{C_L} ∥ G ∥ F ≤ L = n C L across all batches. For right-hand side ( a , b ) (a,b) ( a , b ) , solve u = C R † a u=C_R^{\dagger}a u = C R † a and v = X T † ( b − G R u ) v=X^{\mathsf{T}\dagger}(b-G_Ru) v = X T † ( b − G R u ) . This right inverse has norm at most D = β − 1 + α − 1 ( 1 + L β − 1 ) D=\beta^{-1}+\alpha^{-1}(1+L\beta^{-1}) D = β − 1 + α − 1 ( 1 + L β − 1 ) , so ∥ P † ∥ ≤ D \lVert P^{\dagger}\rVert\le D ∥ P † ∥ ≤ D and dim ker P = 1 \dim\ker P=1 dim ker P = 1 . Between exposure and self-normal insertion the prefix’s previous bound applies. Self-normal insertion restores the rectangular density, and coordinate insertions preserve it. Coefficient coordinates change bounds by constant factors. For unit w ∈ ker P w\in\ker P w ∈ ker P and independent Gaussian r r r , r T w ∼ N ( 0 , 1 ) r^{\mathsf{T}}w\sim N(0,1) r T w ∼ N ( 0 , 1 ) conditionally on P P P , and
Q − 1 ( a t ) = P † a + w t − r T P † a r T w , ∥ Q − 1 ∥ o p ≤ D + 1 + ∥ r ∥ 2 D ∣ r T w ∣ . Q^{-1}\begin{pmatrix}a\\t\end{pmatrix}=P^{\dagger}a+w\frac{t-r^{\mathsf{T}}P^{\dagger}a}{r^{\mathsf{T}}w},\qquad\lVert Q^{-1}\rVert_{\mathrm{op}}\le D+\frac{1+\lVert r\rVert_2D}{\lvert r^{\mathsf{T}}w\rvert}. Q − 1 ( a t ) = P † a + w r T w t − r T P † a , ∥ Q − 1 ∥ op ≤ D + ∣ r T w ∣ 1 + ∥ r ∥ 2 D .
The refreshed reference row is independent of both the pre-insertion and post-insertion prefixes. Gaussian norm bounds and Pr [ ∣ r T w ∣ ≤ u ∣ P ] ≤ 2 / π u \Pr[\lvert r^{\mathsf{T}}w\rvert\le u\mid P]\le\sqrt{2/\pi}\,u Pr [∣ r T w ∣ ≤ u ∣ P ] ≤ 2/ π u give ∥ r ∥ 2 ≤ n C r \lVert r\rVert_2\le n^{C_r} ∥ r ∥ 2 ≤ n C r and ∣ r T w ∣ ≥ n − C r \lvert r^{\mathsf{T}}w\rvert\ge n^{-C_r} ∣ r T w ∣ ≥ n − C r across polynomially many operations with the required probability. The row norms bound ∥ Q ∥ F \lVert Q\rVert_F ∥ Q ∥ F ; the inverse bound converts to Frobenius norm.
Matrix formula maintenance
Proof of Theorem 5.1. Apply the row-query structure to A = A ( Q ) T \mathbf{A}=\mathcal{A}(\mathbf{Q})^{\mathsf{T}} A = A ( Q ) T , of order N = O ( s ) N=O(s) N = O ( s ) , with L = ⌈ log 2 N ⌉ L=\lceil\log_2N\rceil L = ⌈ log 2 N ⌉ levels. Level ℓ \ell ℓ rebuilds every d = 2 ℓ d=2^\ell d = 2 ℓ operations, and the top level recomputes the full inverse every Θ ( N ) \Theta(N) Θ ( N ) operations. Perform simultaneous rebuilds from the top down. At a level-ℓ \ell ℓ rebuild at time t t t , its parent snapshot has time u = t u=t u = t or u = t − d u=t-d u = t − d . Store the inverse rows indexed by I ( t , 2 d ) \mathcal{I}(t,2d) I ( t , 2 d ) together with the columns changed between u u u and t t t . The parent stores I ( u , 4 d ) \mathcal{I}(u,4d) I ( u , 4 d ) , which contains the child candidates by nesting and every changed column by the lookahead property. Thus every required parent row is available, and each level stores only O ( d ) O(d) O ( d ) rows. At the top level all rows are available. For parent snapshot B \mathbf{B} B and child B ′ = B + U V T \mathbf{B}'=\mathbf{B}+\mathbf{U}\mathbf{V}^{\mathsf{T}} B ′ = B + U V T , combine repeated updates into at most 2 ℓ 2^\ell 2 ℓ changed columns J J J . Their coordinate vectors form V \mathbf{V} V , and their net differences form U \mathbf{U} U . The small matrix D = I + V T B − 1 U \mathbf{D}=\mathbf{I}+\mathbf{V}^{\mathsf{T}}\mathbf{B}^{-1}\mathbf{U} D = I + V T B − 1 U governs the inverse correction. For I I I containing J J J and the child candidate set, Woodbury gives
( B ′ − 1 ) I , : = ( B − 1 ) I , : − ( B − 1 ) I , : U D − 1 ( B − 1 ) J , : . (53) (\mathbf{B}'^{-1})_{I,:}=(\mathbf{B}^{-1})_{I,:}-(\mathbf{B}^{-1})_{I,:}\mathbf{U}\mathbf{D}^{-1}(\mathbf{B}^{-1})_{J,:}. \tag*{(53)} ( B ′ − 1 ) I , : = ( B − 1 ) I , : − ( B − 1 ) I , : U D − 1 ( B − 1 ) J , : . (53)
Let M ( a , b , c ) M(a,b,c) M ( a , b , c ) be the cost of multiplying a × b a\times b a × b and b × c b\times c b × c matrices. Splitting the long dimensions into square blocks, with d = c 2 ℓ d=c2^\ell d = c 2 ℓ for constant c c c , gives the recomputation and amortized costs
O ( M ( d , N , d ) + M ( d , d , N ) + d ω ) = O ( N ( 2 ℓ ) ω − 1 ) , O\left(M(d,N,d)+M(d,d,N)+d^\omega\right)=O\left(N(2^\ell)^{\omega-1}\right), O ( M ( d , N , d ) + M ( d , d , N ) + d ω ) = O ( N ( 2 ℓ ) ω − 1 ) ,
∑ ℓ = 0 L O ( N ( 2 ℓ ) ω − 1 ) 2 ℓ = O ( N ∑ ℓ = 0 L ( 2 ℓ ) ω − 2 ) = O ~ ( N ω − 1 ) . (54) \sum_{\ell=0}^{L}\frac{O(N(2^\ell)^{\omega-1})}{2^\ell}
=O\left(N\sum_{\ell=0}^{L}(2^\ell)^{\omega-2}\right)
=\widetilde{O}(N^{\omega-1}). \tag*{(54)} ℓ = 0 ∑ L 2 ℓ O ( N ( 2 ℓ ) ω − 1 ) = O ( N ℓ = 0 ∑ L ( 2 ℓ ) ω − 2 ) = O ( N ω − 1 ) . (54)
Initialization costs O ( N ω ) O(N^\omega) O ( N ω ) . Let K \mathcal{K} K be a sufficiently large fixed power of N ( 1 + K ) ( 1 + K C ) N(1+K)(1+K_C) N ( 1 + K ) ( 1 + K C ) bounding endpoint matrices and update factors. It also bounds the small inverse, since D − 1 = I − V T B − 1 U \mathbf{D}^{-1}=\mathbf{I}-\mathbf{V}^{\mathsf{T}}\mathbf{B}^{-1}\mathbf{U} D − 1 = I − V T B − 1 U and ∥ D − 1 ∥ F ≤ ∣ J ∣ + ∥ V ∥ F ∥ B − 1 ∥ F ∥ U ∥ F \lVert\mathbf{D}^{-1}\rVert_F\le\sqrt{\lvert J\rvert}+\lVert\mathbf{V}\rVert_F\lVert\mathbf{B}^{-1}\rVert_F\lVert\mathbf{U}\rVert_F ∥ D − 1 ∥ F ≤ ∣ J ∣ + ∥ V ∥ F ∥ B − 1 ∥ F ∥ U ∥ F .
Although [3 Theorem A.1(4)] assumes an offline index sequence, its Woodbury error analysis depends only on the norm bounds, not on advance knowledge of the indices. We apply this analysis to the selected rows made available by the preceding hierarchy. Woodbury maps ( B + E ) − 1 (\mathbf{B}+\mathbf{E})^{-1} ( B + E ) − 1 to ( B ′ + E ) − 1 (\mathbf{B}'+\mathbf{E})^{-1} ( B ′ + E ) − 1 . An inverse-rounding error F \mathbf{F} F with ∥ F ∥ F ≤ δ \lVert\mathbf{F}\rVert_F\le\delta ∥ F ∥ F ≤ δ produces ( B ′ + E + E ′ ) − 1 (\mathbf{B}'+\mathbf{E}+\mathbf{E}')^{-1} ( B ′ + E + E ′ ) − 1 , where ∥ E ′ ∥ F ≤ 2 ∥ B ′ + E ∥ 2 2 δ ≤ K O ( 1 ) δ \lVert E'\rVert_F \le2\lVert B' + E\rVert_2^2 \delta\le\mathcal{K}^{O(1)}\delta ∥ E ′ ∥ F ≤ 2 ∥ B ′ + E ∥ 2 2 δ ≤ K O ( 1 ) δ , provided δ ∥ B ′ + E ∥ 2 ≤ 1 / 2 \delta\lVert B' + E\rVert_2 \le1/2 δ ∥ B ′ + E ∥ 2 ≤ 1/2 . Polynomial factor bounds permit local tolerances with ∥ E ′ ∥ F ≤ η \lVert E'\rVert_F \le\eta ∥ E ′ ∥ F ≤ η . Complete the selected rows virtually with the exact uncomputed rows of the same Woodbury expression. This full inverse has the same Frobenius error bound, and every child uses rows of this common parent. Induction through at most L + 1 L+1 L + 1 levels from rebuild to answer gives
∥ E ℓ ∥ F ≤ ( L − ℓ + 1 ) η , ∥ ( A + E 0 ) − 1 − A − 1 ∥ F ≤ 2 ∥ A − 1 ∥ 2 2 ∥ E 0 ∥ F ≤ 2 K 2 ( L + 1 ) η . (55) \lVert E_\ell\rVert_F \le(L-\ell+1)\eta,\qquad\lVert(\mathbf{A}+E_0)^{-1}-\mathbf{A}^{-1}\rVert_F \le2\lVert\mathbf{A}^{-1}\rVert_2^2\lVert E_0\rVert_F \le2\mathcal{K}^2(L+1)\eta. \tag*{(55)} ∥ E ℓ ∥ F ≤ ( L − ℓ + 1 ) η , ∥( A + E 0 ) − 1 − A − 1 ∥ F ≤ 2 ∥ A − 1 ∥ 2 2 ∥ E 0 ∥ F ≤ 2 K 2 ( L + 1 ) η . (55)
Choose η ≤ ϵ / [ 8 K 2 ( L + 1 ) ] \eta\le\epsilon/[8\mathcal{K}^2(L+1)] η ≤ ϵ / [ 8 K 2 ( L + 1 )] . Then, stable products and inversion need only polylogarithmic guard bits beyond log ( K / ϵ ) \log(\mathcal{K}/\epsilon) log ( K / ϵ ) . [3 ] uses O ~ ( log ( K / ϵ ) ) \widetilde{O}(\log(\mathcal{K}/\epsilon)) O ( log ( K / ϵ )) bit operations per arithmetic operation.
Finite-precision proofs
Use the global caps T ∗ T_* T ∗ , V V V and local error ϵ \epsilon ϵ from § 6 .
Computing the anchor subspace
Lemma F.1. Let S = S ⊤ ∈ R s × s \mathbf{S}=\mathbf{S}^{\top}\in\mathbb{R}^{s\times s} S = S ⊤ ∈ R s × s , let H \mathbf{H} H have at most s s s normalized rows, and suppose a k k k -dimensional subspace E ⊆ ker H E\subseteq\ker\mathbf{H} E ⊆ ker H satisfies h ⊤ S h ≤ 0 \mathbf{h}^{\top}\mathbf{S}\mathbf{h}\le0 h ⊤ Sh ≤ 0 for every h ∈ E \mathbf{h}\in E h ∈ E . Assume ∥ S ∥ 2 ≤ W \lVert\mathbf{S}\rVert_2\le W ∥ S ∥ 2 ≤ W . For 0 < ϵ a , δ a < 1 / 10 0<\epsilon_a,\delta_a<1/10 0 < ϵ a , δ a < 1/10 , one can compute a dyadic s × k s\times k s × k matrix Z \mathbf{Z} Z satisfying ∥ Z ⊤ Z − I ∥ 2 ≤ ϵ a \lVert\mathbf{Z}^{\top}\mathbf{Z}-\mathbf{I}\rVert_2\le\epsilon_a ∥ Z ⊤ Z − I ∥ 2 ≤ ϵ a , c ⊤ Z ⊤ S Z c ≤ ϵ a ∥ Z c ∥ 2 2 \mathbf{c}^{\top}\mathbf{Z}^{\top}\mathbf{S}\mathbf{Z}\mathbf{c}\le\epsilon_a\lVert\mathbf{Z}\mathbf{c}\rVert_2^2 c ⊤ Z ⊤ SZc ≤ ϵ a ∥ Zc ∥ 2 2 , and ∥ H Z c ∥ 2 ≤ 2 δ a ∥ Z c ∥ 2 \lVert\mathbf{H}\mathbf{Z}\mathbf{c}\rVert_2\le2\delta_a\lVert\mathbf{Z}\mathbf{c}\rVert_2 ∥ HZc ∥ 2 ≤ 2 δ a ∥ Zc ∥ 2 in expected O ~ ( s ω ) \widetilde{O}(s^\omega) O ( s ω ) bit operations whenever W , ϵ a − 1 , δ a − 1 ≤ n O ( 1 ) W,\epsilon_a^{-1},\delta_a^{-1}\le n^{O(1)} W , ϵ a − 1 , δ a − 1 ≤ n O ( 1 ) .
Proof. Set λ = 16 ( W + 1 ) / δ a 2 \lambda=16(W+1)/\delta_a^2 λ = 16 ( W + 1 ) / δ a 2 and K = S + λ H ⊤ H \mathbf{K}=\mathbf{S}+\lambda\mathbf{H}^{\top}\mathbf{H} K = S + λ H ⊤ H . Since h ⊤ K h ≤ 0 \mathbf{h}^{\top}\mathbf{K}\mathbf{h}\le0 h ⊤ Kh ≤ 0 on E E E , min-max gives λ k ( K ) ≤ 0 \lambda_k(\mathbf{K})\le0 λ k ( K ) ≤ 0 . Compute K = U D U ⊤ + E K \mathbf{K}=\mathbf{U}\mathbf{D}\mathbf{U}^{\top}+E_K K = UD U ⊤ + E K with D \mathbf{D} D increasing, ∥ E K ∥ 2 ≤ ϵ a / 100 \lVert E_K\rVert_2\le\epsilon_a/100 ∥ E K ∥ 2 ≤ ϵ a /100 , and ∥ U ⊤ U − I ∥ 2 ≤ ϵ a / [ 100 ( 1 + ∥ K ∥ 2 ) ] \lVert\mathbf{U}^{\top}\mathbf{U}-\mathbf{I}\rVert_2\le\epsilon_a/[100(1+\lVert\mathbf{K}\rVert_2)] ∥ U ⊤ U − I ∥ 2 ≤ ϵ a / [ 100 ( 1 + ∥ K ∥ 2 )] . Round the first k k k columns of U \mathbf{U} U with operator error at most ϵ a / [ 1000 ( 1 + ∥ K ∥ 2 ) ] \epsilon_a/[1000(1+\lVert\mathbf{K}\rVert_2)] ϵ a / [ 1000 ( 1 + ∥ K ∥ 2 )] to obtain Z \mathbf{Z} Z .
For analysis only, set η U = ϵ a / [ 100 ( 1 + ∥ K ∥ 2 ) ] \eta_U=\epsilon_a/[100(1+\lVert\mathbf{K}\rVert_2)] η U = ϵ a / [ 100 ( 1 + ∥ K ∥ 2 )] and take the orthogonal polar factor Q = U ( U ⊤ U ) − 1 / 2 \mathbf{Q}=\mathbf{U}(\mathbf{U}^{\top}\mathbf{U})^{-1/2} Q = U ( U ⊤ U ) − 1/2 . Since ∥ Q − U ∥ 2 ≤ η U \lVert\mathbf{Q}-\mathbf{U}\rVert_2\le\eta_U ∥ Q − U ∥ 2 ≤ η U and ∥ D ∥ 2 ≤ 2 ( 1 + ∥ K ∥ 2 ) \lVert\mathbf{D}\rVert_2\le2(1+\lVert\mathbf{K}\rVert_2) ∥ D ∥ 2 ≤ 2 ( 1 + ∥ K ∥ 2 ) , ∥ K − Q D Q ⊤ ∥ 2 ≤ ϵ a / 10 \lVert\mathbf{K}-\mathbf{Q}\mathbf{D}\mathbf{Q}^{\top}\rVert_2\le\epsilon_a/10 ∥ K − QD Q ⊤ ∥ 2 ≤ ϵ a /10 . Weyl’s inequality gives D k k ≤ ϵ a / 10 D_{kk}\le\epsilon_a/10 D k k ≤ ϵ a /10 , so Q k ⊤ K Q k ⪯ ( ϵ a / 5 ) I \mathbf{Q}_k^{\top}\mathbf{K}\mathbf{Q}_k\preceq(\epsilon_a/5)\mathbf{I} Q k ⊤ K Q k ⪯ ( ϵ a /5 ) I . The rounding bound gives ∥ Z − Q k ∥ 2 ≤ 2 η U \lVert\mathbf{Z}-\mathbf{Q}_k\rVert_2\le2\eta_U ∥ Z − Q k ∥ 2 ≤ 2 η U , hence ∥ Z ⊤ Z − I ∥ 2 ≤ ϵ a \lVert\mathbf{Z}^{\top}\mathbf{Z}-\mathbf{I}\rVert_2\le\epsilon_a ∥ Z ⊤ Z − I ∥ 2 ≤ ϵ a and c ⊤ Z ⊤ K Z c ≤ 1 2 ϵ a ∥ Z c ∥ 2 2 \mathbf{c}^{\top}\mathbf{Z}^{\top}\mathbf{K}\mathbf{Z}\mathbf{c}\le\frac{1}{2}\epsilon_a\lVert\mathbf{Z}\mathbf{c}\rVert_2^2 c ⊤ Z ⊤ KZc ≤ 2 1 ϵ a ∥ Zc ∥ 2 2 . For h = Z c \mathbf{h}=\mathbf{Z}\mathbf{c} h = Zc , the remaining conclusions follow from
h ⊤ S h ≤ h ⊤ K h ≤ ϵ a ∥ h ∥ 2 2 , λ ∥ H h ∥ 2 2 ≤ ( W + ϵ a ) ∥ h ∥ 2 2 ≤ λ δ a 2 ∥ h ∥ 2 2 . \mathbf{h}^{\top}\mathbf{S}\mathbf{h}\le\mathbf{h}^{\top}\mathbf{K}\mathbf{h}\le\epsilon_a\lVert\mathbf{h}\rVert_2^2,\qquad\lambda\lVert\mathbf{H}\mathbf{h}\rVert_2^2\le(W+\epsilon_a)\lVert\mathbf{h}\rVert_2^2\le\lambda\delta_a^2\lVert\mathbf{h}\rVert_2^2. h ⊤ Sh ≤ h ⊤ Kh ≤ ϵ a ∥ h ∥ 2 2 , λ ∥ Hh ∥ 2 2 ≤ ( W + ϵ a ) ∥ h ∥ 2 2 ≤ λ δ a 2 ∥ h ∥ 2 2 .
Assembly errors e S = ∥ S ^ − S ∥ 2 e_S=\lVert\widehat{\mathbf{S}}-\mathbf{S}\rVert_2 e S = ∥ S − S ∥ 2 and e H = ∥ H ^ − H ∥ 2 e_H=\lVert\widehat{\mathbf{H}}-\mathbf{H}\rVert_2 e H = ∥ H − H ∥ 2 perturb K \mathbf{K} K by at most e S + λ ( 2 ∥ H ∥ 2 e H + e H 2 ) e_S+\lambda(2\lVert\mathbf{H}\rVert_2e_H+e_H^2) e S + λ ( 2 ∥ H ∥ 2 e H + e H 2 ) . Choose e S ≤ ϵ a / 1000 e_S\le\epsilon_a/1000 e S ≤ ϵ a /1000 and e H ≤ ϵ a / [ 1000 λ ( 1 + ∥ H ∥ 2 ) ] e_H\le\epsilon_a/[1000\lambda(1+\lVert\mathbf{H}\rVert_2)] e H ≤ ϵ a / [ 1000 λ ( 1 + ∥ H ∥ 2 )] , and include these errors in the decomposition residual. Since ∥ K ∥ 2 ≤ W + λ s \lVert\mathbf{K}\rVert_2\le W+\lambda s ∥ K ∥ 2 ≤ W + λ s , all norms and inverse tolerances need O ( log n ) O(\log n) O ( log n ) bits.
We use a real symmetric version of Shah’s gap-free diagonalization [30 ] , with the following modification to its Gaussian deflation. For an r × r r\times r r × r matrix B \mathbf{B} B of independent real standard Gaussians, σ min ( B ) ≤ x \sigma_{\min}(\mathbf{B})\le x σ m i n ( B ) ≤ x implies that some column is within r x \sqrt{r}x r x of the span of the others: choose a unit minimizing vector and a coordinate of magnitude at least r − 1 / 2 r^{-1/2} r − 1/2 . Conditional on the other columns, this distance has the law ∣ N ( 0 , 1 ) ∣ |N(0,1)| ∣ N ( 0 , 1 ) ∣ , hence Pr [ σ min ( B ) ≤ x ] ≤ C r 3 / 2 x \Pr[\sigma_{\min}(\mathbf{B})\le x]\le Cr^{3/2}x Pr [ σ m i n ( B ) ≤ x ] ≤ C r 3/2 x . For a real matrix A \mathbf{A} A of rank r ≥ 1 r\ge1 r ≥ 1 with right singular basis V \mathbf{V} V , orthogonal invariance makes V ⊤ G : , 1 : r \mathbf{V}^{\top}\mathbf{G}_{:,1:r} V ⊤ G : , 1 : r such a matrix. If G \mathbf{G} G has size d × d d\times d d × d , set x = ρ f / ( 4 C r 3 / 2 ) x=\rho_f/(4Cr^{3/2}) x = ρ f / ( 4 C r 3/2 ) and L G = 2 log ( 8 d 2 / ρ f ) L_G=\sqrt{2\log(8d^2/\rho_f)} L G = 2 log ( 8 d 2 / ρ f ) . With failure probability at most ρ f / 2 \rho_f/2 ρ f /2 , σ min ( V ⊤ G : , 1 : r ) > x \sigma_{\min}(\mathbf{V}^{\top}\mathbf{G}_{:,1:r})>x σ m i n ( V ⊤ G : , 1 : r ) > x and ∥ G ∥ 2 ≤ d L G \lVert\mathbf{G}\rVert_2\le dL_G ∥ G ∥ 2 ≤ d L G . Approximate the Gaussian matrix to operator error at most c β x c\beta x c β x ; on this event ∥ G ∥ 2 ≥ x \lVert\mathbf{G}\rVert_2\ge x ∥ G ∥ 2 ≥ x , so this is sufficiently small for the deflation estimate, for a universal c > 0 c>0 c > 0 . The deterministic deflation estimate in [30 ] , Section 3 gives subspace error at most η f \eta_f η f when its input error satisfies
β ≤ η f σ r ( A ) x 12 ( σ 1 ( A ) + 2 ) d L G . (56) \beta\le\frac{\eta_f\sigma_r(\mathbf{A})x}{12(\sigma_1(\mathbf{A})+2)dL_G}. \tag*{(56)} β ≤ 12 ( σ 1 ( A ) + 2 ) d L G η f σ r ( A ) x . (56)
For spectral projectors, both singular values in this expression equal one. Allocate ρ f = 1 / ( 16 s ) \rho_f = 1/(16s) ρ f = 1/ ( 16 s ) to each of the at most 2 ( s − 1 ) 2(s - 1) 2 ( s − 1 ) deflations, and choose the real spectral shifts with total failure probability at most 1 / 8 1/8 1/8 . The recursive error allowances are inverse polynomial, so the smaller β \beta β requires only O ( log n ) O(\log n) O ( log n ) additional bits and polylogarithmic factors in the iteration count. Use real matrix products and real QR [14 ] , and symmetrize every intended symmetric intermediate matrix. Symmetrization preserves operator error before rounding; its rounding error has polynomial amplification. Real shifts, polynomial matrix-sign iterations, transposes, and recursive products therefore give real U and D.
Accept only when Frobenius upper bounds for the stored residual and orthogonality defect, including assembly error, imply the required bounds. Requesting s \sqrt{s} s smaller operator errors gives verification slack; stable products [14 ] and dyadic summation cost O ~ ( s ω ) \widetilde{O}(s^\omega) O ( s ω ) . Cap each attempt’s arithmetic at its successful-run bound and Gaussian digit generation at a constant multiple of its mean cost. Markov’s inequality bounds the latter failure by 1 / 8 1/8 1/8 , so independent attempts succeed with probability at least 1 / 2 1/2 1/2 . Repetition gives expected O ~ ( s ω ) \widetilde{O}(s^\omega) O ( s ω ) work. With at most C A log ( 2 n ) C_A \log(2n) C A log ( 2 n ) attempts, sufficiently large C A C_A C A makes exhaustion probability at most n − A n^{-A} n − A for any fixed A > 0 A > 0 A > 0 . Abort the trial on exhaustion; verification prevents an incorrect basis from being used, including for small s s s . □ \square □
Apply the lemma to S = P − ( 1 − ρ ) D S = P - (1 - \rho)D S = P − ( 1 − ρ ) D with normalized nonzero large-row and protected or heavy-row normals. The grid and spread condition give ∣ x j ∣ ≤ 1 − Δ x |x_j| \le1 - \Delta_x ∣ x j ∣ ≤ 1 − Δ x and ∣ b i j ∣ / r i ≤ 1 / 8 |b_{ij}|/r_i \le1/8 ∣ b ij ∣/ r i ≤ 1/8 , so
∣ g i j ∣ = ∣ b i j ∣ r i ∣ σ − 8 b i j ∣ b i j ∣ x j ∣ ≥ Δ x ∣ b i j ∣ r i , ∥ g i ∥ 2 ≥ Δ x q i r i > Δ x / γ . |g_{ij}| = \frac{|b_{ij}|}{r_i}\left|\sigma- 8\frac{b_{ij}}{|b_{ij}|}x_j\right| \ge\Delta_x\frac{|b_{ij}|}{r_i}, \qquad\|g_i\|_2 \ge\Delta_x\frac{\sqrt{q_i}}{r_i} > \Delta_x/\gamma. ∣ g ij ∣ = r i ∣ b ij ∣ σ − 8 ∣ b ij ∣ b ij x j ≥ Δ x r i ∣ b ij ∣ , ∥ g i ∥ 2 ≥ Δ x r i q i > Δ x / γ .
Large-row normals have norm greater than R max R_{\max} R m a x , so normalization needs O ( log ( Δ x − 1 ) + log n ) O(\log(\Delta_x^{-1}) + \log n) O ( log ( Δ x − 1 ) + log n ) bits. Using t i t_i t i , ∥ R ∥ 2 ≤ V \|R\|_2 \le V ∥ R ∥ 2 ≤ V , ∥ g i ∥ 2 ≤ 2 \|g_i\|_2 \le2 ∥ g i ∥ 2 ≤ 2 , ∥ z i ∥ 1 ≤ 1 \|z_i\|_1 \le1 ∥ z i ∥ 1 ≤ 1 , and ∑ i z i j ≤ Λ \sum_i z_{ij} \le\Lambda ∑ i z ij ≤ Λ in (8) gives ∥ S ∥ 2 ≤ C ( 1 + Λ ) 2 n 2 ( 1 + V ) 3 = : W \|S\|_2 \le C(1+\Lambda)^2 n^2(1+V)^3 =: W ∥ S ∥ 2 ≤ C ( 1 + Λ ) 2 n 2 ( 1 + V ) 3 =: W . For A b = b I − M A_b = bI - M A b = b I − M and a perturbation E b E_b E b with V ∥ E b ∥ 2 ≤ 1 / 2 V\|E_b\|_2 \le1/2 V ∥ E b ∥ 2 ≤ 1/2 , the inverse identity gives
∥ ( A b + E b ) − 1 − R ∥ 2 ≤ 2 V 2 ∥ E b ∥ 2 \|(A_b + E_b)^{-1} - R\|_2 \le2V^2\|E_b\|_2 ∥ ( A b + E b ) − 1 − R ∥ 2 ≤ 2 V 2 ∥ E b ∥ 2
and
∥ ( A b + E b ) − 1 1 − v ∥ 2 ≤ 2 s V 2 ∥ E b ∥ 2 . \|(A_b + E_b)^{-1}\mathbf{1} - v\|_2 \le2\sqrt{s}V^2\|E_b\|_2. ∥ ( A b + E b ) − 1 1 − v ∥ 2 ≤ 2 s V 2 ∥ E b ∥ 2 .
Gradient normalization amplifies errors by at most C γ / Δ x C\gamma/\Delta_x C γ / Δ x . The at most 2 n 2 2n^2 2 n 2 row terms, r i − 1 ≤ q ∗ − 1 / 2 r_i^{-1} \le q_*^{-1/2} r i − 1 ≤ q ∗ − 1/2 , and the bounds on λ \lambda λ and inverses give polynomial amplification in n n n , V V V , q ∗ − 1 q_*^{-1} q ∗ − 1 , Δ x − 1 \Delta_x^{-1} Δ x − 1 , δ ∗ − 1 \delta_*^{-1} δ ∗ − 1 . Divide scalar tolerances by this factor before assembling the anchor matrices. The sampler then perturbs Z Z Z by independent Gaussians and rounds it. For Z ^ = Z + E Z \widehat{Z} = Z + E_Z Z = Z + E Z with ∥ E Z ∥ 2 ≤ η \|E_Z\|_2 \le\eta ∥ E Z ∥ 2 ≤ η ,
∥ Z ^ T S Z ^ − Z T S Z ∥ 2 ≤ 2 ∥ S ∥ 2 ∥ Z ∥ 2 η + ∥ S ∥ 2 η 2 , \|\widehat{Z}^{\mathsf T}S\widehat{Z} - Z^{\mathsf T}SZ\|_2 \le2\|S\|_2\|Z\|_2\eta+ \|S\|_2\eta^2, ∥ Z T S Z − Z T S Z ∥ 2 ≤ 2∥ S ∥ 2 ∥ Z ∥ 2 η + ∥ S ∥ 2 η 2 ,
∥ H Z ^ − H Z ∥ 2 ≤ ∥ H ∥ 2 η . \|H\widehat{Z} - HZ\|_2 \le\|H\|_2\eta. ∥ H Z − H Z ∥ 2 ≤ ∥ H ∥ 2 η .
Choose η \eta η polynomially smaller than min { ε a / ( W + 1 ) , δ a / ( ∥ H ∥ 2 + 1 ) } \min\{\varepsilon_a/(W+1),\delta_a/(\|H\|_2+1)\} min { ε a / ( W + 1 ) , δ a / ( ∥ H ∥ 2 + 1 )} . The smoothed basis satisfies twice the original tolerances. Fixed dyadic grids keep summation growth to O ( log n ) O(\log n) O ( log n ) bits and prevent denominator growth. The scale rule in Appendix A and the fixed-degree weights also need O ( log n ) O(\log n) O ( log n ) bits. Exact clipping needs O ( p ) O(p) O ( p ) temporary bits for p p p -bit coordinates and preserves attained endpoints.
Transcript coupling
Proof of Proposition 6.1(i). For the quantizer q Δ , U ( a ) = Δ ⌊ a / Δ + U ⌋ q_{\Delta,U}(a) = \Delta\lfloor a/\Delta+ U\rfloor q Δ , U ( a ) = Δ ⌊ a /Δ + U ⌋ of § 6 , ∣ q Δ , U ( a ) − a ∣ ≤ Δ |q_{\Delta,U}(a)-a| \le\Delta ∣ q Δ , U ( a ) − a ∣ ≤ Δ and, for every fixed a a a and e > 0 e > 0 e > 0 ,
Pr U [ dist ( a + Δ U , Δ Z ) ≤ e ] ≤ 2 e Δ + 2 M . (57) \Pr_U[\operatorname{dist}(a+\Delta U,\Delta\mathbb{Z}) \le e] \le\frac{2e}{\Delta} + \frac{2}{M}. \tag*{(57)} U Pr [ dist ( a + Δ U , Δ Z ) ≤ e ] ≤ Δ 2 e + M 2 . (57)
Use a reference with continuous Gaussians, exact normalized outputs, and the same dithers, endpoint signs, dyadic coloring rules, and shared dyadic anchor bases. Include smoothing approximation and rounding errors in E r o u n d \mathbf{E}_{\mathrm{round}} E round in (17) . Public geometric, dependence, work-cap, or dither-boundary conditions may stop it. Its history excludes hidden conditioning and magnitude-guard outcomes. Apply the conditional sampler estimates in this history. For success, intersect with the unconditional event G G G of successful reference execution and polynomial Gaussian and matrix bounds with guard slack. No estimate conditions on G G G .
Approximate the reference Gaussian coefficients within δ G \delta_G δ G using the same lazy random-bit streams. On G G G , until the first stored-output disagreement, constraint rows agree, so
∥ Q ^ t − Q t ∥ 2 ≤ n C 1 δ G , ∥ Q ^ t − 1 − Q t − 1 ∥ 2 ≤ ∥ Q t − 1 ∥ 2 2 ∥ Q ^ t − Q t ∥ 2 1 − ∥ Q t − 1 ∥ 2 ∥ Q ^ t − Q t ∥ 2 ≤ 2 n 2 C Q + C 1 δ G . \lVert\widehat{Q}_t-Q_t\rVert_2 \le n^{C_1}\delta_G,\qquad
\lVert\widehat{Q}_t^{-1}-Q_t^{-1}\rVert_2
\le\frac{\lVert Q_t^{-1}\rVert_2^2\lVert\widehat{Q}_t-Q_t\rVert_2}{1-\lVert Q_t^{-1}\rVert_2\lVert\widehat{Q}_t-Q_t\rVert_2}
\le2n^{2C_Q+C_1}\delta_G. ∥ Q t − Q t ∥ 2 ≤ n C 1 δ G , ∥ Q t − 1 − Q t − 1 ∥ 2 ≤ 1 − ∥ Q t − 1 ∥ 2 ∥ Q t − Q t ∥ 2 ∥ Q t − 1 ∥ 2 2 ∥ Q t − Q t ∥ 2 ≤ 2 n 2 C Q + C 1 δ G .
provided n C Q + C 1 δ G ≤ 1 / 2 n^{C_Q+C_1}\delta_G\le1/2 n C Q + C 1 δ G ≤ 1/2 . Unconditional Gaussian tails bound magnitude-guard failures; they do not truncate the reference law. On G G G , near-isometry gives ( 2 ∥ Q t ∥ 2 ) − 1 ≤ ∥ z ∥ 2 ≤ 2 ∥ Q t − 1 ∥ 2 (2\lVert Q_t\rVert_2)^{-1}\le\lVert z\rVert_2\le2\lVert Q_t^{-1}\rVert_2 ( 2 ∥ Q t ∥ 2 ) − 1 ≤ ∥ z ∥ 2 ≤ 2 ∥ Q t − 1 ∥ 2 , making normalization polynomially Lipschitz. Taking δ G \delta_G δ G and the dynamic-inverse error polynomially smaller than ϵ \epsilon ϵ bounds every output error by ϵ / 2 \epsilon/2 ϵ /2 . For an explicit batch, compute the orthonormal basis by stable Gram-Schmidt or QR on the near-isometric Z Z Z . The reference uses the exact orthonormalization of the shared dyadic basis. Since Pr [ ∥ g ∥ 2 ≤ t ] ≤ Pr [ ∣ g 1 ∣ ≤ t ] ≤ 2 / π t \Pr[\lVert g\rVert_2\le t]\le\Pr[|g_1|\le t]\le\sqrt{2/\pi}\,t Pr [∥ g ∥ 2 ≤ t ] ≤ Pr [ ∣ g 1 ∣ ≤ t ] ≤ 2/ π t , increasing C g C_g C g makes all explicit normalization denominators inverse polynomial with the required probability. The same polynomial error control then applies. The perturbation estimate, with the bounded output blocks Z , Z ⊤ Z Z,Z^\top Z Z , Z ⊤ Z , gives polynomial norms for the rounded augmented matrix and its inverse, so the finite guards pass by their slack.
Let D D D be the event that some executed reference scalar a a a satisfies dist ( a + Δ U , Δ Z ) ≤ ϵ \operatorname{dist}(a+\Delta U,\Delta Z)\le\epsilon dist ( a + Δ U , Δ Z ) ≤ ϵ . Each new dither is independent of this exact scalar conditional on the preceding transcript, so (F.1) and the choices in Section 6 give
Pr [ D ] ≤ N o u t ( 2 ϵ Δ + 2 M ) ≤ 1 2 n − C f . \Pr[D]\le N_{\mathrm{out}}\left(\frac{2\epsilon}{\Delta}+\frac{2}{M}\right)\le\frac{1}{2}n^{-C_f}. Pr [ D ] ≤ N out ( Δ 2 ϵ + M 2 ) ≤ 2 1 n − C f .
On G ∩ D c G\cap D^c G ∩ D c , the finite scalar differs from the exact scalar by at most ϵ / 2 \epsilon/2 ϵ /2 , so its boundary check passes and both processes store the same dyadic value. Induction gives identical colorings, newly fixed coordinates, constraint rows, insertion choices, and public stopping decisions. Thus the finite trial succeeds whenever the reference succeeds on this event, and
Pr [ finite trial succeeds ] ≥ Pr [ G ∩ D c ] ≥ Pr [ G ] − Pr [ D ] . \Pr[\text{finite trial succeeds}]\ge\Pr[G\cap D^c]\ge\Pr[G]-\Pr[D]. Pr [ finite trial succeeds ] ≥ Pr [ G ∩ D c ] ≥ Pr [ G ] − Pr [ D ] .
The physical normal associated with c ^ \widehat{c} c obeys g ~ = Z ( Z ⊤ Z ) − 1 c ^ \widetilde{g}=Z(Z^\top Z)^{-1}\widehat{c} g = Z ( Z ⊤ Z ) − 1 c and ∥ g ~ − h ∥ 2 ≤ ∥ Z ( Z ⊤ Z ) − 1 ∥ 2 ∥ c ^ − c ∥ 2 ≤ 2 k Δ \lVert\widetilde{g}-h\rVert_2\le\lVert Z(Z^\top Z)^{-1}\rVert_2\lVert\widehat{c}-c\rVert_2\le2\sqrt{k}\,\Delta ∥ g − h ∥ 2 ≤ ∥ Z ( Z ⊤ Z ) − 1 ∥ 2 ∥ c − c ∥ 2 ≤ 2 k Δ . Projection into the feasible space gives angular error O ( k Δ ) O(\sqrt{k}\Delta) O ( k Δ ) . Masking fixed coordinates cannot increase the error, since the exact direction vanishes there. The comparison above transfers the reference success bounds to the finite algorithm with fixed precision and an operation cap. Karney’s sampler [20 ] generates Gaussian digits in expected time linear in their number. Choose tolerances giving Euclidean error at most ϵ \epsilon ϵ per contribution after amplification.
Propagation of numerical errors
Proof of Proposition 6.1(ii). For a protected signed row, the hard constraint and local errors give ∣ g i ( x 0 ) ⊤ ( x t + 1 − x t ) ∣ ≤ C ϵ |g_i(x_0)^\top(x_{t+1}-x_t)|\le C\epsilon ∣ g i ( x 0 ) ⊤ ( x t + 1 − x t ) ∣ ≤ C ϵ . Use the quadratic identity (4) with y = x − x 0 y=x-x_0 y = x − x 0 and sum at most b max b_{\max} b m a x exposures:
g i ( x 0 ) ⊤ y = ∑ t g i ( x 0 ) ⊤ ( x t + 1 − x t ) ≤ C b max ϵ . (58) g_i(x_0)^\top y=\sum_t g_i(x_0)^\top(x_{t+1}-x_t)\le Cb_{\max}\epsilon. \tag*{(58)} g i ( x 0 ) ⊤ y = t ∑ g i ( x 0 ) ⊤ ( x t + 1 − x t ) ≤ C b m a x ϵ . (58)
The fixed weight ν ( u i ( x 0 ) + μ b a t c h ) \nu(u_i(x_0)+\mu_{\mathrm{batch}}) ν ( u i ( x 0 ) + μ batch ) , where μ b a t c h = C b max ϵ \mu_{\mathrm{batch}}=Cb_{\max}\epsilon μ batch = C b m a x ϵ , therefore dominates the actual weight throughout the batch without row scans. For u ≤ 0 u\le0 u ≤ 0 , ν ′ ( u ) / ν ( u ) ≤ 1 / 2 \nu'(u)/\nu(u)\le1/2 ν ′ ( u ) / ν ( u ) ≤ 1/2 . Small error allowances make buffering change weights by a relative factor at most e μ b a t c h / 2 − 1 ≤ μ b a t c h e^{\mu_{\mathrm{batch}}/2}-1\le\mu_{\mathrm{batch}} e μ batch /2 − 1 ≤ μ batch . The resulting nonnegative matrix increment Δ M \Delta\mathbf{M} Δ M satisfies 0 ⪯ Δ M ⪯ μ b a t c h M 0\preceq\Delta\mathbf{M}\preceq\mu_{\mathrm{batch}}\mathbf{M} 0 ⪯ Δ M ⪯ μ batch M and ∥ Δ M ∥ 2 ≤ 2 μ b a t c h \lVert\Delta\mathbf{M}\rVert_2\le2\mu_{\mathrm{batch}} ∥ Δ M ∥ 2 ≤ 2 μ batch . For ∥ R ∥ 2 ∥ Δ M ∥ 2 ≤ 1 / 2 \lVert\mathbf{R}\rVert_2\lVert\Delta\mathbf{M}\rVert_2\le1/2 ∥ R ∥ 2 ∥ Δ M ∥ 2 ≤ 1/2 ,
∥ ( I − R 1 / 2 Δ M R 1 / 2 ) − 1 ∥ 2 ≤ 2 , F ( M + Δ M ) − F ( M ) = v T Δ M ( I − R Δ M ) − 1 v ≤ C μ b a t c h V 2 . \left\lVert\left(\mathbf{I}-\mathbf{R}^{1/2}\Delta\mathbf{M}\mathbf{R}^{1/2}\right)^{-1}\right\rVert_2\le2,\qquad F(\mathbf{M}+\Delta\mathbf{M})-F(\mathbf{M})=\mathbf{v}^{\mathsf{T}}\Delta\mathbf{M}(\mathbf{I}-\mathbf{R}\Delta\mathbf{M})^{-1}\mathbf{v}\le C\mu_{\mathrm{batch}}V^2. ( I − R 1/2 Δ M R 1/2 ) − 1 2 ≤ 2 , F ( M + Δ M ) − F ( M ) = v T Δ M ( I − R Δ M ) − 1 v ≤ C μ batch V 2 .
Before buffering, approximate t i t_i t i to error at most Θ / 8 \Theta/8 Θ/8 and fix rows with t ^ i ≥ 3 Θ / 4 \widehat{t}_i\ge3\Theta/4 t i ≥ 3Θ/4 . Selected rows have t i ≥ 5 Θ / 8 ≥ Θ / 2 t_i\ge5\Theta/8\ge\Theta/2 t i ≥ 5Θ/8 ≥ Θ/2 , preserving the count, while unselected rows have t i < 7 Θ / 8 t_i<7\Theta/8 t i < 7Θ/8 . The entrywise resolvent identity and Δ M v ≤ μ b a t c h M v ≤ 2 μ b a t c h V 1 \Delta\mathbf{M}\mathbf{v}\le\mu_{\mathrm{batch}}\mathbf{M}\mathbf{v}\le2\mu_{\mathrm{batch}}V\mathbf{1} Δ Mv ≤ μ batch Mv ≤ 2 μ batch V 1 bound the resolvent vector’s growth by ( 1 − 2 μ b a t c h V ) − 1 (1-2\mu_{\mathrm{batch}}V)^{-1} ( 1 − 2 μ batch V ) − 1 . Choose the error allowance so this factor is at most 8 / 7 8/7 8/7 . The remaining light rows then satisfy t i ≤ Θ t_i\le\Theta t i ≤ Θ , as curvature transport requires. For potential drift, (B.11) bounds the Hessian on the anchor span by 2 ϵ a / ρ 2\epsilon_a/\rho 2 ϵ a / ρ times the identity throughout the enlarged window. Directions within ϵ \epsilon ϵ of this span add at most C ∥ ∇ 2 F ∥ 2 ϵ C\lVert\nabla^2 F\rVert_2\epsilon C ∥ ∇ 2 F ∥ 2 ϵ . The resolvent formulas bound ∥ ∇ F ∥ 2 ≤ C ( 1 + V ) 2 \lVert\nabla F\rVert_2\le C(1+V)^2 ∥ ∇ F ∥ 2 ≤ C ( 1 + V ) 2 and ∥ ∇ 2 F ∥ 2 ≤ C ( 1 + V ) 3 \lVert\nabla^2F\rVert_2\le C(1+V)^3 ∥ ∇ 2 F ∥ 2 ≤ C ( 1 + V ) 3 . Since ν ( r ) ( u ) ≤ C r ν ( u ) \nu^{(r)}(u)\le C_r\nu(u) ν ( r ) ( u ) ≤ C r ν ( u ) and ∥ g i ∥ 2 ≤ 2 \lVert\mathbf{g}_i\rVert_2\le2 ∥ g i ∥ 2 ≤ 2 , the first two matrix derivatives have constant bounds. Each inverse derivative adds at most one factor ∥ R ∥ 2 ≤ V \lVert\mathbf{R}\rVert_2\le V ∥ R ∥ 2 ≤ V .
Condition on the direction before drawing the fair sign. Symmetric Taylor expansion then gives E σ F ( x + σ t h ) − F ( x ) ≤ C τ 2 ( 1 + V ) 3 ϵ \mathbb{E}_{\sigma}F(x+\sigma t h)-F(x)\le C\tau^2(1+V)^3\epsilon E σ F ( x + σ t h ) − F ( x ) ≤ C τ 2 ( 1 + V ) 3 ϵ , where ϵ \epsilon ϵ includes anchor error. Endpoint rounding adds at most C ( 1 + V ) 2 ϵ C(1+V)^2\epsilon C ( 1 + V ) 2 ϵ . Summing exposure and buffer costs over total batch capacity O ( T ∗ + n ) O(T_*+n) O ( T ∗ + n ) gives drift at most C T ∗ ( 1 + V ) 3 ϵ CT_*(1+V)^3\epsilon C T ∗ ( 1 + V ) 3 ϵ . Adding the remaining error allowance restores a nonnegative supermartingale and the potential bound’s constant success probability. The condition u i ≤ 0 u_i\le0 u i ≤ 0 has slack. Newly medium rows begin far below − 1 -1 − 1 . Unprotected rows start each batch below − 1 -1 − 1 , and the enlarged window raises their barriers by at most 1 / 4 1/4 1/4 . Across consecutive protected batches, (F.2) bounds the cumulative increase. Rows leaving protection are again below − 1 -1 − 1 , so C T ∗ ϵ < 1 / 100 CT_*\epsilon<1/100 C T ∗ ϵ < 1/100 keeps each protected episode below − 1 / 2 -1/2 − 1/2 . Downward row reductions preserve this margin. Buffered barriers stay negative, avoiding decisions at u = 0 u=0 u = 0 . For large rows, normalized hard constraints limit drift to C ∥ b i ∥ 2 ϵ ≤ C n ϵ C\lVert b_i\rVert_2\epsilon\le C\sqrt{n}\epsilon C ∥ b i ∥ 2 ϵ ≤ C n ϵ per exposure, so ∣ d i ∣ ≤ C n T ∗ ϵ |d_i|\le C\sqrt{n}T_*\epsilon ∣ d i ∣ ≤ C n T ∗ ϵ before the row becomes medium. Choose δ d = C n T ∗ ϵ ≤ 10 − 3 \delta_d=C\sqrt{n}T_*\epsilon\le10^{-3} δ d = C n T ∗ ϵ ≤ 1 0 − 3 . The scalar comparison proving (A.2), with H 0 H_0 H 0 replaced by H 0 − δ d H_0-\delta_d H 0 − δ d , remains increasing in r ≤ R max r\le R_{\max} r ≤ R m a x . Its largest deposit ratio is therefore at most e δ d / ( 2 R max ) ( 1000 / 1009 ) < 1 e^{\delta_d/(2R_{\max})}(1000/1009)<1 e δ d / ( 2 R m a x ) ( 1000/1009 ) < 1 . Deposit replacement still decreases the majorant in Loewner order, and negative barriers permit the same subsequent scale reductions. Let G \mathbf{G} G contain all unit query directions in a batch, including the final query if it has no insertion, and let H \mathbf{H} H contain their scaled, rounded proposals. The pairwise argument of (D.7) gives ∥ G G T − I ∥ 2 ≤ C b max ϵ \lVert\mathbf{G}\mathbf{G}^{\mathsf{T}}-\mathbf{I}\rVert_2\le Cb_{\max}\epsilon ∥ G G T − I ∥ 2 ≤ C b m a x ϵ .
Each exact direction vanishes on the coordinates fixed before its query, so masking its rounded proposal changes only its support. Summing these row errors gives ∥ H − 3 G / 4 ∥ F ≤ C V b max ϵ \lVert\mathbf{H}-3\mathbf{G}/4\rVert_F\le C\sqrt{Vb_{\max}\epsilon} ∥ H − 3 G /4 ∥ F ≤ C V b m a x ϵ , even though the masks vary. Thus ∥ H ∥ 2 ≤ 2 \lVert\mathbf{H}\rVert_2\le2 ∥ H ∥ 2 ≤ 2 , preserving the window proof’s spectral-projection bound. Coordinate rounding adds at most T ∗ ϵ T_*\epsilon T ∗ ϵ to any unit linear functional. Expose each direction and clipping length before drawing its independent fair endpoint sign, and stop before a proposal violates the Gram or cap bounds. The sign-only argument of Proposition 3.2 then gives (C.4), with changed absolute constants. Coordinate rounding adds drift at most T ∗ ϵ q ∗ T_*\epsilon\sqrt{q_*} T ∗ ϵ q ∗ . For sufficiently small c ∗ c_* c ∗ , q ∗ = c ∗ L − 4 q_*=c_*L^{-4} q ∗ = c ∗ L − 4 preserves the retirement failure allowance over fewer than n 2 n^2 n 2 rows. Endpoint rounding changes energy by at most C n ϵ C\sqrt{n}\epsilon C n ϵ per exposure. The norm and clipping bounds persist, so Lemma 3.1 applies with energy allowance N + C n T ∗ ϵ N+C\sqrt{n}T_*\epsilon N + C n T ∗ ϵ .