Quadratic composition cost with arbitrary linear advice
Working research note, 3 October 2026.
Suppose one fragment describes a binary matrix , while a second supplies vectors and asks whether . Preparing the matrix in advance can save work. For a matrix, and ask for the parity of the first row, so one stored row-parity bit answers that query in one read. Other choices ask for columns or mixtures of entries. Can an arbitrary linear encoding of all entries, together with extra parity bits, make every query substantially cheaper?
It cannot, in the exact bit-access model specified below. Every encoding requires reads on average, on every stored matrix. Reading entries directly gives , so both optimal mean and worst-case costs have order . This resolves the order question left by the small-advice theorem. The sharp leading constant for the larger advice class remains unknown.
The proof combines four independent queries. Because the extra stored parities form a linear space, four cheap approximations would combine into a cheap approximation of their sum. The summed query exposes enough independent information for the earlier matroid and multiplicity argument; its lower bound then transfers back to one query. The algorithm itself is still required to answer only one compatibility query.
Contents
1. Statement
Work over . Let be any basis of , and put Let have dimension . Both input vectors are independent and uniform, including zero. Distance is unnormalized Hamming distance. Write for the increasing inverse branch of binary entropy.
Theorem. For every positive integer , set . Whenever , In particular, , , and give where , . Thus the asymptotic constant in this lower bound is about . It is not claimed optimal. The theorem also gives quadratic order for for any fixed constant , by choosing a fixed integer .
2. Why summing queries helps
Write . Linearity gives add minimizing codewords and use the Hamming triangle inequality. For independent pairs , define Then . This is the only step requiring to be linear. An arbitrary set of advice vectors need not be closed under these sums.
3. Fewer independent groups suffice for the sum
Take independent formal vectors , each of length , and work over the rational function field . For each , form the column Let be the rank of columns indexed by . We claim To see this, stack evaluations at disjoint batches of fresh formal vectors, in one common extension field. Each batch has rank . All vectors together span the input space: any chosen of these generic vectors have formally nonzero determinant. Consequently a matrix annihilating them is zero. The , , remain linearly independent over the extension field, so the total stacked rank is , proving (4).
Edmonds’s matroid partition theorem, Theorem 1 partitions the coordinates into at most independent groups . A group of size has an -row square minor with formally nonzero determinant of degree at most .
For such a minor, determinant multiplicity at a binary input is at least its rank deficiency. Translating to that input and making constant row operations leaves each vanished row with only positive-degree entries. Every determinant term therefore has at least that many positive-degree factors. The binary-grid multiplicity bound of Dvir, Kopparty, Saraf and Sudan, Lemma 2.7 says that the expected multiplicity of a nonzero polynomial of degree at most is at most . Hence the full group’s expected rank is at least . This uses Hasse multiplicity over ; it does not assume that the determinant is nonzero somewhere on the binary grid. Summing over the groups gives where .
4. Entropy forces error in the sum
Choose a nearest codeword , with fixed tie breaking, and let . For fixed , choose a maximal independent set of columns , so . The choice depends only on . As the independent uniform tuple varies, the corresponding bits of are independent and uniform. If , then Here the conditional notation refers to the fixed tuple . The groups are disjoint, so their total expected selected error is at most . Summing and applying entropy concavity only over selected coordinates gives Since , inversion yields The inverse bound also holds when . The last expression uses monotonicity of both nonnegative factors as increases. Combining (6) with proves (1). No independence between coordinate selection and error probabilities was assumed.
5. Consequence for independently prepared fragments
The fragments are Their compatibility is the bit . There are boundary variables. The existing fixed-shape 3CNF realization has distinct variables and literal occurrences, using disjoint private auxiliaries. Actual binary variable-name encoding gives ; coefficient input size is .
Before the query, store , where is any public full-column-rank -by- binary matrix fixed per size. The encoded bits are the entire matrix-dependent initial state. Addresses and layout are public and fixed. There is no additional raw copy, input-dependent metadata, pointer identity, root choice or prior-query cache. A supplied dense encoding takes Boolean operations to prepare. Query-only preparation is independent and free.
A deterministic query algorithm must be exact for every . It may adaptively read the immutable old bits, with arbitrary free local computation and allocation. Every old-bit observation is charged through the final Boolean answer, including deferred work after creating a composition handle. Repeated reads do not reveal additional information but still cost reads.
Choose independent rows of , giving stored basis bits . The remaining bits are . If the basis matrix is , the query coefficients in these coordinates are ; they form a basis of bilinear forms. The advice code has dimension at most . This is an analysis of the given encoding, not a claim that arbitrary changes of storage coordinates preserve probe costs.
The established support characterization says every correct path, on each individual matrix, costs at least . Granting the advice free only weakens that bound and gives Thus (2) holds for the mean read cost on every , for every allowed encoding and universally correct algorithm. Some query is hard on every ; it may be chosen using , independently of .
For an upper bound store entries directly, pad with zero bits, and read exactly those entries with . Preparation costs ; mean reads are exactly , and worst-case reads at most . Consequently optimal mean and worst-case orders are both This upper bound witnesses the order only. The stronger previously established covering-code upper bounds for worst-case queries remain valid and are not superseded by this simpler construction.
An observation returning at most encoded bits yields the corresponding conditional lower bound divided by . Applying it to a machine requires its entire initialization and observation interface to satisfy this contract. No unrestricted Turing-machine, scaffolding-automaton, SAT, or P versus NP conclusion follows. The sum of queries used in the proof creates no new input requirement, storage, or preprocessing allowance.
6. Provenance and remaining question
The ingredients are classical: Edmonds’s partition theorem, the DKSS multiplicity bound, entropy, Hamming subadditivity, and the existing exact support characterization. The additional argument here combines independent query sums with the grouped-rank bound, allowing arbitrary linear advice of dimension . The earlier systematic-storage result of Ramamoorthy and Rashtchian assumes raw input storage plus linear advice; that statement alone does not cover arbitrary matrix coordinates. Historical novelty of the present combination has not been established. The proof is written rather than formally verified; it does not rely on finite experiments.
The quadratic-order question for linear storage is settled here. The quantitative continuation asks whether its optimal mean cost is still , as proved earlier for advice dimension , or whether independent parities can save a fixed positive fraction of that mean. Equation (2) leaves this constant gap. The claim of a sharp leading constant for this larger class is a conjecture, not a consequence of the four-query proof. The uniform external-repair assertion for rank-deficient bilinear maps also remains unproved and is not needed for this result.
Subsequent quantitative update, 3 October 2026. The row-parity construction improves the charged mean upper bound to . It preserves the quadratic order proved here. A finite counterexample rules out exact full-row optimality in systematic free-advice distance; it does not settle the asymptotic leading constant for arbitrary encodings.