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.
Reversible Arithmetic and Oracle Conversion — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Binary Operations, Monoids, Groups and Subgroups
- Boolean Circuits and Nonuniform Complexity
- Bounded Linear Operators and Quotient Spaces
- Circuit Syntax, Denotational Semantics, and Measurement
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Norms and Realification
- Complexification, Realification and Real Structures
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Computational Problems, Promises, and Cost Models
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Controlled Gates, Phase, and Entanglement
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Dimensional Normed Spaces and Riesz Lemma
- Finite-Dimensional Complex Inner-Product Spaces and Matrix Interfaces
- Formal Languages, Encodings, and Decision Problems
- Foundations of the Real Numbers for Analysis
- Free Modules, Exact Sequences, Projective and Injective Modules
- Fundamental Trigonometric Identities
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Recurrences and Rational Generating Functions
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurements, POVMs, and Instruments
- Metric Spaces
- Modules, Submodules, Quotient Modules and the Isomorphism Theorems
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Properties of the Integral and the Working FTC
- Pure and Mixed States, Ensembles, and Schmidt Decomposition
- Qubits, Bloch Sphere, Pauli Algebra, and One-Qubit Gates
- Registers, Tensor Products, and Partial Trace
- Relations, Functions, and Quotients
- Resource Bounds and Machine Invariance
- Reversible Arithmetic and Oracle Conversion
- Reversible Computation, Ancillas, and Coherent Oracles
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Strongly Continuous Semigroups and Hille Yosida
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- Tensor Products of Modules
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Polynomial Hierarchy and Relativization
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Turing Machines, Configurations, and Computation
- Uniform Circuit Families, Promise Problems, and Complexity
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
The companion computes a one-bit phase query and a two-bit reversible dot product explicitly. It compares clean uncomputation with a circuit that leaves address-dependent garbage, then checks how a constant phase changes when its call is controlled. Each example includes the resulting basis-state calculation and its measurement consequence.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Oracle conversion and uncomputation examples
Example
For the one-bit function , compute the standard XOR query with a clean work bit, copy its value to the target, and uncompute the work. On input address , target , and work , the address becomes and the work returns to zero; a final Hadamard on the address yields outcome with certainty. For the two-bit dot product, take , , and target . The reversible Toffoli circuit outputs target and resets its work bit. If the one-bit circuit omits its final uncomputation, residual address-dependent work makes the same final address measurement uniform instead of deterministic. Finally, a constant-one phase query has no standalone measurement effect, but its controlled call changes a control to .
Facts & Assumptions
Given: The explicit one-bit and two-bit inputs above and the stated ordered registers. The operation model's declared finite nonoracle gate alphabet contains and permits CNOT, Toffoli and as callable gates, with each occurrence counted once; any explicitly supplied standard or controlled phase-oracle call is charged separately from those gate occurrences.
Standard bit-flip query convention: the standard query is the basis action .
Binary phase-query convention: a Boolean phase query acts by .
Phase kickback from the standard bit query: a standard query with target applies to the address and returns the target unchanged.
Binary dot product as parity: is the XOR of coordinatewise conjunctions.
Reversible binary dot-product query: the reversible circuit accumulates the products into a clean work bit, copies the parity to the target, and reverses the Toffolis.
Reversible binary dot product: correctness and exact cost: the circuit realizes that map with Toffoli gates, one CNOT, and clean work.
Clean and dirty ancillas: clean work begins at zero and must return exactly to zero; an uncomputed work register is not clean.
Toffoli and Fredkin gates: Toffoli toggles its target by the conjunction of its two controls.
CNOT and Control-Target Order: CNOT toggles its target by its control and leaves the control unchanged.
Exact one-qubit gates and rotations: in the ordered basis .
Finite registers and their ordered computational bases: the displayed wire order specifies the tensor-factor order and computational-basis labels.
A constant phase query is invisible alone and relative under control: constant phase is unobservable standalone and, under explicit controlled access, is a relative phase with a distinguishing control measurement.
Finite circuit resource accounting: elementary gate occurrences and explicitly supplied oracle calls are separate resource coordinates.
Verification
Let the one-bit address be and the target be . The first CNOT from to clean work maps to by [F9]. Copying to changes to . The final CNOT from to restores to and leaves unchanged. Thus the three-CNOT circuit is exactly the standard query for with clean work.
For and , the two coordinate products are and , so by [F4]. In the forward Toffoli loop of [F5], the first gate changes and the second leaves it at ; CNOT changes . In reverse, the second Toffoli leaves unchanged and the first changes by [F8]. Thus the output is , consistent with [F6].
Starting with address , target , and clean work , step 1.1 applies the standard query. By [F3] the output is . Multiplying the matrix in [F10] gives and , hence . The final address measurement therefore returns with probability one.
Omit only the final CNOT from to in step 1.1. After compute and copy, the input becomes, in the same register order ,
Applying to the address gives
Because and are orthogonal unit vectors, address outcomes and each have probability . The residual work value is correlated with the address, violating the clean-ancilla contract [F7] and destroying the intended deterministic interference.
For the constant function , [F2] gives , a standalone global scalar; [F12] therefore gives no standalone measurement distinction from . Under the explicit controlled call, the control output is for the identity case and for the constant-one case by [F12]. Matrix multiplication using [F10] gives and , so a computational-basis measurement distinguishes them with certainty.