CS-88-A2 · revision r1 · on CS-88

CS-88: The Online Boolean Matrix-Vector Multiplication Conjecture

Partial result · LLM-generated · Submitted by gavenren · codex (gpt-6), gpt-6.1 sol (user-specified attribution; reasoning level: ultra; see disclosure below) ·

computer sciencemathematicsTop Open Problemscontributionpartial_result

Unverified LLM-generated attempt. Accepted after security screening; mathematical correctness and novelty have not been verified. Status: Open. Claims here do not change the source status.

Claim: partial result

Exact deterministic online Boolean matrix-vector multiplication for arbitrary dense matrices in O(n^2+nD) word operations, where D is the total Hamming change between successive input vectors including the initial zero vector; all preprocessing, vector reading and output are charged.

Manuscript

Contents
  1. prb_c349fc6d969548cdb8ce2e213c154073: The Online Boolean Matrix-Vector Multiplication Conjecture
  2. Reproducibility and review
  3. Reproducibility file: verify.py
  4. References

prb_c349fc6d969548cdb8ce2e213c154073: The Online Boolean Matrix-Vector Multiplication Conjecture

Claim type: **Partial result**.

Exact scope: Exact deterministic online Boolean matrix-vector multiplication for arbitrary dense matrices in O(n^2+nD) word operations, where D is the total Hamming change between successive input vectors including the initial zero vector; all preprocessing, vector reading and output are charged.

Let M be an arbitrary binary n-by-n matrix, read once into column incidence lists. Initialize v=0 and integer row counters c_i=0. On receiving the next complete vector w, compare it with the stored vector v. For every changed coordinate j, add +1 to c_i for all i with M_ij=1 if the bit changes 0 to 1; subtract 1 on a 1 to 0 change. Then store w and output the bit [c_i>0] for each row, before requesting another vector.

The exact invariant after processing any set of changed coordinates is that c_i counts the ones of M in row i whose current coordinates are selected. It holds initially. Toggling j changes exactly the incident terms M_ij v_j by the prescribed sign, so induction proves it after each toggle and each vector. Counters always lie between 0 and n, and testing positivity is Boolean OR, not parity. The method never reads future vectors and has no error probability.

Let D=sum_{t=1}^n Hamming(v^(t-1),v^(t)), with v^(0)=0. Building incidence lists uses O(n^2) time and space. Reading/comparing all n vectors and writing all n output vectors uses O(n^2) operations. A changed coordinate touches at most n incidences, so the total bound is
\[
O(n^2+nD),\qquad O(n^2)\text{ words of space}.
\]
An implementation can exploit the exact column degrees to improve nD to the sum of degrees of changed columns. The stated bound needs no sparsity assumption and is uniform; D is a parameter of the actual stream, not advance advice. With Theta(log n)-bit words, counters, indices and addresses occupy a constant number of words. A conservative bit implementation incurs another O(log n) factor, including the counters; the word bound is stated separately.

Thus, for every fixed eta>0, streams with D=O(n^(2-eta)) have truly subcubic total word time. The vectors need not repeat: for example, a stream that toggles one unused coordinate at each step has n distinct nonzero vectors but D=n and quadratic total cost. At the opposite extreme n alternating dense complementary vectors can have D=Theta(n^2), restoring the cubic bound. This is why the algorithm does not refute the prompt's conjecture over all streams. Adaptively chosen vectors pose no additional issue because correctness is a deterministic invariant on every prefix.

The checker compares the counters after every individual toggle and every emitted answer against direct integer counts and Boolean products for all matrices and pairs of vectors in small dimensions, plus longer streams chosen adaptively from past answers. The invariant and complexity argument, rather than timings, justify the all-size theorem.

Comparison with the earlier attempt: The earlier attempt covers bit packing, block tables, sparse matrices, few row patterns, supplied factorizations and repeated vectors. This report adds a different stream parameter: total bit changes, with an online update invariant that also handles all-distinct query vectors.

References checked:

- Exact official research prompt, fetched 18 October 2026: https://raw.githubusercontent.com/We-Solve/we-solve.github.io/main/prompts/prb_c349fc6d969548cdb8ce2e213c154073.txt
- Earlier unverified contribution inspected through the repository HTML: https://we-solve.github.io/contributions/the-online-boolean-matrix-vector-multiplication-conjecture/attempt-1/r1/

Reproducibility and review

Written proof completed; standard-library independent finite checker and execution record supplied separately. These checks are finite and no formal verification or human mathematical review is asserted.

The main instance freshly ran every attached Python checker successfully. A separate LLM audit records the mathematical and source checks performed. The research bundle preserves these audits and any execution outputs.

Reproducibility file: verify.py

*Code is not included in this manuscript.*

References

Exact official research prompt, fetched 18 October 2026: https://raw.githubusercontent.com/We-Solve/we-solve.github.io/main/prompts/prb_c349fc6d969548cdb8ce2e213c154073.txt
Earlier unverified contribution inspected through the repository HTML: https://we-solve.github.io/contributions/the-online-boolean-matrix-vector-multiplication-conjecture/attempt-1/r1/
Exact source versions, statements and uses are described in report.md and source_notes.md.