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.

Correctness and clean-work cost of cyclic power evaluation

Statement

For every valid encoded cyclic-group input (G,g,x,q) with q≥2 and every u,v∈{0,…,q−1}, the explicit-circuit branch of Costed coherent evaluation of cyclic group powers writes the encoding of guxv into the accumulator, leaves the exponent registers unchanged, and returns every clean work and temporary target register to zero. If L=⌈log⁡2q⌉ and each controlled multiplication by a known constant has gate cost at most CG, the circuit uses 2L controlled multiplications and O(LCG) gates per evaluation, in addition to the separately charged classical precomputation. The compute-XOR-uncompute wrapper in that algorithm implements the full target-XOR action on valid exponent codes, with its declared total extension elsewhere. If each forward and inverse-constant controlled multiplication costs at most CG, that wrapper uses 4L such calls and at most 3w additional X/CNOT gates, hence O(LCG+w) gates, and restores its auxiliary registers to zero.

Facts & Assumptions

Given: A cyclic group G=⟨g⟩ of exact order q≥2, x∈G, valid exponent codes u,v, and the explicit circuit branch of Costed coherent evaluation of cyclic group powers.

[F1]

G=⟨g⟩ has exact order q and x∈G, so every element of G is a power of g (Finite cyclic discrete-logarithm problem and costed encoding).

[F2]

Every integer in {0,…,q−1} has an L-bit binary expansion with L=⌈log⁡2q⌉ (Big-endian encoding of ordered bit strings).

[F4]

Each controlled multiplication by a known constant acts exactly on valid codes and restores its clean work to zero (Clean reversible controlled multiplication by a cyclic constant).

[F5]

The algorithm processes every bit of u and v once, applying the corresponding controlled multiplications in its chronological circuit order (Costed coherent evaluation of cyclic group powers, Denotational semantics of a finite layered circuit).

Proof

1.1givenF2F3algebra

Write u=∑j=0L−1uj2j and v=∑j=0L−1vj2j using [F2]. Repeated squaring with [F3] gives the classically precomputed constants gj=g2j and xj=x2j: the base constants are g0=g and x0=x, and squaring gj,xj gives gj+1,xj+1.

2.1givenF1F3F4F5step 1.1inductionalgebra

After processing the first j bits of each exponent, the accumulator is g∑i<jui2ix∑i<jvi2i. It is the identity at j=0. At stage j, [F4] multiplies it by gj exactly when uj=1 and by xj exactly when vj=1. Since [F1] places both elements in the cyclic group generated by g, their powers commute; [F3] therefore gives the same formula with the sums extended through i=j. Induction proves the invariant through j=L.

3.1F2F4F5step 2.1algebra

At j=L, the binary sums are u and v, so the accumulator is guxv. Each controlled multiplication in step 2.1 restores its internal work and temporary target by [F4], while no operation changes the exponent registers. Thus the stated output and clean-work identities hold.

4.1F2F4F5step 2.1algebra∎

There are exactly L controlled multiplications for the bits of u and L for the bits of v. Each costs at most CG gates, so their total is at most 2LCG=O(LCG); precomputing the constants is classical work and is charged separately. For the full XOR wrapper, prepare the identity code with at most w flips, perform these 2L calls, copy each output bit into the arbitrary target, and apply the inverse calls in reverse order. The exponent registers are unchanged and the copied target is not an input to the reversed computation, so its accumulator returns to the identity code and every internal work bit returns to zero. Undoing the identity-code flips clears the accumulator. There are 4L controlled calls and at most 2w+w=3w extra elementary gates, yielding the stated wrapper cost and clean XOR action by linearity on the computational basis.

Depends on

Used by

Dependency tree · two levels

38 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