Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generated
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 n≥1, let Y be a binary (n−1)×n matrix. The algorithm Gaussian elimination over F2 for Simon recovery terminates, returns FAIL exactly when rank⁡(Y)<n−1, and otherwise returns the unique nonzero vector in ker⁡Y. In particular, if the rows are independent and each row yi satisfies yi⋅s=0 for a fixed nonzero Simon mask s, then the returned vector is s. The algorithm uses O(n3) classical bit operations.

Facts & Assumptions

Given: n≥1, a binary matrix Y with n−1 rows and n columns, and, in the Simon case, a nonzero s∈F2n annihilated by each row.

[F1]

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 n−1, and otherwise sets the sole free variable to 1.

[F2]
[F3]

Rank-nullity: dim⁡FV=nullity⁡T+rank⁡T: for a linear map from an n-dimensional vector space, kernel dimension plus rank equals n.

[F4]

Simon hidden-XOR-period promise: the Simon mask s is nonzero.

[F5]

Binary dot product as parity: y⋅s is the parity of the coordinatewise products in F2.

[F6]

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.

[F7]

Classical bit-operation cost: bit-operation cost counts the transitions of the declared finite-alphabet Turing machine, including reading, writing, comparisons, and postprocessing.

[F8]

The coordinate vector space over F2: F2n and F2n−1 are vector spaces of dimensions n and n−1 with coordinatewise operations.

[F10]

The rank of a matrix equals the rank of the linear map x↦Ax: the matrix rank equals the rank of its associated linear map.

[F12]

Binary residue carrier and operations: F2={0,1}, so a one-dimensional F2-space has only the zero vector and its unique basis vector.

[F13]

Row space, column space, nullspace, row rank, column rank and matrix rank: matrix rank is the dimension of the span of its rows.

Proof

1.1givenF1F2F9F13algebra

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 Y are preserved by [F13] and [F9]. The loops visit n columns and at most n−1 pivot rows, with finite row scans, so they terminate.

2.1givenF1F2F6F13step 1.1algebra

At each pivot the selected entry is 1, 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 rank⁡(Y); step 1.1 preserves this rank from the input. The procedure returns FAIL precisely when this rank is below n−1.

3.1givenF1step 1.1step 2.1algebra

If the pivot count is n−1, there is exactly one nonpivot column. Setting its coordinate to 1 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 Y and is nonzero.

4.1givenF2F3F4F5F8F9F10F11F12step 3.1algebra

Whenever rank⁡(Y)=n−1, the associated map has rank n−1 by [F10] and domain dimension n by [F8]; rank-nullity [F3] gives a one-dimensional kernel. A basis of that kernel has one vector u, so every vector is cu by [F11]; [F12] gives c∈{0,1}, hence u 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 s, so [F5] and [F9] give s∈ker⁡Y, and [F4] gives s≠0; thus the output is s.

5.1givenF1F7algebra∎

Store the n−1 rows consecutively on an input work tape. To find pivots, a multitape machine may scan the whole O(n2)-bit matrix once for each of at most n columns; this costs O(n3) transitions including head movement. For each of at most n−1 pivots, copy its n bits to a work tape, then scan each of at most n−2 other rows and XOR the copied pivot row into it when required; each scan and row update costs O(n) transitions, so all row operations cost O(n3). Swaps, pivot bookkeeping, and back-substitution require at most O(n3) further transitions under the same scan representation. The finite-alphabet multitape convention [F7] therefore gives the stated O(n3) classical bit cost.

Depends on

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