Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generatedjudge pass (gpt-6-luna)verified 2026-10-22 (gpt-6.1-sol)
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.

Finite sign enumeration for real phase retrieval

Definition

Input a real measurement matrix A with m rows indexed by [m]={1,…,m} and d columns indexed by k<d, where d≥1 and m≥0. Use row i−1 of the ordinary zero-based m×d matrix for measurement label i. Input nonnegative intensities b:[m]→[0,∞), a mode in {exact,noisy}, a feasibility tolerance ε≥0, a maximum sign-pattern count P∈Z≥0, and a linear-solve budget L∈Z≥0. Put ri=bi.

For m=0, let Sm contain only the empty sign vector. For m≥1, let Sm={s:[m]→{−1,+1}:s1=+1}, ordered lexicographically with +1 before −1 and labels in increasing order. This gives one representative from each pair {s,−s}. A signed right-hand side is ys=(siri)i∈[m], interpreted in the same zero-based row order as A.

If P=0 or L=0, return no candidates with status budget-exhausted. Otherwise compute one SVD of A, form its unique Moore–Penrose inverse A+ and kernel ker⁡A, then process at most the first P patterns in Sm and perform at most L signed least-squares solves. Stop when either budget is exhausted. For each processed pattern s, compute the minimum-Euclidean-norm least-squares solution xs=A+ys and signed residual es=∥Axs−ys∥2. The budget L counts right-hand-side solves after the one SVD factorization.

  • In exact mode, record the affine family xs+ker⁡A when es≤ε, together with es. Mark it exact-feasible if es=0 and tolerance-feasible if 0<es≤ε. If ε=0 and all patterns are processed, return the union of the exact-feasible families modulo x∼−x, or report infeasible if this union is empty. For ε>0, report only the tolerance-qualified least-squares families; this is a tolerance screen, not a list of every vector whose residual is at most ε.
  • In noisy mode, initialize the incumbent as unset. For the first processed pattern, store xs and J(xs). For each later processed pattern, replace the incumbent by xs exactly when J(xs) is strictly smaller than the incumbent value; on a tie, keep the earlier pattern. Compute each visited candidate's squared amplitude residual J(xs)=∑i∈[m](∣(Axs)i∣−ri)2 before applying that update. The feasibility tolerance is not used in this mode.
  • Return the candidates and a status. Exact mode returns exact-feasible/infeasible only when ε=0 and all patterns are processed; positive tolerance returns tolerance-feasible/no-tolerance-fit when all patterns are processed. Noisy mode returns a completed best candidate when all patterns are processed. If either budget stops enumeration before all patterns are processed, return budget-exhausted with any candidates found. A budget-exhausted result makes no claim about unvisited patterns.

No statistical optimality or intensity-noise guarantee is part of this algorithm.

Depends on

Used by

Dependency tree · two levels

63 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