How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Freivalds' one-trial matrix-product test has one-sided error
Statement
Let be a field and let . Choose a random vector uniformly and accept exactly when .
Then:
- if , the test accepts with probability ; 2. if , the test accepts with probability at most .
So one trial gives a one-sided-error randomized test for matrix products.
Facts & Assumptions
Given: a field , matrices , and a uniform random vector .
Matrix products and matrix-vector products are defined by finite sums over matching indices (Rectangular matrix multiplication and the identity matrix , including zero-sized shapes).
In a field, distinct scalars remain distinct and every nonzero scalar is invertible (Field).
Proof
If , then the equality follows directly from the finite-sum definition in [L1]. So the test always accepts a correct product.
Assume and put . Then some row of is nonzero. Choose the largest index with ; this is possible because the row is finite.
Fix all random bits of except . The equation for the chosen row has the form , because for . By [L2], is invertible, so at most one value of can satisfy this equation. Since is uniform on and in a field by [L2], the conditional probability that this row equation holds is at most . Therefore , and hence the acceptance probability when is at most .
Steps 1.1 and 2.1 prove the one-sided error bound for a single trial of the test. Repeating with fresh random vectors multiplies the failure probability.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
8 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Sanjeev Arora and Boaz Barak, Computational Complexity: A Modern Approach (standard reference, not scraped)
- Jiri Matousek, Thirty-three Miniatures, Section on Freivalds' algorithm (standard reference, not scraped)