One advice matrix has a small score; one added dimension need not

Working research note, 3 October 2026.

The foundations program studies representations of future computation that can be maintained with bounded local access and allocation. The present composition question asks how much stored information must be read when a separately prepared binary matrix meets a query uTAvu^{\mathsf T}Av.

The row-parity note reduces one remaining systematic-storage question to the score S(B;u,v)=∑ijBij(2uivj−1),F(C)=Emax⁡B∈CS(B;u,v), S(B;u,v)=\sum_{ij}B_{ij}(2u_iv_j-1),\qquad F(C)=\mathbb E\max_{B\in C}S(B;u,v), where u,vu,v are independent uniform binary vectors. The open conjecture is F(C)=O(n3/2)F(C)=O(n^{3/2}) for every linear matrix code of dimension at most nn. Full-row advice attains this order of saving over raw storage.

The subsequent local rectangle-consistency note proves the total bound for an overlapping family defined by a four-cell rule, and quantifies a common repair set. It also computes the actual linear saving of the cut code that invalidates a drift-free fluctuation bound below.

Two results separate an individual matrix from an entire linear family:

  • Every fixed matrix has expected positive score O(n)O(\sqrt n). A proof below gives the stronger bound 2ln⁡2Δ(B)\sqrt{2\ln2}\sqrt{\Delta(B)}, where Δ(B)\Delta(B) is its maximum row or column weight.
  • It is false that every additional code dimension increases FF by only O(n)O(\sqrt n). Explicit nested codes have a single increment of order nlog⁡n\sqrt n\log n, even from dimension n−1n-1 to dimension nn.

The second result does not disprove the open conjecture. It rules out a proposed way of proving it by bounding every step of an arbitrary basis flag.

Contents

1. Scope of the score

Store the raw n×nn\times n binary matrix and at most nn fixed public linear parities, with no other matrix-dependent initial state. Addresses and layout are fixed and public; storage is immutable. Queries are deterministic and exact for every matrix. Charge every old-bit observation through the answer, including deferred work. Query-only computation, local computation and allocation are free in this model.

When the parity reads are free, the exact optimal cost is dist⁡(uvT,C)\operatorname{dist}(uv^{\mathsf T},C), so its mean is n2/4−F(C)n^2/4-F(C). Charging the parity reads changes the optimum by at most dim⁡C≤n\dim C\le n. Thus the proposed total bound would settle the systematic secondary order, but the increments studied below are increments of the free-advice score, not increments of charged query cost.

The underlying fragments remain y=Axy=Ax and x=v, uTy=1x=v,\ u^{\mathsf T}y=1. They have boundary width b=2nb=2n, coefficient description size N0=Θ(n2)N_0=\Theta(n^2), and fixed-shape named-CNF size N=Θ(n2log⁡n)N=\Theta(n^2\log n), including private auxiliary variables. The storage budget is S≤n2+nS\le n^2+n bits. These restrictions do not include arbitrary changes of stored basis; that larger model remains separately identified in the row-parity note. No unrestricted SAT or machine lower bound follows here.

2. A bound for every fixed matrix

Proposition. Let BB be any fixed binary rectangular matrix and let u,vu,v be independent uniform binary vectors of the corresponding sizes. Let Δ\Delta be the largest row or column weight of BB. Then E(S(B;u,v))+≤2ln⁡2Δ.(1) \mathbb E(S(B;u,v))_+\le\sqrt{2\ln2}\sqrt\Delta. \tag{1} In particular Δ≤n\Delta\le n for an n×nn\times n matrix. The order n\sqrt n cannot be improved: a single full row has expectation n/(8π)+O(n−1/2)\sqrt{n/(8\pi)}+O(n^{-1/2}). No optimal constant is asserted in (1).

Proof. The zero matrix is immediate. Otherwise put m=wt⁡(B)>0m=\operatorname{wt}(B)>0. Split the support into the four rectangles determined by U=supp⁡(u)U=\operatorname{supp}(u) and V=supp⁡(v)V=\operatorname{supp}(v), and call their sizes a,b,c,da,b,c,d, with aa in U×VU\times V and dd in Uc×VcU^c\times V^c. Then S=2a−m=a−b−c−d. S=2a-m=a-b-c-d. Introduce independent signs ε=2u−1\varepsilon=2u-\mathbf1 and δ=2v−1\delta=2v-\mathbf1. Their bilinear sum is Z=εTBδ=a−b−c+d,EZ2=m.(2) Z=\varepsilon^{\mathsf T}B\delta=a-b-c+d,\qquad \mathbb EZ^2=m. \tag{2} The last equality follows by expanding the square: different matrix entries have zero cross expectation.

Consider all four possible quadrant excesses at once: T=(2a−m)++(2b−m)++(2c−m)++(2d−m)+. T=(2a-m)_++(2b-m)_++(2c-m)_++(2d-m)_+. At most one is positive, since two quadrants cannot both contain more than half the support. A diagonal excess is at most ZZ, and an off-diagonal excess is at most −Z-Z. For example 2a−m=Z−2d2a-m=Z-2d. Consequently T≤∣Z∣,ET=4ES+,Pr⁡(T>0)=4Pr⁡(S>0).(3) T\le |Z|,\quad \mathbb ET=4\mathbb ES_+,\quad \Pr(T>0)=4\Pr(S>0). \tag{3} The equalities use invariance under complementing either random vector.

Write ri,cjr_i,c_j for the row and column weights. Changing one input bit changes SS by at most 2ri2r_i or 2cj2c_j, and 4∑iri2+4∑jcj2≤8Δm. 4\sum_i r_i^2+4\sum_j c_j^2\le8\Delta m. Since ES=−m/2\mathbb ES=-m/2, the classical bounded-differences inequality gives p:=Pr⁡(S>0)≤exp⁡[−m/(16Δ)].(4) p:=\Pr(S>0)\le \exp[-m/(16\Delta)]. \tag{4} All its hypotheses hold here: the input bits are independent, and the displayed change bounds hold for every input. Combining (2)–(4) with Cauchy–Schwarz yields ES+≤14mmin⁡{1,4e−m/(16Δ)}.(5) \mathbb ES_+\le\frac14 \sqrt{m\min\{1,4e^{-m/(16\Delta)}\}}. \tag{5} As a function of nonnegative real mm, the expression inside the square root increases to the breakpoint m=16Δln⁡4m=16\Delta\ln4, and decreases afterward: the exponential branch is already past its maximum at m=16Δm=16\Delta. Substitution gives (1). □\square

The useful step is the envelope T≤∣Z∣T\le|Z|. The sign sum has second moment mm, whereas a direct variance bound for SS can be of order nmnm. The tail estimate alone misses this gain.

If a code has a basis B1,…,BrB_1,\ldots,B_r with pairwise disjoint supports, then choices add without XOR cancellations, pointwise. Therefore F(C)=∑ℓ=1rES(Bℓ)+≤2ln⁡2∑ℓ=1rΔ(Bℓ)≤2ln⁡2 rn.(6) F(C)=\sum_{\ell=1}^r\mathbb ES(B_\ell)_+ \le\sqrt{2\ln2}\sum_{\ell=1}^r\sqrt{\Delta(B_\ell)} \le\sqrt{2\ln2}\,r\sqrt n. \tag{6} This proves the desired order for that subclass. An arbitrary linear code need not possess such a basis.

3. A single dimension can unlock a larger saving

For each integer k≥2k\ge2, set r=2kr=2^k and n=krn=kr. Partition the rows into rr groups of kk rows. Let GjG_j consist of ones on all nn columns of group jj, and zeros elsewhere. Define E=span⁡{G1,…,Gr},C={∑jzjGj:∑jzj=0(mod2)}.(7) E=\operatorname{span}\{G_1,\ldots,G_r\},\qquad C=\left\{\sum_j z_jG_j:\sum_j z_j=0\pmod2\right\}. \tag{7} Disjoint supports give dimensions rr and r−1r-1, respectively, and E=C+⟨G1⟩E=C+\langle G_1\rangle. The smaller code permits only an even number of selected row groups.

Let K=wt⁡(v)K=\operatorname{wt}(v), A=2K−nA=2K-n, and let TjT_j count the active uu-rows in group jj. Choosing that group’s generator contributes aj=2KTj−kn=TjA−n(k−Tj).(8) a_j=2KT_j-kn=T_jA-n(k-T_j). \tag{8} The TjT_j are independent Bin⁡(k,1/2)\operatorname{Bin}(k,1/2) variables. The number MM of fully active groups consequently has distribution Bin⁡(r,1/r)\operatorname{Bin}(r,1/r), independently of AA, with qr:=Pr⁡(M odd)=1−(1−2/r)r2⟶1−e−22.(9) q_r:=\Pr(M\text{ odd}) =\frac{1-(1-2/r)^r}{2}\longrightarrow\frac{1-e^{-2}}2. \tag{9}

When 0<A≤n/(2k)0<A\le n/(2k), every fully active group has score kAkA, and every other group has score at most −n/2-n/2. The unrestricted code chooses all MM positive groups. If MM is even, this choice already lies in CC. If MM is odd, enforcing even parity requires an odd number of flips. Dropping one positive group costs kA≤n/2kA\le n/2; adding a negative group costs at least n/2n/2. Thus the exact difference of the two maxima is kAkA for odd MM, and zero otherwise. For A≤0A\le0, every group score is nonpositive and both maxima are zero.

The Rademacher tail bound gives Pr⁡(∣A∣>n/(2k))≤2e−n/(8k2)\Pr(|A|>n/(2k))\le2e^{-n/(8k^2)}. It follows directly from EetA=(cosh⁡t)n≤ent2/2\mathbb Ee^{tA}=(\cosh t)^n\le e^{nt^2/2} and Markov’s inequality. Since all score maxima lie between zero and n2n^2, F(E)−F(C)=qrkEA++O(n2e−n/(8k2)).(10) F(E)-F(C)=q_r k\mathbb EA_+ +O(n^2e^{-n/(8k^2)}). \tag{10} The binomial identity in the row-parity note gives EA+=n2−n(n−1⌊n/2⌋)=n/(2π)+O(n−1/2). \mathbb EA_+=n2^{-n}\binom{n-1}{\lfloor n/2\rfloor} =\sqrt{n/(2\pi)}+O(n^{-1/2}). As n=k2kn=k2^k and k/log⁡2n→1k/\log_2 n\to1, (10) proves F(E)−F(C)=(1−e−222π+o(1))nlog⁡2n.(11) F(E)-F(C)= \left(\frac{1-e^{-2}}{2\sqrt{2\pi}}+o(1)\right) \sqrt n\log_2 n. \tag{11} This disproves a uniform O(n)O(\sqrt n) bound on every increment.

The entire larger code still has F(E)=(1/2π+o(1))knF(E)=(1/\sqrt{2\pi}+o(1))k\sqrt n, by the same typical-event calculation: its maximum there is MkA+MkA_+ and EM=1\mathbb EM=1. That is much smaller than n3/2n^{3/2}. The obstruction is a constraint that postpones useful choices until one final direction removes it, not a counterexample to the total-score conjecture. Indeed, adding the disjoint generators one at a time gives this same code an inexpensive flag.

4. The obstruction persists at the full dimension budget

In each group, take the first-column cells of its first k−1k-1 rows. Let DD be the span of the corresponding r(k−1)r(k-1) singleton matrices. Put E′=E+DE'=E+D and C′=C+DC'=C+D. Each GjG_j has a nonzero support outside those cells, so dim⁡E′=n,dim⁡C′=n−1,C′+⟨G1⟩=E′. \dim E'=n,\quad \dim C'=n-1,\quad C'+\langle G_1\rangle=E'. For each query, the singleton cells can be optimized separately in either code; their common contribution cancels in the difference. Remove them from the group supports. Each residual group score differs from (8) by at most k−1k-1. A fully active group now has the common score g(v)=kA−(k−1)(2v1−1). g(v)=kA-(k-1)(2v_1-1). On ∣A∣≤n/(4k)|A|\le n/(4k), every other group has residual score at most −3n/4+k−1≤−n/2-3n/4+k-1\le-n/2, while g(v)+≤n/4+k−1≤n/2g(v)_+\le n/4+k-1\le n/2. The parity argument therefore gives the exact difference g(v)+1{M odd}g(v)_+\mathbf1_{\{M\text{ odd}\}}. Using ∣g(v)+−kA+∣≤k−1|g(v)_+-kA_+|\le k-1 and the same tail bound, F(E′)−F(C′)=qrkEA++O(k)+O(n2e−n/(32k2)). F(E')-F(C')=q_r k\mathbb EA_++O(k) +O(n^2e^{-n/(32k^2)}). Thus (11) holds even for the final increment n−1→nn-1\to n.

These are admissible public parity spaces with at most nn extra bits. Their parities can be prepared in O(n2)O(n^2) Boolean operations: first compute the disjoint group parities, then their required pairwise sums and the singleton copies. Their explicit dense generator descriptions take at most O(n3)O(n^3) bits, are fixed independently of AA, and convey no query-dependent information. Padding with free singleton advice is legitimate in the score model, but it supplies no corresponding charged marginal-gain claim. In boundary units the free-score increment is Θ(blog⁡b)\Theta(\sqrt b\log b); along the named-CNF family it is Θ((N/log⁡N)1/4log⁡N)\Theta((N/\log N)^{1/4}\log N).

5. What this resolves

The single-matrix estimate is now a written theorem, and the universal per-dimension square-root estimate is refuted. The original systematic conjecture (8) remains open. A proof must control the whole code, or justify an amortized choice of directions; it cannot charge every affine-coset comparison the same O(n)O(\sqrt n) amount. No conclusion is established about the sharp secondary coefficient or the leading constant for arbitrary encoded bases.

The proposed single-matrix estimate and increment approach appeared in Grok-generated suggestions relayed by Joshua Gay. The proofs and counterexample here were checked against their exact quantifiers. The probabilistic input to (4) is classical McDiarmid bounded differences, stated with these hypotheses as Theorem 1 of Warnke, On the method of typical bounded differences. The remaining ingredients are elementary sign orthogonality, binomial parity, and Stirling asymptotics. Historical novelty is unestablished; these are research notes, with no proof-assistant verification claimed.

An exact checker checks the quadrant identities for all matrices through size three and the two increment constructions at n=8n=8. Its recorded output is finite corroboration. The unrestricted estimates and asymptotic obstruction rest on the written proofs above.