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.
F2 row reduction returns the unique Simon mask
Statement
For , let be a binary matrix. The algorithm Gaussian elimination over F2 for Simon recovery terminates, returns FAIL exactly when , and otherwise returns the unique nonzero vector in . In particular, if the rows are independent and each row satisfies for a fixed nonzero Simon mask , then the returned vector is . The algorithm uses classical bit operations.
Facts & Assumptions
Given: , a binary matrix with rows and columns, and, in the Simon case, a nonzero annihilated by each row.
Gaussian elimination over F2 for Simon recovery: the procedure uses row swaps and row XORs, clears every pivot column from all other rows, fails when the pivot count is not , and otherwise sets the sole free variable to .
The quotient Z/2 is the binary field: is a field.
Rank-nullity: : for a linear map from an -dimensional vector space, kernel dimension plus rank equals .
Simon hidden-XOR-period promise: the Simon mask is nonzero.
Binary dot product as parity: is the parity of the coordinatewise products in .
Gaussian elimination reduces every finite matrix over a field to row echelon form: finite matrices over a field can be reduced by elementary row operations to echelon form.
Classical bit-operation cost: bit-operation cost counts the transitions of the declared finite-alphabet Turing machine, including reading, writing, comparisons, and postprocessing.
The coordinate vector space over F2: and are vector spaces of dimensions and with coordinatewise operations.
Matrix equation , its solution set, consistency, homogeneous systems and the augmented matrix : is the homogeneous system for the associated matrix map.
The rank of a matrix equals the rank of the linear map : the matrix rank equals the rank of its associated linear map.
Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis and is exactly the set of linear combinations of finite lists of elements of , and : a basis spans its vector space by finite linear combinations.
Binary residue carrier and operations: , so a one-dimensional -space has only the zero vector and its unique basis vector.
Row space, column space, nullspace, row rank, column rank and matrix rank: matrix rank is the dimension of the span of its rows.
Proof
Swapping two rows or replacing a row by its XOR with another preserves both the homogeneous solution set and row space: each operation has an inverse of the same form, and the new row is a combination of old rows. Thus the rank and kernel of are preserved by [F13] and [F9]. The loops visit columns and at most pivot rows, with finite row scans, so they terminate.
At each pivot the selected entry is , earlier pivot columns are zero below it, and XORing the pivot row clears its column in every other row. At termination the pivot columns form an identity block and all remaining rows are zero. The nonzero rows are independent because their pivot columns form an identity matrix, and they span the row space because every other row is zero. By [F13], the pivot count equals ; step 1.1 preserves this rank from the input. The procedure returns FAIL precisely when this rank is below .
If the pivot count is , there is exactly one nonpivot column. Setting its coordinate to and solving each pivot equation gives a vector in the reduced system with that coordinate nonzero. By step 1.1, it lies in the kernel of the original and is nonzero.
Whenever , the associated map has rank by [F10] and domain dimension by [F8]; rank-nullity [F3] gives a one-dimensional kernel. A basis of that kernel has one vector , so every vector is by [F11]; [F12] gives , hence is its unique nonzero vector. The algorithm's output from step 3.1 is therefore the unique nonzero kernel vector. In the Simon case, every row has dot product zero with , so [F5] and [F9] give , and [F4] gives ; thus the output is .
Store the rows consecutively on an input work tape. To find pivots, a multitape machine may scan the whole -bit matrix once for each of at most columns; this costs transitions including head movement. For each of at most pivots, copy its bits to a work tape, then scan each of at most other rows and XOR the copied pivot row into it when required; each scan and row update costs transitions, so all row operations cost . Swaps, pivot bookkeeping, and back-substitution require at most further transitions under the same scan representation. The finite-alphabet multitape convention [F7] therefore gives the stated classical bit cost.
Depends on
- Gaussian elimination over F2 for Simon recovery
- Rank-nullity: $\dim_F V=\operatorname{nullity}T+\operatorname{rank}T$
- Simon hidden-XOR-period promise
- The quotient Z/2 is the binary field
- Binary residue carrier and operations
- The coordinate vector space over F2
- Matrix equation $Ax=b$, its solution set, consistency, homogeneous systems and the augmented matrix $[A\mid b]$
- The rank of a matrix equals the rank of the linear map $x\mapsto Ax$
- Row space, column space, nullspace, row rank, column rank and matrix rank
- Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis
- $\operatorname{span}(S)$ is exactly the set of linear combinations of finite lists of elements of $S$, and $\operatorname{span}(\varnothing) = \{0_V\}$
- Binary dot product as parity
- Gaussian elimination reduces every finite matrix over a field to row echelon form
- Classical bit-operation cost
Used by
Dependency tree · two levels
48 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
- Ronald de Wolf, Quantum Computing: Lecture Notes (arXiv:1907.09415v6, 2026) (standard reference, not scraped)
- John Preskill, Quantum Information, Chapter 6: Quantum Algorithms (updated November 2020) (standard reference, not scraped)
- Andrew M. Childs, Lecture Notes on Quantum Algorithms (17 April 2025) (standard reference, not scraped)