Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
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.

Success probability and repetition for modular order finding

Statement

Let integer N≥3, and let x be a unit modulo N of order r. Use Modular order finding with rational reconstruction with b∈Z≥1 and δ=2−b. One independent phase sample yields denominator r with probability at least 4π2φ(r)r≥4π2(1+log⁡2N). After t=4(n+1)b independent samples, where n=⌈log⁡2N⌉, the algorithm returns the exact order with probability at least 1−2−b. For any requested 0<δ<1, taking b=⌈log⁡2(1/δ)⌉ gives success probability at least 1−δ.

Facts & Assumptions

Given: N≥3, a unit class x modulo N, its order r, and the circuit/sampling instructions in Modular order finding with rational reconstruction.

[F1]

The unit classes form a finite group of size φ(N); an element of a finite group has finite order dividing the group size. Standard representatives identify this group with a subset of {0,…,N−1} (The unit group (Z/n)× and Euler's totient φ(n)=∣(Z/n)×∣ for n≥1, The order of every element of a finite group divides the order of the group, For n≥1, every class in Z/n has one representative r with 0≤r<n, so ∣Z/n∣=n; while Z/0 is in bijection with Z).

[F2]

On valid residues, Ux∣z⟩=∣xz mod N⟩ and invalid n-bit encodings are fixed by the multiplier circuit (Reversible modular multiplication by a unit, Correctness of the reversible modular multiplier).

[F3]

The finite cyclic characters are orthogonal: ∑s=0r−1e2πi(k−ℓ)s/r=r if k=ℓ(modr) and 0 otherwise (Orthogonality of the characters x↦e2πikx/N on Z/NZ).

[F4]

For each eigenphase, phase estimation on a superposition has the eigenspace-weighted outcome mixture; every nearest Q-grid label has probability at least 4/π2 (Phase estimation on a superposition of eigenspaces, Phase-estimation nearest-grid and tail bounds).

[F7]

For every integer s≥3, the circumscribed regular s-gon has perimeter Os=2stan⁡(π/s) and satisfies 2π<Os (Inscribed regular-polygon perimeters increase to 2 pi, while circumscribed perimeters decrease to 2 pi).

[F8]

The cofunction identity gives sin⁡(π/2−x)=cos⁡x, and the Pythagorean identity gives sin⁡2x+cos⁡2x=1 (Cofunction, supplementary, quarter-turn, and reflection identities for the six trigonometric functions, Pythagorean and parity identities for all six trigonometric functions on their natural domains).

[F9]

Sine is strictly increasing on [−π/2,π/2], cosine is strictly decreasing on [0,π], sin⁡0=0, cos⁡(π/2)=0, and π>0 (Signs, monotonicity intervals, and ranges of sine and cosine, Quarter-turn values and shifts by pi/2 and pi, Pi as twice the smallest positive zero of cosine).

[F10]

On its natural domain, tan⁡x=sin⁡x/cos⁡x (Tangent, cotangent, secant, and cosecant on their exact natural domains).

[F11]

Distinct computational-basis vectors of a register are orthonormal (The computational basis is orthonormal).

Proof

1.1givenF1F2algebra

By [F1], r is a positive integer and r≤φ(N)≤N: write φ(N)=dr with integer d by divisibility in [F1]. The group contains its identity, so φ(N)>0; since r>0, d>0 and thus d≥1. Consequently r≤φ(N), while the group counts only standard residue representatives and so φ(N)≤N. The orbit ∣xs mod N⟩, 0≤s<r, consists of distinct valid computational-basis vectors, since equality of two residues would imply a smaller positive power of x is 1.

1.2givenF2inductionalgebra

The algorithm starts with a0=x and b0=x−1 in standard representatives. Suppose aj≡x2j and ajbj≡1(modN). Squaring the first identity gives aj+1≡x2j+1, and the two loop updates give aj+1bj+1≡(ajbj)2≡1. Induction proves both identities for all j<m; every constant remains in [0,N) and is a unit with the supplied inverse. On valid residues, repeated application of [F2] therefore gives Ux2j∣z⟩=∣ajz mod N⟩; on invalid encodings both this power and the multiplier are identity. Thus each controlled multiplier in the QPE gate list is the required controlled power on the full data register, with its work returned clean.

2.1F2F3F11step 1.1algebra

Define ∣ψk⟩=r−1/2∑s=0r−1e−2πiks/r∣xs mod N⟩ for 0≤k<r. The shift action in [F2] gives Ux∣ψk⟩=e2πik/r∣ψk⟩, including the wrap from s=r−1 to s=0. By [F11] and [F3] these are orthonormal unit vectors; the same character sum gives ∣1⟩=r−1/2∑k=0r−1∣ψk⟩.

3.1F3F4F5step 1.2step 2.1

Apply the QPE circuit from [F4] to this decomposition. Its outcome law is the uniform mixture over k=0,…,r−1, each phase being k/r; this uses the superposition law in [F4], rather than an eigenvector promise for ∣1⟩. There are exactly φ(r) indices with gcd⁡(k,r)=1, counted by [F5].

4.1F4F5F6step 1.1step 3.1algebra

For each coprime k, [F4] gives probability at least 4/π2 to a nearest grid label. Here m=2n+3, Q=2m>4N2, and r≤N by step 1.1, so the reconstruction correctness theorem applies and returns reduced denominator r on that event. By [F6], xr=1; hence the algorithm's exact verification retains this denominator. Summing the disjoint eigenspace-mixture probabilities gives one-sample success at least (4/π2)φ(r)/r. By [F5] and r≤N, this is at least 4/[π2(1+log⁡2N)].

5.1F6step 4.1algebra

Every retained q passes xq=1, so [F6] implies r∣q. If the exact denominator r is ever retained, no retained candidate is smaller than r and r itself is present; the algorithm's minimum rule therefore returns r.

6.1givenF7F8F9F10step 4.1step 5.1algebra

First put θ=π/4. Since π>0 by [F9], 0<θ<π/2. The cofunction law [F8] gives sin⁡θ=cos⁡θ; strict monotonicity and the endpoint values in [F9] show both are positive. Thus [F10] gives tan⁡(π/4)=1, and [F7] at s=4 gives 2π<O4=8tan⁡(π/4)=8, so π<4. Now put n=⌈log⁡2N⌉ and u=1/[4(n+1)]. The one-sample lower bound in step 4.1 and π<4, together with 1+log⁡2N≤n+1, give p≥u. Independent resets make the t=4(n+1)b samples independent, hence the probability that no successful sample occurs is at most (1−u)t. Since 1−u≤(1+u)−1, and with integer K=4(n+1) the binomial expansion gives (1+1/K)K≥1+K(1/K)=2, we obtain (1−u)Kb≤2−b. By step 5.1, the output is the exact order except on this event.

7.1givenstep 6.1algebra∎

For arbitrary 0<δ<1, choosing b=⌈log⁡2(1/δ)⌉ gives 2−b≤δ. Thus the stated guarantee follows without using an inexact floating-point threshold.

Depends on

Used by

Dependency tree · two levels

146 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