Alphabeta Math
TheoremStatement: AI-adaptedProof: 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.

Relative probability estimation with a charged finite cap

Statement

For every promised input of Relative estimation of a promised coherent success probability, the procedure terminates. If p=0, it returns p^=0 with certainty. If p>0, then Pr⁡{∣p^−p∣≤cp}≥1−β.

Let C count all invocations of the declared sampler and inverse capabilities: each controlled A, controlled A∗, and initial ordinary A preparation is counted once in this total, while their individual resource coordinates remain distinct. Put p∗=max⁡{p,pmin⁡}, and let L,r,ML be the algorithm's finite parameters. Then EC=O ⁣(rcp∗),r=O ⁣(1+log⁡L+2β),L=O ⁣(1+log⁡1pmin⁡). Every execution satisfies the charged cap C<65rMLc<4160rcpmin⁡. With probability at least 1−β, both ∣p^−p∣≤cp and C<4160r/(cp∗) hold; when p=0, both hold deterministically. Thus the expected sampler-and-inverse count is O ⁣(1+log⁡((2+log⁡(1/pmin⁡))/β)cmax⁡{p,pmin⁡}).

These bounds require the algorithm's explicit controlled-access contract. They do not identify a controlled black-box call with an ordinary uncontrolled black-box call. Controlled reflections, control phases, QFT and other ordinary gates, measurements, and classical postprocessing retain separate charged costs. In the retained exact-cyclotomic mode, rounding uses finitely many exact algebraic comparisons and produces a rational with O(log⁡N) bits in each of numerator and denominator at a final scale N; no polynomial or polylogarithmic classical-bit bound is asserted. The optional efficient-grid mode instead has the helper's uniform polynomial-in-log⁡M rounding gates, work and generation, while preserving every probability/query bound. Estimation measures only its own construction workspaces, so a subsequent fresh sampler execution, conditional on the returned classical transcript, retains that sampler's prescribed output state and conditional good state.

Facts & Assumptions

Given: A promised input and all access capabilities of Relative estimation of a promised coherent success probability, with rational pmin⁡,c,β in its stated ranges. All estimator preparations and measurements use independent fresh workspaces, as required by that algorithm.

[F1]

The finite schedule, rational rounding grid, medians, detection threshold and final scale are defined in Relative estimation of a promised coherent success probability.

[F2]

The generic coherent sampler, success projection and signed iterate, including their separately declared controlled and inverse accesses, are defined in Amplitude estimation and counting input/output contract.

[F3]

For dyadic M≥4, the raw QFT estimator outputs z=sin⁡2(πy/M), with its exact cyclotomic representation (QFT-based amplitude estimation).

[F4]

The raw output satisfies ∣z−p∣≤2πp(1−p)/M+π2/M2 with probability at least 8/π2, and equals zero with certainty at p=0 (Amplitude-estimation additive error and success probability).

[F5]

The circle constant satisfies 3<π<22/7 (Rational bounds for pi used in finite schedules).

[F6]

One raw estimator uses exactly M−1 controlled-Q calls; each has one controlled A, controlled A∗, controlled S0, controlled Sgood and control phase. Its initial state preparation is separate (Amplitude-estimation query and precision complexity).

[F7]

Real cyclotomic values admit a terminating exact comparison procedure, including equality, without an asserted polynomial bit-cost bound (Finite exact comparison of real cyclotomic values).

[F8]

Classical comparisons, encoding, arithmetic and output writing are charged separately from quantum query and gate costs (Classical bit-operation cost).

[F9]

The efficient-grid helper returns a rational in [0,1], is exactly zero for y=0, has output error at most 3/(4M2)<M−2, and has uniform polynomial-in-log⁡M reversible resources (Efficient coherent amplitude-grid rounding).

Proof

1.1givenF1F2F3algebra

The dyadic sequence Mj=4⋅2j has unbounded squares, so its positive rational threshold in [F1] is eventually reached. Since pmin⁡≤1, its least cap index has L≥3, and minimality gives ML−12pmin⁡<1024, hence ML<64/pmin⁡. The geometric sequence (4/5)r tends to zero, so the least positive odd r in [F1] exists. The final scale is a finite dyadic ceiling of a rational number and satisfies 16MJ/c≤N<32MJ/c. Every raw call has dyadic size at least four. Thus all schedule choices are executable by finite rational arithmetic.

2.1F1F3F7F8F9step 1.1algebra

For each raw output z∈[0,1], the rounding instruction finds t=⌊M2z⌋ by finite binary search with [F7], including equality and the endpoint z=1. Its returned rational b=t/M2 satisfies 0≤z−b<M−2, with equality b=z when M2z is integral, and returns exactly zero when y=0. Binary search uses O(log⁡M) comparisons. Its rational output has O(log⁡M) numerator and denominator bits. Every comparison terminates by [F7], and all its internal refinement and output operations remain charged under [F8]. In efficient-grid mode [F9] supplies the same range, zero branch and M−2 error directly, with its separately proved finite polynomial resource bound; no exact-comparison refinement is used in that mode. There are at most L+1 detection medians and one final median, each with finitely many calls, so the entire procedure terminates.

2.2givenF1F2F6step 1.1algebra

By [F6], one rounded call at size M uses M−1 controlled A calls, M−1 controlled A∗ calls and one ordinary A preparation, for 2M−1 sampler-and-inverse invocations. A median costs at most 2rM such invocations, with separately charged r(M−1) occurrences of each controlled reflection and control phase. Since ∑j=0LMj<2ML, detection costs less than 4rML. A final median, if invoked, has size N<32ML/c and costs less than 64rML/c. Thus every execution, including unsuccessful estimates reaching the cap, has C<4rML+64rML/c<65rML/c<4160r/(cpmin⁡), because 4c<1.

3.1givenF1F4F5step 2.1algebra

By [F5], 8/π2>8/(22/7)2>4/5, 2π<8, and π2<16. Therefore [F4] and step 2.1 imply that each rounded output lies in the interval IM=[p−8p/M−17/M2,p+8p/M+17/M2] with failure probability at most 1/5. Let Bi indicate failure of copy i in a median, and put B=∑i=1rBi. Independence gives E4B=∏iE4Bi≤(8/5)r. Since 1{B≥r/2}≤4B/4r/2, taking expectations gives Pr⁡{B≥r/2}≤(4/5)r≤δ. If fewer than half of the samples miss IM, their middle order statistic lies in IM: an order statistic outside that interval would put at least (r+1)/2 samples on the same outside side. Consequently each median misses IM with probability at most δ. This also holds conditional on every earlier classical transcript, because the chosen size is then fixed and this median uses independent fresh workspaces.

4.1givenF1step 3.1algebra

Call a median good when it belongs to IM, and put x=Mp. At a good detection stage, x2−8x−17≤M2b≤x2+8x+17. A good stage that detects therefore has x>11, since for 0≤x≤11 its upper bound is at most 121+88+17=226<256. A good stage with x≥32 certainly detects, since x2−8x−17 is increasing there and is at least 751>256. For a positive promised p, MLp≥32, so a good cap stage detects.

5.1givenF1F4step 1.1step 2.1step 3.1step 4.1algebra

If detection occurs at a good stage J, then the fresh final scale has x′=Np≥16MJp/c>176/c. When its final median is good, ∣p^−p∣/p≤8/x′+17/(x′)2<c/22+17c2/1762<c, using 0<c<1/4. At most L+2 medians are invoked, and each has conditional failure probability at most δ by step 3.1. The union bound therefore makes the probability of any invoked bad median at most (L+2)δ≤β. On the complementary event, a positive input detects by the cap and satisfies the relative estimate just proved. At p=0, [F4] gives raw output zero with certainty; step 2.1 and the algorithm's zero-label branch make every rounded value and median zero. No positive threshold is met, so the algorithm returns zero exactly.

5.2givenF1step 3.1step 4.1algebra

Suppose p>0. Let j∗ be the first index with Mj∗p≥32. It exists by the promise and satisfies j∗≤L, j∗>0, and Mj∗<64/p. For analysis, preassign independent hypothetical median outcomes to all detection stages, and reveal them only if reached; this finite product of independent experiments has exactly the procedure's law. To reach stage j∗+t≤L, every one of the t preceding stages beginning at j∗ must have a bad median, since a good one at these scales would detect by step 4.1. Thus Pr⁡{reach j∗+t}≤δt. If S is the sum of sizes of invoked detection stages, finite summation and δ≤1/16 give ES<2Mj∗+Mj∗∑t≥1(2δ)t≤(2+1/7)Mj∗<3Mj∗. The infinite geometric sum here is only an upper bound on a finite expected cost.

6.1givenF1step 1.1step 5.1step 2.2step 5.2algebra

Detection costs at most 2rS. If detection occurs, MJ≤S and the final median costs less than 64rMJ/c; otherwise that cost is zero. Hence EC≤(2+64/c)rES<200rMj∗/c<12800r/(cp). If p=0, there is no final median and C<4rML<256r/pmin⁡. Both cases imply EC=O(r/(cp∗)). On the probability-1−β event of step 5.1, a positive input stops by j∗, so the deterministic calculation of step 2.2, with Mj∗ replacing ML, gives C<65rMj∗/c<4160r/(cp). For p=0 the deterministic cap already gives the claimed p∗ bound. This establishes the simultaneous probability assertion.

7.1givenF1F6F8step 2.1step 6.1algebra∎

Minimal dyadic threshold choice gives L=O(1+log⁡(1/pmin⁡)). Since r is the least positive odd integer with (4/5)r≤δ, it is at most two above the real threshold log⁡(1/δ)/log⁡(5/4), apart from the harmless minimum value one. Also 1/δ=max⁡{16,(L+2)/β}, so r=O(1+log⁡((L+2)/β)). Substituting into step 6.1 gives the stated expected bound. Rounding's precision and finite comparison count are those of step 2.1, and [F8] keeps their actual bit costs, along with the ordinary quantum resources in [F6], separate from this query bound. Finally, by [F1] every measured estimation workspace is discarded and the output is classical. Conditional on any resulting transcript, a subsequent fresh execution initializes its own declared input and applies its own prescribed sampler. Its output state, and therefore its conditional good state when that event has positive probability, is precisely that prescribed for the fresh sampler; the measured construction registers are not inputs to it.

Depends on

Used by

Cited to discharge well-definedness by Relative estimation of a promised coherent success probability.

Dependency tree · two levels

65 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