Alphabeta Math
TheoremStatement: Literature-sourcedProof: 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.

Finite cyclic discrete-log correctness, success and costs

Statement

Let G=⟨g⟩ have known exact order q≥2, let x=ga, and let δ=p/v be supplied as binary positive integers p<v. Write K for the sum of their bit lengths. For an access profile of Finite cyclic discrete logarithm by Fourier sampling supplying either the direct coherent f oracle or the complete supported power-evaluation fallback, every returned exponent is verified and equals the unique a∈{0,…,q−1}. If neither is supplied, the procedure returns UNSUPPORTED_ACCESS before sampling; the following sampling, success and cost guarantees concern the supported profiles. Each independent Fourier sample succeeds with probability φ(q)/q≥1/(1+log⁡2q). Put L=⌈log⁡2q⌉, let D be the least integer d≥0 with 2dδ≥1, and set t=(1+L)D. With t samples, the probability of returning the exact answer is at least 1−δ.

Let w be the supplied group-element encoding width. A direct coherent function-oracle profile uses at most O(L(1+ln⁡(1/δ))) function queries and separately uses O(L(1+ln⁡(1/δ))) ordinary multiplication/equality operations for classical verification. If f is implemented by controlled group multiplications, there are O(L2(1+ln⁡(1/δ))) controlled-multiplication calls and the same order of ordinary multiplication/equality calls for verification. If the explicitly supplied reversible multiplication, equality, and both forward and inverse-constant controlled-multiplication circuits each cost at most CG gates and the supplied exact uniform preparation and product QFT cost O(L2) ideal gates, the total ideal gate count is

O ⁣((L2CG+Lw+L3)(1+ln⁡(1/δ))).

If one classical multiplication or equality operation on the encoding costs at most TG bit operations and modular inverses use the schoolbook extended-Euclidean algorithm, the classical bit cost of confidence preprocessing, arithmetic and verification is

O ⁣(K2+(L2TG+L4)(1+ln⁡(1/δ))).

All query, gate, and classical bit bounds are conditional on the stated supplied interfaces. The exact binary QFT is counted in the ideal-gate model; no finite-set compilation cost or generic efficient group encoding is asserted.

Facts & Assumptions

Given: A cyclic discrete-log instance with q≥2, x=ga, confidence target δ=p/v supplied as binary positive integers p<v of total bit length K, and the exact sampling and operation interfaces specified above.

[F1]

On a supported profile, the procedure performs at most t independent exact finite-abelian Fourier samples until a candidate is verified, discards nonunit first coordinates, computes an inverse, verifies the candidate, and returns FAIL if none is verified (Finite cyclic discrete logarithm by Fourier sampling).

[F2]

The sample law is uniform on the annihilator of the hidden subgroup (Fourier samples are uniform in the annihilator).

[F3]

For the cyclic DLP subgroup, annihilator labels satisfy d≡ac(modq), and a uniform annihilator label has uniform c∈Zq (Fourier annihilator equation for cyclic discrete logarithm).

[F4]

The unit group modulo q has φ(q) residue classes; a residue is a unit exactly when its gcd with q is one, and φ(q)/q≥1/(1+log⁡2q) (The unit group (Z/n)× and Euler's totient φ(n)=∣(Z/n)×∣ for n≥1, For n≥1, [a]n is a unit if and only if gcd⁡(a,n)=1, Elementary lower bound for the totient ratio).

[F5]

If gcd⁡(c,q)=1, Correctness and bit cost of the modular inverse recurrence returns the inverse of c modulo q using O(L3) bit operations.

[F6]

The group operation and gate/query costs are separate coordinates, and no oracle call or controlled operation is free unless explicitly supplied (Circuit-family and computation cost model, Finite cyclic discrete-logarithm problem and costed encoding).

[F7]

The power-evaluation circuit returns guxv with all clean work restored; its full XOR wrapper uses O(L) separately supplied forward/inverse-constant controlled multiplications and O(w) additional elementary gates (Correctness and clean-work cost of cyclic power evaluation).

Proof

1.1F2F3F4

By [F2], each sample is uniform on H⊥. The bijection in [F3] makes c uniform on Zq and forces d≡ac(modq). Exactly φ(q) of the q residues are units by [F4], so the probability of a unit is φ(q)/q.

1.2F1F3F5algebra

If c is a unit, [F5] supplies c−1 modulo q. Then dc−1≡acc−1≡a(modq). The algorithm returns only after testing ga~=x, so every returned residue is the required exponent; rejecting a failed equality cannot produce an incorrect output.

2.1givenF1F6F7F8algebra

Since L≥1, D≤log⁡2(1/δ)+1<2ln⁡(1/δ)+1, so t=(1+L)D≤4L(1+ln⁡(1/δ)). Each sample calls the finite-abelian sampler once, which uses one direct f query by [F1], so this bounds direct function queries. By [F7], one explicit f evaluation uses O(L) controlled group multiplications. Binary repeated squaring computes the verification power with at most 2L ordinary multiplications: square successive powers of g and multiply the accumulator by each power whose exponent bit is one; [F8] proves the resulting accumulator is ga~. The constant precomputation takes O(L) further group operations once. Thus the explicit-f implementation uses O(L2(1+ln⁡(1/δ))) group-operation queries; with a direct f oracle, step 1.2 shows that the first unit-coordinate sample verifies and terminates. Hence verification occurs at most once and needs O(L) classical group multiplications, which also satisfies the stated looser O(L(1+ln⁡(1/δ))) bound.

2.2F1F4step 1.1algebra

Put p=φ(q)/q. Extend the independent sample list to t draws for this probability calculation, even when the procedure stops earlier. The probability that all t independent samples have nonunit first coordinate is (1−p)t≤e−pt. By [F4], p≥(1+log⁡2q)−1. Since D≥log⁡2(1/δ)>ln⁡(1/δ), we have t=(1+L)D≥(1+log⁡2q)ln⁡(1/δ). Therefore pt≥ln⁡(1/δ) and (1−p)t≤δ. Whenever at least one sample has a unit coordinate, step 1.2 returns a; hence success probability is at least 1−δ.

3.1F1F5F6F7F8step 2.1algebra

In the explicit circuit profile, each sample's full XOR function evaluation and verification use O(LCG+w) gates, while the supplied uniform preparation and product QFT use O(L2) ideal gates. The modular inverse on O(L)-bit residues uses O(L3) bit operations by [F5], and each classical group operation uses at most TG bits. Multiplying these per-sample costs by t=O(L(1+ln⁡(1/δ))) gives the sampling, arithmetic and verification terms in the displayed bounds. In the direct-f-oracle profile, verification and inverse steps have O(LTG+L3) bit work per sample, while one f query costs one query and has no implicit gate bound. Precomputation contributes only O(LTG) additional bit operations and is absorbed because L≥1 and 1+ln⁡(1/δ)≥1.

4.1givenF1F6step 3.1algebra∎

To compute D, compare 2dp with v for successive d until the first successful comparison. Since p≥1 and v<2K, D≤K; all tested integers have O(K) bits. Binary shifts and comparisons therefore cost O(K2) in total. Computing L from q−1 and multiplying (1+L)D cost at most O((L+K)2) by schoolbook arithmetic, absorbed by O(K2+L4) since L≥1. Adding this preprocessing gives the stated classical bit bound. The access coordinates remain separate by [F6].

Depends on

Used by

Dependency tree · two levels

86 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