Alphabeta Math
PropositionStatement: Literature-sourcedProof: AI-generatedPipeline-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.

Bit cost of exact known-count iteration selection

Statement

For t>0, put K=⌈N/t⌉ and q=1−2t/N. The exact selection procedure in Known-count Grover search by exact integer maximization computes the recurrence T0=1,T1=q,Tm+1=2qTm−Tm−1 through m=2K+1 and compares pk=(1−T2k+1(q))/2 for 0≤k≤K. If n≥1, the recurrence numerators and denominators have O(Kn) bits and schoolbook arithmetic selects the least maximizing k in O(K2n2) classical bit operations. For n=0, necessarily N=t=1 and the selection costs O(1). Since K=Θ(N) when t=1, the preprocessing can be exponential in n; this query bound supplies no end-to-end polynomial-time claim.

Facts & Assumptions

Given: N=2n, exact t with 1≤t≤N, and the recurrence and finite candidate list in the known-count algorithm.

[F1]

Known-count Grover search by exact integer maximization: the algorithm finds K by doubling and binary search for the least positive integer with tK2≥N, forms q=1−2t/N, computes Tm(q) through m=2K+1, and selects the least maximizer of pk=(1−T2k+1(q))/2 for 0≤k≤K.

[F3]

Ceilings give the least positive integer meeting a real threshold: ⌈x⌉ is the least integer at least x, and is monotone in the threshold.

[F4]

Principal inverse sine and inverse cosine: sin⁡(arcsin⁡y)=y on [−1,1].

[F5]

Double-angle and quadratic power-reduction identities: cos⁡(2θ)=1−2sin⁡2θ.

[F6]

The addition formulas for sine and cosine: cos⁡(u+v)=cos⁡ucos⁡v−sin⁡usin⁡v for real u,v.

[F7]

Classical bit-operation cost: classical bit cost counts the transitions used for arithmetic, comparisons, reading and writing bits; oracle calls are a separate coordinate.

[F8]

Parity and the Pythagorean identity for sine and cosine: ∣cos⁡x∣≤1 for every real x.

[F9]

Squaring is monotone on the nonnegatives: squaring preserves order on nonnegative reals, so m↦tm2 is nondecreasing for integers m≥0 when t>0.

Proof

1.1givenF1F2F3F9algebra

For t>0, P(m):tm2≥N is monotone on nonnegative integers by [F9], and its least positive true index is K=⌈N/t⌉ by [F2]–[F3]. The doubling loop starts with false endpoint lo=0 and doubles hi until P(hi) is true; it terminates because powers of two are unbounded. If K=1 it stops immediately. If K>1, the first true power of two satisfies K≤hi<2K, and the preceding power lo=hi/2 is false. Upper-midpoint binary search preserves the false/true invariant and reduces each interval of width d>1 to width at most ⌈d/2⌉, so it reaches width one after O(log⁡(K+1)) evaluations and returns the least positive true index K. Since K≤⌈N⌉, the endpoints have O(n) bits for n≥1.

1.2givenF1F2F4F5F6inductionalgebra

Put a=t/N and θ=arcsin⁡a. Then q=1−2a=cos⁡(2θ) by [F4]–[F5]. The recurrence has base values T0=cos⁡0=1 and T1=cos⁡(2θ)=q. By [F6], cos⁡(2(m+1)θ)+cos⁡(2(m−1)θ)=2cos⁡(2θ)cos⁡(2mθ), so induction in the recurrence gives Tm(q)=cos⁡(2mθ) for every computed index. Therefore pk=(1−cos⁡((4k+2)θ))/2=sin⁡2((2k+1)θ), and the rational list in [F1] is the actual integer-iterate success list.

2.1step 1.2F1F8algebra

Write u=N−2t, so q=u/N, and define Am=NmTm(q). Then A0=1, A1=u, and the recurrence gives Am+1=2uAm−N2Am−1, so each Am is an integer. By step 1.2 and [F8], ∣Am∣≤Nm. Thus for n≥1 and m≤2K+1, both numerator Am and denominator Nm have O(Kn) bits. For n=0, N=t=1, K=1, and all recurrence values have constant bit length.

3.1F7step 1.1step 2.1algebra

At recurrence index m, multiplying the O(mn)-bit integer Am by the O(n)-bit integer u costs O(mn2) schoolbook bit operations; multiplication by N2 is a binary shift, and addition costs O(mn). Summing over m≤2K gives O(K2n2). Each predicate evaluation in step 1.1 uses O(n)-bit operands and schoolbook arithmetic, hence O(n2) bit operations; the O(log⁡(K+1)) evaluations cost O(n2log⁡(K+1))⊆O(K2n2).

4.1F1step 2.1step 3.1F7algebra

For odd m=2k+1, write pk=(Nm−Am)/(2Nm). Advancing from k−1 to k scales the previous running-best numerator by N2 to put it over the new denominator, then compares the two integers and updates only on strict increase. Each comparison costs O(Kn) bit operations by step 2.1, and there are K+1 candidates, so all comparisons cost O(K2n), within step 3.1's bound. Strict updates retain the least k in a tie.

5.1F2F3step 3.1step 4.1algebra

If t=1, then N≤K=⌈N⌉≤N+1≤2N, so K=Θ(2n/2). The preprocessing bound can therefore be exponential in n, and it supplies no polynomial-time conclusion from the query bound.

6.1givenF1step 2.1step 3.1step 4.1algebra∎

If n=0, necessarily N=t=1, so K=1 and the direct selection branch and finite recurrence take constant work, as stated.

Depends on

Used by

Cited to discharge well-definedness by Known-count Grover search by exact integer maximization.

Dependency tree · two levels

47 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