Alphabeta Math
ExampleConstruction: AI-generatedVerification: 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.

Promise, query and cost-model examples

Example

Decision reduction. Let the source decision task have YS={0} and NS={1}, and let the target task have YT={00} and NT={11}. Define the total map r(x)=xx by concatenating x with itself. Inputs outside either one-bit source promise have no correctness obligation.

Search reduction. Let the source search domain be DS={0} with relation RS(z,w) iff z=0 and w∈{00,01}. Let the target domain be DT={00} with relation RT(y,v) iff y=00 and v∈{0,1}. Define the total instance map r(z)=00 and the total witness map L(z,v)=0v.

A total two-bit-output query instance. Write every four-bit instance as z=u∥v, where u,v∈{0,1}2. Define

fz(0)=u,fz(1)=v.

This is a total function on both addresses for every z∈{0,1}4. Give it the decision promise Y={z:u=00} and N={z:u=11}. Instances with u=01 or u=10 are off-promise.

Use the exact one-query procedure that starts with address ∣0⟩ and target ∣00⟩, calls Ufz once, measures the two-bit target in the computational basis, and answers yes exactly when the result is 00. Compare it with the same procedure preceded by two Hadamard gates on the first target bit. Resource counts for these circuits use the declared QC gate, query, measurement, and classical-readout coordinates.

ProcedureOracle queriesNonoracle quantum gatesExtra clean ancillasMeasurement/readoutClassical bit work
Decision reduction r(x)=xx0not applicablenot applicablenot applicable$O(
One-query circuit100One computational-basis measurement of the two-bit target; two bits read outO(1) transitions to compare the measured value with 00 and write one output bit
Same query with H then H on target bit 0120One computational-basis measurement of the two-bit target; two bits read outO(1) transitions to compare the measured value with 00 and write one output bit

The two query circuits both perform one oracle call even though the reply has two bits. Their gate counts differ while their query count and output law agree.

Facts & Assumptions

Given: The two decision/search task pairs, the maps r,L, and the four-bit query family defined in the Example.

[F1]

QA task and promise domain: decision tasks require the stated yes/no output only on the disjoint promise pair; search tasks require a witness in the stated relation only on their domain.

[F2]

Promise query instance and oracle family: each promised instance selects a total function on every address, and one call to its coherent XOR oracle is one query, independent of output width.

[F3]

Quantum query algorithm: a query circuit applies the specified XOR-oracle calls to its address and target registers.

[F4]

Exact correctness for promise tasks: exact correctness means the required decision or witness event has probability one on each promised input.

[F5]

Quantum query complexity: query cost counts designated oracle calls over promised inputs and branches.

[F6]

Nonoracle quantum gate cost: nonoracle elementary gates are counted separately from black-box oracle calls.

[F7]

Classical bit-operation cost: address/reply processing and output writing count as Turing transitions, separate from the oracle invocation.

[F8]

Promise preserving reduction: a total polynomial-time map is a decision promise reduction when it maps source yes-instances to target yes-instances and source no-instances to target no-instances.

[F9]

Clifford+T gate library and exact matrices: the exact Hadamard matrix is H=2−1/2(111−1).

[F10]

Normalized output law for finite quantum query branches: terminal computational-basis weights are finite sums of density-operator diagonal weights over unobserved wires, and the finite branch law is normalized.

[F11]

Rectangular matrix multiplication and the identity matrix In, including zero-sized shapes: matrix products are computed by finite row-by-column sums and the identity matrix acts as the multiplicative identity.

[F12]

Finite registers and their ordered computational bases and The computational basis is orthonormal give the orthonormal computational basis of each Q2 factor. Equip their ordered tensor product with the product inner product of Ordered tensor registers, their inner product, and wire permutations; then The product basis is orthonormal and tensor dimensions multiply makes the bit-string product basis orthonormal.

[F13]

Dirac Notation Conversion: for the root pairing, linear in its first argument, ∣u⟩⟨u∣v=⟨v,u⟩rootu.

[F14]

A unit-vector outer product is a density operator: the rank-one projector of a unit vector is a density operator.

Verification

1.1F1F7F8construct

A multitape machine computes r(x)=xx by copying x twice, using O(∣x∣+1) transitions under [F7], so r is total and polynomial time. Moreover, r(0)=00∈YT and r(1)=11∈NT, giving r(YS)⊆YT and r(NS)⊆NT. Thus r is a promise-preserving reduction by [F8]. No image condition is needed for source strings outside {0,1}.

1.2F1construct

For the search reduction, the only promised source input is z=0, and r(0)=00∈DT. Every valid target witness is v∈{0,1}, so L(0,v)=0v is either 00 or 01 and satisfies RS(0,L(0,v)). Both maps are total as defined on all binary strings, even though witness validity is required only on the promise.

1.3givenF2F3algebra

For every four-bit z=u∥v, the table assigns one two-bit value to address 0 and one to address 1, so fz is total on its two-address domain. Starting at target 00, the oracle call at address 0 returns 00⊕fz(0)=u; it is one invocation and therefore one query by [F2]–[F3].

2.1F1F4F10F12F13F14step 1.3

The full output state after the oracle call is the basis vector ψ=∣0⟩∣u⟩, which is a unit vector by orthonormality [F12]. Its rank-one projector ρ=∣ψ⟩⟨ψ∣ is a density operator by [F14]. For output word y and remaining address bit a, the product basis is orthonormal by [F12], so ⟨ey,a,ψ⟩=1 exactly when (y,a)=(u,0) and is zero otherwise. The projector formula [F13] gives ρey,a=⟨ey,a,ψ⟩ψ; root first-linearity and conjugate symmetry therefore give ⟨ρey,a,ey,a⟩=⟨ey,a,ψ⟩⟨ψ,ey,a⟩=∣⟨ey,a,ψ⟩∣2. Summing over the unmeasured address bit as in [F10] gives output weight one at u and zero elsewhere. If u=00 the rule answers yes; if u=11 it answers no, so the solver is exact on the promise by [F4]. For off-promise u∈{01,10} the same rule outputs no, but the decision task imposes no condition there; the two total completions assigning either answer on these inputs agree on Y∪N.

2.2F5F6F9F11step 1.3algebra

The matrix in [F9] satisfies H2=12(111−1)(111−1)=(1001) by finite row-by-column multiplication [F11]. Therefore the two extra gates in the second circuit return the first target bit to its initial value before the same oracle call. The target entering Ufz is again 00, so both query circuits have the same output law and one query; their nonoracle gate counts are 0 and 2 by [F5]–[F6].

3.1F7step 1.1step 2.2construct∎

Step 1.1 gives the reduction's linear transition bound in the table. In either query circuit, the fixed two-bit reply and one-bit output rule take O(1) transitions. These transition counts are separate from the one oracle query and from the quantum gate counts by [F7].

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

72 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