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.
Order-to-factor output correctness
Statement
For every promised composite , every non-FAIL output of Shor factoring with verified output and bounded outer retries is a proper divisor of . In its odd-unit branch, any candidate that passes the algorithm's checks and is even has ; with , if , both and are proper nontrivial divisors. No minimality of is needed for this output-correctness claim.
Facts & Assumptions
Given: The input/output instructions in Shor factoring with verified output and bounded outer retries, a promised composite , and an execution that returns rather than FAIL.
The even and perfect-power preprocessing return only a divisor satisfying (Even and perfect-power preprocessing returns a proper factor).
For a uniform residue , if it is a proper factor; if the gcd is one then is a unit (Random residue gcd branch for factoring, For , is a unit if and only if ).
For a unit and an accepted even exponent with , satisfies (Half an even order gives a square root of one).
Every odd composite has a factorization into distinct odd primes with (The fundamental theorem of arithmetic: every integer is a product of primes, and the factorisation is unique up to order — if with every and prime, then and for some , For and any injective list of primes containing every prime divisor of , one has ; the exponents are determined by , and for every prime outside the list). For this factorization, a square root other than the two global signs gives both gcds as proper nontrivial divisors (Mixed CRT signs yield proper gcd factors).
Proof
The even branch returns only after checking and . The perfect-power branch returns only after the exact checks and , and [F1] proves its candidate is proper.
In a random-residue branch, a returned gcd candidate is checked to satisfy and ; [F2] also shows that a nonunit gcd cannot equal because the sampled representative satisfies . Thus any returned candidate in this branch is proper.
The order-finding branch is reached only after the even and perfect-power branches, so is odd. It first verifies and . If is even it sets ; [F3] gives . If , [F4] gives a prime-power factorization and the CRT sign lemma shows that both computed gcds lie strictly between and and divide , so the explicit verification accepts a proper factor.
Every return branch is one of steps 1.1, 1.2 or 1.3, and each branch verifies the strict divisor conditions before returning. Therefore every non-FAIL output is a proper divisor.
Remarks
This theorem proves output correctness conditional on the outer algorithm's exact period and gcd checks. It does not rely on a candidate being the minimal order, and it makes no probability claim about whether the order-finding branch is reached.
Depends on
- Shor factoring with verified output and bounded outer retries
- Even and perfect-power preprocessing returns a proper factor
- Random residue gcd branch for factoring
- Half an even order gives a square root of one
- Mixed CRT signs yield proper gcd factors
- For pairwise coprime positive moduli, the Chinese remainder bijection restricts to an isomorphism of unit groups
- Chinese remainder theorem for a finite pairwise-coprime list: simultaneous residues determine one class modulo the product, and the resulting bijection preserves addition and multiplication
- For every natural $n$, $(\mathbb{Z}/n,+)$ is an abelian group, multiplication is a commutative monoid operation, and both distributive laws hold
- The congruence class $[a]_n$ and the quotient set $\mathbb{Z}/n$
- The unit group $(\mathbb{Z}/n)^\times$ and Euler's totient $\varphi(n)=\lvert(\mathbb{Z}/n)^\times\rvert$ for $n\ge1$
- For $n\ge1$, $[a]_n$ is a unit if and only if $\gcd(a,n)=1$
- The fundamental theorem of arithmetic: every integer $n \ge 1$ is a product of primes, and the factorisation is unique up to order — if $\prod_{i<r} p_i = \prod_{j<s} q_j$ with every $p_i$ and $q_j$ prime, then $r = s$ and $q_i = p_{\pi(i)}$ for some $\pi \in \operatorname{Sym}(r)$
- For $n \ge 1$ and any injective list $p : r \to \mathbb{Z}$ of primes containing every prime divisor of $n$, one has $n = \prod_{i<r} p_i^{\,v_{p_i}(n)}$; the exponents are determined by $n$, and $v_q(n) = 0$ for every prime $q$ outside the list
Used by
Dependency tree · two levels
80 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
- Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (standard reference, not scraped)
- Ronald de Wolf, Quantum Computing: Lecture Notes (standard reference, not scraped)