Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: Not applicablePipeline-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.

Finite rejection sampler for a linear combination

Definition

Inputs: an integer k≥1, vectors v1,…,vk∈Rn with ℓ2 sample/query access, real coefficients w1,…,wk, and a positive integer cap R. Set x=∑j=1kwjvj and S=∑j=1k∥wjvj∥22. Output: an index i∈[n] or FAIL.

If S=0, return FAIL. Otherwise, for each of at most R trials:

  1. Using fresh randomness, choose j with probability ∥wjvj∥22/S, then sample i from Dvj. A zero-weight term is never chosen, so every requested vector distribution is defined.
  2. Query all vh,i and set ai:={(∑h=1kwhvh,i)2k∑h=1k(whvh,i)2,∑h(whvh,i)2>0,0,∑h(whvh,i)2=0. By Cauchy--Schwarz, 0≤ai≤1, so this is a valid acceptance probability.
  3. With a fresh independent acceptance coin, accept index i with probability ai and return i upon acceptance.

If all R trials reject, return FAIL. When x=0 but S>0, every defined acceptance probability is zero and the cap still forces a finite FAIL output. No normalized target distribution is assigned when x=0. All samples, entry queries, random bits, cap, and output writing are charged. Correctness and cost of the linear-combination sampler ↗ proves the target law on the accepted branch and the failure and query bounds under its separate hypotheses on x, the cancellation ratio, and R.

Depends on

Used by

Dependency tree · two levels

24 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